/**
 * Promotions CSS — additive layer on top of tokens.css + components.css.
 *
 * Source: /design-v2/promotions/{index,easter-egg-painting-2026,mothers-day-2026,school-holiday-may-2026}/index.html.
 * Loaded ONLY on promo_event singular and archive pages.
 *
 * Reuses .container, .btn, .reveal, .sparkle, .nav, .crumb, .event-cards,
 * .newsletter/.social-cta from components.css.
 * Promo-specific patterns: .p-hero, .hap-band (archive Happenings bands),
 * .event-hero, .ribbon-flag, .event-poster-frame, .details-section,
 * .event-story, .booking-strip, .related-zone, .programme, .tip-box,
 * .pol-caption.
 */

/* ─────────── Inner-page nav: sticky, opaque (not fixed-transparent like homepage) ─────────── */
.post-type-archive-promo_event .nav,
.single-promo_event .nav {
  position: sticky;
  top: 0;
  left: auto;
  right: auto;
  padding: 12px 4%;
  background: rgba(255, 251, 243, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 186, 1, 0.2);
}

/* Headline sizing alignment with prototype */
.single-promo_event .h1 { font-size: clamp(38px, 5.8vw, 64px); line-height: 1.12; } /* looser leading so 2-line promo titles don't overlap */
.single-promo_event .h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.08; }
.single-promo_event .h3 { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.15; font-weight: 700; }

/* ─────────── Breadcrumb (shared, but scoped here so override is explicit) ─────────── */
.crumb {
  padding: 18px 0 0;
  font-size: 13px;
  color: var(--mute);
}
.crumb a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--uforea-yellow); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.crumb a:hover { color: var(--gold-text); text-decoration-color: var(--gold-text); }
.crumb .sep { font-family: 'Italianno', cursive; color: var(--uforea-yellow); font-size: 22px; line-height: 1; vertical-align: middle; margin: 0 6px; display: inline-block; transform: translateY(-2px); }
.crumb .here { color: var(--ink-strong); font-weight: 600; }

/* ─────────── Archive hero — centred lede ─────────── */
.p-hero {
  position: relative;
  padding: var(--hero-top) 0 var(--hero-bottom);
  background: var(--paper);
  overflow: hidden;
}
.p-hero::before {
  content: "";
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 700px;
  max-height: 700px;
  top: -100px;
  right: -100px;
  background: radial-gradient(closest-side, var(--yellow-soft), transparent 70%);
  z-index: 0;
  opacity: .65;
}
.p-hero::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--blush), transparent 70%);
  opacity: .55;
  z-index: 0;
}
.p-hero .container { position: relative; z-index: 2; max-width: 820px; text-align: center; }
.p-hero h1 { margin-top: 6px; }
.p-hero .lede { margin: 18px auto 0; }

/* ─────────── Archive: Happenings bands (Events / Updates & Deals / Notices) ───────────
   Cards reuse .event-cards / .event-card from components.css (same card as the
   homepage "What's on" grid). Alternating pastel macaron backgrounds. */
.hap-band { padding: var(--section-y) 0; }
.hap-band.hap-paper { background: var(--paper); }
.hap-band.hap-cream { background: var(--cream); }
.hap-band.hap-sky   { background: var(--sky); }
.hap-head { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.hap-head .h2 { margin: 0; }
.hap-sub { color: var(--ink); font-size: 15.5px; line-height: 1.65; margin: 10px 0 0; }
.hap-empty { text-align: center; color: var(--mute); font-size: 15px; margin: 0; }

/* Social panel (archive footer) reuses .newsletter + .social-cta from
   components.css — no promo-specific overrides needed. */

/* ─────────── Single: event hero ─────────── */
.event-hero {
  position: relative;
  padding: var(--hero-top) 0 var(--hero-bottom);
  background: var(--paper);
  overflow: hidden;
}
.event-hero::before {
  content: "";
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 700px;
  max-height: 700px;
  top: -120px;
  right: -120px;
  background: radial-gradient(closest-side, var(--blush), transparent 70%);
  z-index: 0;
  opacity: .55;
}
.event-hero.lavender-glow::before { background: radial-gradient(closest-side, var(--lavender), transparent 70%); opacity: .7; }
.event-hero.mint-glow::before     { background: radial-gradient(closest-side, var(--mint), transparent 70%); opacity: .65; }

.event-hero .container { position: relative; z-index: 2; }
.event-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 24px;
}
@media (max-width: 900px) { .event-hero-grid { grid-template-columns: 1fr; gap: 32px; } }

