.sakutt-self-ad {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.sakutt-self-ad[hidden] {
  display: none;
}

.sakutt-self-ad__body {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 8px 12px;
  border-top: 1px solid rgba(16, 34, 51, 0.12);
  background: rgba(255, 255, 255, 0.94);
  box-sizing: border-box;
}

.sakutt-self-ad__label {
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 4px;
  padding: 2px 5px;
  color: #4d6074;
  font-size: 10px;
  line-height: 1.2;
}

.sakutt-self-ad__image {
  width: 88px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 6px;
  object-fit: cover;
  background: #eef4f2;
}

.sakutt-self-ad__text {
  min-width: 0;
}

.sakutt-self-ad__title {
  overflow: hidden;
  color: #142536;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sakutt-self-ad__description {
  overflow: hidden;
  margin-top: 2px;
  color: #536678;
  font-size: 11px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sakutt-self-ad:hover .sakutt-self-ad__body,
.sakutt-self-ad:focus-visible .sakutt-self-ad__body {
  background: rgba(244, 251, 248, 0.98);
}

.sakutt-self-ad:focus-visible {
  outline: 2px solid rgba(13, 126, 116, 0.52);
  outline-offset: 2px;
}

.sakutt-self-ad.has-no-image .sakutt-self-ad__body {
  align-items: flex-start;
  min-height: 52px;
}

.sakutt-self-ad.has-no-image .sakutt-self-ad__title,
.sakutt-self-ad.has-no-image .sakutt-self-ad__description {
  white-space: normal;
}

.sakutt-self-ad.has-no-image .sakutt-self-ad__label {
  margin-top: 2px;
}

.sakutt-self-ad.is-blocked {
  cursor: default;
}

.sakutt-self-ad.is-blocked .sakutt-self-ad__body {
  opacity: 0.72;
}
