.ad-banner {
    width: 100%;                     /* растягиваем по всей ширине */
    padding: 3px;                    /* ширина жёлтой рамки */
    margin: 16px 0 24px 0;           /* убираем боковые отступы полностью */
    border-radius: 10px;

    /* мягкий жёлтый кант */
    background: linear-gradient(
        135deg,
        rgba(255, 215, 0, 0.85) 0%,
        rgba(255, 200, 0, 0.75) 40%,
        rgba(255, 190, 0, 0.6) 100%
    );

    /* подсветка */
    box-shadow:
        0 4px 10px rgba(255, 200, 0, 0.20),
        0 0 12px rgba(255, 200, 0, 0.25);

    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ad-banner img {
    width: 100%;                     /* картинка теперь ровно по ширине контейнера */
    height: auto;
    border-radius: 4px;              /* чуть меньше, чем у контейнера */
}

/* hover */
.ad-banner:hover {
    transform: translateY(-3px);

    box-shadow:
        0 6px 16px rgba(255, 200, 0, 0.32),
        0 0 18px rgba(255, 210, 0, 0.35);
}



/* Метка AD */
.ad-banner__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font: 700 10px/1.2 ui-sans-serif, system-ui;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 7px;
  border-radius: 6px;
  background: #ffda44;
  color: #1f1f1f;
}

/* Текст */
.ad-banner__text {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ad-banner__text strong {
  font: 600 14px/1.25 ui-sans-serif, system-ui;
  color: #e9e9e9;
}
.ad-banner__text span {
  font: 700 16px/1.2 ui-sans-serif, system-ui;
  color: #ffffff;
}

/* CTA */
.ad-banner__cta {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font: 600 11px/1 ui-sans-serif, system-ui;
  padding: 6px 8px;
  border-radius: 8px;
  background: #4f4f4f;
  border: 1px solid #5b5b5b;
  color: #d8d8d8;
}
.ad-banner:hover .ad-banner__cta {
  background: #ffda44;
  border-color: #ffda44;
  color: #1b1b1b;
}
