/* ==========================================================================
   vLoganair public site, 2026 design.
   Loaded after tokens.css and site.css by includes/head.php.
   --v2-accent comes from the back office (Website › Home page & design).
   ========================================================================== */

:root {
  --v2-accent: #e0282f;
  --v2-accent-rgb: 224, 40, 47;
  --v2-bg: #f5f3ef;
  --v2-panel: #ffffff;
  --v2-ink: #0c1220;
  --v2-soft: #4d5668;
  --v2-line: rgba(12, 18, 32, .12);
  --v2-dot: rgba(12, 18, 32, .08);
  --v2-night: #070b14;
  --v2-font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --v2-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
:root[data-theme="dark"] {
  --v2-bg: #070b14;
  --v2-panel: #0f1524;
  --v2-ink: #eef2f8;
  --v2-soft: #9aa6ba;
  --v2-line: rgba(255, 255, 255, .1);
  --v2-dot: rgba(255, 255, 255, .07);
}

body.v2 { margin: 0; background: var(--v2-bg); color: var(--v2-ink); font-family: var(--v2-font); }
.v2 a { text-decoration: none; }
.v2-wrap { max-width: 1280px; margin: 0 auto; padding-left: 28px; padding-right: 28px; box-sizing: border-box; }
.v2-mono { font-family: var(--v2-mono); }
.v2-eyebrow { margin: 0 0 16px; font-family: var(--v2-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--v2-accent); }
.v2-h2 { margin: 0; font-weight: 900; font-stretch: 112%; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.02; letter-spacing: -.02em; }
.v2-lead { margin: 0; font-size: 18px; line-height: 1.6; color: var(--v2-soft); }

/* Woven tartan, also used in CrewHub and the back office */
.tartan {
  background-color: #b3141d;
  background-image:
    repeating-linear-gradient(45deg, rgba(0,0,0,.10) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(10,10,14,.62) 18px 38px, transparent 38px 43px, rgba(255,255,255,.8) 43px 45px, transparent 45px 50px, rgba(10,10,14,.35) 50px 54px, transparent 54px 72px),
    repeating-linear-gradient(0deg,  transparent 0 18px, rgba(10,10,14,.62) 18px 38px, transparent 38px 43px, rgba(255,255,255,.8) 43px 45px, transparent 45px 50px, rgba(10,10,14,.35) 50px 54px, transparent 54px 72px);
}

/* Buttons */
.v2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s; cursor: pointer; }
.v2-btn--red { background: var(--v2-accent); color: #fff !important; }
.v2-btn--red:hover { filter: brightness(1.08); }
.v2-btn--ghost { border-color: rgba(255,255,255,.35); color: #fff !important; }
.v2-btn--ghost:hover { border-color: #fff; }
.v2-btn--line { border-color: var(--v2-line); color: var(--v2-ink) !important; }
.v2-btn--line:hover { border-color: var(--v2-ink); }
.v2-link { color: var(--v2-accent) !important; font-weight: 600; }
.v2-link:hover { text-decoration: underline; }

/* ── Nav ─────────────────────────────────────────────────────────────── */
.v2-nav { position: sticky; top: 0; z-index: 50; background: rgba(7, 11, 20, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; border-bottom: 1px solid rgba(255,255,255,.06); }
.v2-nav--overlay { position: absolute; left: 0; right: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 0; }
.v2-nav__in { display: flex; align-items: center; gap: 14px 32px; min-height: 76px; flex-wrap: wrap; }
.v2-brand { display: flex; align-items: center; gap: 12px; color: #fff !important; }
.v2-brand img { width: 34px; height: 34px; }
.v2-brand span { font-weight: 800; font-stretch: 112%; font-size: 21px; letter-spacing: -.01em; }
.v2-nav__links { display: flex; flex-wrap: wrap; gap: 4px 26px; flex: 1; font-size: 15px; font-weight: 500; }
.v2-nav__links a { color: #c9d2df !important; padding: 8px 0; border-bottom: 2px solid transparent; }
.v2-nav__links a:hover, .v2-nav__links a[aria-current="page"] { color: #fff !important; border-bottom-color: var(--v2-accent); }
.v2-nav__actions { display: flex; align-items: center; gap: 10px; }
.v2-nav__login { color: #fff !important; font-weight: 600; font-size: 15px; padding: 12px 8px; }
.v2-nav .vl-theme-toggle { width: 42px; height: 42px; border-radius: 50%; background: transparent; border-color: rgba(255,255,255,.2); color: #fff; }
.v2-nav__menu { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.v2-mob { display: none; background: var(--v2-night); border-top: 1px solid rgba(255,255,255,.08); padding: 10px 28px 20px; }
.v2-mob.open { display: block; }
.v2-mob .v2-btn { margin-top: 14px; width: 100%; box-sizing: border-box; }
.v2-mob a { display: block; padding: 13px 0; color: #dfe5ee !important; border-bottom: 1px solid rgba(255,255,255,.06); font-weight: 500; }
@media (max-width: 960px) {
  .v2-nav__links, .v2-nav__login { display: none; }
  .v2-nav__menu { display: inline-flex; }
  .v2-nav__in { justify-content: space-between; flex-wrap: nowrap; min-height: 68px; }
}
@media (max-width: 560px) {
  .v2-nav__actions > .v2-btn { display: none; }
  .v2-brand span { font-size: 19px; }
}

/* ── Hero ────────────────────────────────────────────────────────────── */
.v2-hero { position: relative; min-height: 720px; background-color: #05080f; background-size: cover; background-position: 65% 40%; display: flex; flex-direction: column; color: #fff; }
.v2-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(5,8,15,.92) 0%, rgba(5,8,15,.6) 45%, rgba(5,8,15,.1) 75%), linear-gradient(0deg, rgba(5,8,15,.85) 0%, rgba(5,8,15,0) 30%); }
.v2-hero__body { position: relative; flex: 1; width: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 140px; padding-bottom: 96px; }
.v2-hero__eyebrow { margin: 0 0 22px; display: flex; align-items: center; gap: 14px; font-family: var(--v2-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #c9d2df; }
.v2-hero__eyebrow .tartan { width: 46px; height: 16px; border-radius: 3px; flex-shrink: 0; }
.v2-hero h1 { margin: 0; max-width: 780px; font-weight: 900; font-stretch: 118%; font-size: clamp(44px, 6.4vw, 80px); line-height: .98; letter-spacing: -.025em; white-space: pre-line; }
.v2-hero p.v2-hero__text { margin: 26px 0 0; max-width: 520px; font-size: 19px; line-height: 1.55; color: #c9d2df; }
.v2-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.v2-band { height: 22px; }

/* ── Live stats ──────────────────────────────────────────────────────── */
.v2-stats { background: var(--v2-panel); border-bottom: 1px solid var(--v2-line); }
.v2-stats__in { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 0; padding-top: 30px; padding-bottom: 30px; }
.v2-stats__live { flex: 1 1 200px; margin: 0; display: flex; align-items: center; gap: 10px; font-family: var(--v2-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--v2-soft); }
.v2-stats__live i { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); animation: v2pulse 2s ease-in-out infinite; }
@keyframes v2pulse { 50% { box-shadow: 0 0 0 7px rgba(34,197,94,.05); } }
.v2-stat { flex: 1 1 150px; padding: 0 22px; border-left: 1px solid var(--v2-line); }
.v2-stat b { display: block; font-weight: 800; font-stretch: 112%; font-size: 34px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.v2-stat span { font-size: 14px; color: var(--v2-soft); }

/* ── Network ─────────────────────────────────────────────────────────── */
.v2-split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 96px; padding-bottom: 56px; }
.v2-split > * { flex: 1 1 420px; min-width: 0; }
.v2-network__text { display: flex; flex-direction: column; gap: 20px; }
.v2-regions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--v2-line); }
.v2-regions div { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px 14px 0; border-bottom: 1px solid var(--v2-line); }
.v2-regions span { color: var(--v2-soft); font-variant-numeric: tabular-nums; }
.v2-legend { display: flex; gap: 18px; font-size: 13px; color: var(--v2-soft); }
.v2-legend span { display: flex; align-items: center; gap: 8px; }
.v2-legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--v2-ink); }
.v2-legend i.base { width: 11px; height: 11px; background: var(--v2-accent); }
.v2-map-scroll { overflow: hidden; }
.v2-map { position: relative; width: 460px; height: 718px; margin: 0 auto; transform-origin: top left; }
.v2-map > img, .v2-map > svg { position: absolute; inset: 0; width: 460px; height: 718px; }
.v2-map svg path { fill: none; stroke: var(--v2-accent); stroke-opacity: .6; stroke-width: 1.2; stroke-linecap: round; }
.v2-ap { position: absolute; width: 0; height: 0; }
.v2-ap i { position: absolute; left: -3.5px; top: -3.5px; width: 7px; height: 7px; border-radius: 50%; background: var(--v2-ink); box-shadow: 0 0 0 3px var(--v2-bg); }
.v2-ap.base i { left: -5.5px; top: -5.5px; width: 11px; height: 11px; background: var(--v2-accent); }
.v2-ap span { position: absolute; top: -8px; left: 10px; white-space: nowrap; font-size: 11.5px; font-weight: 500; text-shadow: 0 0 4px var(--v2-bg), 0 0 2px var(--v2-bg); }
.v2-ap.base span { font-weight: 700; }
.v2-ap.l span { left: auto; right: 10px; }
.v2-ap.b span { left: -24px; top: 8px; }
.v2-ap.far i { background: var(--v2-bg); box-shadow: 0 0 0 2px var(--v2-ink); }
.v2-ap.far span { font-weight: 600; }
.v2-ap.n span { display: none; }
.v2-ap.n:hover span { display: block; z-index: 2; }
.v2-ap.n::before { content: ''; position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; }

/* ── Features ────────────────────────────────────────────────────────── */
.v2-features { padding-top: 56px; padding-bottom: 96px; }
.v2-grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 36px 40px; margin-top: 40px; }
.v2-feature { border-top: 2px solid var(--v2-accent); padding-top: 18px; }
.v2-feature h3 { margin: 0 0 8px; font-size: 20px; font-weight: 700; }
.v2-feature p { margin: 0; color: var(--v2-soft); line-height: 1.6; }

/* ── EFB showcase ────────────────────────────────────────────────────── */
.v2-efb { background: var(--v2-night); color: #eef2f8; }
.v2-efb__in { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 48px; }
.v2-efb__head { display: flex; flex-wrap: wrap; gap: 24px 56px; align-items: flex-end; }
.v2-efb__head > div { flex: 1 1 440px; }
.v2-efb__head p { flex: 1 1 360px; margin: 0; font-size: 18px; line-height: 1.6; color: #a9b4c6; }
.v2-tablet { width: 980px; max-width: 100%; margin: 0 auto; padding: 16px; border-radius: 36px; background: linear-gradient(#232a36, #161b24); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.06); box-sizing: border-box; }
.v2-tablet__screen { border-radius: 22px; overflow: hidden; background: #0a0e16; display: flex; flex-wrap: wrap; min-height: 440px; }
.v2-tablet__rail { flex: 0 0 96px; padding: 18px 0; display: flex; flex-direction: column; align-items: center; gap: 6px; border-right: 1px solid #1a2130; background: #0d121c; }
.v2-tablet__rail img { width: 30px; height: 30px; margin-bottom: 14px; }
.v2-tab { width: 80px; padding: 10px 0; border: 0; border-radius: 14px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; font: 600 11px var(--v2-font); color: #8d98ab; background: transparent; }
.v2-tab span { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font: 500 12px var(--v2-mono); color: #fff; background: #1a2130; }
.v2-tab[aria-selected="true"] { color: #fff; background: #1a2130; }
.v2-tab[aria-selected="true"] span { background: var(--v2-accent); }
.v2-tablet__main { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; }
.v2-tablet__bar { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; padding: 14px 22px; border-bottom: 1px solid #1a2130; font: 12px var(--v2-mono); color: #8d98ab; }
.v2-tablet__bar b { color: #eef2f8; font-weight: 400; }
.v2-pane { padding: 24px; display: none; flex-direction: column; gap: 14px; }
.v2-pane.on { display: flex; }
.v2-route { display: flex; align-items: flex-end; gap: 18px; }
.v2-route b { display: block; font-weight: 900; font-stretch: 118%; font-size: 52px; line-height: .9; }
.v2-route small { display: block; font-size: 13px; color: #8d98ab; padding-top: 6px; }
.v2-route .mid { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding-bottom: 14px; font: 12px var(--v2-mono); color: #8d98ab; }
.v2-route .mid::after { content: ""; width: 100%; border-top: 2px dashed #2f3a4e; }
.v2-cells { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.v2-cell { background: #121826; border-radius: 12px; padding: 14px; }
.v2-cell small { display: block; color: #8d98ab; font-size: 12px; }
.v2-cell b { display: block; font-size: 20px; padding-top: 4px; }
.v2-warn { background: rgba(255,176,32,.1); border: 1px solid rgba(255,176,32,.35); border-radius: 12px; padding: 14px; font-size: 14px; color: #ffd27a; }
.v2-wx { background: #121826; border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.v2-wx div { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.v2-wx code { font: 13px/1.6 var(--v2-mono); color: #b9c3d3; }
.v2-cat { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(34,197,94,.15); color: #6ee7a0; }
.v2-cat.m { background: rgba(96,165,250,.15); color: #93c5fd; }
.v2-check { display: flex; justify-content: space-between; padding: 14px 16px; border: 0; border-radius: 10px; cursor: pointer; font: 500 15px var(--v2-font); text-align: left; color: #eef2f8; background: #121826; }
.v2-check span:last-child { font-family: var(--v2-mono); font-size: 13px; }
.v2-check[aria-pressed="true"] { color: #6ee7a0; background: rgba(34,197,94,.1); }
.v2-efb .v2-feature p { color: #a9b4c6; }
.v2-efb .v2-grid3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-top: 0; }

/* ── Cards (fleet, events) ───────────────────────────────────────────── */
.v2-cards { padding-top: 96px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 32px; }
.v2-cards__head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; }
.v2-cardgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.v2-card { display: flex; flex-direction: column; color: var(--v2-ink) !important; background: var(--v2-panel); border: 1px solid var(--v2-line); border-radius: 18px; overflow: hidden; transition: border-color .15s, transform .15s; }
.v2-card:hover { border-color: rgba(var(--v2-accent-rgb), .5); transform: translateY(-2px); }
.v2-card__img { position: relative; height: 190px; background: #111 center / cover no-repeat; }
.v2-card__img.contain { background-size: contain; background-color: #0d1117; }
.v2-card__date { position: absolute; left: 16px; top: 16px; background: #fff; color: #0c1220; border-radius: 10px; padding: 8px 12px; text-align: center; line-height: 1; }
.v2-card__date small { display: block; font: 11px var(--v2-mono); color: var(--v2-accent); text-transform: uppercase; }
.v2-card__date b { display: block; font-weight: 900; font-stretch: 112%; font-size: 26px; padding-top: 2px; }
.v2-card__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.v2-card__kind { font: 12px var(--v2-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--v2-soft); }
.v2-card__title { font-weight: 800; font-size: 21px; }
.v2-card__text { color: var(--v2-soft); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.v2-card__cta { margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--v2-accent); }
.v2-empty { padding: 40px; text-align: center; color: var(--v2-soft); border: 1px dashed var(--v2-line); border-radius: 18px; }

/* ── Discord + join ──────────────────────────────────────────────────── */
.v2-discord { padding-top: 56px; padding-bottom: 24px; }
.v2-discord__box { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; padding: 32px 36px; border-radius: 24px; background: #5865f2; color: #fff; }
.v2-discord__box svg { width: 54px; height: 42px; flex-shrink: 0; }
.v2-discord__box div { flex: 1 1 300px; }
.v2-discord__box h2 { margin: 0 0 6px; font-weight: 900; font-stretch: 112%; font-size: 28px; }
.v2-discord__box p { margin: 0; color: #e0e3ff; line-height: 1.55; }
.v2-discord__box a { background: #fff; color: #3c45c9 !important; }
.v2-join { padding-top: 40px; padding-bottom: 96px; }
.v2-join__box { display: flex; flex-wrap: wrap; border-radius: 24px; overflow: hidden; background: var(--v2-panel); border: 1px solid var(--v2-line); }
.v2-join__main { flex: 2 1 460px; padding: 44px; display: flex; flex-direction: column; gap: 24px; box-sizing: border-box; }
.v2-join__main h2 { margin: 0; font-weight: 900; font-stretch: 112%; font-size: 40px; letter-spacing: -.02em; }
.v2-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; counter-reset: step; }
.v2-steps li { display: flex; flex-direction: column; gap: 8px; counter-increment: step; }
.v2-steps li::before { content: counter(step, decimal-leading-zero); font: 13px var(--v2-mono); color: var(--v2-accent); }
.v2-steps strong { font-size: 18px; }
.v2-steps span { color: var(--v2-soft); line-height: 1.55; }
.v2-join__art { flex: 1 1 300px; min-height: 320px; display: flex; align-items: center; justify-content: center; }
.v2-join__art span { width: 120px; height: 120px; border-radius: 28px; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 20px 40px -10px rgba(0,0,0,.45); }
.v2-join__art img { width: 84px; height: 84px; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.v2-foot { background: var(--v2-night); color: #9aa6ba; }
.v2-foot__band { height: 10px; }
.v2-foot__grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.v2-foot__grid p { margin: 14px 0 0; line-height: 1.6; font-size: 14px; max-width: 320px; }
.v2-foot h4 { margin: 0 0 14px; font: 12px var(--v2-mono); letter-spacing: .1em; text-transform: uppercase; color: #6b778c; }
.v2-foot__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.v2-foot__col a { color: #c9d2df !important; }
.v2-foot__col a:hover { color: #fff !important; }
.v2-foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 22px; padding-bottom: 28px; font-size: 13px; }
@media (max-width: 760px) {
  .v2-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-foot__grid > :first-child { grid-column: 1 / -1; }
  .v2-wrap { padding-left: 16px; padding-right: 16px; }
  .v2-hero { min-height: 620px; }
  .v2-stat { padding: 0 14px; }
  .v2-stat b { font-size: 26px; }
  .v2-join__main { padding: 28px; }
  .v2-tablet__rail { flex: 1 1 100%; flex-direction: row; justify-content: center; padding: 10px; border-right: 0; border-bottom: 1px solid #1a2130; }
  .v2-tablet__rail img { display: none; }
  .v2-tab { flex: 1; width: auto; min-width: 0; }
  .v2-tablet { padding: 10px; border-radius: 26px; }
  .v2-pane { padding: 16px; }
  .v2-route b { font-size: 38px; }
  .v2-route .mid { font-size: 0; }
  .v2-discord__box, .v2-join__main { padding: 26px; }
  .v2-join__main h2 { font-size: 30px; }
  .v2-join__art { min-height: 200px; }
  .v2-split { padding-top: 64px; gap: 40px; }
  .v2-efb__in, .v2-cards { padding-top: 64px; padding-bottom: 64px; }
}
@media (max-width: 1024px) and (min-width: 761px) {
  .v2-split > * { flex-basis: 100%; }
}

/* Page header used by the inner pages (fleet, team, events…) */
.v2-pagehead { background: var(--v2-night); color: #fff; }
.v2-pagehead .v2-wrap { padding-top: 64px; padding-bottom: 56px; }
.v2-pagehead h1 { margin: 0; font-weight: 900; font-stretch: 112%; font-size: clamp(36px, 5vw, 60px); letter-spacing: -.02em; }
.v2-pagehead p { margin: 14px 0 0; max-width: 620px; color: #a9b4c6; font-size: 18px; line-height: 1.55; }
@media (max-width: 1024px) {
  .v2-stats__live { flex-basis: 100%; }
  .v2-stat { flex: 1 1 28%; }
  .v2-stat:nth-child(2) { border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) {
  .v2-stat { flex: 1 1 40%; }
  .v2-stat:nth-child(2n) { border-left: 0; padding-left: 0; }
  .v2-stat:nth-child(2n+1) { border-left: 1px solid var(--v2-line); }
}
.v2-mob .v2-btn { display: flex; text-align: center; border-bottom: 0; }

/* Shown to staff while maintenance mode is on */
.v2-maintbar { position: relative; z-index: 60; padding: 9px 16px; background: var(--v2-accent); color: #fff; font-size: 13px; font-weight: 600; text-align: center; line-height: 1.4; }
.v2-maintbar a { color: #fff; text-decoration: underline !important; text-underline-offset: 3px; margin-left: 6px; white-space: nowrap; }
.v2-maintbar ~ .v2-nav--overlay { top: auto; }

/* ── Events page ─────────────────────────────────────────────────────── */
.v2-evpage { padding-top: 40px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 24px; }
.v2-evfilter { display: flex; flex-wrap: wrap; gap: 8px; }
.v2-evfilter button { min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--v2-line); background: transparent; color: var(--v2-ink); font: 600 14px var(--v2-font); cursor: pointer; }
.v2-evfilter button[aria-pressed="true"] { background: var(--v2-ink); border-color: var(--v2-ink); color: var(--v2-bg); }
.v2-evcard { position: relative; }
.v2-evcard[hidden] { display: none; }
.v2-evcard__open { position: absolute; inset: 0; z-index: 2; width: 100%; border: 0; background: transparent; cursor: pointer; border-radius: 18px; }
.v2-evcard__open:focus-visible { outline: 3px solid rgba(var(--v2-accent-rgb), .6); outline-offset: 2px; }
.v2-evcard .v2-card__title { margin: 0; }
.v2-evroute { font: 500 13px var(--v2-mono); color: var(--v2-accent); letter-spacing: .02em; }
.v2-evlive { position: absolute; right: 16px; top: 16px; padding: 5px 10px; border-radius: 999px; background: var(--v2-accent); color: #fff; font: 600 12px var(--v2-font); }
@media (min-width: 900px) {
  .v2-evgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .v2-evcard.first { grid-column: 1 / -1; flex-direction: row; }
  .v2-evcard.first .v2-card__img { flex: 0 0 58%; height: auto; min-height: 340px; }
  .v2-evcard.first .v2-card__body { padding: 32px; justify-content: center; }
  .v2-evcard.first .v2-card__title { font-size: 32px; font-stretch: 108%; line-height: 1.1; }
}
.v2-evd { width: min(760px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--v2-line); border-radius: 20px; background: var(--v2-panel); color: var(--v2-ink); overflow: auto; }
.v2-evd::backdrop { background: rgba(4, 7, 14, .7); backdrop-filter: blur(3px); }
.v2-evd__close { position: absolute; right: 12px; top: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(7, 11, 20, .7); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.v2-evd__img { aspect-ratio: 16 / 9; background: #111 center / cover no-repeat; }
.v2-evd__body { padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.v2-evd h2 { margin: 0; font-weight: 900; font-stretch: 108%; font-size: clamp(26px, 4vw, 36px); line-height: 1.08; }
.v2-evd__facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; padding: 16px 0; border-top: 1px solid var(--v2-line); border-bottom: 1px solid var(--v2-line); }
.v2-evd__facts dt { font: 12px var(--v2-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--v2-soft); margin-bottom: 4px; }
.v2-evd__facts dd { margin: 0; font-weight: 600; line-height: 1.45; }
.v2-evd__facts small { font-weight: 400; color: var(--v2-soft); }
.v2-evd__text { color: var(--v2-soft); line-height: 1.65; font-size: 16px; }
.v2-evd__btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 560px) {
  .v2-evd__facts { grid-template-columns: minmax(0, 1fr); }
  .v2-evd__body { padding: 20px; }
  .v2-evd__btns .v2-btn { flex: 1 1 100%; }
}
.v2-evpts { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: rgba(var(--v2-accent-rgb), .14); color: var(--v2-accent); font: 600 13px var(--v2-font); white-space: nowrap; }
.v2-evch { margin-top: 32px; padding-top: 40px; border-top: 1px solid var(--v2-line); display: flex; flex-direction: column; gap: 18px; }
.v2-evch__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 12px; }
.v2-evch__item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--v2-line); border-radius: 14px; background: var(--v2-panel); }
.v2-evch__item b.v2-evpts { font-size: 16px; font-weight: 800; }
.v2-evch__item h3 { margin: 0 0 6px; font-size: 17px; }
.v2-evch__item p { margin: 0 0 8px; color: var(--v2-soft); line-height: 1.5; font-size: 14px; }
.v2-evch__item small { font: 12px var(--v2-mono); color: var(--v2-soft); }
@media (max-width: 560px) { .v2-evch__list { grid-template-columns: minmax(0, 1fr); } }