.event-meta { display: flex; flex-direction: column; gap: 16px; }
.event-meta .eyebrow-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.event-meta .tagline { font-size: 17px; color: var(--ink); line-height: 1.65; max-width: 52ch; margin: 0; }
.event-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }

/* Ribbon flag — colour determined by .blush / .lavender / .mint modifier */
.ribbon-flag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--blush);
  color: var(--passion-text);
  position: relative;
  box-shadow: 0 6px 14px rgba(63,63,63,.10);
}
.ribbon-flag.lavender { background: var(--lavender); color: var(--imaginative); }
.ribbon-flag.mint     { background: var(--mint);     color: var(--generous-text); }
.ribbon-flag::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 0;
  bottom: 0;
  width: 10px;
  background: inherit;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  filter: brightness(.92);
}

/* Event poster frame: landscape rectangle (Easter) */
.event-poster-frame {
  position: relative;
  border-radius: 6px;
  outline: 1.5px solid var(--uforea-yellow);
  outline-offset: 8px;
  box-shadow: 0 24px 60px rgba(63,63,63,.12);
  overflow: hidden;
  aspect-ratio: 16/10;
}
.event-poster-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.event-poster-frame::before, .event-poster-frame::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--uforea-yellow);
  z-index: 4;
}
.event-poster-frame::before { top: -12px; left: -12px; border-right: 0; border-bottom: 0; border-top-left-radius: 16px; }
.event-poster-frame::after  { bottom: -12px; right: -12px; border-left: 0; border-top: 0; border-bottom-right-radius: 16px; }

/* Portrait/Polaroid variant: Mother's Day (lavender) + School Holiday (mint) */
.event-poster-frame.polaroid {
  padding: 16px 16px 60px;
  background: var(--paper);
  border-radius: 6px;
  outline: none;
  outline-offset: 0;
  box-shadow: 0 24px 60px rgba(63,63,63,.16);
  aspect-ratio: 4/5;
  max-width: 440px;
  margin: 0 auto;
}
.event-poster-frame.polaroid.tilt-l { transform: rotate(-1.5deg); }
.event-poster-frame.polaroid.tilt-r { transform: rotate(1.5deg); }
.event-poster-frame.polaroid::before, .event-poster-frame.polaroid::after { display: none; }
.event-poster-frame.polaroid .img-wrap { position: relative; height: 100%; overflow: hidden; border-radius: 4px; outline: 1px solid rgba(0,0,0,.04); }
.event-poster-frame.polaroid.tint-lavender .img-wrap::before { content: ""; position: absolute; inset: 0; background: var(--lavender); z-index: -1; }
.event-poster-frame.polaroid.tint-mint    .img-wrap::before { content: ""; position: absolute; inset: 0; background: var(--mint);     z-index: -1; }
.event-poster-frame.polaroid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pol-caption {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: 'Italianno', cursive;
  color: var(--gold-text);
  font-size: 24px;
  line-height: 1;
}

/* ─────────── Single: details box (when / where / included) ─────────── */
.details-section { padding: var(--section-y) 0; background: var(--cream); }
.details-section .container { max-width: 880px; }
.details-section .heading-row { text-align: center; margin-bottom: 24px; }
.details-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 16px; }
@media (max-width: 800px) { .details-grid { grid-template-columns: 1fr; } }
.details-card {
  background: var(--paper);
  border: 1px solid var(--uforea-yellow);
  border-radius: 16px;
  padding: 22px 22px 24px;
}
.details-card .label {
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 6px;
  font-weight: 600;
}
.details-card .val {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink-strong);
  line-height: 1.35;
}

