/* Home ReWrap advertiser banner — calm editorial frame, not a pasted graphic */

.mb-home-rewrap-banner {
  display: block;
  margin: 12px 14px 8px;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  overflow: hidden;
  background: #fbfaf7;
  border: 1px solid rgba(24, 32, 43, 0.08);
  box-shadow: 0 1px 2px rgba(24, 32, 43, 0.04), 0 10px 24px rgba(24, 32, 43, 0.06);
  -webkit-tap-highlight-color: transparent;
}

.mb-home-rewrap-banner:active {
  transform: scale(0.995);
}

.mb-home-rewrap-banner__frame {
  margin: 0;
  position: relative;
  background: #f3f1ec;
}

.mb-home-rewrap-banner__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: center 42%;
  vertical-align: middle;
}

.mb-home-rewrap-banner__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px 12px;
  background: #fff;
  border-top: 1px solid rgba(24, 32, 43, 0.06);
}

.mb-home-rewrap-banner__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mb-home-rewrap-banner__copy strong {
  font-size: 0.84rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: #1a222c;
  line-height: 1.2;
}

.mb-home-rewrap-banner__copy span {
  font-size: 0.68rem;
  line-height: 1.35;
  color: #66707d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mb-home-rewrap-banner__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  background: #1c2a36;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}

.mb-home-rewrap-banner__cta i {
  font-size: 0.62rem;
  opacity: 0.9;
}

@media (min-width: 992px) {
  .mb-home-rewrap-banner {
    margin: 16px auto 10px;
    max-width: 920px;
  }

  .mb-home-rewrap-banner__copy strong {
    font-size: 0.95rem;
  }

  .mb-home-rewrap-banner__copy span {
    font-size: 0.76rem;
    white-space: normal;
  }
}
