/* =====================================================================
   Globook — organiser events page (events.html), layout A:
   centred organiser header + centred grid of photo-on-top event cards,
   on the organiser's own full-page background photo.
   ===================================================================== */
.evc-page{
  --c-card:rgba(24,24,28,.94); --c-line:rgba(255,255,255,.08);
  --c-soft:#b4b4bb; --c-mute:#7c7c85; --c-gold:#f5c842; --c-gold2:#f2c230;
  background:#141416 !important; font-family:'Inter',-apple-system,'Segoe UI',sans-serif; color:#f4f4f5;
}
.evc-page::after{display:none !important;}
.evc-page::before{display:block !important;content:'';position:fixed !important;top:0 !important;left:0 !important;right:auto !important;bottom:auto !important;
  width:100vw !important;height:100vh !important;margin:0 !important;transform:none !important;filter:none !important;opacity:1 !important;z-index:0;pointer-events:none;
  background:radial-gradient(900px 420px at 50% 0%,rgba(245,200,66,.14),transparent 70%),#141416;}
.evc-page.evc-has-photo::before{background:linear-gradient(180deg,rgba(14,14,16,.35) 0%,rgba(14,14,16,.5) 100%),var(--evx-photo) center/cover no-repeat;}
.evc-page .topbar,.evc-page .evc-main,.evc-page .site-footer{position:relative;z-index:1;}
.evc-page .topbar{position:sticky;top:0;z-index:20;}
.evc-page .topbar-note{font-family:'Inter',sans-serif;font-weight:600;letter-spacing:.02em;}

.evc-main{max-width:1200px;margin:0 auto;padding:56px 24px 80px;}

/* header */
.evc-head{text-align:center;margin:0 auto 40px;max-width:760px;}
.evc-avatar{width:76px;height:76px;margin:0 auto 16px;border-radius:22px;display:grid;place-items:center;
  font:800 26px/1 'Inter',sans-serif;color:#1a1406;background:linear-gradient(140deg,#ffe9a0,#f2c230 55%,#d49d1c);
  box-shadow:0 0 0 5px rgba(245,200,66,.14),0 18px 40px -16px rgba(0,0,0,.8);}
.evc-org{margin:0 0 10px;font:800 clamp(30px,4vw,46px)/1.08 'Inter',sans-serif;letter-spacing:-.03em;color:#fff;
  text-shadow:0 2px 24px rgba(0,0,0,.7),0 1px 3px rgba(0,0,0,.6);}
.evc-sub{display:flex;justify-content:center;flex-wrap:wrap;gap:6px 0;margin:0;font-size:15px;color:#ececef;text-shadow:0 1px 10px rgba(0,0,0,.9),0 1px 2px rgba(0,0,0,.8);}
.evc-sub span+span::before{content:'·';margin:0 10px;color:var(--c-gold);}

/* grid */
.evc-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:28px;}
.evc-card{position:relative;flex:0 1 350px;display:flex;flex-direction:column;border-radius:24px;overflow:hidden;background:var(--c-card);
  border:1px solid var(--c-line);box-shadow:0 30px 60px -30px rgba(0,0,0,.9);transition:transform .25s,border-color .25s,box-shadow .25s;}
.evc-card:hover{transform:translateY(-4px);border-color:rgba(245,200,66,.45);box-shadow:0 40px 70px -30px rgba(0,0,0,.95);}
.evc-card.is-closed:hover{transform:none;border-color:var(--c-line);}
.evc-stretch{position:absolute;inset:0;z-index:2;border-radius:inherit;}
.evc-img{position:relative;aspect-ratio:16/10;background:#26262b center/cover no-repeat;}
.evc-img.is-blank{background-image:radial-gradient(80% 80% at 70% 20%,rgba(245,200,66,.35),transparent 70%),linear-gradient(135deg,#2a2a30,#1a1a1d);}
.evc-img.is-blank::after{content:'';position:absolute;inset:0;background:url("../assets/globook-logo.png") center/56% no-repeat;opacity:.5;}
.evc-card:hover .evc-img{filter:brightness(1.05);}
.evc-date{position:absolute;left:16px;top:16px;z-index:1;width:60px;padding:9px 0 8px;border-radius:15px;text-align:center;background:#fff;color:#111;
  box-shadow:0 10px 24px -10px rgba(0,0,0,.6);}
.evc-date b{display:block;font:800 23px/1 'Inter',sans-serif;}
.evc-date span{display:block;margin-top:4px;font:800 10px/1 'Inter',sans-serif;letter-spacing:.16em;color:#a8820a;}
.evc-body{flex:1;display:flex;flex-direction:column;gap:10px;padding:20px 22px 22px;}
.evc-status{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border-radius:999px;font:700 11.5px/1 'Inter',sans-serif;}
.evc-status::before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor;}
.evc-status.is-open{color:#7ee2a8;background:rgba(46,160,98,.15);}
.evc-status.is-soon{color:#ffd76a;background:rgba(245,200,66,.13);}
.evc-status.is-closed{color:var(--c-soft);background:rgba(255,255,255,.06);}
.evc-title{margin:2px 0 2px;font:700 22px/1.25 'Inter',sans-serif;letter-spacing:-.02em;color:#fff;}
.evc-meta{display:flex;align-items:flex-start;gap:8px;margin:0;font-size:14px;line-height:1.45;color:var(--c-soft);}
.evc-meta svg{flex:none;width:16px;height:16px;margin-top:1px;color:var(--c-gold);}
.evc-meta span{display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.evc-btn{position:relative;z-index:3;margin-top:auto;display:flex;align-items:center;justify-content:center;gap:8px;height:48px;border-radius:999px;
  font:700 15px 'Inter',sans-serif;text-decoration:none;color:#1a1406;background:linear-gradient(135deg,#ffe9a0,var(--c-gold2));
  box-shadow:0 12px 26px -14px rgba(242,194,48,.85);}
.evc-body .evc-meta + .evc-btn{margin-top:14px;}
.evc-btn svg{width:16px;height:16px;transition:transform .2s;}
.evc-card:hover .evc-btn svg{transform:translateX(3px);}
.evc-btn.is-disabled{color:var(--c-mute);background:rgba(255,255,255,.05);box-shadow:none;border:1px solid var(--c-line);}

.evc-skel{flex:0 1 350px;height:440px;border-radius:24px;
  background:linear-gradient(100deg,rgba(255,255,255,.03) 30%,rgba(255,255,255,.08) 50%,rgba(255,255,255,.03) 70%) 0 0/300% 100%,var(--c-card);
  animation:evcShimmer 1.4s linear infinite;}
@keyframes evcShimmer{to{background-position:-300% 0;}}
.evc-empty{flex:1 1 100%;max-width:560px;display:flex;flex-direction:column;align-items:center;gap:6px;padding:48px 20px;text-align:center;border-radius:22px;
  background:var(--c-card);border:1px solid var(--c-line);color:var(--c-soft);}
.evc-empty strong{font:700 18px 'Inter',sans-serif;color:#fff;}
.evc-page .ev-footer{background:rgba(10,10,12,.85);}

@media (max-width:760px){
  .evc-main{padding:32px 16px 56px;}
  .evc-head{margin-bottom:26px;}
  .evc-avatar{width:62px;height:62px;border-radius:18px;font-size:21px;margin-bottom:12px;}
  .evc-org{font-size:28px;}
  .evc-sub{font-size:13.5px;}
  .evc-grid{gap:18px;}
  .evc-card,.evc-skel{flex:1 1 100%;}
}
@media (prefers-reduced-motion:reduce){.evc-card,.evc-skel{transition:none;animation:none;}}
@media (max-width:760px){ .evc-sub span:not(:first-child){display:none;} }


/* ================= Organiser sidebar on the left ================= */
.evc-main{max-width:none;margin:0;display:grid;grid-template-columns:280px minmax(0,1fr);gap:40px;align-items:start;padding:40px clamp(20px,3vw,48px) 72px;}
.evc-side{position:sticky;top:110px;display:flex;flex-direction:column;align-items:flex-start;gap:0;padding:26px 24px;border-radius:24px;
  background:rgba(20,20,24,.82);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,.08);
  box-shadow:0 30px 60px -30px rgba(0,0,0,.9);}
.evc-side .evc-avatar{margin:0 0 16px;width:64px;height:64px;border-radius:18px;font-size:22px;}
.evc-side .evc-org{margin:0 0 6px;font-size:24px;line-height:1.2;text-align:left;text-shadow:none;}
.evc-count{margin:0 0 20px;font-size:14px;color:#b4b4bb;}
.evc-points{list-style:none;margin:0 0 22px;padding:18px 0 0;width:100%;display:flex;flex-direction:column;gap:14px;border-top:1px solid rgba(255,255,255,.08);}
.evc-points li{display:flex;align-items:flex-start;gap:12px;}
.evc-points svg{flex:none;width:34px;height:34px;padding:8px;border-radius:10px;color:#f5c842;background:rgba(245,200,66,.12);}
.evc-points span{display:flex;flex-direction:column;font-size:12.5px;line-height:1.35;color:#8c8c95;}
.evc-points b{font-size:13.5px;font-weight:600;color:#f4f4f5;}
.evc-share{width:100%;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;border-radius:999px;
  border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);color:#f4f4f5;font:600 14px 'Inter',sans-serif;cursor:pointer;transition:border-color .2s,background .2s;}
.evc-share svg{width:16px;height:16px;}
.evc-share:hover{border-color:rgba(245,200,66,.5);background:rgba(245,200,66,.08);}
.evc-share.is-done{border-color:#2f9e63;color:#bff5d6;}
.evc-grid{justify-content:flex-start;align-content:start;}
.evc-grid:has(> .evc-empty){justify-content:center;} /* "No upcoming events" message stays centred */
@media (max-width:900px){
  .evc-main{grid-template-columns:minmax(0,1fr);gap:22px;padding:20px 16px 56px;}
  .evc-side{position:static;display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:14px;align-items:center;padding:16px;border-radius:20px;}
  .evc-side .evc-org{font-size:20px;margin:0;}
  .evc-count{margin:2px 0 0;font-size:13px;}
  .evc-points{grid-column:1/-1;flex-direction:row;justify-content:space-between;gap:8px;margin:14px 0 12px;padding-top:14px;}
  .evc-points li{flex:1;flex-direction:column;align-items:center;text-align:center;gap:6px;}
  .evc-points span{font-size:0;}
  .evc-points b{font-size:11.5px;}
  .evc-points svg{width:30px;height:30px;padding:7px;}
  .evc-share{grid-column:1/-1;height:40px;}
}

/* ---- full height, joined to the top bar ---- */
@media (min-width:901px){
  .evc-main{display:block;padding:44px clamp(20px,3vw,48px) 72px calc(300px + clamp(24px,3vw,48px));}
  .evc-page .evc-main{z-index:auto;}
  .evc-page .site-footer{padding-left:300px;}
  .evc-side{position:fixed;z-index:25;top:82px;bottom:0;left:0;width:300px;overflow:hidden;scrollbar-width:none;
    padding:clamp(16px,3.2vh,34px) 30px clamp(14px,2.6vh,26px);border-radius:0;border:0;border-right:1px solid rgba(255,255,255,.07);
    background:rgba(24,22,19,.94);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:18px 0 40px -28px rgba(0,0,0,.85);}
  .evc-side::-webkit-scrollbar{display:none;}
  .evc-side::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(120% 40% at 0% 0%,rgba(245,200,66,.08),transparent 70%);}
  .evc-side::after{content:'';position:absolute;top:0;right:0;width:1px;height:100%;pointer-events:none;background:linear-gradient(180deg,rgba(245,200,66,.35),rgba(245,200,66,.05) 60%,transparent);}
  .evc-avatar-wrap{margin-bottom:clamp(8px,1.8vh,18px);}
  .evc-side .evc-avatar{width:clamp(48px,7.5vh,72px);height:clamp(48px,7.5vh,72px);font-size:clamp(17px,2.6vh,25px);border-radius:19px;}
  .evc-side .evc-org{font-size:clamp(19px,3vh,26px);}
  .evc-count{margin-bottom:clamp(10px,2vh,20px);}
  .evc-points{padding-top:clamp(8px,1.6vh,18px);margin-bottom:clamp(8px,1.6vh,22px);gap:clamp(0px,.4vh,4px);}
  .evc-points li{padding:clamp(5px,1vh,10px) 0;}
  .evc-points svg{width:clamp(28px,4vh,34px);height:clamp(28px,4vh,34px);}
  .evc-side > .evc-share{margin-top:auto;height:clamp(36px,5vh,42px);}
  .evc-powered{margin-top:clamp(6px,1.4vh,14px);}
}
@media (min-width:901px) and (max-height:620px){ .evc-points span{font-size:0;} .evc-points b{font-size:13px;} }
.evc-avatar-wrap{display:inline-grid;place-items:center;padding:3px;margin:0 0 18px;border-radius:21px;background:linear-gradient(140deg,#ffe9a0,#c8962a);}
.evc-avatar-wrap .evc-avatar{margin:0 !important;box-shadow:none;border:3px solid #1a1815;}
.evc-side .evc-org{letter-spacing:-.02em;}
.evc-count{display:flex;align-items:center;gap:8px;}
.evc-count::before{content:'';width:7px;height:7px;border-radius:50%;background:#4ade80;box-shadow:0 0 0 3px rgba(74,222,128,.15);}
.evc-points{border-top-color:rgba(255,255,255,.07);}
.evc-points svg{border-radius:9px;background:rgba(245,200,66,.1);}
.evc-share{border-color:rgba(255,255,255,.1);background:transparent;}
.evc-powered{margin:14px 0 0;width:100%;text-align:center;font-size:11.5px;letter-spacing:.06em;color:#6f6f78;border-top:1px solid rgba(255,255,255,.06);padding-top:12px;}
.evc-powered b{color:#f5c842;font-weight:700;}
@media (max-width:900px){
  .evc-avatar-wrap{grid-row:1/3;margin:0;}
  .evc-side .evc-avatar{width:50px;height:50px;font-size:18px;border-radius:15px;}
  .evc-powered{display:none;}
}

/* ---- full-height panel with animated gold details ---- */
@property --evc-spin{syntax:'<angle>';inherits:false;initial-value:0deg;}
@media (min-width:901px){
  .evc-side{border-radius:0 30px 0 0;border-right:1px solid rgba(245,200,66,.16);padding-left:28px;padding-right:28px;
    background:linear-gradient(180deg,rgba(26,24,22,.86),rgba(16,16,18,.92));
    -webkit-backdrop-filter:blur(20px) saturate(1.2);backdrop-filter:blur(20px) saturate(1.2);box-shadow:24px 0 60px -30px rgba(0,0,0,.9);}
  .evc-side::before{inset:-40% -60%;
    background:radial-gradient(40% 30% at 30% 20%,rgba(245,200,66,.22),transparent 70%),
               radial-gradient(35% 25% at 75% 70%,rgba(255,170,60,.14),transparent 70%),
               radial-gradient(30% 22% at 20% 90%,rgba(245,200,66,.12),transparent 70%);
    animation:evcAurora 18s ease-in-out infinite alternate;}
  .evc-side::after{width:2px;opacity:.8;
    background:linear-gradient(180deg,transparent 0%,rgba(255,226,122,0) 30%,#ffe27a 50%,rgba(255,226,122,0) 70%,transparent 100%) 0 0/100% 300%;
    animation:evcEdge 6s linear infinite;}
  .evc-points li{padding-left:12px;padding-right:12px;border-radius:14px;transition:background .25s,transform .25s;}
  .evc-points li:hover{background:rgba(245,200,66,.07);transform:translateX(3px);}
}
@keyframes evcAurora{0%{transform:translate(0,0) rotate(0deg);}50%{transform:translate(6%,8%) rotate(8deg);}100%{transform:translate(-6%,14%) rotate(-6deg);}}
@keyframes evcEdge{from{background-position:0 100%;}to{background-position:0 -200%;}}
.evc-avatar-wrap{padding:5px;border-radius:24px;
  background:conic-gradient(from var(--evc-spin),rgba(245,200,66,.05),#ffe9a0,#f2c230,rgba(245,200,66,.05) 40%,rgba(245,200,66,.05) 60%,#f2c230,#ffe9a0,rgba(245,200,66,.05));
  animation:evcSpin 7s linear infinite;box-shadow:0 0 34px -6px rgba(245,200,66,.55);}
.evc-avatar-wrap .evc-avatar{border-color:#18181b;}
@keyframes evcSpin{to{--evc-spin:360deg;}}
.evc-points svg{box-shadow:inset 0 0 0 1px rgba(245,200,66,.2);}
.evc-count::before{display:none;}
.evc-share{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.12);}
.evc-powered{border-top:0;padding-top:0;}
@media (max-width:900px){.evc-avatar-wrap{padding:3px;border-radius:19px;}}
@media (prefers-reduced-motion:reduce){.evc-side::before,.evc-side::after,.evc-avatar-wrap{animation:none;}}
html.gb-lite .evc-side::before,html.gb-lite .evc-side::after,html.gb-lite .evc-avatar-wrap{animation:none;}

/* see-through footer */
.evc-page .site-footer,.evc-page .ev-footer{background:rgba(12,12,14,.28) !important;border-top:1px solid rgba(255,255,255,.08) !important;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);}
.evc-page .ev-footer p{color:#e4e4e7 !important;text-shadow:0 1px 6px rgba(0,0,0,.9);}
.evc-page .ev-footer p strong{color:#fff !important;}

/* very see-through side panel: the background photo shows through */
@media (min-width:901px){
  .evc-side{background:linear-gradient(180deg,rgba(20,18,16,.22),rgba(14,14,16,.32));
    -webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);box-shadow:none;}
  .evc-side::before{opacity:.5;}
  .evc-side .evc-org{text-shadow:0 2px 14px rgba(0,0,0,.9),0 1px 3px rgba(0,0,0,.8);}
  .evc-count,.evc-points span,.evc-powered{color:#ececef;text-shadow:0 1px 8px rgba(0,0,0,.95),0 1px 2px rgba(0,0,0,.9);}
  .evc-points b{text-shadow:0 1px 8px rgba(0,0,0,.95),0 1px 2px rgba(0,0,0,.9);}
  .evc-points{border-top-color:rgba(255,255,255,.18);}
  .evc-points svg{background:rgba(20,18,16,.55);}
  .evc-share{background:rgba(20,18,16,.45);border-color:rgba(255,255,255,.22);}
}
@media (min-width:901px){ .evc-page .site-footer{padding-left:0;margin-left:300px;} }
/* Get tickets buttons line up across cards */
.evc-grid{align-items:stretch;}
.evc-body .evc-meta + .evc-btn{margin-top:auto;}
.evc-body .evc-meta:last-of-type{margin-bottom:14px;}
/* square side panel corner */
@media (min-width:901px){ .evc-side{border-radius:0;} }
/* side panel runs up underneath the top bar, so no gap appears when scrolling */
@media (min-width:901px){
  .evc-side{top:0;z-index:15;padding-top:calc(82px + clamp(16px,3.2vh,34px));}
  .evc-page .topbar{z-index:30;}
}

/* ================= One seamless frame: top bar, side panel and footer share the same glass ================= */
@media (min-width:901px){
  .evc-page .curtain-top{position:relative;z-index:31;}
  .evc-page .topbar{background:linear-gradient(180deg,rgba(14,13,12,.55),rgba(14,13,12,.38)) !important;border-bottom:0 !important;
    -webkit-backdrop-filter:blur(8px) saturate(1.1) !important;backdrop-filter:blur(8px) saturate(1.1) !important;box-shadow:none !important;}
  /* panel: same glass as the top bar, fading softly into the photo instead of a hard block */
  .evc-side{background:linear-gradient(90deg,rgba(14,13,12,.42) 0%,rgba(14,13,12,.34) 70%,rgba(14,13,12,.18) 100%);
    -webkit-backdrop-filter:blur(8px) saturate(1.1);backdrop-filter:blur(8px) saturate(1.1);border-right:0;}
  .evc-side::after{width:1px;opacity:.55;}
  /* footer: no separate band, just text over the photo */
  .evc-page .site-footer,.evc-page .ev-footer{background:transparent !important;border-top:0 !important;-webkit-backdrop-filter:none;backdrop-filter:none;}
  .evc-page .ev-footer .ev-footer-in{padding-top:18px;padding-bottom:22px;}
}
/* cards: softer, glassier edges so they sit in the scene */
.evc-card{background:rgba(22,22,26,.86);border-color:rgba(255,255,255,.1);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  box-shadow:0 30px 70px -30px rgba(0,0,0,.85),inset 0 1px 0 rgba(255,255,255,.06);}
.evc-img{margin:8px 8px 0;border-radius:18px;overflow:hidden;}
.evc-card{border-radius:26px;}

/* gold stripe lives inside the sticky top bar, and the side panel starts
   exactly at the bottom of the bar (--evc-hdr is measured in js/events.js),
   so nothing can peek above the bar when the page bounces */
@media (min-width:901px){
  .evc-page .curtain-top{display:none;}
  .evc-page .topbar{border-top:6px solid transparent;border-image:repeating-linear-gradient(90deg,#b8902a 0 34px,#e6c35c 34px 68px) 6;}
  .evc-side{top:var(--evc-hdr,82px);padding-top:clamp(16px,3.2vh,34px);}
}

/* side panel is part of the page layout (sticky, not fixed), so it moves
   together with the top bar when the page bounces - no gap above or below */
@media (min-width:901px){
  .evc-page .evc-main{display:grid;grid-template-columns:300px minmax(0,1fr);gap:0;padding:0;min-height:calc(100vh - var(--evc-hdr,82px));}
  .evc-side{position:sticky;top:var(--evc-hdr,82px);bottom:auto;left:auto;width:auto;height:calc(100vh - var(--evc-hdr,82px));align-self:start;}
  .evc-content{display:flex;flex-direction:column;min-width:0;padding:44px clamp(20px,3vw,48px) 0;}
  .evc-content .evc-grid{flex:1 0 auto;}
  .evc-page .site-footer{margin:40px calc(-1 * clamp(20px,3vw,48px)) 0;padding-left:0;}
}

/* full-width footer below everything; side panel stops just above it */
@media (min-width:901px){
  .evc-page .evc-main{min-height:calc(100vh - var(--evc-hdr,82px) - var(--evc-ftr,58px));}
  .evc-side{height:calc(100vh - var(--evc-hdr,82px) - var(--evc-ftr,58px));}
  .evc-content{padding-bottom:40px;}
  .evc-page .site-footer,.evc-page .ev-footer{margin:0 !important;padding-left:0 !important;position:relative;z-index:2;
    background:rgba(12,12,14,.45) !important;border-top:1px solid rgba(245,200,66,.18) !important;
    -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);}
  .evc-page .ev-footer .ev-footer-in{padding-top:18px;padding-bottom:18px;}
}
/* safety net: if an older events.html (footer inside the content column) is
   still cached, keep the panel full height and the footer edge to edge */
@media (min-width:901px){
  .evc-main:has(.evc-content > .site-footer) .evc-side{height:calc(100vh - var(--evc-hdr,82px));}
  .evc-content > .site-footer{margin:40px calc(-1 * clamp(20px,3vw,48px)) 0 !important;}
}
/* softer footer: lighter glass, muted grey text */
.evc-page .site-footer,.evc-page .ev-footer{background:rgba(12,12,14,.16) !important;border-top-color:rgba(255,255,255,.08) !important;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);}
.evc-page .ev-footer p{color:#9a9aa2 !important;text-shadow:0 1px 4px rgba(0,0,0,.6);font-size:12px;}
.evc-page .ev-footer p strong{color:#b4b4bb !important;font-weight:600;}
/* left panel: same light glass as the footer */
@media (min-width:901px){
  .evc-side{background:rgba(12,12,14,.16) !important;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);}
  .evc-side::before{opacity:.35;}
}

/* ================= Events in one row, scroll sideways ================= */
@media (min-width:901px){
  .evc-rail{position:relative;}
  .evc-rail .evc-grid{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;overflow-y:visible;scroll-snap-type:x mandatory;scroll-behavior:smooth;
    gap:28px;padding:6px 4px 30px;margin:-6px -4px -30px;scrollbar-width:none;
    -webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 70px),transparent 100%);mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 70px),transparent 100%);}
  .evc-rail .evc-grid:not(.has-more){-webkit-mask-image:none;mask-image:none;}
  .evc-rail .evc-grid::-webkit-scrollbar{display:none;}
  .evc-rail .evc-card,.evc-rail .evc-skel{flex:0 0 360px;scroll-snap-align:start;}
  /* cards always start from the left, even when there are only one or two */
  .evc-rail .evc-grid:has(> .evc-empty){justify-content:center;}
  .evc-nav{position:absolute;top:50%;z-index:5;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;gap:6px;
    height:56px;min-width:56px;padding:0 18px;border-radius:999px;border:0;cursor:pointer;font:700 14px 'Inter',sans-serif;color:#1a1406;
    background:linear-gradient(135deg,#ffe9a0,#f2c230);box-shadow:0 14px 34px -12px rgba(242,194,48,.9),0 0 0 6px rgba(245,200,66,.18);transition:transform .2s;}
  .evc-nav[hidden]{display:none;}
  .evc-nav svg{width:20px;height:20px;}
  .evc-nav:hover{transform:translateY(-50%) scale(1.06);}
  .evc-next{right:-8px;animation:evcNudge 1.8s ease-in-out infinite;}
  .evc-next::before{content:'';position:absolute;inset:0;border-radius:inherit;box-shadow:0 0 0 0 rgba(245,200,66,.7);animation:evcPing 1.8s ease-out infinite;}
  .evc-next.is-used,.evc-next.is-used::before{animation:none;}
  .evc-prev{left:-8px;padding:0;width:48px;min-width:48px;height:48px;background:rgba(20,20,24,.85);color:#f5c842;box-shadow:0 10px 26px -12px rgba(0,0,0,.9);border:1px solid rgba(245,200,66,.35);}
}
@keyframes evcPing{0%{box-shadow:0 0 0 0 rgba(245,200,66,.65);}100%{box-shadow:0 0 0 18px rgba(245,200,66,0);}}
@keyframes evcNudge{0%,100%{transform:translateY(-50%) translateX(0);}50%{transform:translateY(-50%) translateX(6px);}}
@media (max-width:900px){.evc-nav{display:none !important;}}
@media (prefers-reduced-motion:reduce){.evc-next,.evc-next::before{animation:none;}}
@media (min-width:901px){ .evc-rail .evc-grid{padding:6px 4px 70px;margin:-6px -4px -70px;} }
/* Card links are buttons now (no hover URL in the browser corner) */
.evc-stretch{cursor:pointer;}
button.evc-btn{width:100%;border:0;cursor:pointer;-webkit-appearance:none;appearance:none;}
button.evc-btn:focus-visible{outline:2px solid #fff;outline-offset:3px;}
