/* event-page.css — the event and season pages built by scripts/build-event-pages.js
   (/magic-millions, /easter, /gold-coast-marathon, /pan-pacific-masters,
   /bleach-festival, /school-holidays). Sits on theme.css; each page sets
   --ev (its accent) on <body>. Every class is prefixed ev-. */
.ev-hero{ padding-bottom:64px; }
.ev-hero .sun{ background:radial-gradient(circle,var(--ev,var(--rose)) 0%,transparent 68%); }
.ev-hero h1 i{ color:var(--ev,var(--rose)); }
.ev-chips{ display:flex; flex-wrap:wrap; gap:8px; margin:20px 0 0; padding:0; list-style:none; }
.ev-chips li{ font-size:13px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; padding:7px 14px; border-radius:999px; border:1.5px solid rgba(255,255,255,.35); color:#fff; }
.ev-chips li:first-child{ background:var(--ev,var(--rose)); border-color:var(--ev,var(--rose)); color:var(--ink); }
.ev-cd{ display:flex; gap:10px; margin:26px 0 0; flex-wrap:wrap; align-items:flex-end; }
.ev-cd-u{ min-width:74px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18); border-radius:14px; padding:10px 10px 8px; text-align:center; }
.ev-cd-u b{ display:block; font-size:34px; font-weight:900; line-height:1; font-variant-numeric:tabular-nums; }
.ev-cd-u span{ display:block; font-size:11px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:rgba(255,255,255,.65); margin-top:5px; }
.ev-cd-l{ flex-basis:100%; font-size:13px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:rgba(255,255,255,.65); margin-top:2px; }
.ev-ctas{ display:flex; flex-wrap:wrap; gap:12px; margin-top:26px; }
.ev-ctas .btn-ghost{ color:#fff; border-color:rgba(255,255,255,.5); }
.ev-src{ font-size:13px; color:rgba(255,255,255,.6); margin:18px 0 0; }
.ev-src a{ color:#fff; text-decoration:underline; text-underline-offset:2px; }

.ev-sec{ padding:64px 0; }
.ev-sec.ev-alt{ background:var(--sand); }
.ev-h2{ font-size:clamp(26px,3.4vw,40px); font-weight:900; text-transform:uppercase; line-height:1.06; margin:8px 0 0; }
.ev-lead{ font-size:17px; line-height:1.6; color:var(--muted); margin:12px 0 0; max-width:62ch; }

/* availability */
.ev-av-top{ display:flex; justify-content:space-between; align-items:flex-end; gap:16px; flex-wrap:wrap; }
.ev-av-arrows{ display:flex; gap:8px; }
.ev-av-arrow{ width:44px; height:44px; border-radius:50%; border:1.5px solid var(--line); background:#fff; color:var(--ink); font-size:20px; cursor:pointer; }
.ev-av-arrow:hover{ border-color:var(--ink); }
.ev-av-bar{ margin-top:24px; background:#fff; border:1px solid var(--line); border-radius:20px; padding:12px; display:grid; grid-template-columns:minmax(220px,1.2fr) auto auto; gap:12px; align-items:end; box-shadow:0 16px 36px -28px rgba(43,35,54,.5); }
.ev-av-field{ display:flex; flex-direction:column; gap:6px; min-width:0; }
.ev-av-lbl{ font-size:11px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); padding-left:4px; }
.ev-av-input{ width:100%; height:50px; border:1.5px solid var(--line); background:var(--paper); border-radius:12px; padding:0 14px; font:inherit; font-weight:700; font-size:15.5px; color:var(--ink); cursor:pointer; }
.ev-av-seg{ display:flex; gap:4px; height:50px; padding:4px; border:1.5px solid var(--line); border-radius:12px; background:var(--paper); }
.ev-av-seg button{ min-width:48px; padding:0 12px; border:0; border-radius:9px; background:transparent; font:inherit; font-weight:800; font-size:14px; color:var(--muted); cursor:pointer; }
.ev-av-seg button[aria-pressed="true"]{ background:var(--ink); color:#fff; }
.ev-av-go{ height:50px; }
.ev-av-go[disabled]{ opacity:.6; cursor:progress; }
.ev-av-hint{ grid-column:1/-1; font-size:13.5px; font-weight:700; color:var(--accent); padding:0 4px; }
.ev-av-count{ margin-top:14px; font-size:13px; font-weight:700; color:var(--muted); min-height:18px; }
.ev-av-note{ margin:18px 0 0; background:#fff; border:2px dashed var(--line); border-radius:16px; padding:18px 20px; font-size:16px; max-width:640px; }
.ev-av-note a{ font-weight:800; color:var(--accent); }
.ev-av-strip{ display:flex; gap:16px; overflow-x:auto; padding:18px 0 22px; scroll-snap-type:x proximity; -webkit-overflow-scrolling:touch; scrollbar-width:thin; }
.ev-av-card{ flex:0 0 270px; scroll-snap-align:start; background:#fff; border:1px solid var(--line); border-radius:18px; overflow:hidden; display:flex; flex-direction:column; }
.ev-av-ph{ display:block; aspect-ratio:4/3; background:#efe8df; overflow:hidden; }
.ev-av-ph img{ width:100%; height:100%; object-fit:cover; display:block; }
.ev-av-body{ padding:14px 16px 16px; display:flex; flex-direction:column; gap:5px; flex:1; }
.ev-av-tag{ font-size:11.5px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); }
.ev-av-name{ font-size:16px; font-weight:800; line-height:1.25; margin:0; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:2.5em; }
.ev-av-meta{ font-size:13px; color:var(--muted); }
.ev-av-price{ margin-top:auto; padding-top:8px; font-size:13.5px; color:var(--muted); min-height:30px; }
.ev-av-price b{ font-size:19px; color:var(--ink); }
.ev-av-checking{ color:var(--accent); font-weight:700; }
.ev-av-book{ margin-top:10px; justify-content:center; }
.ev-av-skel{ flex:0 0 270px; height:360px; border-radius:18px; background:linear-gradient(100deg,#f3ece7 30%,#fbf7f4 50%,#f3ece7 70%); background-size:200% 100%; animation:ev-shimmer 1.4s linear infinite; }
@keyframes ev-shimmer{ to{ background-position:-200% 0; } }
@media (prefers-reduced-motion:reduce){ .ev-av-skel{ animation:none; } }

/* reasons + buildings */
.ev-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:16px; margin-top:28px; }
.ev-card{ background:#fff; border:1px solid var(--line); border-radius:18px; padding:22px; }
.ev-card h3{ font-size:17px; font-weight:800; margin:0; }
.ev-card p{ font-size:15px; line-height:1.55; color:var(--muted); margin:8px 0 0; }
.ev-card p a{ color:var(--accent); font-weight:700; }
.ev-bld{ display:flex; flex-direction:column; background:#fff; border:1px solid var(--line); border-radius:18px; overflow:hidden; color:inherit; text-decoration:none; }
.ev-bld img{ width:100%; aspect-ratio:4/3; object-fit:cover; display:block; background:#efe8df; }
.ev-bld div{ padding:16px 18px 18px; display:flex; flex-direction:column; gap:6px; flex:1; }
.ev-bld small{ font-size:11.5px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }
.ev-bld strong{ font-size:18px; }
.ev-bld span{ font-size:14.5px; line-height:1.5; color:var(--muted); }
.ev-bld em{ margin-top:auto; padding-top:6px; font-style:normal; font-weight:800; color:var(--accent); }

/* school holiday periods */
.ev-periods{ display:grid; grid-template-columns:1fr 1fr; gap:22px; margin-top:28px; }
.ev-periods h3{ font-size:19px; font-weight:900; margin:0 0 10px; }
.ev-table{ width:100%; border-collapse:collapse; background:#fff; border:1px solid var(--line); border-radius:16px; overflow:hidden; font-size:15px; }
.ev-table th, .ev-table td{ text-align:left; padding:12px 14px; border-bottom:1px solid var(--line); vertical-align:top; }
.ev-table tr:last-child td{ border-bottom:0; }
.ev-table th{ font-size:11.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); background:var(--sand); }
.ev-table td small{ display:block; color:var(--muted); font-size:13px; margin-top:2px; }
.ev-pick{ border:0; background:none; padding:0; font:inherit; font-weight:800; color:var(--accent); cursor:pointer; text-decoration:underline; text-underline-offset:2px; white-space:nowrap; }
.ev-fine{ font-size:13.5px; color:var(--muted); margin:14px 0 0; }
.ev-fine a{ color:var(--accent); font-weight:700; }

@media (max-width:820px){
  .ev-av-bar{ grid-template-columns:1fr; }
  .ev-av-seg button{ flex:1; }
  .ev-av-arrows{ display:none; }
  .ev-periods{ grid-template-columns:1fr; }
  .ev-sec{ padding:48px 0; }
  .ev-cd-u{ min-width:64px; }
  .ev-cd-u b{ font-size:28px; }
}
