/* The promotion: the announcement strip and the home banner (see js/promo.js).
   Colours, radii and faces are the site's own tokens. */

/* Hidden until the script draws it. While the last answer was "an offer exists"
   (or unknown), its height is reserved so the page does not jump when it appears. */
.eva-promo[hidden] { display: none; }
html.eva-promo-pending .eva-promo[hidden] { display: block; visibility: hidden; min-height: 44px; }
@media (max-width: 640px) { html.eva-promo-pending .eva-promo[hidden] { min-height: 68px; } }

.eva-promo { background: var(--primary-d-3, #4f4425); color: var(--primary-l-4, #f8efe0); font-family: var(--font--body, inter), system-ui, sans-serif; font-size: .92rem; line-height: 1.35; }
.eva-promo__inner { display: flex; align-items: center; justify-content: center; gap: .75rem; max-width: 1440px; margin: 0 auto; padding: .6rem 44px .6rem 16px; position: relative; min-height: 44px; }
.eva-promo__text { margin: 0; text-align: center; }
.eva-promo__title { font-weight: 700; }
.eva-promo__link { color: var(--primary-l-2, #e6cf9b); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.eva-promo__link:hover { color: var(--light, #fff); }
.eva-promo__link:focus-visible, .eva-promo__close:focus-visible { outline: 2px solid var(--primary-l-2, #e6cf9b); outline-offset: 2px; }
.eva-promo__close { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: transparent; color: inherit; font-size: 1.5rem; line-height: 1; cursor: pointer; border-radius: 50%; }
.eva-promo__close:hover { background: rgba(255, 255, 255, .12); }
@media (min-width: 900px) { .eva-promo__text { white-space: nowrap; } }

/* The home banner, just below the hero. */
.eva-promo-banner[hidden] { display: none; }
.eva-promo-banner { padding: 2.5rem 16px; background: var(--primary-l-4, #f8efe0); font-family: var(--font--body, inter), system-ui, sans-serif; color: var(--text-body, #6b6b6b); }
.eva-promo-banner__inner { display: grid; gap: 1.5rem; grid-template-columns: 1fr; align-items: center; max-width: 1080px; margin: 0 auto; background: var(--bg-surface, #fff); border: 1px solid var(--border-primary, rgba(128,128,128,.25)); border-radius: var(--radius-l, 1.8rem); padding: 1.25rem; box-shadow: 0 2px 6px var(--shadow-primary, rgba(0,0,0,.15)); }
.eva-promo-banner__media img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-m, 1.1rem); }
.eva-promo-banner__eyebrow { margin: 0 0 .4rem; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--primary-d-2, #7a6a3a); }
.eva-promo-banner__heading { margin: 0 0 .75rem; font-family: var(--font-headings, cormorant), Georgia, serif; font-weight: 600; font-size: clamp(1.9rem, 5vw, 2.7rem); line-height: 1.1; color: var(--text-title, #000); }
.eva-promo-banner__courses { margin: 0 0 1rem; padding-left: 1.2rem; line-height: 1.6; }
.eva-promo-banner__price { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; margin: 0 0 .25rem; font-size: 1.8rem; color: var(--text-title, #000); }
.eva-promo-banner__price del { font-size: 1.15rem; color: var(--dark-60, rgba(0,0,0,.6)); }
.eva-promo-banner__price ins { text-decoration: none; font-weight: 700; }
.eva-promo-banner__save { background: var(--primary-d-2, #7a6a3a); color: var(--light, #fff); font-size: .85rem; font-weight: 600; padding: .25rem .65rem; border-radius: var(--radius-full, 999rem); }
.eva-promo-banner__ends { margin: 0; font-weight: 600; color: var(--primary-d-3, #4f4425); }
.eva-promo-banner__countdown { margin: .15rem 0 1.1rem; font-size: .95rem; font-variant-numeric: tabular-nums; }
.eva-promo-banner__button { display: inline-block; padding: .85rem 1.6rem; border-radius: var(--radius-full, 999rem); background: var(--primary, #c9a961); color: var(--primary-d-4, #251f10); font-weight: 700; text-decoration: none; }
.eva-promo-banner__button:hover { background: var(--primary-d-1, #a88c47); color: var(--light, #fff); }
.eva-promo-banner__button:focus-visible { outline: 3px solid var(--primary-d-3, #4f4425); outline-offset: 2px; }
@media (min-width: 800px) {
  .eva-promo-banner { padding: 3rem 24px; }
  .eva-promo-banner__inner { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 2.5rem; padding: 1.75rem; }
}
