/* =============================================================
   pssc-event.css — premium event page layout
   Scoped to .evx so nothing else on the site is affected.
   ============================================================= */
.evx{
  --evx-navy:#0d2350; --evx-blue:#1049a9; --evx-red:#c8102e;
  --evx-ink:#0f1b33;  --evx-body:#33415c; --evx-muted:#5b6b86;
  --evx-line:#e4e9f2; --evx-soft:#f6f8fc;
}

/* ---------- hero ---------- */
.evx-hero{
  position:relative; isolation:isolate;
  background:var(--base); color:#fff;
  width:min(1180px, calc(100% - 32px)); margin:12px auto 0;
  border-radius:26px;
  box-shadow:0 30px 70px -34px rgba(6,17,42,.55);
  padding:clamp(24px,3vw,38px) 0 clamp(26px,3.2vw,40px);
  display:flex; align-items:center;
}
.evx-hero__fx{position:absolute; inset:0; overflow:hidden; z-index:-1; border-radius:inherit}
.evx-hero__bg{
  position:absolute; inset:-10%;
  background-size:cover; background-position:center;
  filter:blur(42px) saturate(1.18); opacity:.55; transform:scale(1.15);
}
.evx-hero__wash{
  position:absolute; inset:0;
  background:
    radial-gradient(1100px 520px at 10% -12%, rgba(var(--h1rgb),.60), transparent 62%),
    radial-gradient(780px 460px at 98% 6%, rgba(var(--h2rgb),.38), transparent 60%),
    linear-gradient(180deg, rgba(var(--basergb),.70) 0%, rgba(var(--basergb),.90) 58%, var(--base) 100%);
}
.evx-hero__grid{
  position:absolute; inset:0; opacity:.15;
  background-image:
    linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px);
  background-size:66px 66px;
  -webkit-mask-image:radial-gradient(72% 62% at 50% 0%, #000, transparent 76%);
          mask-image:radial-gradient(72% 62% at 50% 0%, #000, transparent 76%);
}

.evx-crumbs{font-size:.84rem; color:rgba(255,255,255,.62); margin:0 0 12px}
.evx-crumbs a{color:rgba(255,255,255,.85); text-decoration:none}
.evx-crumbs a:hover{color:#fff; text-decoration:underline}

.evx-chip{
  display:inline-flex; align-items:center; gap:8px;
  font-size:.71rem; font-weight:800; letter-spacing:.16em; text-transform:uppercase;
  color:#fff; background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.26); border-radius:999px; padding:7px 15px;
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
}
.evx-chip.is-camp{background:rgba(200,16,46,.26)}
.evx-chip__dot{width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px rgba(255,255,255,.15)}

.evx-title{
  font-size:clamp(1.95rem,4.4vw,3.2rem); line-height:1.06; letter-spacing:-.022em;
  font-weight:800; margin:12px 0 0; color:#fff; max-width:20ch;
}
.evx-rule{
  width:70px; height:4px; border-radius:99px; margin:15px 0 0;
  background:linear-gradient(90deg, rgb(var(--h1rgb)) 0 50%, rgb(var(--h2rgb)) 50% 100%);
}
.evx-lede{
  margin:14px 0 0; max-width:58ch;
  font-size:clamp(.98rem,1.2vw,1.08rem); line-height:1.6; color:rgba(255,255,255,.82);
}

.evx-actions{display:flex; flex-wrap:wrap; gap:12px; margin-top:20px}
.evx-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  font-weight:700; font-size:.98rem; border-radius:999px; padding:14px 26px;
  text-decoration:none; min-height:50px; line-height:1.2;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.evx-btn--primary{background:linear-gradient(180deg,#e01b38,#b60d27); color:#fff;
  box-shadow:0 14px 32px -14px rgba(200,16,46,.9)}
.evx-btn--ghost{background:rgba(255,255,255,.09); color:#fff; border:1px solid rgba(255,255,255,.30)}
.evx-btn:hover{transform:translateY(-2px)}
.evx-btn--ghost:hover{background:rgba(255,255,255,.17)}

/* ---------- hero two-column shell ---------- */
.evx-hero__inner{display:grid; grid-template-columns:minmax(0,1fr); gap:clamp(24px,4vw,48px); align-items:center}
@media(min-width:1020px){.evx-hero__inner{grid-template-columns:minmax(0,1.12fr) minmax(360px,.88fr)}}

/* ---------- facts: a 2 x 2 grid inside the hero ---------- */
.evx-facts{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:0}
@media(max-width:1019px){.evx-facts{margin-top:clamp(28px,4vw,40px)}}
@media(max-width:440px){.evx-facts{grid-template-columns:minmax(0,1fr)}}
.evx-fact{
  background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.16);
  border-radius:14px; padding:13px 15px;
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
}
.evx-fact__k{display:block; font-size:.67rem; letter-spacing:.17em; text-transform:uppercase;
  font-weight:800; color:var(--accent)}
.evx-fact__v{display:block; margin-top:5px; font-weight:700; font-size:.97rem; color:#fff; line-height:1.3}
.evx-fact__s{display:block; margin-top:3px; font-size:.8rem; color:rgba(255,255,255,.62); line-height:1.4}
.evx-fact a{color:#fff; text-decoration:underline; text-underline-offset:3px}

/* ---------- poster + text, side by side ---------- */
.evx-section{padding:clamp(44px,6vw,84px) 0}
.evx-section--soft{background:var(--evx-soft); border-block:1px solid var(--evx-line)}
.evx-split{display:grid; grid-template-columns:1fr; gap:clamp(26px,4vw,54px); align-items:start}
@media(min-width:940px){
  .evx-split{grid-template-columns:minmax(300px,400px) minmax(0,1fr)}
  .evx-aside{position:sticky; top:104px}
}
.evx-figure{
  margin:0; border-radius:20px; overflow:hidden; background:#fff;
  border:1px solid var(--evx-line); box-shadow:0 26px 60px -32px rgba(13,35,80,.55);
}
.evx-figure img{display:block; width:100%; height:auto; cursor:zoom-in}
.evx-figcap{margin:11px 2px 0; font-size:.84rem; color:var(--evx-muted)}

.evx-eyebrow{font-size:.71rem; letter-spacing:.17em; text-transform:uppercase;
  font-weight:800; color:var(--head); margin:0 0 10px}
.evx-h2{font-size:clamp(1.5rem,2.6vw,2.1rem); line-height:1.18; letter-spacing:-.015em;
  color:var(--head); margin:0 0 18px; font-weight:800}
.evx-prose{color:var(--evx-body); font-size:clamp(1rem,1.1vw,1.08rem); line-height:1.78}
.evx-prose p{margin:0 0 1.05em}
.evx-prose p:last-child{margin-bottom:0}
.evx-prose a{color:var(--evx-blue)}

/* ---------- small screens ---------- */
@media(max-width:640px){
  .evx-hero{padding-top:22px}
  .evx-title{max-width:none}
  .evx-actions .evx-btn,
  .evx-actions .evx-cal{flex:1 1 100%}
  .evx-cal .evx-btn{width:100%}
  .evx-fact{padding:14px 16px}
}
@media (prefers-reduced-motion:reduce){
  .evx-btn{transition:none}
  .evx-btn:hover{transform:none}
}
/* single-column variant when there is no poster */
@media(min-width:940px){ .evx-split--solo{grid-template-columns:minmax(0,1fr)} }
.evx-split--solo .evx-prose{max-width:74ch}
/* ---------- add-to-calendar menu ---------- */
.evx-cal{position:relative}
.evx-cal__btn{cursor:pointer; font-family:inherit}
.evx-cal__ico{width:19px; height:19px; flex:0 0 auto; opacity:.9}
.evx-cal__caret{width:15px; height:15px; flex:0 0 auto; opacity:.75; transition:transform .18s ease}
.evx-cal__btn[aria-expanded="true"] .evx-cal__caret{transform:rotate(180deg)}
.evx-cal__menu{
  position:absolute; z-index:40; top:calc(100% + 10px); left:0; min-width:290px;
  background:#fff; border-radius:16px; padding:8px;
  border:1px solid rgba(13,35,80,.10);
  box-shadow:0 28px 60px -18px rgba(6,17,42,.55), 0 2px 8px rgba(6,17,42,.12);
}
.evx-cal__menu a{
  display:block; padding:11px 14px; border-radius:11px; text-decoration:none;
  color:var(--evx-ink); font-weight:700; font-size:.97rem; line-height:1.3;
}
.evx-cal__menu a span{display:block; margin-top:3px; font-weight:500; font-size:.82rem; color:var(--evx-muted)}
.evx-cal__menu a:hover,.evx-cal__menu a:focus-visible{background:var(--evx-soft); color:var(--evx-blue)}
@media(max-width:640px){
  .evx-cal{width:100%}
  .evx-cal__menu{left:0; right:0; min-width:0}
}
/* =============================================================
   Per-event themes. The palette comes from the kind of event, the
   pattern and the poster side from a hash of the event id, so every
   event page reads differently from the next.
   ============================================================= */
.evx{
  --h1rgb:24,92,206;  --h2rgb:200,16,46;  --basergb:6,17,42;
  --base:#0b1c40; --accent:#ff9fb0; --head:#0d2350;
}
.evx[data-theme="pitch"]   {--h1rgb:24,92,206;   --h2rgb:200,16,46;   --basergb:6,17,42;   --base:#0b1c40; --accent:#ff9fb0; --head:#0d2350}
.evx[data-theme="crimson"] {--h1rgb:216,31,63;   --h2rgb:122,15,43;   --basergb:34,7,16;   --base:#2a0713; --accent:#ffb0be; --head:#8c1029}
.evx[data-theme="forest"]  {--h1rgb:23,138,74;   --h2rgb:11,92,70;    --basergb:5,32,24;   --base:#062a1f; --accent:#8fe3b4; --head:#0f5c37}
.evx[data-theme="royal"]   {--h1rgb:109,59,209;  --h2rgb:200,16,46;   --basergb:22,12,48;  --base:#1b0f3d; --accent:#d7bcff; --head:#3d2380}
.evx[data-theme="sunset"]  {--h1rgb:240,104,43;  --h2rgb:200,16,46;   --basergb:38,14,8;   --base:#2c1006; --accent:#ffc7a3; --head:#8a3510}
.evx[data-theme="slate"]   {--h1rgb:47,111,143;  --h2rgb:16,73,169;   --basergb:12,24,33;  --base:#0e1a24; --accent:#a8d6ea; --head:#16394d}
.evx[data-theme="electric"]{--h1rgb:10,165,201;  --h2rgb:109,59,209;  --basergb:5,29,38;   --base:#04202b; --accent:#96ecff; --head:#0b5d73}
.evx[data-theme="amber"]   {--h1rgb:201,134,26;  --h2rgb:138,75,18;   --basergb:34,21,7;   --base:#2a1a05; --accent:#ffdca3; --head:#7a520f}
.evx[data-theme="teal"]    {--h1rgb:13,148,136;  --h2rgb:16,73,169;   --basergb:5,36,34;   --base:#052624; --accent:#9beee3; --head:#0b5f57}
.evx[data-theme="gold"]    {--h1rgb:184,137,43;  --h2rgb:16,73,169;   --basergb:30,23,8;   --base:#221a06; --accent:#ffe3a6; --head:#6d5210}

/* mirrored glow for half the events */
.evx[data-alt="1"] .evx-hero__wash{
  background:
    radial-gradient(980px 560px at 92% -14%, rgba(var(--h1rgb),.58), transparent 62%),
    radial-gradient(840px 480px at 4% 12%, rgba(var(--h2rgb),.42), transparent 60%),
    linear-gradient(196deg, rgba(var(--basergb),.66) 0%, rgba(var(--basergb),.92) 60%, var(--base) 100%);
}

/* background patterns */
.evx[data-pattern="dots"] .evx-hero__grid{
  background-image:radial-gradient(rgba(255,255,255,.55) 1.4px, transparent 1.5px);
  background-size:26px 26px; opacity:.20;
}
.evx[data-pattern="rays"] .evx-hero__grid{
  background-image:repeating-linear-gradient(118deg, rgba(255,255,255,.30) 0 1px, transparent 1px 26px);
  background-size:auto; opacity:.24;
}
.evx[data-pattern="rings"] .evx-hero__grid{
  background-image:repeating-radial-gradient(circle at 84% 10%, rgba(255,255,255,.26) 0 1px, transparent 1px 34px);
  background-size:auto; opacity:.28;
}

/* poster on the right for half the events */
@media(min-width:940px){
  .evx-split--flip{grid-template-columns:minmax(0,1fr) minmax(300px,400px)}
  .evx-split--flip .evx-aside{order:2}
  .evx-split--flip .evx-content{order:1}
}
/* the hero is a card the width of the header bar, the same height on every event */
.evx-hero > .wrap{width:100%}
.evx-title--long{font-size:clamp(1.45rem,2.55vw,1.95rem); max-width:30ch; line-height:1.14}
@media(min-width:1020px){
  .evx-hero{min-height:418px}
  .evx-fact{min-height:96px}
  .evx-lede{min-height:4.8em}
}
@media(max-width:1019px){
  .evx-hero{width:min(1180px, calc(100% - 24px)); border-radius:22px; min-height:0}
}
@media(max-width:640px){
  .evx-hero{width:calc(100% - 20px); border-radius:18px; margin-top:10px}
}

/* ===== polish v144 ===== */
.evx .evx-title{text-wrap:balance}
.evx .evx-lede,.evx .evx-prose p{text-wrap:pretty}
.evx .evx-fact{transition:transform .18s ease,border-color .18s ease,background-color .18s ease}
.evx .evx-fact:hover{transform:translateY(-2px)}
.evx .evx-btn{transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease,border-color .16s ease}
.evx .evx-btn:hover{transform:translateY(-1px)}
.evx .evx-btn:active{transform:translateY(0)}
.evx .evx-crumbs a{transition:color .15s ease}
.evx .evx-figure img{transition:transform .4s ease}
.evx .evx-figure:hover img{transform:scale(1.015)}
@media (prefers-reduced-motion:reduce){.evx .evx-fact,.evx .evx-btn,.evx .evx-figure img{transition:none}}

/*ALBUMRAIL-START*/
/* Photos from the day sit in a sideways rail: one row, snap to each frame,
   and a visible track so it is obvious there is more to the right. */
.album.album-rail{display:flex;grid-template-columns:none;gap:14px;
  overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding:0 2px;
  overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;
  padding:2px 2px 12px;margin:0;
  scrollbar-width:thin;scrollbar-color:rgba(13,35,80,.30) rgba(13,35,80,.09)}
.album.album-rail::-webkit-scrollbar{height:10px}
.album.album-rail::-webkit-scrollbar-track{background:rgba(13,35,80,.09);border-radius:99px}
.album.album-rail::-webkit-scrollbar-thumb{background:rgba(13,35,80,.30);border-radius:99px}
.album.album-rail::-webkit-scrollbar-thumb:hover{background:rgba(13,35,80,.48)}
/* .album.flow figure in pssc-pro.css is (0,2,1) and would win width:auto,
   so the flow variant is named here as well. */
.album.flow.album-rail > *,
.album.album-rail > *{flex:0 0 auto;min-width:0;width:min(320px,74vw);margin:0;scroll-snap-align:start}
.album.flow.album-rail > * img,
.album.album-rail > * img{width:100%;max-width:100%;display:block}
.album.album-rail:focus-visible{outline:3px solid #c9a227;outline-offset:4px;border-radius:14px}
@media (min-width:900px){.album.flow.album-rail > *,.album.album-rail > *{width:340px}}
@media (prefers-reduced-motion:reduce){.album.album-rail{scroll-behavior:auto}}
/*ALBUMRAIL-END*/

/*MORE4-START*/
/* "More from the club" is a fixed grid of four with uniform crops. It carries
   one class more than the masonry .ev-grid.flow rules, so it wins without !important. */
.ev-grid.flow.evx-more{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:22px;column-count:auto;column-width:auto}
.ev-grid.flow.evx-more .ev-card{display:flex;flex-direction:column;width:auto;margin:0}
/* The card crop itself is set once, by the inline block in event.php
   (4/5, top-aligned, !important) — nothing is repeated here. */
.ev-grid.flow.evx-more .ev-card:hover .shot img{transform:scale(1.04)}
@media (max-width:1180px){.ev-grid.flow.evx-more{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:860px){.ev-grid.flow.evx-more{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media (max-width:520px){.ev-grid.flow.evx-more{grid-template-columns:minmax(0,1fr)}}
/*MORE4-END*/
