/* ==========================================================================
   EventGo Australia — event detail, "THE POSTER BECOMES A TICKET"
   (branch eventgo-v3-attendee-conversion-flow)
   --------------------------------------------------------------------------
   /event-preview/ and /event-preview/<slug>/ — every event is a real listing.

   · The organiser's artwork is shown WHOLE (it carries its own lettering;
     nothing is laid over it), on a glow sampled from itself — the same
     image, blurred, so the page takes the poster's colour for free.
   · Beside it the facts are PRINTED AS A TICKET FACE: category and state,
     the title, "Presented by", then date / time / venue in labelled columns
     with the date as a big numeral — the same stub the card uses.
   · A perforation (with the card's notches) separates the face from the
     price stub and "Get tickets". What / when / where / how much and the
     way in are all above the fold on a 1440×900 screen and on a phone
     after one screen of artwork.
   · The trust strip sits directly under the CTA — the strongest place for
     "Ticket delivered to your Email + WhatsApp".

   Motion: none that delays anything. The hero is not pinned; the ambient
   glow is static. Below, the ticket selector (91-tickets.css) is the one
   sticky element, desktop only.
   ========================================================================== */

/* ---- hero ------------------------------------------------------------------ */
.eg-c-evx__hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--hdr-h) + clamp(1rem, 3vh, 2rem)) var(--c-gut) clamp(2.5rem, 6vh, 4rem); }
.eg-c-evx__amb { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.eg-c-evx__amb img {
  width: 100%; height: 100%; object-fit: cover; filter: blur(64px) saturate(1.2);
  transform: scale(1.25); opacity: .42;
}
.eg-c-evx__amb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / .35) 0%, rgb(0 0 0 / .15) 40%, var(--c-ink) 100%);
}
.eg-c-evx__in { width: 100%; max-width: 1320px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }

.eg-c-crumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; font-size: var(--t-meta); color: var(--c-text-2); }
.eg-c-crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--c-text-3); }
.eg-c-crumbs a { color: var(--c-text); text-decoration: underline; text-underline-offset: .25em; text-decoration-color: var(--c-line-strong); }
.eg-c-crumbs [aria-current] { display: inline-block; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }

.eg-c-evx__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: center; }
@media (min-width: 900px) { .eg-c-evx__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 4vw, 4rem); } }

.eg-c-evx__poster { margin: 0; }
.eg-c-evx__poster img {
  display: block; width: 100%; height: auto; border-radius: var(--radius-xl);
  box-shadow: 0 40px 90px -40px rgb(0 0 0 / .9);
}

/* The ticket face */
.eg-c-evx__face {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: clamp(1.25rem, 3vw, 2.25rem);
  border-radius: var(--radius-xl); border: 1px solid var(--c-line-strong);
  background: color-mix(in srgb, var(--c-ink-soft) 88%, transparent);
}
.eg-c-evx__k { display: flex; flex-wrap: wrap; gap: .5rem .75rem; align-items: center; margin: 0; }
.eg-c-evx__cat {
  padding: .3rem .75rem; border-radius: var(--radius-full); border: 1px solid var(--c-line-strong);
  font-size: var(--t-label); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-text-2);
}
.eg-c-evx__state { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--t-meta); font-weight: 600; }
.eg-c-evx__state::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; }
.eg-c-evx__state[data-state="limited"] { color: var(--status-warning); }
.eg-c-evx__state[data-state="free"], .eg-c-evx__state[data-state="on-sale"] { color: var(--status-good); }
.eg-c-evx__state[data-state="soon"] { color: var(--c-text-2); }
.eg-c-evx__state[data-state="sold-out"] { color: var(--c-text-3); }

.eg-c-evx__h { margin: 0; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.75rem); line-height: .98; letter-spacing: -.035em; text-wrap: balance; }
.eg-c-evx__by { margin: 0; color: var(--c-text-2); }
.eg-c-evx__by b { color: var(--c-text); font-weight: 700; }

.eg-c-evx__facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem 1.5rem; margin: .25rem 0 0; padding-top: 1rem; border-top: 1px solid var(--c-line); }
.eg-c-evx__facts div { display: grid; gap: .25rem; align-content: start; min-width: 0; }
.eg-c-evx__facts dt { font-size: var(--t-label); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--c-text-3); }
.eg-c-evx__facts dd { margin: 0; font-weight: 600; color: var(--c-text); font-variant-numeric: tabular-nums; }
.eg-c-evx__facts small { display: block; margin-top: .125rem; font-size: var(--t-meta); font-weight: 400; color: var(--c-text-2); }
.eg-c-evx__date { grid-row: span 2; padding-right: 1.5rem; border-right: 1px solid var(--c-line); }
.eg-c-evx__date time { display: grid; justify-items: start; line-height: 1; }
.eg-c-evx__dow, .eg-c-evx__mon, .eg-c-evx__yr { font-size: var(--t-label); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eg-c-evx__dow { color: var(--c-text-2); }
.eg-c-evx__day { font-family: var(--font-headline); font-weight: 800; font-size: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); letter-spacing: -.05em; line-height: .9; }
.eg-c-evx__mon { color: var(--c-accent); }
.eg-c-evx__yr { color: var(--c-text-3); margin-top: .25rem; }

