.ah-ad-card { min-width: 0; }
.ah-ad-carousel { position: relative; min-width: 0; }
.ah-ad-carousel-slides, .ah-ad-slide { min-width: 0; }
.ah-ad-slide[hidden] { display: none !important; }
.ah-ad-slide.is-active { animation: ah-ad-slide-in .36s ease both; }
.ah-ad-carousel-arrow { position: absolute; top: 50%; z-index: 5; display: grid; width: 48px; height: 48px; place-items: center; transform: translateY(-50%); border: 0; border-radius: 50%; background: #fff; color: #201912; box-shadow: 0 4px 18px #24170d30; font-size: 22px; }
.ah-ad-carousel-arrow:hover { background: #fff8ec; }
.ah-ad-carousel-arrow:focus-visible { outline: 3px solid #d56a24; outline-offset: 3px; }
.ah-ad-carousel-arrow:disabled { display: none; }
.ah-ad-carousel-previous { left: 16px; }
.ah-ad-carousel-next { right: 16px; }
@keyframes ah-ad-slide-in { from { opacity: .35; } to { opacity: 1; } }
.ah-ad-link { color: inherit; text-decoration: none; }
.ah-ad-link:focus-visible { outline: 3px solid #d56a24; outline-offset: -5px; }
.ah-ad-format-card .ah-ad-link { display: grid; grid-template-columns: minmax(120px, 260px) minmax(0, 1fr); gap: 24px; align-items: center; }
.ah-ad-format-card .ah-ad-copy { align-self: center; }
.ah-ad-banners .ah-ad-card.ah-ad-format-banner { display: block; padding: 0; }
.ah-ad-format-banner { min-height: 300px; }
.ah-ad-format-banner .ah-ad-link { position: relative; display: flex; align-items: center; min-height: clamp(300px, 27vw, 470px); padding: clamp(26px, 5vw, 76px); overflow: hidden; }
.ah-ad-format-banner .ah-ad-link::after { position: absolute; inset: 0; z-index: 0; content: ''; background: linear-gradient(90deg, rgba(255,249,239,.97) 0%, rgba(255,249,239,.88) 35%, rgba(255,249,239,.18) 68%, transparent 100%); }
.ah-ad-format-banner .ah-ad-link > img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.ah-ad-format-banner .ah-ad-copy { position: relative; z-index: 2; width: min(56%, 650px); padding: 10px 0; }
.ah-ad-format-banner .ah-ad-copy small { color: #885422; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.ah-ad-format-banner .ah-ad-copy h2 { max-width: 16ch; margin: 12px 0; color: #30261f; font-size: clamp(30px, 4vw, 58px); font-weight: 750; line-height: 1.02; letter-spacing: -.04em; }
.ah-ad-format-banner .ah-ad-copy p { max-width: 48ch; color: #51463c; font-size: clamp(14px, 1.4vw, 18px); }
.ah-ad-format-banner .ah-ad-button { margin-top: 8px; border-radius: 999px; background: #ad581e; box-shadow: 0 8px 20px #6f381e22; }
.ah-ad-format-banner:hover .ah-ad-button { background: #874013; }
.ah-ad-banners .ah-ad-card.ah-ad-format-banner-dark { display: block; padding: 0; border-color: #3a2a20; background: #281e18; }
.ah-ad-format-banner-dark .ah-ad-link { position: relative; display: flex; align-items: center; min-height: clamp(300px, 27vw, 470px); padding: clamp(26px, 4vw, 64px); overflow: hidden; color: #fff; }
.ah-ad-format-banner-dark .ah-ad-link::after { position: absolute; inset: 0; z-index: 1; content: ''; background: linear-gradient(90deg, rgba(38,28,21,.98), rgba(38,28,21,.82) 38%, rgba(38,28,21,.18) 82%); }
.ah-ad-format-banner-dark .ah-ad-link > img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.ah-ad-format-banner-dark .ah-ad-copy { position: relative; z-index: 2; width: 100%; max-width: 760px; padding: 8px 0; }
.ah-ad-format-banner-dark .ah-ad-copy small { color: #d3b38d; font-size: 11px; letter-spacing: .16em; }
.ah-ad-format-banner-dark .ah-ad-copy h2 { max-width: 15ch; white-space: pre-line; color: #ff963c; font-size: clamp(36px, 5vw, 76px); font-weight: 760; line-height: 1.02; letter-spacing: -.045em; }
.ah-ad-format-banner-dark .ah-ad-copy h2::first-line { color: #fff; }
.ah-ad-format-banner-dark .ah-ad-copy p { max-width: 52ch; color: #cdb397; font-size: clamp(14px, 1.4vw, 19px); }
.ah-ad-format-banner-dark .ah-ad-button { position: absolute; top: 50%; right: clamp(20px, 4vw, 72px); transform: translateY(-50%); border: 1px solid #ffffff32; background: #ffffff10; color: #f1dcc0 !important; }
.ah-ad-format-banner-dark:hover .ah-ad-button { background: #ffffff20; }
.ah-ad-format-image .ah-ad-link { display: block; }
.ah-ad-format-image .ah-ad-link > img { width: 100%; height: auto; max-height: 520px; object-fit: cover; }
.ah-ad-format-image .ah-ad-close { z-index: 3; }
.ah-ad-side .ah-ad-format-banner .ah-ad-link { min-height: 0; padding: 15px; }
.ah-ad-side .ah-ad-format-banner .ah-ad-link > img { position: relative; inset: auto; z-index: 0; height: 120px; object-fit: cover; border-radius: 12px; }
.ah-ad-side .ah-ad-format-banner .ah-ad-link::after { display: none; }
.ah-ad-side .ah-ad-format-banner .ah-ad-copy { width: 100%; padding: 8px 0 0; }
.ah-ad-side .ah-ad-format-banner .ah-ad-copy h2 { font-size: 18px; }
.ah-ad-side .ah-ad-format-banner .ah-ad-copy p { font-size: 13px; }
@media (max-width: 700px) {
  .ah-ad-carousel-arrow { width: 32px; height: 32px; font-size: 14px; opacity: .88; }
  .ah-ad-carousel-arrow:hover { opacity: 1; }
  .ah-ad-carousel-previous { left: 6px; }
  .ah-ad-carousel-next { right: 6px; }
  .ah-ad-format-banner { min-height: 350px; }
  .ah-ad-format-banner .ah-ad-link { min-height: 350px; padding: 26px 20px; align-items: flex-start; }
  .ah-ad-format-banner .ah-ad-link > img { object-position: 64% center; }
  .ah-ad-format-banner .ah-ad-link::after { background: linear-gradient(90deg, rgba(255,249,239,.97) 0%, rgba(255,249,239,.9) 50%, rgba(255,249,239,.25) 100%); }
  .ah-ad-format-banner .ah-ad-copy { width: min(76%, 430px); padding-top: 22px; }
  .ah-ad-format-banner .ah-ad-copy h2 { font-size: clamp(28px, 8vw, 42px); }
  .ah-ad-format-banner-dark .ah-ad-link { min-height: 350px; padding: 26px 22px; align-items: flex-start; }
  .ah-ad-format-banner-dark .ah-ad-link::after { background: linear-gradient(90deg, rgba(38,28,21,.98), rgba(38,28,21,.86) 67%, rgba(38,28,21,.35)); }
  .ah-ad-format-banner-dark .ah-ad-copy { padding-top: 20px; }
  .ah-ad-format-banner-dark .ah-ad-copy h2 { max-width: 12ch; font-size: clamp(34px, 9vw, 52px); }
  .ah-ad-format-banner-dark .ah-ad-button { position: static; transform: none; margin-top: 10px; }
  .ah-ad-format-card .ah-ad-link { grid-template-columns: 1fr; gap: 12px; }
  .ah-ad-format-image .ah-ad-link > img { height: 240px; object-position: center; }
}
@media (prefers-reduced-motion: no-preference) {
  .ah-ad-card, .ah-ad-button { transition: box-shadow .2s ease, transform .2s ease, background-color .2s ease; }
  .ah-ad-format-banner:hover { box-shadow: 0 16px 42px #63240015; }
}
@media (prefers-reduced-motion: reduce) { .ah-ad-slide.is-active { animation: none; } }
