/* Event page layout (js/evlayout.js). Mobile: collapsible sections with one-line previews. >=768px: everything open;
   from 900px a two-column body with a sticky side column. --ev-acc is the event's category accent. */
html.ev2{--ev-acc:#d9b26f}
.ev2 .eg{--egc:var(--ev-acc);position:relative;min-width:0}
.ev2 .eg[hidden]{display:none!important}
.ev2 .eg-h{margin:0;font:inherit}
.ev2 .eg-btn{all:unset;box-sizing:border-box;width:100%;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px}
.ev2 .eg-ic{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:color-mix(in srgb,var(--egc) 16%,transparent);color:var(--egc);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--egc) 28%,transparent)}
.ev2 .eg-ic svg,.ev2 .eg-ch{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.ev2 .eg-t{min-width:0;display:flex;flex-direction:column;gap:3px}
.ev2 .eg-t b{font:800 clamp(22px,2.1vw,30px)/1.15 var(--f-display,inherit);letter-spacing:-.015em}
.t-editorial.ev2 .eg-t b{font-weight:400}
.ev2 .eg-pv,.ev2 .eg-ch{display:none}
.ev2 .eg-c>section,.ev2 .eg-c>aside,.ev2 .eg-c>div{max-width:none!important;margin-left:0!important;margin-right:0!important;padding-left:0;padding-right:0}
.ev2 .eg-c>*+*{margin-top:30px!important}
.ev2 .eg-c>:first-child{margin-top:0!important;padding-top:0!important;border-top:0!important}
/* the section header already names these */
.ev2 .eg .why>h2,.ev2 .eg .tp-head,.ev2 .eg .vb-head .vb-k,.ev2 .eg .rv-head h3,.ev2 .eg .story .st-k{display:none}
.ev2 .eg .vb-head{margin-top:0}
.ev2 .eg .vibe,.ev2 .eg .meet,.ev2 .eg .showx{padding-left:0!important;padding-right:0!important;padding-bottom:0}
.ev2 .eg .tips{margin:0;background:none;border:0;padding:0!important;box-shadow:none}
.ev2 .ev2-act,.ev2 .ev2-acc,.ev2 .ev2-dir{display:none}

/* ---------- tablet + desktop: open sections, rich two-column body ---------- */
@media (min-width:768px){
  .ev2 .e-body{padding-top:clamp(40px,4vw,64px)}
  .ev2 .e-main>.eg{margin-bottom:clamp(48px,5vw,72px)}
  .ev2 .e-main>.eg+.eg{padding-top:clamp(40px,4vw,56px)}
  .ev2 .e-main>.eg+.eg::before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background:linear-gradient(90deg,var(--egc),color-mix(in srgb,var(--egc) 30%,transparent) 22%,var(--line) 55%,transparent)}
  .ev2 .eg-h{margin-bottom:24px}
  .ev2 .eg-btn{cursor:default}
  .ev2 .e-main .why .lead{font-size:clamp(19px,1.5vw,23px);line-height:1.55}
  .ev2 .e-main .rv-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
  /* side column: key info card, then Good to know and Getting there as cards */
  .ev2 .e-side{display:flex;flex-direction:column;gap:20px}
  .ev2 .side-card{position:static;padding:28px;border-radius:18px;background:radial-gradient(130% 90% at 0% 0%,color-mix(in srgb,var(--ev-acc) 12%,transparent),transparent 60%),var(--card);box-shadow:0 24px 60px rgba(0,0,0,.22)}
  .ev2 .side-card h3{font-size:22px;line-height:1.2}
  .ev2 .s-key{list-style:none;margin:14px 0 18px;padding:14px 0 0;border-top:1px solid var(--line);display:grid;gap:10px}
  .ev2 .s-key li{display:grid;grid-template-columns:20px 1fr;gap:10px;align-items:start;font-size:14.5px;line-height:1.45;color:var(--fg)}
  .ev2 .s-key svg{width:18px;height:18px;margin-top:1px;fill:none;stroke:var(--ev-acc);stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
  .ev2 .side-card #miniMap{border-radius:12px;overflow:hidden}
  .ev2 .e-side>.eg{padding:24px 24px 22px;border-radius:18px;border:1px solid var(--line);background:var(--card)}
  .ev2 .e-side>.eg[data-k=tips]{background:radial-gradient(120% 120% at 0% 0%,rgba(217,178,111,.12),transparent 55%),var(--card);border-color:rgba(217,178,111,.26)}
  .ev2 .e-side>.eg .eg-h{margin-bottom:16px}
  .ev2 .e-side>.eg .eg-ic{width:34px;height:34px;border-radius:10px}
  .ev2 .e-side>.eg .eg-t b{font-size:20px}
  .ev2 .e-side .tp{grid-template-columns:32px 1fr;gap:12px}
  .ev2 .e-side .tp-ic{width:32px;height:32px;border-radius:9px}
  .ev2 .e-side .tp-t{font-size:15px;line-height:1.5}
  .ev2 .e-side>.eg[data-k=plan] .eg-h{display:none}
  .ev2 .e-side>.eg[data-k=plan]{padding:0;border:0;background:none}
  .ev2 .e-side .xp-main{margin:0}
  .ev2 .e-side .xg{border-radius:18px;padding:22px}
}
@media (min-width:900px){
  .ev2 .e-body{grid-template-columns:minmax(0,1fr) 384px;gap:clamp(36px,4.5vw,72px)}
  .ev2 .e-side{position:sticky;top:var(--side-top,92px);align-self:start}
}
@media (min-width:1280px){.ev2 .e-body{grid-template-columns:minmax(0,1fr) 400px}}

/* ---------- mobile: quick actions + collapsible sections ---------- */
@media (max-width:767px){
  .ev2 .ev2-act{display:flex;flex-wrap:wrap;gap:10px;padding:18px var(--pad) 0}
  .ev2 .ev2-act>.btn{flex:1 1 100%;justify-content:center}
  .ev2 .ev2-act-s{flex:1 1 100%;display:flex;justify-content:center}
  .ev2 .ev2-act-s .btn{border:0;padding:4px 10px;font-size:14px;color:var(--muted);text-decoration:underline;text-underline-offset:3px;background:none}
  .ev2 .e-side{display:none}
  .ev2 .e-body{padding-top:20px}
  .ev2 .ev2-acc{display:flex;flex-direction:column;gap:10px;margin-bottom:40px}
  .ev2 .ev2-acc .eg{border:1px solid rgba(255,255,255,.1);border-radius:16px;background:rgba(255,255,255,.035);overflow:hidden;transition:border-color .3s,background .3s}
  .ev2 .ev2-acc .eg.on{border-color:color-mix(in srgb,var(--egc) 45%,transparent);background:rgba(255,255,255,.05)}
  .ev2 .ev2-acc .eg-btn{grid-template-columns:34px 1fr 20px;gap:12px;padding:14px 16px;cursor:pointer;-webkit-tap-highlight-color:transparent}
  .ev2 .ev2-acc .eg-btn:focus-visible{outline:2px solid var(--egc);outline-offset:-2px;border-radius:16px}
  .ev2 .ev2-acc .eg-ic{width:34px;height:34px;border-radius:10px}
  .ev2 .ev2-acc .eg-ic svg{width:18px;height:18px}
  .ev2 .ev2-acc .eg-t b{font:700 15.5px/1.25 var(--f-body,inherit);letter-spacing:.01em}
  .ev2 .ev2-acc .eg-pv{display:flex;align-items:center;gap:8px;min-width:0;color:var(--muted,#a9a9b2);font-size:13.5px;line-height:1.35;max-height:40px;transition:opacity .25s,max-height .3s,visibility .25s}
  .ev2 .eg-pv>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
  .ev2 .eg-pv img{width:44px;height:26px;object-fit:cover;border-radius:5px;flex:none}
  .ev2 .ev2-acc .eg.on .eg-pv{opacity:0;max-height:0;visibility:hidden}
  .ev2 .ev2-acc .eg-ch{display:block;color:var(--muted,#a9a9b2);transition:transform .35s cubic-bezier(.2,.7,.2,1)}
  .ev2 .ev2-acc .eg.on .eg-ch{transform:rotate(180deg)}
  .ev2 .ev2-acc .eg-b{display:grid;grid-template-rows:0fr;transition:grid-template-rows .38s cubic-bezier(.2,.7,.2,1)}
  .ev2 .ev2-acc .eg.on .eg-b{grid-template-rows:1fr}
  .ev2 .ev2-acc .eg-in{min-height:0;overflow:hidden}
  .ev2 .ev2-acc .eg-c{padding:2px 16px 18px;opacity:0;transform:translateY(-6px);transition:opacity .3s .05s,transform .35s}
  .ev2 .ev2-acc .eg.on .eg-c{opacity:1;transform:none}
  .ev2 .ev2-acc .eg-c>*+*{margin-top:22px!important}
  .ev2 .ev2-acc #miniMap{height:260px;border-radius:14px;overflow:hidden}
  .ev2 .ev2-acc .e-map-h{display:none}
  .ev2 .ev2-acc .s-map{display:block;margin-top:10px;color:var(--muted)}
  .ev2 .ev2-dir{display:block;margin-top:14px}
  .ev2 .ev2-dir .btn{width:100%;justify-content:center}
  .ev2 .ev2-acc .vibe{padding-top:0}
}
@media (prefers-reduced-motion:reduce){.ev2 .eg-b,.ev2 .eg-c,.ev2 .eg-ch,.ev2 .eg-pv{transition:none!important}}
/* spacing: event.css gives every .e-main section a 56px bottom margin; groups manage their own rhythm */
.ev2 .e-main .eg-c>*{margin-bottom:0!important}
.ev2 .e-main .ev2-acc>.eg{margin:0}
.ev2 .e-main section.eg{margin-bottom:0}
@media (min-width:768px){.ev2 .e-main>.eg{margin-bottom:clamp(48px,5vw,72px)!important}}
/* performer links strip (mobile, Watch the vibe collapsed) */
.ev2 .eg-soc{display:none}
@media (max-width:767px){
  .ev2 .ev2-acc .eg:not(.on) .eg-soc{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:0 16px 14px 62px;margin-top:-4px}
  .ev2 .eg-soc-k{flex:1 1 100%;font-size:12px;color:var(--muted);margin-bottom:2px}
  .ev2 .eg-soc a.mt-ic{width:32px;height:32px;display:inline-grid;place-items:center;border-radius:9px;border:1px solid var(--line);background:rgba(255,255,255,.04);color:var(--fg)}
  .ev2 .eg-soc .mt-ic svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
}