/* The perforation: dashed tear line with the card's two notches. */
.eg-c-evx__stub {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: .5rem; padding-top: 1.25rem; border-top: 2px dashed var(--c-line-strong);
}
.eg-c-evx__stub::before, .eg-c-evx__stub::after {
  content: ""; position: absolute; top: 0; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--c-ink); border: 1px solid var(--c-line-strong); transform: translateY(-50%);
}
.eg-c-evx__stub::before { left: calc(-1 * clamp(1.25rem, 3vw, 2.25rem) - .625rem); clip-path: inset(0 0 0 50%); }
.eg-c-evx__stub::after { right: calc(-1 * clamp(1.25rem, 3vw, 2.25rem) - .625rem); clip-path: inset(0 50% 0 0); }
.eg-c-evx__price { display: flex; align-items: baseline; gap: .5rem; margin: 0; }
.eg-c-evx__price span { font-size: var(--t-meta); color: var(--c-text-2); }
.eg-c-evx__price b { font-family: var(--font-headline); font-weight: 800; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); letter-spacing: -.03em; }
@media (max-width: 519.98px) { .eg-c-evx__stub .eg-c-btn { width: 100%; } }

.eg-c-evx__trust { display: grid; gap: .625rem; padding: 0; margin: .25rem 0 0; list-style: none; font-size: var(--t-meta); color: var(--c-text-2); }
.eg-c-evx__trust li { display: flex; align-items: center; gap: .625rem; }
.eg-c-evx__trust b { color: var(--c-text); font-weight: 700; }
.eg-c-evx__ti {
  display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; flex: none;
  border-radius: var(--radius-full); border: 1px solid var(--c-line-strong); color: var(--c-teal);
}
.eg-c-evx__ti svg { width: .9rem; height: .9rem; }
@media (min-width: 1200px) { .eg-c-evx__trust { grid-template-columns: repeat(3, auto); justify-content: start; gap: .75rem 1.25rem; } }

/* ---- body: tickets beside the story -------------------------------------- */
.eg-c-evd { padding: clamp(1rem, 3vh, 2rem) var(--c-gut) var(--c-sec); }
.eg-c-evd__in { width: 100%; max-width: 1320px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 6vh, 4rem); }
@media (min-width: 1000px) {
  .eg-c-evd__in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "main tix"; align-items: start; gap: clamp(2.5rem, 5vw, 5rem); }
  .eg-c-evd__in > .eg-c-tix { grid-area: tix; }
  .eg-c-evd__in > .eg-c-evd__main { grid-area: main; }
}
.eg-c-evd__main { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 6vh, 3.5rem); min-width: 0; }
.eg-c-evd__main section { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; }
.eg-c-evd__h { margin: 0; font-size: var(--t-title); letter-spacing: -.03em; }
.eg-c-evd__main h3 { margin: .75rem 0 0; font-size: var(--t-card); }
.eg-c-evd__main p { margin: 0; color: var(--c-text-2); max-inline-size: 62ch; }
.eg-c-evd__prose { display: grid; gap: .875rem; font-size: var(--t-lead); }
.eg-c-evd__big { color: var(--c-text) !important; font-weight: 700; font-size: var(--t-card); }
.eg-c-evd__inc { display: grid; gap: .5rem; padding: 0; margin: 0; list-style: none; }
@media (min-width: 640px) { .eg-c-evd__inc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.eg-c-evd__inc li { display: flex; gap: .625rem; align-items: baseline; color: var(--c-text-2); }
.eg-c-evd__inc li::before { content: ""; flex: none; width: .375rem; height: .7rem; border: solid var(--c-teal); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-.1rem); }
.eg-c-evd__when { grid-template-columns: minmax(0, 1fr) !important; padding: 1.5rem 0; border-block: 1px solid var(--c-line); }
@media (min-width: 640px) { .eg-c-evd__when { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; } }
.eg-c-evd__when > div { display: grid; gap: .5rem; align-content: start; }
.eg-c-evd__info { padding: 1.5rem; border-radius: var(--radius-xl); border: 1px solid var(--c-line); background: var(--c-ink-soft); }
.eg-c-evd__info h3:first-of-type { margin-top: 0; }

/* ---- related -------------------------------------------------------------- */
.eg-c-evr { padding: 0 var(--c-gut) var(--c-sec); }
.eg-c-evr__in { width: 100%; max-width: 1320px; margin-inline: auto; }
.eg-c-evr__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
@media (min-width: 720px) { .eg-c-evr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .eg-c-evr__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
