.am26-promotions{ overflow: hidden; }
.am26-promotions .am26-section-head > div:first-child{ max-width: 760px; }
.am26-promotions .am26-section-head p{ color: var(--am26-muted); }
.am26-promotions-carousel{ display: flex; gap: 22px; overflow-x: auto; padding: 16px 12px 18px 2px; scroll-snap-type: x mandatory; scrollbar-width: thin; overscroll-behavior-inline: contain; }
.am26-promotions-carousel .am26-promo-card{ flex: 0 0 min(390px, calc(100vw - 2 * var(--am26-gutter))); scroll-snap-align: start; }
.am26-promotions-grid{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 14px 12px 0 0; }
.am26-promo-card{ position: relative; display: flex; min-width: 0; flex-direction: column; overflow: visible; border: 1px solid var(--am26-border); border-radius: var(--am26-radius-lg); background: var(--am26-white); box-shadow: 0 14px 42px rgba(63, 65, 66, .08); }
.am26-promo-card__media{ position: relative; aspect-ratio: 1.52; overflow: visible; border-radius: var(--am26-radius-lg) var(--am26-radius-lg) 0 0; background: var(--am26-mint); }
.am26-promo-card__media img{ width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.am26-promo-deadline{ position: absolute; z-index: 3; top: -11px; right: -9px; display: grid; min-width: 118px; padding: 10px 13px; border-radius: 14px; background: rgba(58, 60, 61, .92); color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.2); backdrop-filter: blur(8px); line-height: 1.12; }
.am26-promo-deadline span{ font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.am26-promo-deadline time{ margin-top: 3px; font-size: 1.05rem; font-weight: 850; }
.am26-promo-deadline small{ margin-top: 4px; font-size: .68rem; opacity: .78; }
.am26-promo-card__body{ display: flex; flex: 1; flex-direction: column; padding: 24px; }
.am26-promo-card__body > p{ color: var(--am26-muted); }
.am26-promo-card__meta{ display: flex; min-height: 42px; align-items: start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.am26-promo-card__meta > span{ padding: 5px 10px; border-radius: 999px; background: var(--am26-mint); color: var(--am26-brand-700); font-size: .72rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.am26-promo-card__price{ display: flex; align-items: baseline; gap: 9px; text-align: right; white-space: nowrap; }
.am26-promo-card__price strong{ color: var(--am26-brand-700); font-size: 1.25rem; }
.am26-promo-card__price s{ color: var(--am26-muted); font-size: .82rem; }
.am26-promo-card__note{ padding: 10px 12px; border-left: 3px solid var(--am26-brand-500); background: var(--am26-soft); font-size: .86rem; }
.am26-promo-card__details{ margin: auto 0 18px; border-top: 1px solid var(--am26-border); border-bottom: 1px solid var(--am26-border); }
.am26-promo-card__details summary{ cursor: pointer; padding: 12px 0; color: var(--am26-brand-950); font-weight: 800; }
.am26-promo-card__terms{ padding: 0 0 14px; color: var(--am26-muted); font-size: .9rem; }
.am26-promo-card__terms h4{ margin: 16px 0 6px; color: var(--am26-brand-950); }
.am26-promo-card__links{ margin-top: 12px; }
.am26-promo-card__links ul{ margin: 4px 0 0; }
.am26-promo-card__links a{ color: var(--am26-brand-700); }
.am26-promo-card .am26-button{ width: 100%; justify-content: center; margin-top: auto; }
.am26-carousel-controls{ display: flex; gap: 10px; flex: 0 0 auto; }


.am26-certificate-teaser{ display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: clamp(28px,5vw,56px); border-radius: var(--am26-radius-lg); background: var(--am26-brand-950); color: #fff; }
.am26-certificate-teaser h2{ color: #fff; }
.am26-certificate-teaser p{ max-width: 650px; color: #e8eee6; }
.am26-certificate-teaser .am26-button{ flex: 0 0 auto; }

@media (max-width: 1020px){ .am26-promotions-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px){
  .am26-promotions .am26-section-head{ align-items: flex-start; }
  .am26-promotions-grid{ grid-template-columns: 1fr; }
  .am26-promo-card__body{ padding: 20px; }
  .am26-promo-deadline{ top: -8px; right: -5px; min-width: 105px; }
  .am26-certificate-teaser{ align-items: flex-start; flex-direction: column; }
  .am26-certificate-teaser .am26-button{ width: 100%; justify-content: center; }
}
@media (max-width: 520px){
  .am26-promotions .am26-section-head{ display: block; }
  .am26-carousel-controls{ margin-top: 18px; }
  .am26-promo-card__meta{ align-items: flex-start; flex-direction: column; }
  .am26-promo-card__price{ text-align: left; }
}
@media (prefers-reduced-motion: reduce){ .am26-promotions-carousel{ scroll-behavior: auto; } }
/* Keep the closed details rows aligned without stretching cards when one opens. */
@media (min-width: 769px){
  #am26-promotions .am26-promotions-carousel{ align-items: flex-start !important; }
  #am26-promotions .am26-promo-card{ height: auto !important; align-self: flex-start !important; }
  #am26-promotions .am26-promo-card__content{
    display: flex !important;
    min-height: var(--am26-promo-content-height, auto);
    flex-direction: column;
  }
  #am26-promotions .am26-promo-card__details{ margin: 0 0 18px !important; }
  #am26-promotions .am26-promo-card__more{ display: none !important; }
}

@media (max-width: 768px){
  #am26-promotions .am26-promo-card__content{ display: contents !important; }
  #am26-promotions .am26-promo-card__content > p,
#am26-promotions .am26-promo-card__content > .am26-promo-card__note{ display: none !important; }
}

/* Compact home promotions on phones; the full promotions catalog is unchanged. */
@media (max-width: 768px){
  .am26-promotions--home .am26-promo-card{ width: min(86vw, 315px); }
  .am26-promotions--home .am26-promo-card__media{ min-height: 0; aspect-ratio: 16 / 9; }
  .am26-promotions--home .am26-promo-card__body{ min-height: 0; padding: 16px; }
  .am26-promotions--home .am26-promo-card__body > p,
.am26-promotions--home .am26-promo-card__note,
.am26-promotions--home .am26-promo-card__details{ display: none; }
  .am26-promotions--home .am26-promo-card h3{
    display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  }
  .am26-promotions--home .am26-promo-card__meta{ display: flex; flex-direction: row; flex-wrap: wrap; }
}
