/* ---- events (layout after the LivTech Group events page, in the home page's language: Clash Grotesk 600
   headings, Geist text, white primary + glass secondary buttons, a glow behind the bar like the home hero) ---- */
.events-page #main{background:#000;overflow-x:clip}
.ev-hero{position:relative;width:100%;padding:200px 20px 0;display:flex;flex-direction:column;align-items:center;gap:22px;text-align:center}
.ev-glow{position:absolute;left:50%;top:-260px;width:1500px;height:900px;transform:translateX(-50%);pointer-events:none;z-index:0;
  background:radial-gradient(38% 42% at 50% 40%,rgba(16,97,255,.42),rgba(16,97,255,0) 70%),
             radial-gradient(28% 30% at 68% 52%,rgba(51,184,151,.22),rgba(51,184,151,0) 70%),
             radial-gradient(30% 34% at 32% 50%,rgba(110,70,255,.22),rgba(110,70,255,0) 70%)}
.ev-hero>*:not(.ev-glow){position:relative;z-index:1}
/* headline: the home hero's pattern (Clash Grotesk 600 line + 400 line, white), one size up, letters appear as on home */
.ev-hero h1{margin:0;display:flex;flex-direction:column;align-items:center;font:600 64px/68px "Clash Grotesk",sans-serif;letter-spacing:-.015em;color:#fff}
.ev-hero h1>span{display:block;max-width:100%;text-wrap:balance}
.ev-hero h1 .light{margin-top:6px;font-size:40px;line-height:46px;font-weight:400;color:rgba(255,255,255,.82)}
.ev-eyebrow{margin:0 0 6px;display:inline-flex;align-items:center;gap:10px;height:34px;padding:0 15px 0 13px;border-radius:999px;
  background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1px rgba(255,255,255,.14);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  font:500 13px/1 "Geist",sans-serif;letter-spacing:.01em;color:rgba(255,255,255,.86);white-space:nowrap}
.ev-dot{position:relative;width:7px;height:7px;border-radius:50%;background:#33B897;box-shadow:0 0 0 3px rgba(51,184,151,.18)}
.ev-intro{margin:6px 0 0;max-width:560px;font:400 18px/27px "Geist",sans-serif;letter-spacing:-.2px;color:rgba(255,255,255,.62);text-wrap:balance}
@media (prefers-reduced-motion:no-preference){
  .ev-dot::after{content:"";position:absolute;inset:0;border-radius:50%;background:#33B897;animation:ev-pulse 2.4s cubic-bezier(.2,.6,.3,1) infinite}
  @keyframes ev-pulse{0%{transform:scale(1);opacity:.55}70%,100%{transform:scale(3.2);opacity:0}}
}

.ev-grid{position:relative;z-index:1;width:100%;max-width:1240px;padding:80px 20px 150px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ev-card{position:relative;isolation:isolate;min-height:440px;border-radius:20px;overflow:hidden;color:#fff;
  background:linear-gradient(180deg,#151619 0%,#0f1012 100%)}
.ev-card::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:2;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12),inset 0 0 0 1px rgba(255,255,255,.08)}
.ev-featured{grid-column:span 2}
.ev-art{position:absolute;inset:0;width:100%;height:100%;z-index:-2}
.ev-photo{object-fit:cover;object-position:70% 55%;transform:scale(1.35);transform-origin:85% 60%}
.ev-scrim{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(4,5,10,.94) 0%,rgba(4,5,10,.78) 38%,rgba(4,5,10,.15) 72%,rgba(4,5,10,0) 100%),
  linear-gradient(0deg,rgba(4,5,10,.5) 0%,rgba(4,5,10,0) 40%)}
.ev-content{height:100%;padding:36px;display:flex;flex-direction:column;justify-content:space-between;gap:32px}
.ev-top{display:flex;flex-direction:column;align-items:flex-start;gap:18px}
.ev-card h2{margin:0;font:600 40px/44px "Clash Grotesk",sans-serif;letter-spacing:-.01em;color:#fff;max-width:420px;text-wrap:balance}
.ev-featured h2{font-size:48px;line-height:50px;max-width:460px}
.ev-updates h2{font-size:30px;line-height:34px}
.ev-chips{margin:0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:8px}
.ev-chips li{display:flex;align-items:center;gap:7px;height:32px;padding:0 13px 0 11px;border-radius:999px;
  background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.16);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  font:500 13px/1 "Geist",sans-serif;letter-spacing:-.1px;color:#fff;white-space:nowrap}
.ev-chips svg{width:15px;height:15px;color:#8fb3ff;flex:0 0 auto}
.ev-bottom{display:flex;flex-direction:column;align-items:flex-start;gap:24px}
.ev-card p{margin:0;max-width:440px;font:400 16px/24px "Geist",sans-serif;letter-spacing:-.2px;color:rgba(255,255,255,.78)}
.ev-updates p{font-size:15px;line-height:22px;color:rgba(255,255,255,.6)}
.ev-updates .ev-top{gap:16px}
.ev-updates h2{margin-top:50px}   /* = chip row (32) + gap (18): the two titles share a line */
/* buttons: the site's own pair (white primary as the nav and footer CTAs, glass secondary as the footer's "About us") */
.ev-btn{display:inline-flex;align-items:center;gap:10px;height:47px;padding:0 20px;border-radius:8px;background:#fff;color:#000;
  font:500 15px/1 "Geist",sans-serif;letter-spacing:-.2px;text-decoration:none;white-space:nowrap}
.ev-btn-glass{background:rgba(255,255,255,.13);color:#fff}
.ev-arr{width:17px;height:17px;transition:transform var(--s04b-d) var(--s04b-e)}
.ev-btn:hover .ev-arr{transform:translateX(4px)}
.ev-btn:hover{background:#ececec}
.ev-btn-glass:hover{background:rgba(255,255,255,.2)}
.ev-btn:focus-visible{outline:2px solid #6F9BFF;outline-offset:3px}

@media (max-width:1199.98px){
  .ev-hero{padding-top:170px}
  .ev-hero h1{font-size:52px;line-height:56px}
  .ev-hero h1 .light{font-size:34px;line-height:40px}
  .ev-glow{width:1100px;top:-220px}
  .ev-grid{max-width:760px;grid-template-columns:minmax(0,1fr);padding:64px 30px 120px}
  .ev-featured{grid-column:auto}
  .ev-featured h2{font-size:42px;line-height:46px}
  .ev-card{min-height:420px}
  .ev-updates{min-height:0}
  .ev-updates .ev-content{flex-direction:row;align-items:flex-end;justify-content:space-between;gap:32px}
  .ev-updates h2{margin-top:0}
  .ev-updates p{max-width:440px}
}
@media (max-width:809.98px){
  .ev-hero{padding:130px 20px 0;gap:16px}
  .ev-hero h1{font-size:38px;line-height:42px}
  .ev-hero h1 .light{margin-top:4px;font-size:26px;line-height:32px}
  .ev-intro{font-size:16px;line-height:24px}
  .ev-eyebrow{height:30px;font-size:12px}
  .ev-glow{width:800px;top:-200px;height:700px}
  .ev-grid{padding:48px 20px 100px;gap:12px}
  .ev-card{min-height:460px;border-radius:16px}
  .ev-content{padding:26px}
  .ev-card h2{font-size:32px;line-height:36px}
  .ev-updates h2{font-size:26px;line-height:30px}
  .ev-featured h2{font-size:34px;line-height:38px}
  .ev-updates{min-height:0}
  /* phone: the art becomes a picture band on top, the text sits on the plain card below it */
  .ev-event .ev-art{position:relative;display:block;height:190px;z-index:0}
  .ev-event .ev-photo{transform:none;object-position:62% 45%}
  .ev-event .ev-scrim{display:none}
  .ev-event{min-height:0;display:flex;flex-direction:column}
  .ev-event .ev-content{height:auto}
  .ev-chips{gap:6px}
  .ev-chips li{height:30px;padding:0 10px 0 9px;gap:6px;font-size:12px}
  .ev-chips svg{width:13px;height:13px}
  .ev-updates .ev-content{flex-direction:column;align-items:flex-start}
}
@media (prefers-reduced-motion:reduce){.ev-arr{transition:none}}

/* ---- the guide card (6 Oct): full width under the Bootcamp row; text left, the guide's contents + sticker right.
   The blue glow is the guide's own hero gradient (#1a2a5e), so the card already looks like the page it opens. ---- */
.ev-guide{grid-column:1 / -1;min-height:0;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);
  background:radial-gradient(900px 520px at 78% -20%,#1a2a5e 0%,rgba(26,42,94,0) 60%),linear-gradient(180deg,#121318 0%,#0d0e11 100%)}
.evg-glow{position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(40% 60% at 0% 100%,rgba(16,97,255,.16),rgba(16,97,255,0) 70%)}
.ev-guide .ev-content{gap:40px;padding:44px 40px 44px 44px}
.ev-guide h2{max-width:560px;font-size:40px;line-height:44px}
.ev-guide h2 .light{display:block;margin-top:6px;font-weight:400;font-size:28px;line-height:34px;color:rgba(255,255,255,.72)}
.ev-guide p{max-width:520px}
.evg-btns{display:flex;flex-wrap:wrap;gap:10px}
.evg-side{position:relative;margin:58px 24px 24px 0;padding:34px 30px 30px;border-radius:16px;
  background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  display:flex;flex-direction:column;justify-content:flex-end}
.evg-sticker{position:absolute;top:-46px;right:10px;width:138px;height:auto;transform:rotate(-4deg);
  filter:drop-shadow(0 10px 22px rgba(0,0,0,.5));pointer-events:none;user-select:none}
.evg-label{margin:0 0 14px!important;font:600 12px/1 "Geist",sans-serif!important;letter-spacing:.14em!important;text-transform:uppercase;color:#8fb3ff!important}
.evg-toc{margin:0;padding:0;list-style:none;display:flex;flex-direction:column}
.evg-toc li{display:flex;align-items:baseline;gap:14px;padding:9px 0;border-top:1px solid rgba(255,255,255,.08);
  font:400 16px/22px "Geist",sans-serif;letter-spacing:-.2px;color:rgba(255,255,255,.86)}
.evg-toc li:last-child{color:#fff;font-weight:500}
.evg-n{flex:0 0 22px;font:500 12px/22px "Geist",sans-serif;letter-spacing:.04em;color:rgba(255,255,255,.4);font-variant-numeric:tabular-nums}
.evg-toc li:last-child .evg-n{color:#8fb3ff}
@media (max-width:1199.98px){
  .ev-guide{grid-template-columns:minmax(0,1fr)}
  .ev-guide .ev-content{padding:36px 36px 8px}
  .evg-side{margin:56px 36px 36px;padding-top:30px}
  .evg-sticker{top:-40px;width:130px}
  .evg-toc{display:grid;grid-template-columns:1fr 1fr;column-gap:24px}
}
@media (max-width:809.98px){
  .ev-guide .ev-content{padding:26px 26px 4px;gap:28px}
  .ev-guide h2{font-size:30px;line-height:34px}
  .ev-guide h2 .light{font-size:22px;line-height:28px}
  .evg-side{margin:56px 14px 14px;padding:26px 18px 18px}
  .evg-sticker{top:-34px;right:6px;width:104px}
  .evg-toc{grid-template-columns:1fr}
  .evg-toc li{font-size:15px;padding:8px 0}
  .evg-btns .ev-btn{flex:1 1 auto;justify-content:center}
}
/* without the sticker (Adam, 6 Oct) the contents panel sits level with the text */
.ev-guide.no-sticker .evg-side{margin-top:24px}
@media (max-width:1199.98px){.ev-guide.no-sticker .evg-side{margin-top:24px}}
@media (max-width:809.98px){.ev-guide.no-sticker .evg-side{margin-top:20px}}
