/* Batch 68 — a booked banner inside an advertising slot (partials/ad_slot.html).
   The image is shown whole at the slot's width; a text banner uses the site's
   ad colour so it can never be read as editorial. */
.ad-banner {
    display: flex; align-items: center; justify-content: center; width: 100%; box-sizing: border-box;
    border-radius: 12px; overflow: hidden; text-decoration: none; background: var(--card, #fff);
    border: 1px solid var(--line, #E4E8DF);
}
.ad-banner picture, .ad-banner img { display: block; width: 100%; height: auto; max-height: 100%; }
.ad-banner img { object-fit: contain; }
.ad-banner.is-text { background: #FFF4E5; border-color: #F2C894; padding: 18px 22px; color: #3B2A12; }
.ad-banner.is-text .in { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.ad-banner .adv { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8A5A12; }
.ad-banner .ttl { font-size: 18px; font-weight: 700; color: #14201A; }
.ad-banner .sub { font-size: 14px; color: #4A3A22; }
.ad-banner .go { margin-top: 4px; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 10px; background: #E07E00; color: #fff; font-weight: 700; font-size: 14px; }
.ad-banner:hover { box-shadow: 0 6px 18px rgba(16, 32, 18, .12); }
.ad-banner:focus-visible { outline: 3px solid var(--brand, #1B5E20); outline-offset: 2px; }