/* ─────────── Single: event story (long-form prose) ─────────── */
.event-story { padding: var(--section-y) 0; background: var(--paper); }
.event-story .container { max-width: 720px; }
.event-story p { font-size: 17px; line-height: 1.75; color: var(--ink); margin: 0 0 22px; }
.event-story p strong { color: var(--ink-strong); font-weight: 700; }
.event-story h2 { margin: 0 0 18px; }
.event-story h3 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 22px; margin: 32px 0 10px; color: var(--ink-strong); }
.event-story .lead { margin-bottom: 22px; }
.event-story ul, .event-story ol { font-size: 16.5px; line-height: 1.7; color: var(--ink); padding-left: 22px; margin: 0 0 22px; }
.event-story ul li, .event-story ol li { margin-bottom: 10px; }
.event-story a {
  color: var(--ink-strong);
  text-decoration: underline;
  text-decoration-color: var(--uforea-yellow);
  text-underline-offset: 3px;
  font-weight: 500;
}

/* Programme list (Mother's Day) */
.programme {
  background: var(--lavender);
  border-left: 4px solid var(--imaginative);
  padding: 22px 26px;
  border-radius: 0 16px 16px 0;
  margin: 28px 0;
}
.programme h3 { font-family: 'Playfair Display', serif; font-size: 20px; margin: 0 0 12px; color: var(--ink-strong); }
.programme ol { padding-left: 22px; margin: 0; }
.programme ol li { margin-bottom: 10px; font-size: 16px; line-height: 1.65; }
.programme ol li strong { color: var(--ink-strong); }

/* Tip box (School Holiday) */
.tip-box {
  background: var(--mint);
  border-left: 4px solid var(--generous);
  padding: 22px 26px;
  border-radius: 0 16px 16px 0;
  margin: 28px 0;
}
.tip-box h3 { font-family: 'Playfair Display', serif; font-size: 20px; margin: 0 0 8px; color: var(--ink-strong); }
.tip-box p { margin: 0; font-size: 16px; line-height: 1.65; }

/* ─────────── Single: booking strip ─────────── */
.booking-strip { padding: var(--section-y) 0; background: var(--yellow-soft); }
.booking-strip.lavender-bg { background: var(--lavender); }
.booking-strip.mint-bg     { background: var(--mint); }
.booking-card { text-align: center; max-width: 640px; margin: 0 auto; padding: 26px 24px; }
.booking-card .eyebrow-script { display: block; margin-bottom: 6px; }
.booking-card h2 { margin: 0 0 12px; }
.booking-card p { color: var(--ink); font-size: 15.5px; line-height: 1.6; margin: 0 0 22px; }
.booking-card .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ─────────── Single: related-zone callout ─────────── */
.related-zone { padding: var(--section-y) 0; background: var(--paper); }
.related-zone .container { max-width: 880px; }
.zone-pair { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; }
@media (max-width: 800px) { .zone-pair { grid-template-columns: 1fr; } }
.zone-pair .pic { aspect-ratio: 16/11; border: 1.5px solid var(--uforea-yellow); border-radius: 16px; overflow: hidden; box-shadow: 0 16px 38px rgba(63,63,63,.10); }
.zone-pair .pic img { width: 100%; height: 100%; object-fit: cover; }
.zone-pair .meta h3 { margin: 8px 0; }
.zone-pair .meta p { font-size: 16px; line-height: 1.7; color: var(--ink); margin: 0 0 16px; }
.zone-pair .zone-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 4px;
  margin-bottom: 4px;
  background: var(--mint);
  color: var(--generous-text);
}
.zone-pair .zone-tag.blush      { background: var(--blush);      color: var(--passion-text); }
.zone-pair .zone-tag.yellow-soft { background: var(--yellow-soft); color: var(--gold-text); }
.zone-pair .step-in { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-strong); font-size: 13px; font-weight: 600; }
.zone-pair .step-in svg { transition: transform .2s ease; }
.zone-pair .step-in:hover svg { transform: translateX(4px); }

/* ─────────── Mobile rhythm: compress 80–100px section paddings to ~56px ─────────── */
@media (max-width: 720px) {
  .event-story,
  .related-zone { padding-top: 56px; padding-bottom: 56px; }
  .details-section { padding-top: 56px; padding-bottom: 56px; }
  .booking-strip { padding-top: 48px; padding-bottom: 48px; }
  .hap-band { padding-top: 48px; padding-bottom: 56px; }
  .p-hero { padding: var(--hero-top) 0 var(--hero-bottom); }
}

/* ─────────── Reduced motion for promo-specific transforms ─────────── */
@media (prefers-reduced-motion: reduce) {
  .event-poster-frame, .event-poster-frame.polaroid { transform: none !important; }
}
