/* ============================================================
   LORAIN OHIO KARTPLEX — styles.css
   Racing Theme: Dark backgrounds, red/white accents
   ============================================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red:        #e8000d;
  --red-dark:   #b30009;
  --red-light:  #ff2030;
  --black:      #0a0a0a;
  --dark:       #111111;
  --dark-2:     #1a1a1a;
  --dark-3:     #222222;
  --dark-4:     #2d2d2d;
  --mid:        #444444;
  --light-mid:  #888888;
  --light:      #cccccc;
  --white:      #ffffff;
  --gold:       #f0c030;

  --font-heading: 'Bebas Neue', 'Oswald', Impact, sans-serif;
  --font-sub:     'Oswald', 'Roboto', sans-serif;
  --font-body:    'Roboto', Arial, sans-serif;

  --nav-h: 70px;
  --radius: 6px;
  --radius-lg: 12px;
  --transition: 0.25s ease;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-red: 0 4px 20px rgba(232,0,13,0.35);

  --light-card-bg: #f8f8f8;
  --light-border: #e0e0e0;
  --text-dark: #1a1a1a;
  --text-body: #333333;
  --text-muted: #666666;
  --shadow-light: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-light-hover: 0 8px 32px rgba(0,0,0,0.12);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--light);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

a {
  color: var(--red);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--red-light); }

img { max-width: 100%; height: auto; }

ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-sub);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
  box-shadow: var(--shadow-red);
  transform: translateY(-2px);
}
.btn-disabled {
  cursor: not-allowed;
  pointer-events: none;
}
.btn-primary.btn-disabled {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  opacity: 0.85;
}
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 36px;
}
.content-text .btn-group {
  flex-wrap: nowrap;
  margin-top: 48px;
  gap: 32px;
}
.content-text .btn-group .btn {
  padding: 12px 20px;
  font-size: 0.88rem;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .content-text .btn-group {
    flex-wrap: wrap;
  }
  .content-text .btn-group .btn {
    white-space: normal;
  }
}
@media (max-width: 600px) {
  .btn-group {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .content-text .btn-group {
    margin-top: 24px;
    gap: 10px;
  }
  .btn-group .btn {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    font-size: 0.88rem;
  }
  .content-text .btn,
  .content-text-full .btn {
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}
.btn-outline-dark {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--text-muted);
}
.btn-outline-dark:hover {
  background: var(--dark-2);
  color: var(--white);
  border-color: var(--dark-2);
  transform: translateY(-2px);
}
[data-theme="dark"] .btn-outline-dark {
  color: var(--white);
  border-color: var(--light-mid);
}
[data-theme="dark"] .btn-outline-dark:hover {
  background: var(--white);
  color: var(--dark-2);
  border-color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(232,0,13,0.08);
}
.btn-full { width: 100%; text-align: center; display: block; }

/* ---- SECTION HEADER ---- */
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-label {
  font-family: var(--font-sub);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05;
  color: var(--white);
  letter-spacing: 0.02em;
}
.section-sub {
  margin-top: 16px;
  color: var(--white);
  font-size: 1.05rem;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--light-border);
  transition: background var(--transition), box-shadow var(--transition);
}
#header.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 24px;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  height: 40px;
  width: auto;
}

/* Nav social icons */
.nav-social {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
}
.nav-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-social a:hover {
  color: var(--red);
}
.nav-social svg {
  width: 22px;
  height: 22px;
}

/* Nav links */
#main-nav > ul {
  display: flex;
  gap: 6px;
  align-items: center;
}
.nav-link {
  font-family: var(--font-sub);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-body);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--text-dark);
  background: rgba(0,0,0,0.05);
}
.cta-nav {
  background: var(--red);
  color: var(--white) !important;
  padding: 9px 16px;
  margin-left: 4px;
}
.cta-nav:hover {
  background: var(--red-dark) !important;
  color: var(--white) !important;
}

/* Nav dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > .nav-link {
  cursor: pointer;
}
.nav-submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  min-width: 150px;
  padding: 4px 0;
  z-index: 100;
  list-style: none;
}
.nav-dropdown:hover .nav-submenu {
  display: block;
}
.nav-submenu-link {
  display: block;
  padding: 7px 14px;
  white-space: nowrap;
  font-family: var(--font-sub);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-body);
  text-decoration: none;
  transition: all var(--transition);
}
.nav-submenu-link:hover {
  color: var(--red);
  background: rgba(0,0,0,0.04);
}
[data-theme="dark"] .nav-submenu {
  background: #1a1a1a;
  border-color: #333;
}

/* Nested submenu (e.g. Kart Owners) */
.nav-submenu-dropdown {
  position: relative;
}
.nav-submenu-dropdown > .nav-submenu-link::after {
  content: '\25B8';
  float: right;
  margin-left: 8px;
  font-size: 0.65rem;
  line-height: 1.6;
}
.nav-sub-submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  min-width: 180px;
  padding: 4px 0;
  z-index: 101;
  list-style: none;
}
.nav-submenu-dropdown:hover > .nav-sub-submenu {
  display: block;
}
[data-theme="dark"] .nav-sub-submenu {
  background: #1a1a1a;
  border-color: #333;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-dark);
  transition: all var(--transition);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #0a0a0a;
  z-index: 0;
  overflow: hidden;
}

/* Video background */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0.4) 40%, rgba(10,10,10,0.85) 80%, rgba(10,10,10,0.97) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 900px;
  animation: heroFadeIn 1s ease 0.2s both;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 0.92;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 28px;
}

.hero-title-tagline {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 44px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--font-sub);
  animation: scrollBounce 2s ease infinite;
  z-index: 2;
}
.scroll-arrow {
  width: 18px; height: 18px;
  border-right: 2px solid var(--mid);
  border-bottom: 2px solid var(--mid);
  transform: rotate(45deg);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--light-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 28px 40px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 48px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  color: var(--text-dark);
  line-height: 1;
  letter-spacing: 0.04em;
}
.stat-num small { font-size: 1.4rem; }
.stat-lbl {
  font-family: var(--font-sub);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--light-border);
  flex-shrink: 0;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-section { background: var(--dark); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: center;
}

.about-visual {
  display: flex;
  justify-content: center;
}
.kart-graphic {
  position: relative;
  width: 100%;
  max-width: 380px;
}
/* 3D rotating track */
.track-3d-scene {
  width: 100%;
  perspective: 900px;
  perspective-origin: 50% 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.track-3d-card {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
  transform: rotateX(20deg) rotateY(-10deg);
  transition: box-shadow 0.15s ease;
  cursor: grab;
  will-change: transform;
  border-radius: 8px;
}
.track-3d-card:active { cursor: grabbing; }
.track-3d-card.is-dragging { transition: none; }
.track-outline-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  filter: drop-shadow(0 0 30px rgba(232,0,13,0.25));
}
.track-img-dark { display: none; }
[data-theme="dark"] .track-img-light { display: none; }
[data-theme="dark"] .track-img-dark { display: block; }
.track-3d-hint {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-sub);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(232,0,13,0.15);
  border: 1px solid rgba(232,0,13,0.5);
  padding: 6px 14px;
  border-radius: 20px;
  opacity: 1;
  animation: hint-pulse 2.2s ease-in-out infinite;
  transition: opacity 0.4s ease;
}
@keyframes hint-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232,0,13,0.35); }
  50%       { box-shadow: 0 0 0 6px rgba(232,0,13,0); }
}
.track-3d-hint.hidden { opacity: 0; }

/* 3D track iframe embed */
.track-3d-iframe-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-light);
}
.track-3d-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
@media (max-width: 768px) {
  .track-3d-iframe-wrap {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius);
  }
}

/* Rental track inside content-visual — constrained size */
.content-visual .track-3d-scene {
  width: 100%;
  max-width: 220px;
}
.content-visual .track-3d-card {
  width: 100%;
}
.content-visual .track-outline-img {
  max-width: none;
  border-radius: 0;
}
/* Light-bg hint pill */
.content-visual .track-3d-hint {
  margin-top: 24px;
  color: var(--text-body);
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.15);
}
[data-theme="dark"] .content-visual .track-3d-hint {
  color: var(--white);
  background: rgba(232,0,13,0.15);
  border-color: rgba(232,0,13,0.5);
}
/* Black outline variant for light backgrounds */
.rental-track-img {
  filter: drop-shadow(0 0 20px rgba(0,0,0,0.15));
}
[data-theme="dark"] .rental-track-img {
  filter: brightness(0) invert(1) drop-shadow(0 0 30px rgba(232,0,13,0.25));
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.about-text p {
  color: var(--white);
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-text p strong { color: var(--white); }

.about-features {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--light);
  font-size: 0.95rem;
}
.feature-icon {
  color: var(--red);
  font-size: 0.5rem;
  flex-shrink: 0;
}

/* ============================================================
   GETTING STARTED HINT (inline CTA in classes & schedule)
   ============================================================ */
.getting-started-hint {
  text-align: center;
  margin-top: 28px;
  padding: 16px 24px;
  background: var(--gray-light, #f5f5f5);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.getting-started-hint span {
  color: var(--dark-2);
  font-size: 0.95rem;
}
.getting-started-hint a {
  color: var(--red);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: opacity 0.2s;
}
.getting-started-hint a:hover { opacity: 0.8; }

[data-theme="dark"] .getting-started-hint { background: rgba(255,255,255,0.06); }
[data-theme="dark"] .getting-started-hint span { color: var(--light); }

/* ============================================================
   TRACK
   ============================================================ */
.track-section {
  position: relative;
  background: var(--black);
  overflow: hidden;
}
.track-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(232,0,13,0.07) 0%, transparent 60%);
  pointer-events: none;
}

.track-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.track-card {
  background: var(--dark-2);
  border: 1px solid var(--dark-4);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
}
.track-card:hover {
  border-color: rgba(232,0,13,0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.track-card.featured {
  border-color: var(--red);
  position: relative;
  background: linear-gradient(160deg, var(--dark-2) 0%, rgba(232,0,13,0.08) 100%);
}
.track-card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.track-card h3 {
  font-family: var(--font-sub);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.track-spec {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--red);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.track-card p {
  color: var(--white);
  font-size: 0.93rem;
  line-height: 1.65;
  margin-bottom: 16px;
}
.track-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.track-card li {
  font-size: 0.88rem;
  color: var(--light);
  padding-left: 16px;
  position: relative;
}
.track-card li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 0.7rem;
}

.facility-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.facility-item {
  background: var(--dark-2);
  border: 1px solid var(--dark-4);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.9rem;
  color: var(--light);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: border-color var(--transition);
}
.facility-item:hover { border-color: var(--red); }
.facility-item span {
  color: var(--red);
  font-weight: 700;
  font-size: 1rem;
}

/* ============================================================
   RACE CLASSES
   ============================================================ */
.classes-section { background: var(--white); }
.classes-section .section-header h2 { color: var(--text-dark); }
.classes-section .section-sub { color: var(--text-body); }

/* Class / Membership Tabs */
.class-tabs,
.mem-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--light-border);
}
.mem-tabs {
  border-bottom: none;
}
.class-tab,
.mem-tab {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  padding: 12px 32px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.class-tab:hover,
.mem-tab:hover {
  color: var(--text-dark);
}
.class-tab.active,
.mem-tab.active {
  color: var(--red);
  border-bottom-color: var(--red);
}
.class-tab-panel,
.mem-tab-panel {
  display: none;
}
.class-tab-panel.active,
.mem-tab-panel.active {
  display: block;
}

/* Class groups grid */
.class-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.class-groups.two-col {
  grid-template-columns: repeat(2, 1fr);
}

.class-group {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-light);
  transition: all var(--transition);
}
.class-group:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-light-hover);
  border-color: rgba(232,0,13,0.4);
}

.class-group-header {
  padding: 22px 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.class-group-header.red  { background: var(--red); }
.class-group-header.dark { background: var(--dark-3); border-bottom: 1px solid var(--light-border); }

.class-group-type {
  font-family: var(--font-sub);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
}
.class-group-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 0.06em;
  line-height: 1;
}

.class-col-headers {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 8px;
  padding: 10px 22px;
  border-bottom: 1px solid var(--light-border);
  font-family: var(--font-sub);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}
.class-list {
  padding: 0 22px 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.class-list li {
  font-size: 0.85rem;
  color: var(--text-dark);
  padding: 9px 0;
  border-bottom: 1px solid var(--light-border);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 8px;
  align-items: center;
}
.class-list li:last-child { border-bottom: none; }
.class-name {
  font-weight: 600;
  color: var(--text-dark);
}
.class-val {
  font-size: 0.8rem;
  color: var(--text-body);
}
.class-notes {
  text-align: center;
  margin-top: 24px;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-body);
}
.class-notes p {
  margin-bottom: 4px;
}

.classes-note {
  text-align: center;
  padding: 24px;
  background: var(--light-card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--light-border);
}
.classes-note p {
  font-size: 0.92rem;
  color: var(--text-body);
}

/* TBD tag in schedule table */
.tbd-tag {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--light-border);
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 4px;
  vertical-align: middle;
}
.classes-note a { color: var(--red); }

/* ============================================================
   SCHEDULE
   ============================================================ */
.schedule-section {
  background: var(--white);
  position: relative;
  border-top: 1px solid var(--light-border);
}
.schedule-section::before {
  content: '';
  position: absolute;
  top: -2px; left: 15%; right: 15%;
  height: 5px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.schedule-section .section-header h2 { color: var(--text-dark); }
.schedule-section .section-sub { color: var(--text-body); }
.pdf-link {
  color: var(--red);
  text-decoration: underline;
  font-weight: 600;
}
.pdf-link:hover {
  color: var(--text-dark);
}

.schedule-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-border);
  margin-bottom: 32px;
  box-shadow: var(--shadow-light);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}
.schedule-table thead {
  background: var(--dark-3);
}
.schedule-table th {
  font-family: var(--font-sub);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  padding: 14px 20px;
  text-align: left;
}
.schedule-table td {
  padding: 16px 20px;
  font-size: 0.93rem;
  color: var(--text-dark);
  border-top: 1px solid var(--light-border);
}
.schedule-table tr:hover td { background: rgba(0,0,0,0.02); }
.schedule-table tr.past td { color: var(--text-body); }
.schedule-table tr.championship td {
  background: transparent;
}
.schedule-table td:first-child {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--red);
  letter-spacing: 0.05em;
}

/* Badges */
.badge {
  font-family: var(--font-sub);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
}
.past-badge   { background: rgba(0,0,0,0.06); color: var(--text-muted); }
.upcoming-badge { background: rgba(232,0,13,0.1); color: var(--red); }
.champ-badge  { background: rgba(240,192,48,0.15); color: #b8860b; }

/* Schedule show/hide toggle */
.schedule-hidden {
  display: none;
}
.schedule-table.expanded .schedule-hidden {
  display: table-row;
}
.schedule-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 24px auto 0;
  padding: 10px 28px;
  background: none;
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  color: var(--text-body);
  font-family: var(--font-sub);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
}
.schedule-toggle-btn:hover {
  color: var(--red);
  border-color: var(--red);
}
.schedule-toggle-icon {
  transition: transform 0.3s ease;
}
.schedule-toggle-btn.expanded .schedule-toggle-icon {
  transform: rotate(180deg);
}

.schedule-note-hidden {
  display: none;
}
.schedule-note-hidden.visible {
  display: block;
}
.schedule-note { margin-top: 24px; margin-bottom: 0; }
.note-box {
  background: var(--dark-2);
  border-radius: var(--radius);
  padding: 18px 24px;
  font-size: 0.93rem;
  color: var(--white);
  text-align: center;
}
.note-box strong { color: var(--white); }


/* ============================================================
   KARTZONE
   ============================================================ */
.section-label-light {
  color: var(--red);
}
.section-title-light {
  color: var(--white);
}
.kartzone-section {
  background: var(--dark-2);
  position: relative;
}
.kartzone-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.partners-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: start;
}
.partners-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
  align-self: stretch;
}
.kartzone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.kartzone-logo {
  width: 220px;
  height: auto;
}
.kartzone-logo-dark {
  display: none;
}
.kartzone-logo-light {
  display: block;
}
.kartzone-heading {
  font-family: var(--font-sub);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.kartzone-text {
  color: var(--white);
  font-size: 1.05rem;
  line-height: 1.7;
}
@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .partners-divider {
    width: 100%;
    height: 1px;
    align-self: auto;
  }
  .kartzone-logo { width: 180px; }
}

/* ============================================================
   DISCORD COMMUNITY
   ============================================================ */
.discord-section {
  background: var(--dark-2);
  padding: 80px 0;
}
.discord-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  max-width: 600px;
  margin: 0 auto;
}
.discord-logo {
  width: 96px;
  height: 96px;
  color: var(--white);
}
.discord-logo svg {
  width: 100%;
  height: 100%;
}
.discord-banner h3 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--white);
  letter-spacing: 0.04em;
}
.discord-banner p {
  color: var(--white);
  font-size: 1.05rem;
  line-height: 1.7;
}
.btn-discord {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-sub);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 18px 40px;
  border-radius: var(--radius);
  text-decoration: none;
  text-align: center;
  transition: background 0.2s ease, transform 0.2s ease;
  margin-top: 8px;
}
.btn-discord:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .discord-section { padding: 60px 0; }
  .discord-logo { width: 72px; height: 72px; }
  .discord-banner h3 { font-size: 2rem; }
  .btn-discord { align-self: center; }
}

/* ============================================================
   MEMBERSHIP
   ============================================================ */
.membership-section {
  background: var(--white);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--light-border);
}
.membership-section .section-header h2 { color: var(--text-dark); }
.membership-section .section-sub { color: var(--text-body); }
.membership-section::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 5px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}

.membership-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 28px;
  align-items: stretch;
}

.membership-card {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-light);
}
.membership-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-light-hover);
}
.membership-card.featured {
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-light);
}
.featured-label {
  background: var(--red);
  color: var(--white);
  font-family: var(--font-sub);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  padding: 6px;
}

.membership-header {
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--light-border);
  text-align: center;
}
.membership-header h3 {
  font-family: var(--font-sub);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.membership-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
}
.price-amount {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--text-dark);
  letter-spacing: 0.02em;
  line-height: 1;
}
.price-period {
  font-size: 0.9rem;
  color: var(--text-body);
}

.membership-perks {
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1;
}
.membership-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-body);
}
.membership-perks li span {
  font-size: 0.8rem;
  flex-shrink: 0;
}
.membership-perks li:not(.no) span { color: var(--red); }
.membership-perks li.no { color: var(--text-muted); }
.membership-perks li.no span { color: var(--text-muted); }

.membership-card .btn {
  margin: 0 auto 28px;
  display: block;
  width: fit-content;
}

.membership-note {
  text-align: center;
  color: var(--text-body);
  font-size: 0.88rem;
}

/* Register button inside single membership card */
.btn-register {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 12px 48px;
  text-align: center;
}

/* Single membership card */
.membership-single-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
.membership-card-single {
  max-width: 520px;
  width: 100%;
}

/* Fees grid */
.fees-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.fees-unified {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.fees-unified .fee-register {
  margin-top: auto;
}
.fee-section {
  padding: 14px 24px;
  border-bottom: 1px solid var(--light-border);
}
.fee-section:last-child {
  border-bottom: none;
}
.fee-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.fee-icon {
  font-size: 1.2rem;
}
.fee-section-header h4 {
  font-family: var(--font-sub);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.fee-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 6px;
}
.fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--light-border);
}
.fee-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.fee-label {
  font-size: 0.88rem;
  color: var(--text-dark);
}
.fee-label em {
  display: block;
  font-style: normal;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.fee-price {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-dark);
  letter-spacing: 0.03em;
}
.fee-price.free {
  color: #4caf50;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
}
.fee-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}
.fee-register {
  padding: 16px 24px;
  text-align: center;
}
.fee-register .btn-register {
  width: 100%;
}
@media (max-width: 600px) {
  .fees-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   MEDIA / GALLERY
   ============================================================ */
.media-section {
  background: var(--white);
  position: relative;
  border-top: 1px solid var(--light-border);
}
.media-section .section-header h2 { color: var(--text-dark); }

.media-subsection {
  margin-bottom: 56px;
}
.media-subsection:last-child { margin-bottom: 0; }

.media-subtitle {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--text-dark);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}

/* Video grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light);
  border: 1px solid var(--light-border);
}
.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
}
.video-title {
  font-family: var(--font-sub);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 10px;
  letter-spacing: 0.02em;
}

/* Photo grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.photo-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--light-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.photo-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-light-hover);
}
.photo-item > img:first-child {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}
.photo-watermark {
  display: none;
}

/* Photo show/hide toggle */
.photo-hidden {
  display: none;
}
.photo-grid.expanded .photo-hidden {
  display: block;
}
.photo-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 24px auto 0;
  padding: 10px 28px;
  background: none;
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  color: var(--text-body);
  font-family: var(--font-sub);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
}
.photo-toggle-btn:hover {
  color: var(--red);
  border-color: var(--red);
}
.photo-toggle-icon {
  transition: transform 0.3s ease;
}
.photo-grid.expanded ~ .photo-toggle-btn .photo-toggle-icon {
  transform: rotate(180deg);
}

/* Video show/hide toggle */
.video-hidden {
  display: none;
}
.video-grid.expanded .video-hidden {
  display: block;
}
.video-grid.expanded ~ .photo-toggle-btn .photo-toggle-icon {
  transform: rotate(180deg);
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-content {
  position: relative;
  display: inline-block;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}
.lightbox-overlay.active .lightbox-content {
  transform: scale(1);
}
.lightbox-content > img:first-child {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  display: block;
}
.lightbox-watermark {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 130px;
  height: auto;
  opacity: 0.5;
  pointer-events: none;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.7));
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.lightbox-close:hover {
  opacity: 1;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--white);
  font-size: 3rem;
  cursor: pointer;
  padding: 16px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.lightbox-nav:hover {
  opacity: 1;
}
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

@media (max-width: 1100px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .video-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  /* Hide videos and photos beyond 3rd on mobile */
  .video-grid:not(.expanded) .video-card:nth-child(n+4) { display: none; }
  .photo-grid:not(.expanded) .photo-item:nth-child(n+4) { display: none; }
}
/* Video toggle: mobile only */
.video-toggle-mobile { display: none; }
@media (max-width: 600px) {
  .video-toggle-mobile { display: flex; }
}

/* ============================================================
   CONTACT EMAIL SIGNUP
   ============================================================ */
.contact-email-signup {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 0.93rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}
.contact-email-signup strong {
  color: var(--white);
}
.email-signup-link {
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition);
}
.email-signup-link:hover {
  color: var(--white);
  text-decoration: underline;
}

/* ============================================================
   SPONSORS
   ============================================================ */
.sponsors-section {
  background: var(--white);
  padding: 80px 0;
  position: relative;
  border-top: 1px solid var(--light-border);
}
.sponsors-section::before {
  content: '';
  position: absolute;
  top: -2px; left: 15%; right: 15%;
  height: 5px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.sponsors-section .section-header h2 {
  color: var(--text-dark);
}
.sponsors-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sponsors-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.sponsor-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-radius: var(--radius-lg);
  transition: opacity var(--transition);
  flex-shrink: 0;
}
.sponsor-logo:hover {
  opacity: 0.7;
}
.sponsor-logo img {
  max-height: 80px;
  max-width: 180px;
  object-fit: contain;
}
.sponsors-arrow {
  display: none;
}
@media (max-width: 600px) {
  .sponsors-track {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 8px;
  }
  .sponsors-track::-webkit-scrollbar { display: none; }
  .sponsor-logo img { max-height: 60px; max-width: 140px; }
  .sponsors-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--dark-2);
    color: var(--white);
    cursor: pointer;
    z-index: 2;
    opacity: 0.8;
    transition: opacity var(--transition);
  }
  .sponsors-arrow:hover { opacity: 1; }
  .sponsors-arrow svg { width: 18px; height: 18px; }
  .sponsors-arrow-left { left: -4px; }
  .sponsors-arrow-right { right: -4px; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { background: var(--black); }
.contact-section .section-header h2 { color: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: stretch;
}
.contact-grid .contact-form-wrap { order: 2; }
.contact-grid .contact-info {
  order: 1;
  display: flex;
  flex-direction: column;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon {
  font-size: 1.4rem;
  width: 40px;
  flex-shrink: 0;
  padding-top: 2px;
}
.contact-item strong { color: var(--white); display: block; margin-bottom: 4px; }
.contact-item a { color: var(--red); }

.contact-social {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}
.contact-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--dark-4);
  color: var(--white);
  transition: all var(--transition);
}
.contact-social a:hover {
  background: var(--red);
}
.contact-social svg { width: 24px; height: 24px; }

.contact-map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  line-height: 0;
  filter: grayscale(100%) brightness(1.1);
  transition: filter 0.4s ease;
  margin-top: auto;
}
.contact-map-embed:hover {
  filter: grayscale(20%) brightness(1.05);
}
.contact-map-embed iframe {
  border-radius: var(--radius-lg);
}

/* Contact form */
.contact-form-wrap {
  background: var(--dark-2);
  border: 1px solid var(--dark-4);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
}
.contact-form {
  display: flex;
  flex-direction: column;
  flex: 1;
  scroll-margin-top: calc(var(--nav-h) + 20px);
}
.contact-form .btn-full {
  margin-top: auto;
}
.contact-form h3 {
  font-family: var(--font-sub);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group label {
  font-family: var(--font-sub);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--dark-3);
  border: 1px solid var(--dark-4);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--mid); }
.form-group textarea { resize: vertical; }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--dark-3); }

.form-success {
  display: none;
  text-align: center;
  color: #4caf50;
  font-size: 0.95rem;
  margin-top: 12px;
  padding: 12px;
  background: rgba(76,175,80,0.1);
  border-radius: var(--radius);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  padding: 0;
  border-top: 1px solid var(--dark-4);
}
.footer-logo-img {
  height: 36px;
  width: auto;
}
.footer-partner {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--red) !important;
  border: 1px solid rgba(232,0,13,0.3);
  padding: 6px 12px;
  border-radius: var(--radius);
  text-decoration: none;
}
.footer-partner:hover {
  background: rgba(232,0,13,0.1);
}
.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-family: var(--font-sub);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--red); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: var(--white);
}
.footer-legal {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-legal a {
  font-size: 0.75rem;
  color: var(--light-mid);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-legal a:hover {
  color: var(--white);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .facility-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { order: -1; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .track-cards { grid-template-columns: 1fr; }
  .class-groups, .class-groups.two-col { grid-template-columns: 1fr; }
  .membership-cards { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  .nav-container { justify-content: center; }
  .logo { position: absolute; left: 50%; transform: translateX(-50%); }
  .theme-toggle { position: absolute; left: calc(50% + 60px); margin-left: 0; }
  .hamburger { display: flex; position: absolute; right: 20px; }
  .nav-social { display: none; }
  .mobile-social-li { display: block; }
  #main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    z-index: 999;
    background: rgba(255,255,255,1);
    border-bottom: 1px solid var(--light-border);
    padding: 10px 0;
  }
  #main-nav.open { display: block; }
  #main-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .nav-link {
    display: block;
    padding: 9px 24px;
    border-radius: 0;
    font-size: 0.88rem;
    font-weight: 700;
  }
  .cta-nav { margin: 6px 24px 0; border-radius: var(--radius); }

  /* Mobile dropdown arrow */
  .nav-dropdown > .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .nav-dropdown > .nav-link::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    margin-left: 10px;
    margin-right: 8px;
    flex-shrink: 0;
  }
  .nav-dropdown.open > .nav-link::after {
    transform: rotate(-135deg);
  }

  /* Mobile dropdown */
  .nav-submenu {
    position: static;
    background: none;
    border: none;
    box-shadow: none;
    min-width: 0;
    padding: 0;
    display: none;
  }
  .nav-dropdown:hover .nav-submenu { display: none; }
  .nav-dropdown.open .nav-submenu { display: block; }
  .nav-submenu-link {
    padding: 7px 24px 7px 40px;
    font-size: 0.8rem;
    font-weight: 400;
  }
  [data-theme="dark"] .nav-submenu {
    background: none;
    border: none;
  }

  /* Mobile nested submenu */
  .nav-sub-submenu {
    position: static;
    background: none;
    border: none;
    box-shadow: none;
    min-width: 0;
    padding: 0;
    display: none;
  }
  .nav-submenu-dropdown:hover > .nav-sub-submenu { display: none; }
  .nav-submenu-dropdown.open > .nav-sub-submenu { display: block; }
  .nav-sub-submenu .nav-submenu-link {
    padding-left: 72px;
    font-size: 0.75rem;
  }
  .nav-submenu-dropdown > .nav-submenu-link {
    display: flex;
    align-items: center;
  }
  .nav-submenu-dropdown > .nav-submenu-link::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    float: none;
    margin-left: 10px;
    flex-shrink: 0;
    font-size: 0;
  }
  .nav-submenu-dropdown.open > .nav-submenu-link::after {
    transform: rotate(-135deg);
  }
  [data-theme="dark"] .nav-sub-submenu {
    background: none;
    border: none;
  }

  .stats-bar {
    padding: 24px 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    justify-items: center;
  }
  .stat { padding: 0; }
  .stat-divider { display: none; }

  .section { padding: 60px 0; }

  .note-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
  }
  .note-item:last-child { margin-bottom: 0; }

  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .footer-brand-row { flex-direction: column; gap: 12px; }
  .footer-nav { justify-content: center; }
  .footer-legal { justify-content: center; }

  /* Schedule: convert table to stacked cards */
  .schedule-table { min-width: 0; }
  .schedule-table thead { display: none; }
  .schedule-table tbody { display: flex; flex-direction: column; gap: 12px; }
  .schedule-table tr {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 2px 12px;
    padding: 14px 16px;
    background: var(--light-card-bg);
    border-radius: var(--radius);
    border: 1px solid var(--light-border) !important;
    box-shadow: var(--shadow-light);
  }
  .schedule-table td { padding: 0; border-top: none; }
  .schedule-table td:first-child {
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
    font-size: 1.8rem;
  }
  .schedule-table td:nth-child(2) {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--red);
    letter-spacing: 0.02em;
  }
  .schedule-table td:nth-child(3) {
    font-weight: 600;
    font-size: 0.9rem;
  }
  .schedule-table td:nth-child(4) {
    grid-column: 2;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
  }
  .schedule-table td:nth-child(4)::before {
    content: 'Course: ';
    font-weight: 700;
    color: var(--red);
  }
  .schedule-table tr.schedule-hidden {
    display: grid;
  }
  .schedule-note-hidden {
    display: block;
  }
  .schedule-toggle-btn {
    display: none;
  }
  .schedule-table tr.championship {
    border: 1px solid var(--light-border);
  }
}

@media (max-width: 600px) {
  .class-groups { grid-template-columns: 1fr; }
  .class-col-headers { display: none; }
  .class-list { padding: 0 16px 12px; }
  .class-list li {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 4px 8px;
    padding: 12px 0;
  }
  .class-name {
    grid-column: 1 / -1;
    font-size: 0.9rem;
    margin-bottom: 2px;
  }
  .class-val {
    font-size: 0.75rem;
    color: var(--text-body);
  }
  .class-list li span:nth-child(2)::before { content: 'Age: '; font-weight: 600; color: var(--red); }
  .class-list li span:nth-child(3)::before { content: 'Wt: '; font-weight: 600; color: var(--red); }
  .class-list li span:nth-child(4)::before { content: 'Tire: '; font-weight: 600; color: var(--red); }
  .form-row { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 320px; }
  .facility-list { grid-template-columns: 1fr; }
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 900;
  box-shadow: 0 4px 16px rgba(232,0,13,0.45);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { background: var(--red-dark); }
.back-to-top svg { width: 20px; height: 20px; }

@media (max-width: 768px) {
  .back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

/* ============================================================
   DARK MODE
   ============================================================ */

/* ---- Theme Toggle Button ---- */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--light-border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  padding: 0;
  color: var(--text-body);
  transition: all var(--transition);
  flex-shrink: 0;
  order: 10;
  margin-left: 16px;
}
.theme-toggle:hover {
  color: var(--red);
  border-color: var(--red);
  background: rgba(232,0,13,0.08);
}
/* Mobile social icons in nav menu - hidden on desktop */
.mobile-social-li {
  display: none;
}
.mobile-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 8px 24px 6px;
}
.mobile-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color var(--transition);
}
.mobile-social a:hover {
  color: var(--red);
}
.mobile-social svg {
  width: 20px;
  height: 20px;
}
.theme-toggle .icon-sun  { display: block; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* ---- Dark Theme Variable Overrides ---- */
[data-theme="dark"] {
  --light-card-bg:      #222222;
  --light-border:       #333333;
  --text-dark:          #ffffff;
  --text-body:          #e0e0e0;
  --text-muted:         #bbbbbb;
  --shadow-light:       0 2px 12px rgba(0,0,0,0.3);
  --shadow-light-hover: 0 8px 32px rgba(0,0,0,0.4);
}

/* ---- Light Section Backgrounds → Dark ---- */
[data-theme="dark"] .stats-bar,
[data-theme="dark"] .classes-section,
[data-theme="dark"] .schedule-section,
[data-theme="dark"] .membership-section,
[data-theme="dark"] .media-section,
[data-theme="dark"] .sponsors-section,
[data-theme="dark"] .features-section {
  background: #1a1a1a;
}
[data-theme="dark"] .features-category {
  color: var(--white);
}
[data-theme="dark"] .feature-card {
  background: var(--dark-3);
  border-color: var(--dark-4);
  border-top-color: var(--red);
}
[data-theme="dark"] .feature-card:hover {
  background: var(--dark-3);
  border-color: rgba(232,0,13,0.4);
  border-top-color: var(--red);
}
[data-theme="dark"] .class-group,
[data-theme="dark"] .membership-card,
[data-theme="dark"] .fees-unified {
  background: #1a1a1a;
}

/* ---- Nav Bar ---- */
[data-theme="dark"] #header {
  background: rgba(17,17,17,0.95);
  border-bottom-color: var(--light-border);
}
[data-theme="dark"] #header.scrolled {
  background: rgba(17,17,17,0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
  background: rgba(255,255,255,0.08);
}
[data-theme="dark"] .logo-img { display: none; }
[data-theme="dark"] .logo-img-dark { display: block; }
.logo-img-dark { display: none; height: 40px; width: auto; }
[data-theme="dark"] .nav-link {
  color: #ffffff;
}
[data-theme="dark"] .nav-social a {
  color: #ffffff;
}
[data-theme="dark"] .theme-toggle {
  color: #ffffff;
  border-color: #555;
}

/* ---- Table & Badge Overrides ---- */
[data-theme="dark"] .schedule-table tr:hover td {
  background: rgba(255,255,255,0.04);
}
[data-theme="dark"] .past-badge {
  background: rgba(255,255,255,0.1);
}
[data-theme="dark"] .champ-badge {
  color: #d4a843;
}

/* ---- Smooth Theme Transition ---- */
#header,
.stats-bar,
.classes-section,
.schedule-section,
.membership-section,
.media-section {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* ---- Mobile Dark Mode ---- */
@media (max-width: 768px) {
  [data-theme="dark"] #main-nav {
    background: rgba(17,17,17,1);
  }
  [data-theme="dark"] .mobile-social a {
    color: #ffffff;
  }
}

/* ============================================================
   SUB-PAGE STYLES
   ============================================================ */

/* Page header banner */
.page-header {
  padding: 140px 0 60px;
  text-align: center;
  background: var(--dark);
  color: var(--white);
}
.page-header .section-label {
  color: var(--red);
}
.page-header h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  letter-spacing: 0.04em;
  margin-top: 8px;
}
.page-header-sub {
  font-family: var(--font-sub);
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
  margin-top: 8px;
}

/* Intro paragraph (shared by lodging, etc.) */
.board-intro {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-body);
}

/* Lodging Grid */
.lodging-section {
  background: var(--white);
}
.lodging-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.lodging-card {
  display: flex;
  flex-direction: column;
  background: var(--light-card-bg);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  border-top: 3px solid var(--dark-2);
  min-width: 0;
}
.lodging-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-light-hover);
}
.lodging-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--dark-2);
  color: var(--white);
}
.lodging-name {
  font-family: var(--font-sub);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
  text-align: center;
}
.lodging-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  text-align: left;
}
.lodging-address {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 500;
}
.lodging-phone {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.lodging-promo {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--red);
  font-weight: 500;
  margin-top: 4px;
}
.lodging-website {
  font-family: var(--font-sub);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  margin-top: auto;
  padding-top: 4px;
  transition: color var(--transition);
}
.lodging-website:hover {
  color: #c5000b;
}

/* Lodging dark mode */
[data-theme="dark"] .lodging-section {
  background: #1a1a1a;
}
[data-theme="dark"] .lodging-card {
  background: var(--dark-2);
  border-color: var(--dark-4);
  border-top-color: var(--dark-4);
}
[data-theme="dark"] .lodging-card:hover {
  background: var(--dark-3);
}
[data-theme="dark"] .lodging-address,
[data-theme="dark"] .lodging-phone {
  color: var(--light-mid);
}

@media (max-width: 1100px) {
  .lodging-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .lodging-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .page-header { padding: 100px 0 40px; }
  .page-header h1 { font-size: 2.2rem; }
  .board-intro {
    font-size: 0.95rem;
    margin-bottom: 30px;
    padding: 0 4px;
  }
  .lodging-name {
    font-size: 0.78rem;
    word-break: break-word;
  }
}
@media (max-width: 600px) {
  .lodging-grid { grid-template-columns: 1fr; gap: 12px; }
  .lodging-icon { padding: 10px 14px; }
  .lodging-body { padding: 12px 14px; }
  .lodging-name { font-size: 0.82rem; }
  .lodging-address { font-size: 0.78rem; }
  .lodging-phone { font-size: 0.78rem; justify-content: center; }
  .lodging-website { font-size: 0.75rem; display: block; }
  .board-intro { text-align: center; }
}
@media (max-width: 400px) {
  .lodging-name { font-size: 0.75rem; }
  .lodging-address { font-size: 0.72rem; }
  .lodging-phone { font-size: 0.72rem; }
}

/* ============================================================
   KART FINDER TOOL
   ============================================================ */
.finder-section {
  background: var(--white);
}
.finder-section .section-header h2 { color: var(--text-dark); }
.finder-section .section-sub { color: var(--text-body); }

.callout-box {
  display: inline-block;
  margin-top: 20px;
  padding: 16px 24px;
  border-left: 4px solid var(--red);
  background: rgba(232, 0, 13, 0.06);
  border-radius: 0 6px 6px 0;
}
.callout-box p {
  margin: 0;
  font-family: var(--font-sub);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}
.callout-box a {
  color: var(--red);
  text-decoration: underline;
}
.callout-box a:hover {
  text-decoration: none;
}
[data-theme="dark"] .callout-box {
  background: rgba(232, 0, 13, 0.12);
}
[data-theme="dark"] .callout-box p {
  color: var(--white);
}

.finder-card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light);
  padding: 40px 36px;
  position: relative;
}

/* Progress steps */
.finder-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 36px;
}
.finder-progress-step {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--light-card-bg);
  border: 2px solid var(--light-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sub);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.finder-progress-step.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.finder-progress-step.done {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.finder-progress-line {
  flex: 1;
  height: 2px;
  background: var(--light-border);
  max-width: 80px;
}

/* Steps */
.finder-step {
  display: none;
}
.finder-step.active {
  display: block;
  animation: finderFadeIn 0.3s ease;
}
@keyframes finderFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.finder-question {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--text-dark);
  text-align: center;
  letter-spacing: 0.03em;
  margin-bottom: 28px;
}

/* Options */
.finder-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.finder-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  padding-left: 24px;
  background: var(--light-card-bg);
  border: 2px solid var(--light-border);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  font-family: var(--font-body);
}
.finder-option:hover {
  border-color: var(--red);
  border-left-color: var(--red);
  background: rgba(232, 0, 13, 0.06);
  box-shadow: 0 2px 8px rgba(232, 0, 13, 0.1);
}
@media (min-width: 769px) {
  .finder-option:hover { transform: translateX(4px); }
}
.finder-option-icon {
  flex-shrink: 0;
  width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
}
.finder-option-icon svg {
  width: 22px;
  height: 22px;
}
.finder-option-label {
  font-family: var(--font-sub);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.03em;
}
.finder-option-desc {
  font-size: 0.9rem;
  color: var(--text-dark);
  opacity: 0.7;
  margin-left: auto;
  text-align: right;
  min-width: 0;
}

/* Back button */
.finder-back {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sub);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease;
}
.finder-back:hover { color: var(--red); }

/* Results */
.finder-results {
  animation: finderFadeIn 0.4s ease;
}
.finder-results-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--text-dark);
  text-align: center;
  letter-spacing: 0.03em;
  margin-bottom: 32px;
}
.finder-results-section {
  margin-bottom: 32px;
}
.finder-results-label {
  font-family: var(--font-sub);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

/* Chassis grid */
.finder-chassis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.finder-chassis-card {
  padding: 18px 14px;
  background: var(--light-card-bg);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.2s ease;
}
.finder-chassis-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: var(--shadow-light-hover);
}
.finder-chassis-name {
  font-family: var(--font-sub);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}
.finder-chassis-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Engine results */
.finder-engine-card {
  padding: 20px 24px;
  background: var(--light-card-bg);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  overflow-wrap: break-word;
}
.finder-engine-name {
  font-family: var(--font-sub);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.finder-engine-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
}
.finder-engines-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Class results table */
.finder-class-table {
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.finder-class-row {
  display: grid;
  grid-template-columns: 2.8fr 0.8fr 0.8fr 1fr;
  gap: 8px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--light-border);
  font-size: 0.88rem;
  color: var(--text-body);
  align-items: center;
}
.finder-class-row:last-child { border-bottom: none; }
.finder-class-row.header {
  background: var(--dark-3);
  color: var(--white);
  font-family: var(--font-sub);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.finder-class-row .class-name {
  font-weight: 600;
  color: var(--text-dark);
}
.finder-class-engine {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-style: italic;
  white-space: nowrap;
}

/* Next steps */
.finder-next-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.finder-next-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 20px 14px;
  background: var(--light-card-bg);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s ease;
}
.finder-next-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}
.finder-next-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
}
.finder-next-icon svg {
  width: 28px;
  height: 28px;
}
.finder-next-card strong {
  font-family: var(--font-sub);
  font-size: 0.9rem;
  color: var(--text-dark);
  letter-spacing: 0.03em;
}
.finder-next-card span:last-child {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Restart */
.finder-restart-wrap {
  text-align: center;
  margin-top: 32px;
}
.finder-restart {
  color: var(--text-body);
  border-color: var(--light-border);
}
.finder-restart:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ============================================================
   GEAR SECTION
   ============================================================ */
.gear-section {
  background: var(--dark);
}
.gear-section .section-header h2 { color: var(--white); }
.gear-section .section-sub { color: var(--light); }

.gear-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gear-card {
  background: var(--dark-2);
  border: 1px solid var(--dark-4);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.2s ease;
}
.gear-card:hover {
  border-color: rgba(232, 0, 13, 0.4);
  transform: translateY(-3px);
}
.gear-icon {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.gear-icon svg {
  width: 32px;
  height: 32px;
}
.gear-card h3 {
  font-family: var(--font-sub);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.gear-card p {
  font-size: 0.88rem;
  color: var(--light);
  line-height: 1.6;
}

/* Dark mode for finder */
[data-theme="dark"] .finder-section {
  background: #1a1a1a;
}
[data-theme="dark"] .finder-card {
  background: #1a1a1a;
}

/* Responsive */
@media (max-width: 768px) {
  .callout-box {
    display: block;
    padding: 14px 16px;
    text-align: center;
  }
  .callout-box p { font-size: 0.88rem; }
  .finder-card { padding: 28px 16px; }
  .finder-question { font-size: 1.4rem; }
  .finder-option {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 16px;
    padding-left: 18px;
  }
  .finder-option-label { font-size: 1rem; }
  .finder-option-desc {
    margin-left: 0;
    text-align: left;
    width: 100%;
    font-size: 0.9rem;
  }
  .finder-chassis-grid { grid-template-columns: repeat(2, 1fr); }
  .finder-next-grid { grid-template-columns: 1fr; }
  .finder-class-row { grid-template-columns: 2.2fr 0.8fr 0.8fr 1fr; font-size: 0.8rem; padding: 10px 12px; }
  .gear-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .finder-card { padding: 24px 12px; }
  .finder-question { font-size: 1.2rem; }
  .finder-option {
    padding: 12px 14px;
    padding-left: 16px;
  }
  .finder-option-desc { font-size: 0.85rem; }
  .finder-chassis-grid { grid-template-columns: 1fr; }
  .gear-grid { grid-template-columns: 1fr; }
  .finder-class-row { grid-template-columns: 1fr; gap: 2px; padding: 10px 12px; }
  .finder-class-row.header { display: none; }
  .finder-class-row .class-name { font-size: 0.9rem; }
  .finder-engine-card { padding: 16px; }
  .finder-engine-name { font-size: 0.95rem; }
  .finder-engine-desc { font-size: 0.82rem; }
  .finder-results-title { font-size: 1.6rem; }
  .finder-next-card { padding: 16px; }
}

/* ============================================================
   EMAIL SIGNUP TOOL
   ============================================================ */
.signup-section {
  background: var(--white);
  padding-bottom: 80px;
}
.signup-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-light);
}

/* Progress */
.signup-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 36px;
}
.signup-progress-step {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--light-card-bg);
  border: 2px solid var(--light-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sub);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.signup-progress-step.active,
.signup-progress-step.done {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.signup-progress-line {
  flex: 1;
  height: 2px;
  background: var(--light-border);
  max-width: 80px;
}

/* Steps */
.signup-step {
  display: none;
}
.signup-step.active {
  display: block;
  animation: finderFadeIn 0.3s ease;
}
.signup-question {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--text-dark);
  text-align: center;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}
.signup-hint {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* Form fields */
.signup-form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 8px;
}
.signup-input-full {
  grid-column: 1 / -1;
}
.signup-input-group label {
  display: block;
  font-family: var(--font-sub);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}
.signup-input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--light-card-bg);
  border: 2px solid var(--light-border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
}
.signup-input:focus {
  outline: none;
  border-color: var(--red);
}
.signup-input.error {
  border-color: var(--red);
}
.signup-error {
  color: var(--red);
  font-size: 0.85rem;
  text-align: center;
  margin: 12px 0;
}

/* Next / Submit buttons */
.signup-next,
.signup-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 20px;
  padding: 16px 32px;
  font-size: 1.05rem;
  font-family: var(--font-sub);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  min-height: 56px;
  touch-action: manipulation;
}
.signup-step2-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}
.signup-back {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-family: var(--font-sub);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  padding: 12px 16px;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.signup-back:hover {
  color: var(--red);
}
.signup-submit {
  flex: 1;
}

/* Interest cards grid */
.signup-interests-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.signup-interest {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px 16px;
  background: var(--light-card-bg);
  border: 2px solid var(--light-border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  font-family: var(--font-body);
  min-height: 130px;
  touch-action: manipulation;
}
.signup-interest:hover {
  border-color: rgba(232, 0, 13, 0.4);
  transform: translateY(-2px);
}
.signup-interest.selected {
  border-color: var(--red);
  background: rgba(232, 0, 13, 0.06);
}

/* Visual container */
.signup-interest-visual {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.signup-interest-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.signup-interest-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
}
.signup-interest-icon svg {
  width: 40px;
  height: 40px;
}
.signup-interest-label {
  font-family: var(--font-sub);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.02em;
  line-height: 1.3;
}

/* Text-only interest cards */
.signup-interests-grid.text-only .signup-interest {
  min-height: 90px;
  padding: 22px 24px;
  justify-content: center;
}
.signup-interest-text {
  font-family: var(--font-sub);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-transform: uppercase;
}
.signup-interest-text small {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: none;
  opacity: 0.7;
  margin-top: 4px;
  letter-spacing: 0;
}

/* Checkmark overlay */
.signup-interest-check {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s ease;
}
.signup-interest-check svg {
  width: 14px;
  height: 14px;
  color: var(--white);
}
.signup-interest.selected .signup-interest-check {
  opacity: 1;
  transform: scale(1);
}

/* Thank you screen */
.signup-thank-you {
  text-align: center;
  animation: finderFadeIn 0.3s ease;
}
.signup-thank-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.signup-thank-icon svg {
  width: 64px;
  height: 64px;
  color: #22c55e;
}
.signup-thank-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--text-dark);
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}
.signup-thank-text {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.6;
  max-width: 440px;
  margin: 0 auto 24px;
}
.signup-thank-countdown {
  font-family: var(--font-sub);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.signup-again {
  min-height: 48px;
  padding: 12px 32px;
  touch-action: manipulation;
}

/* Dark mode */
[data-theme="dark"] .signup-section {
  background: #1a1a1a;
}
[data-theme="dark"] .signup-card {
  background: #1a1a1a;
}
[data-theme="dark"] .signup-input {
  background: var(--dark-3);
  border-color: var(--light-border);
  color: var(--white);
}
[data-theme="dark"] .signup-interest-logo {
  filter: brightness(0) invert(1);
}

/* Responsive */
@media (max-width: 768px) {
  .signup-card { padding: 28px 20px; }
  .signup-question { font-size: 1.4rem; }
  .signup-interests-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .signup-interest { padding: 16px 10px 12px; min-height: 110px; }
  .signup-interest-visual { width: 48px; height: 48px; }
  .signup-interest-icon svg { width: 32px; height: 32px; }
}
@media (max-width: 500px) {
  .signup-form-fields { grid-template-columns: 1fr; }
  .signup-interests-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   FEATURES SECTION (What's Inside)
   ============================================================ */
.features-section {
  background: var(--white);
  border-top: 3px solid var(--red);
}
.features-section .section-label-light {
  color: var(--red);
}
.features-section .section-title-light {
  color: var(--text-dark);
}
.features-section .section-sub {
  color: var(--text-body);
}
.features-section-alt {
  background: var(--dark-2);
}
.features-section-alt .section-title-light {
  color: var(--white);
}
.features-section-alt .feature-card {
  background: var(--dark-3, #2a2a2a);
  border-color: var(--dark-4, #333);
}
.features-section-alt .feature-card h3 {
  color: var(--white);
}
.features-section-alt .feature-card p {
  color: #bbb;
}
.features-section-alt .feature-card-date {
  color: var(--red);
}
.features-section-alt .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.features-section-alt .btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
}
.complex-acres {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: -4px;
  margin-bottom: 8px;
}
.features-category {
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dark);
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--red);
  display: block;
  text-align: center;
}
.features-category:first-of-type {
  margin-top: 0;
}

/* Facility Tabs (homepage) */
.facility-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--light-border);
}
.facility-tab {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 14px 36px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  color: var(--text-dark);
  cursor: pointer;
  transition: all var(--transition);
}
.facility-tab:hover {
  color: var(--text-muted);
}
.facility-tab.active {
  color: var(--red);
  border-bottom-color: var(--red);
}
.facility-tab-panel {
  display: none;
}
.facility-tab-panel.active {
  display: block;
}
@media (max-width: 600px) {
  .facility-tab {
    font-size: 1.15rem;
    font-weight: 700;
    padding: 10px 18px;
  }
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: center;
}
.features-grid-2col {
  grid-template-columns: repeat(2, 1fr);
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-top: 4px solid var(--red);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  box-shadow: var(--shadow-light);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-light-hover);
  border-color: rgba(232,0,13,0.4);
  border-top-color: var(--red);
}
.feature-card-logo {
  height: 56px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}
.feature-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(232,0,13,0.1);
  color: var(--red);
}
.feature-card-icon svg {
  width: 32px;
  height: 32px;
}
.feature-card h3 {
  font-family: var(--font-sub);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.feature-card-date {
  font-family: var(--font-sub);
  font-size: 1rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}
.feature-card p {
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.6;
}
.feature-card .btn {
  margin-top: auto;
  padding: 8px 20px;
  font-size: 0.8rem;
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.feature-card .btn:hover {
  background: #c5000b;
  border-color: #c5000b;
  color: var(--white);
  box-shadow: var(--shadow-red);
  transform: translateY(-2px);
}
.scroll-dots { display: none; }
.event-types-scroll-dots { display: none; }
.scroll-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(150,150,150,0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}
.scroll-dot.active {
  background: var(--red);
  transform: scale(1.25);
}
.coming-soon-badge {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  border: 2px solid var(--red);
  padding: 8px 20px;
  border-radius: 24px;
  background: rgba(232,0,13,0.06);
}

@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .features-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding-bottom: 8px;
    scrollbar-width: none;          /* Firefox */
  }
  .features-grid::-webkit-scrollbar { display: none; }  /* Chrome/Safari */
  .feature-card {
    flex: 0 0 78%;
    min-width: 0;
    scroll-snap-align: start;
    padding: 20px 16px;
  }
  .feature-card h3 { font-size: 1.1rem; }
  .feature-card p { font-size: 0.78rem; }
  .feature-card:hover { transform: none; }

  /* Dot indicators */
  .features-section .scroll-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
  }
}

/* ============================================================
   TEAM PAGE
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.team-card {
  background: #ededed;
  border: 1px solid #ddd;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
}
.team-name {
  font-family: var(--font-head);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
  color: #000;
}
.team-title {
  font-family: var(--font-sub);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.team-email {
  font-size: 0.9rem;
  color: var(--text-dark);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}
.team-email:hover {
  border-color: var(--red);
  color: var(--red);
}
[data-theme="dark"] .team-card {
  background: var(--dark-2);
  border-color: var(--dark-4);
}
[data-theme="dark"] .team-name {
  color: var(--light);
}
[data-theme="dark"] .team-email {
  color: var(--light);
}
@media (max-width: 768px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .team-card { padding: 24px 16px; }
}
@media (max-width: 500px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CAREERS PAGE
   ============================================================ */
.careers-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 40px auto 0;
  text-align: center;
}
.careers-perk svg {
  color: var(--red);
  margin-bottom: 12px;
}
.careers-perk h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}
.careers-perk p {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.careers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 32px auto 0;
}
.career-card {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-top: 4px solid var(--red);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: all var(--transition);
}
.career-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-light-hover);
  border-color: rgba(232,0,13,0.4);
  border-top-color: var(--red);
}
.career-card h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  color: #000;
  margin-bottom: 4px;
}
.career-type {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.career-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
[data-theme="dark"] .career-card {
  background: var(--dark-3);
  border-color: var(--dark-4);
  border-top-color: var(--red);
}
[data-theme="dark"] .career-card h3 {
  color: var(--light);
}
@media (max-width: 768px) {
  .careers-perks { grid-template-columns: 1fr; gap: 32px; }
  .careers-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .career-card { padding: 24px 16px; }
}
@media (max-width: 500px) {
  .careers-grid { grid-template-columns: 1fr; }
  .career-card { text-align: center; }
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline-section {
  background: var(--dark);
}
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--dark-4);
}
.timeline-item {
  position: relative;
  margin-bottom: 48px;
  padding-left: 24px;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-dot {
  position: absolute;
  left: -32px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--dark-4);
  border: 3px solid var(--dark);
  transition: all var(--transition);
}
.timeline-item.active .timeline-dot {
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(232,0,13,0.25);
}
.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--red);
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.timeline-title {
  font-family: var(--font-sub);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}
.timeline-desc {
  font-size: 0.93rem;
  color: var(--light);
  line-height: 1.65;
}

@media (max-width: 600px) {
  .timeline { padding-left: 30px; }
  .timeline::before { left: 10px; }
  .timeline-dot { left: -27px; }
  .timeline-year { font-size: 1.4rem; }
}

/* ============================================================
   BRKC SPOTLIGHT
   ============================================================ */
.spotlight-section {
  background: var(--dark-2);
  position: relative;
}
.spotlight-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.spotlight-content {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}
.spotlight-logo {
  flex-shrink: 0;
}
.spotlight-logo img {
  height: 80px;
  width: auto;
}
.spotlight-text h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.spotlight-text p {
  color: var(--light);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .spotlight-content {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
  .spotlight-logo img { height: 60px; }
}

/* ============================================================
   PRE-REGISTRATION SECTION
   ============================================================ */
.prereg-section {
  background: var(--dark-2);
  padding: 60px 0;
  text-align: center;
}
.prereg-content {
  max-width: 600px;
  margin: 0 auto;
}
.prereg-content .coming-soon-badge {
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.1);
  margin-bottom: 16px;
}
.prereg-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--white);
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}
.prereg-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 24px;
}
.prereg-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.prereg-form input {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition);
}
.prereg-form input::placeholder {
  color: rgba(255,255,255,0.5);
}
.prereg-form input:focus {
  border-color: var(--white);
}
.prereg-form .btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  white-space: nowrap;
}
.prereg-form .btn-primary:hover {
  background: var(--red-dark);
  color: var(--white);
  transform: translateY(-2px);
}
.prereg-content .btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.prereg-content .btn-primary:hover {
  background: var(--red-dark);
  color: var(--white);
  transform: translateY(-2px);
}
.prereg-success {
  display: none;
  color: var(--white);
  font-size: 1rem;
  margin-top: 16px;
  padding: 12px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
}

@media (max-width: 600px) {
  .prereg-form { flex-direction: column; }
}

/* ============================================================
   OPENING BANNER
   ============================================================ */
.opening-banner {
  text-align: center;
  padding: 40px 32px;
  background: var(--light-card-bg);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  margin-bottom: 48px;
}
.opening-banner h2,
.opening-banner h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--text-dark);
  letter-spacing: 0.04em;
  margin: 16px 0 12px;
}
.opening-banner p {
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */
.content-section {
  background: var(--white);
  padding: 80px 0;
}
.content-section .section-header h2 {
  color: var(--text-dark);
}
.content-section .section-sub {
  color: var(--text-body);
}
.content-section.dark .section-header h2 {
  color: var(--white);
}
.content-section.dark .section-sub {
  color: var(--light);
}
.content-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--text-dark);
}
.content-section.dark .content-title {
  color: var(--white);
}
.content-section.dark {
  background: var(--dark-2);
}
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.content-grid.reverse {
  grid-template-columns: 1.2fr 1fr;
}
.content-grid.reverse .content-visual {
  order: 2;
}
.content-grid.reverse .content-text {
  order: 1;
}
.content-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.content-visual img {
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
}
.content-icon-placeholder {
  font-size: 6rem;
  opacity: 0.6;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 200px;
  background: rgba(232,0,13,0.06);
  border: 2px dashed rgba(232,0,13,0.2);
  border-radius: var(--radius-lg);
}
.content-logo {
  max-width: 250px;
  height: auto;
}
.content-text h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--text-dark);
  letter-spacing: 0.03em;
  margin: 12px 0;
}
.content-section.dark .content-text h3,
.content-section.dark .content-text p,
[style*="background:var(--dark)"] .content-text h3,
[style*="background:var(--dark)"] .content-text p {
  color: var(--white);
}
.content-section.dark .content-text p,
[style*="background:var(--dark)"] .content-text p {
  color: var(--light);
}
.content-text p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 20px;
}
.content-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.content-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--text-body);
}
.content-features li::before {
  content: '\25AA';
  color: var(--red);
  font-size: 0.7rem;
  flex-shrink: 0;
}
.brkc-track-stats li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ── Race Fuel Page ── */
.race-fuel-features {
  align-items: center;
}
.race-fuel-features li {
  justify-content: center;
}
.fuel-logo {
  display: block;
  max-width: 220px;
  margin: 0 auto 32px;
}
.fuel-types {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin: 40px 0;
}
.fuel-type {
  display: flex;
  align-items: center;
  gap: 16px;
}
.fuel-icon {
  width: 48px;
  height: 48px;
  color: var(--red);
  flex-shrink: 0;
}
.fuel-type-name {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--text-dark);
  line-height: 1.1;
}
[data-theme="dark"] .fuel-type-name {
  color: var(--white);
}
@media (max-width: 600px) {
  .fuel-types {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
}

/* ── Welcome to Lorain Quick-Scroll Buttons ── */
.quick-scroll-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.quick-scroll-btn {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 10px 20px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}
.quick-scroll-btn:hover {
  background: #c7000b;
}
.quick-scroll-toggle {
  display: none;
}
@media (max-width: 768px) {
  .quick-scroll-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 32px;
    padding: 12px 24px;
    font-family: var(--font-sub);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  .quick-scroll-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s;
  }
  .quick-scroll-toggle.open .quick-scroll-arrow {
    transform: rotate(180deg);
  }
  .quick-scroll-btns {
    display: none;
    flex-direction: column;
    align-items: center;
    margin-top: 12px;
  }
  .quick-scroll-btn {
    width: 100%;
    text-align: center;
  }
  .quick-scroll-btns.open {
    display: flex;
  }
}

/* ── Welcome to Lorain Live Cams ── */
.cam-label {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 12px;
  color: var(--white);
}
.lorain-cams-grid {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 600px) {
  .lorain-cams-grid {
    grid-template-columns: 1fr;
  }
}

.content-section.dark .content-features li {
  color: var(--light);
}
.content-section.dark .event-type-card .content-features li {
  color: var(--text-dark);
}
.content-section.dark .coming-soon-badge {
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.1);
}

/* Full-width text layout (no image) */
.content-text-full {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.content-text-full h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--text-dark);
  letter-spacing: 0.03em;
  margin: 12px 0;
}
.content-text-full p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 20px;
}
.content-section.dark .content-text-full h3 {
  color: var(--white);
}
.content-section.dark .content-text-full p {
  color: var(--light);
}
.content-features--cols {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: center;
  gap: 10px 32px;
  text-align: left;
}
.content-features--cols li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--text-dark);
}
.content-features--cols li::before {
  content: '\25AA';
  color: var(--red);
  font-size: 0.7rem;
  flex-shrink: 0;
}
.content-section.dark .content-features--cols li {
  color: var(--light);
}
[data-theme="dark"] .content-features--cols li {
  color: var(--light);
}
[data-theme="dark"] .content-text-full h3 {
  color: var(--white);
}
[data-theme="dark"] .content-text-full p {
  color: var(--light);
}
@media (max-width: 600px) {
  .content-features--cols {
    grid-template-columns: 1fr;
  }
}

/* 2-column feature list variant */
.content-features--cols-2 {
  grid-template-columns: repeat(2, auto);
}
@media (max-width: 600px) {
  .content-features--cols-2 {
    grid-template-columns: 1fr;
  }
}

/* ===== PRICING BOXES ===== */
.pricing-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
}
.pricing-box {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  text-align: center;
  min-width: 200px;
  overflow: hidden;
}
.pricing-box-header {
  background: var(--red);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  padding: 10px 24px;
}
.pricing-box-body {
  padding: 20px 28px 24px;
}
.pricing-label {
  font-family: var(--font-sub);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dark);
}
.pricing-size {
  font-family: var(--font-sub);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-body);
  margin-top: 4px;
}
.pricing-amount {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--red);
  margin-top: 8px;
  letter-spacing: 0.02em;
}
.pricing-amount span {
  font-family: var(--font-sub);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}
[data-theme="dark"] .pricing-box {
  background: var(--dark-3);
  border-color: var(--dark-4);
}
[data-theme="dark"] .pricing-label {
  color: var(--white);
}
[data-theme="dark"] .pricing-size {
  color: var(--light);
}
[data-theme="dark"] .pricing-amount span {
  color: var(--light-mid);
}
@media (max-width: 768px) {
  .pricing-box {
    min-width: 0;
  }
  .pricing-box-header {
    font-size: 1.1rem;
    padding: 8px 20px;
  }
  .pricing-box-body {
    padding: 16px 20px 20px;
  }
  .pricing-amount {
    font-size: 1.7rem;
  }
}
/* ===== STORAGE TABS ===== */
.storage-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--light-border);
}
.storage-tab {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 14px 36px;
  border: none;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: -2px;
}
.storage-tab:hover {
  color: var(--text-muted);
}
.storage-tab.active {
  color: var(--red);
  border-bottom-color: var(--red);
}
.storage-panel {
  display: none;
}
.storage-panel.active {
  display: block;
}
[data-theme="dark"] .storage-tabs {
  border-bottom-color: var(--dark-4);
}
[data-theme="dark"] .storage-tab {
  color: var(--white);
}
[data-theme="dark"] .storage-tab:hover {
  color: var(--light-mid);
}
[data-theme="dark"] .storage-tab.active {
  color: var(--red);
  border-bottom-color: var(--red);
}
/* Guide tabs: allow wrapping for 5+ items */
.guide-tabs {
  flex-wrap: wrap;
}
@media (max-width: 500px) {
  .storage-tabs {
    margin-bottom: 24px;
  }
  .storage-tab {
    font-size: 1.15rem;
    padding: 10px 18px;
  }
  .guide-tabs .storage-tab {
    font-size: 0.95rem;
    padding: 8px 12px;
  }
}


/* ===== GARAGE SLIDESHOW ===== */
.garage-slideshow {
  max-width: 480px;
  margin: 24px auto 32px;
}
.slideshow-window {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--dark-2);
}
.slideshow-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.slideshow-img.active {
  opacity: 1;
}
.slideshow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: var(--white);
  border: none;
  font-size: 2rem;
  line-height: 1;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.2s ease;
  z-index: 2;
}
.slideshow-btn:hover {
  background: rgba(0,0,0,0.8);
}
.slideshow-prev { left: 10px; }
.slideshow-next { right: 10px; }
.slideshow-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}
.slideshow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}
.slideshow-dot.active {
  background: var(--red);
  border-color: var(--red);
}
[data-theme="dark"] .slideshow-dot {
  border-color: var(--light-mid);
}
[data-theme="dark"] .slideshow-dot.active {
  background: var(--red);
  border-color: var(--red);
}

@media (max-width: 500px) {
  .pricing-row {
    flex-direction: column;
    align-items: center;
  }
  .pricing-box {
    width: 100%;
    max-width: 300px;
  }
  .content-section {
    padding: 50px 0;
  }
  .content-text-full {
    padding: 0 8px;
    text-align: center;
  }
  .content-text-full h3 {
    font-size: 1.6rem;
  }
  .content-text-full p {
    font-size: 0.9rem;
  }
  .storage-panel .pricing-row {
    align-items: center;
  }
  .slideshow-btn {
    font-size: 1.4rem;
    padding: 6px 10px;
  }
  .faq-question {
    padding: 14px 16px;
    font-size: 0.85rem;
  }
  .faq-answer p {
    padding: 10px 16px 14px;
    font-size: 0.84rem;
  }
}

/* ===== FAQ ACCORDION ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  text-align: left;
}
.faq-item {
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sub);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
  text-align: left;
  letter-spacing: 0.02em;
  transition: background var(--transition);
}
.faq-question:hover {
  background: rgba(255,255,255,0.05);
}
.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer p {
  padding: 12px 20px 16px;
  font-size: 0.88rem;
  color: var(--light);
  line-height: 1.7;
  margin: 0;
}
/* Light background FAQ variant */
.content-section:not(.dark) .faq-item {
  border-color: #ddd;
}
.content-section:not(.dark) .faq-question {
  color: var(--text-dark);
}
.content-section:not(.dark) .faq-question:hover {
  background: rgba(0,0,0,0.03);
}
.content-section:not(.dark) .faq-answer p {
  color: var(--text-body);
}
[data-theme="dark"] .content-section:not(.dark) .faq-item {
  border-color: var(--dark-4);
}
[data-theme="dark"] .content-section:not(.dark) .faq-question {
  color: var(--white);
}
[data-theme="dark"] .content-section:not(.dark) .faq-question:hover {
  background: rgba(255,255,255,0.05);
}
[data-theme="dark"] .content-section:not(.dark) .faq-answer p {
  color: var(--light);
}

/* Dark mode for content sections */
[data-theme="dark"] .content-section {
  background: var(--dark-2);
}
[data-theme="dark"] .content-section .section-header h2,
[data-theme="dark"] .content-title {
  color: var(--white);
}
[data-theme="dark"] .content-section .section-sub {
  color: var(--light);
}
[data-theme="dark"] .content-section.dark {
  background: var(--dark);
}
[data-theme="dark"] .content-icon-placeholder {
  background: rgba(232,0,13,0.1);
  border-color: rgba(232,0,13,0.3);
}

@media (max-width: 900px) {
  .content-grid,
  .content-grid.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .content-visual { order: -1; }
  .content-grid.reverse .content-visual { order: -1; }
  .content-grid.reverse .content-text { order: 0; }
  .content-icon-placeholder { width: 140px; height: 140px; font-size: 4rem; }
  .content-visual .track-3d-scene { max-width: 180px; margin: 0 auto; }
  .content-visual .track-3d-scene.track-scene-lg { max-width: 280px !important; }
  .content-text { text-align: center; }
  .content-text .btn { display: block; margin: 16px auto 0; }
  .content-text div[style] { justify-content: center !important; }
  .content-features { align-items: center; }
  .content-features li { justify-content: center; }
  .class-group-header { text-align: center; align-items: center; }
  .section-header { margin-bottom: 36px; }
}

/* ============================================================
   HIGHLIGHT GRID
   ============================================================ */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.highlight-card {
  background: var(--dark-2);
  border: 1px solid var(--dark-4);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}
.highlight-card:hover {
  border-color: rgba(232,0,13,0.4);
  transform: translateY(-3px);
}
.highlight-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 14px;
}
.highlight-card h3 {
  font-family: var(--font-sub);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.highlight-card p {
  font-size: 0.88rem;
  color: var(--light);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .highlight-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .highlight-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   EVENT TYPES
   ============================================================ */
.event-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.event-type-card {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-top: 4px solid var(--red);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.event-type-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-light-hover);
  border-color: rgba(232,0,13,0.4);
  border-top-color: var(--red);
}
.event-type-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 14px;
}
.event-type-card h3 {
  font-family: var(--font-sub);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.event-type-card p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* Dark mode */
[data-theme="dark"] .event-type-card {
  background: var(--dark-3);
  border-color: var(--dark-4);
  border-top-color: var(--red);
}
[data-theme="dark"] .event-type-card h3 {
  color: var(--white);
}
[data-theme="dark"] .event-type-card p {
  color: var(--light);
}
.event-type-card .btn {
  margin-top: 16px;
  padding: 8px 20px;
  font-size: 0.8rem;
}

/* Column variants for event-types-grid */
.event-types-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}
.event-types-grid--4col {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) {
  .event-types-grid,
  .event-types-grid--4col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .event-types-grid,
  .event-types-grid--2col,
  .event-types-grid--4col {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .event-types-grid::-webkit-scrollbar,
  .event-types-grid--2col::-webkit-scrollbar,
  .event-types-grid--4col::-webkit-scrollbar { display: none; }
  .event-type-card {
    flex: 0 0 80%;
    min-width: 0;
    scroll-snap-align: start;
    padding: 24px 20px;
  }
  .event-type-card:hover { transform: none; }
  .event-types-scroll-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
  }
}

/* ============================================================
   INCLUDED LIST
   ============================================================ */
.included-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}
.included-item {
  font-size: 1rem;
  color: var(--text-dark);
  padding: 14px 20px;
  background: var(--light-card-bg);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}
.included-item:hover {
  border-color: var(--red);
}
[data-theme="dark"] .included-item {
  color: var(--white);
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
}

@media (max-width: 600px) {
  .included-list { grid-template-columns: 1fr; }
}

/* ============================================================
   PRICING PLACEHOLDER
   ============================================================ */
.pricing-placeholder {
  text-align: center;
  padding: 48px 32px;
  background: var(--light-card-bg);
  border: 2px dashed var(--light-border);
  border-radius: var(--radius-lg);
  max-width: 600px;
  margin: 0 auto;
}
.pricing-placeholder h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--text-dark);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.pricing-placeholder p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ============================================================
   EVENT FORM
   ============================================================ */
.event-form-wrap {
  max-width: 700px;
  margin: 0 auto;
}

/* ---- Dark Mode for New Sections ---- */
[data-theme="dark"] .opening-banner {
  background: var(--dark-3);
  border-color: var(--dark-4);
}
[data-theme="dark"] .opening-banner h2,
[data-theme="dark"] .opening-banner h3 {
  color: var(--white);
}
[data-theme="dark"] .opening-banner p {
  color: var(--light);
}
[data-theme="dark"] .pricing-placeholder {
  background: var(--dark-2);
  border-color: var(--dark-4);
}
[data-theme="dark"] .content-section.dark .content-text h3,
[data-theme="dark"] .content-section.dark .content-text p {
  color: var(--white);
}

/* ===== CAMP REGISTRATION ===== */
.camp-info {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.camp-session-cards {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.camp-session-cards .event-type-card {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
}
.camp-description {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}
[data-theme="dark"] .camp-description {
  color: var(--light);
}

/* ---- Smooth Transitions for New Sections ---- */
.content-section,
.event-type-card,
.pricing-placeholder {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* ============================================================
   EVENTS PAGE & UPCOMING EVENTS
   ============================================================ */

/* ---- Events Section (events.html) ---- */
.events-section {
  background: var(--white);
  border-top: 3px solid var(--red);
}

/* ---- Upcoming Events on Homepage ---- */
.upcoming-events-section {
  background: var(--dark-2);
}

/* ---- Filter Tabs ---- */
.events-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}
.events-filter-btn {
  font-family: var(--font-sub);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 2px solid var(--light-border);
  border-radius: 30px;
  background: transparent;
  color: var(--text-body);
  cursor: pointer;
  transition: all var(--transition);
}
.events-filter-btn:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(232, 0, 13, 0.05);
}
.events-filter-btn.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

/* ---- Mobile Filter Dropdowns ---- */
.events-filter-mobile {
  display: none;
}

/* ---- Month Navigation ---- */
.events-month-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 36px;
}
.events-month-btn {
  font-family: var(--font-sub);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 18px;
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--text-dark);
  cursor: pointer;
  transition: all var(--transition);
}
.events-month-btn:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}
.events-month-btn.active {
  color: var(--red);
  border-bottom-color: var(--red);
  font-weight: 700;
}

/* ---- Events Grid ---- */
.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.upcoming-events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ---- Event Card ---- */
.event-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--light-border);
  border-top: 4px solid var(--red);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-light);
  min-width: 0;
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-light-hover);
  border-color: rgba(232,0,13,0.4);
  border-top-color: var(--red);
}

/* Date strip (top of card) */
.event-card-date {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--red);
  color: var(--white);
  text-align: center;
}
.event-card-month,
.event-card-day {
  font-family: var(--font-sub);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}

/* Card body */
.event-card-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

/* Entity badge */
.event-card-badge {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

/* Event title */
.event-card-title {
  font-family: var(--font-sub);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.3;
}

/* Event time / track info */
.event-card-time {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Event organizer */
.event-card-org {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 400;
  font-style: italic;
}

/* Event CTA link */
.event-card-link {
  font-family: var(--font-sub);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: auto;
  padding-top: 4px;
  transition: color var(--transition);
}
.event-card-link:hover {
  color: #c5000b;
}

/* Private event tag */
.event-card-private {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--text-muted);
  padding: 3px 10px;
  border-radius: 3px;
  margin-top: auto;
  padding-top: 4px;
}

/* Empty state */
.events-empty {
  text-align: center;
  padding: 60px 24px;
}
.events-empty p {
  font-family: var(--font-sub);
  font-size: 1.1rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ---- Dark Mode: Events ---- */
[data-theme="dark"] .events-section {
  background: #1a1a1a;
}
[data-theme="dark"] .events-filter-btn {
  border-color: var(--dark-4);
  color: var(--light);
}
[data-theme="dark"] .events-filter-btn:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(232, 0, 13, 0.08);
}
[data-theme="dark"] .events-filter-btn.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
[data-theme="dark"] .events-month-btn {
  color: var(--white);
}
[data-theme="dark"] .events-month-btn:hover,
[data-theme="dark"] .events-month-btn.active {
  color: var(--red);
  border-bottom-color: var(--red);
}
[data-theme="dark"] .event-card-date {
  background: var(--red);
}
[data-theme="dark"] .event-card {
  background: var(--dark-3);
  border-color: var(--dark-4);
  border-top-color: var(--red);
}
[data-theme="dark"] .event-card:hover {
  background: var(--dark-3);
}
[data-theme="dark"] .event-card-title {
  color: var(--white);
}
[data-theme="dark"] .event-card-time {
  color: var(--light-mid);
}
[data-theme="dark"] .event-card-org {
  color: var(--light-mid);
}
[data-theme="dark"] .events-empty p {
  color: var(--light-mid);
}
[data-theme="dark"] .event-card-private {
  background: var(--dark-4);
  color: var(--light-mid);
}

/* ---- Responsive: Events ---- */
@media (max-width: 1100px) {
  .events-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .upcoming-events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .events-filter,
  .events-month-nav {
    display: none;
  }
  .events-filter-mobile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
  }
  .events-filter-mobile select {
    width: 100%;
    font-family: var(--font-sub);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 12px 16px;
    border: 2px solid var(--light-border);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--text-dark);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
  }
  .events-filter-mobile select:focus {
    outline: none;
    border-color: var(--red);
  }
  [data-theme="dark"] .events-filter-mobile select {
    background-color: var(--dark-3);
    border-color: var(--dark-4);
    color: var(--light);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23aaa' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  }
  .event-card-title {
    word-break: break-word;
  }
}
@media (max-width: 600px) {
  .events-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .upcoming-events-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .upcoming-events-grid::-webkit-scrollbar { display: none; }
  .upcoming-events-grid .event-card {
    flex: 0 0 82%;
    min-width: 0;
    scroll-snap-align: start;
  }
  .upcoming-events-grid .event-card:hover { transform: none; }
  [data-for="upcoming-events"].scroll-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
  }
  .events-filter-btn {
    font-size: 0.68rem;
    padding: 6px 10px;
  }
  .events-month-btn {
    font-size: 0.68rem;
    padding: 6px 10px;
  }
  .event-card-body {
    padding: 12px 14px;
  }
}
@media (max-width: 400px) {
  .events-filter {
    gap: 5px;
  }
  .events-filter-btn {
    font-size: 0.62rem;
    padding: 5px 8px;
  }
  .events-month-btn {
    font-size: 0.62rem;
    padding: 5px 8px;
  }
  .event-card-badge {
    font-size: 0.75rem;
  }
  .event-card-title {
    font-size: 0.78rem;
  }
}

/* ===== APPLICATION FORM ===== */
.apply-form {
  max-width: 660px;
  margin: 0 auto;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: var(--radius-lg);
  padding: 36px;
}
.apply-section-title {
  font-family: var(--font-sub);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #000;
  margin-top: 32px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
}
.apply-section-title:first-child {
  margin-top: 0;
}
.apply-optional {
  font-size: 0.8rem;
  font-weight: 400;
  color: #888;
  text-transform: none;
  letter-spacing: 0;
}
.apply-legend {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 20px;
}
.apply-legend .apply-required {
  font-size: 1rem;
}
.apply-required {
  color: var(--red);
  font-weight: 700;
  margin-left: 2px;
}
.apply-note {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}
.apply-form .form-group label {
  color: #000 !important;
}
.apply-form .form-group input,
.apply-form .form-group select,
.apply-form .form-group textarea {
  background: #fff !important;
  border: 1px solid #ccc !important;
  color: #000 !important;
}
.apply-form .form-group input[type="file"] {
  background: #fff !important;
  border: 1px dashed #ccc !important;
  padding: 14px 16px !important;
  cursor: pointer;
  font-size: 0.88rem;
}
.apply-form .form-group input[type="file"]:hover {
  border-color: var(--red) !important;
}
.apply-form .form-group input:focus,
.apply-form .form-group select:focus,
.apply-form .form-group textarea:focus {
  border-color: var(--red) !important;
}
.apply-form .form-group input::placeholder,
.apply-form .form-group textarea::placeholder {
  color: #999 !important;
}
.apply-form .form-group select option {
  background: #fff;
  color: #000;
}

/* Collapsible sections */
.apply-collapsible {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.apply-collapsible::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 12px;
}
.apply-collapsible.active::after {
  transform: rotate(-135deg);
}
.apply-collapse-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.apply-collapse-body.open {
  max-height: 2000px;
}
.apply-sub-title {
  font-family: var(--font-sub);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #000;
  margin-top: 16px;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: none;
}
[data-theme="dark"] .apply-sub-title {
  color: var(--light);
}

/* Checkboxes grid */
.apply-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 4px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  overflow: hidden;
}
.apply-check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #000;
  cursor: pointer;
  padding: 10px 14px;
  border-bottom: 1px solid #eee;
  border-right: 1px solid #eee;
  transition: background 0.15s ease;
  margin: 0;
}
.apply-check-label:hover {
  background: #f0f0f0;
}
.apply-check-label:nth-child(2n) {
  border-right: none;
}
.apply-check-label:nth-last-child(-n+2) {
  border-bottom: none;
}
.apply-checks:has(.apply-check-label:nth-child(odd):last-child) .apply-check-label:last-child {
  border-right: none;
}
.apply-check-label input[type="checkbox"],
.apply-check-label input[type="radio"] {
  -webkit-appearance: auto;
  appearance: auto;
  width: 16px !important;
  height: 16px;
  padding: 0 !important;
  background: #fff !important;
  border: 1px solid #ccc !important;
  accent-color: var(--red);
  cursor: pointer;
  flex-shrink: 0;
}
.apply-check-label input[type="checkbox"] {
  border-radius: 3px !important;
}
.apply-check-label input[type="radio"] {
  border-radius: 50% !important;
}

/* Dark mode */
[data-theme="dark"] .apply-form {
  background: var(--dark-2);
  border-color: var(--dark-4);
}
[data-theme="dark"] .apply-section-title {
  color: var(--light);
}
[data-theme="dark"] .apply-form .form-group label {
  color: var(--white) !important;
}
[data-theme="dark"] .apply-form .form-group input,
[data-theme="dark"] .apply-form .form-group select,
[data-theme="dark"] .apply-form .form-group textarea {
  background: var(--dark-3) !important;
  border-color: var(--dark-4) !important;
  color: var(--white) !important;
}
[data-theme="dark"] .apply-form .form-group input::placeholder,
[data-theme="dark"] .apply-form .form-group textarea::placeholder {
  color: #999 !important;
}
[data-theme="dark"] .apply-form .form-group select option {
  background: var(--dark-3);
  color: var(--white);
}
[data-theme="dark"] .apply-form .form-group input[type="file"] {
  background: var(--dark-3) !important;
  border: 1px dashed var(--dark-4) !important;
  color: var(--light) !important;
}
[data-theme="dark"] .apply-note {
  color: #aaa;
}
[data-theme="dark"] .apply-checks {
  background: var(--dark-3);
  border-color: var(--dark-4);
}
[data-theme="dark"] .apply-check-label {
  color: var(--light);
  border-color: var(--dark-4);
}
[data-theme="dark"] .apply-check-label:hover {
  background: var(--dark-2);
}

/* Responsive */
@media (max-width: 600px) {
  .apply-form {
    padding: 20px 14px;
  }
  .apply-section-title {
    margin-top: 24px;
    margin-bottom: 12px;
    font-size: 1rem;
  }
  .apply-form .form-row {
    grid-template-columns: 1fr;
  }
  .apply-checks {
    grid-template-columns: 1fr;
  }
  .apply-check-label {
    border-right: none !important;
  }
  .apply-check-label:nth-last-child(-n+2) {
    border-bottom: 1px solid #eee;
  }
  .apply-check-label:last-child {
    border-bottom: none !important;
  }
  [data-theme="dark"] .apply-check-label:nth-last-child(-n+2) {
    border-bottom-color: var(--dark-4);
  }
  .apply-sub-title {
    padding-left: 8px;
  }
  .apply-note {
    font-size: 0.85rem;
  }
}

/* ============================================================
   EVENT PLANNER MULTI-STEP
   ============================================================ */
.ep-steps {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}
.ep-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sub);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #999;
  padding: 8px 16px;
  border-radius: var(--radius);
  background: rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.ep-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ddd;
  color: #666;
  font-size: 0.72rem;
  font-weight: 700;
}
.ep-step.active {
  color: var(--white);
  background: var(--red);
}
.ep-step.active span {
  background: rgba(255,255,255,0.25);
  color: var(--white);
}
.ep-step.completed {
  color: var(--text-dark);
  background: rgba(0,0,0,0.08);
}
.ep-step.completed span {
  background: var(--red);
  color: var(--white);
}
.ep-panel {
  display: none;
}
.ep-panel.active {
  display: block;
}
.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid #ccc;
}
.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
}
[data-theme="dark"] .ep-step {
  background: rgba(255,255,255,0.06);
  color: #888;
}
[data-theme="dark"] .ep-step span {
  background: var(--dark-4);
  color: #888;
}
[data-theme="dark"] .ep-step.active {
  color: var(--white);
  background: var(--red);
}
[data-theme="dark"] .ep-step.completed {
  color: var(--light);
  background: rgba(255,255,255,0.1);
}
.content-section.dark .btn-outline {
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.content-section.dark .btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
}
[data-theme="dark"] .btn-outline {
  color: var(--light);
  border-color: var(--dark-4);
}
[data-theme="dark"] .btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
}
.upcoming-events-section .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.upcoming-events-section .btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
}
@media (max-width: 600px) {
  .ep-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .ep-step {
    font-size: 0.72rem;
    padding: 8px 12px;
    gap: 6px;
    justify-content: center;
  }
  .ep-step span {
    width: 22px;
    height: 22px;
    font-size: 0.65rem;
  }
}

/* ============================================================
   SPONSORSHIPS PAGE
   ============================================================ */

/* ── Promo Banner ── */
.promo-banner {
  background: var(--red);
  padding: 18px 0;
  text-align: center;
}
.promo-banner p {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Sponsor Marquee ── */
@keyframes sponsor-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.sponsor-marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.sponsor-marquee-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: sponsor-scroll 25s linear infinite;
}
.sponsor-marquee-track:hover {
  animation-play-state: paused;
}
.sponsor-marquee .sponsor-logo {
  flex-shrink: 0;
}
.sponsor-marquee .sponsor-logo img {
  max-height: 80px;
  max-width: 180px;
  object-fit: contain;
}
@media (max-width: 600px) {
  .sponsor-marquee-track {
    gap: 40px;
    animation-duration: 18s;
  }
  .sponsor-marquee .sponsor-logo img {
    max-height: 55px;
    max-width: 120px;
  }
}

/* ── Sponsor Filter Buttons (desktop) ── */
.sponsor-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 32px 0;
}
.sponsor-filter-btn {
  font-family: var(--font-sub);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 18px;
  border: 2px solid var(--light-border);
  border-radius: 50px;
  background: none;
  color: var(--text-dark);
  cursor: pointer;
  transition: all var(--transition);
}
.sponsor-filter-btn:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(232, 0, 13, 0.05);
}
.sponsor-filter-btn.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
[data-theme="dark"] .sponsor-filter-btn {
  border-color: var(--dark-4);
  color: var(--light);
}
[data-theme="dark"] .sponsor-filter-btn:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(232, 0, 13, 0.08);
}
[data-theme="dark"] .sponsor-filter-btn.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

/* ── Sponsor Category Sections ── */
.sponsor-category {
  margin-top: 40px;
}
.sponsor-category:first-child {
  margin-top: 24px;
}
.sponsor-category-heading {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: var(--red);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light-border);
  text-align: center;
}
[data-theme="dark"] .sponsor-category-heading {
  border-bottom-color: var(--dark-4);
}

/* ── Sponsor Cards Grid ── */
.sponsor-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.sponsor-card {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-top: 4px solid var(--red);
  border-radius: var(--radius-lg);
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  overflow: hidden;
  box-shadow: var(--shadow-light);
}
.sponsor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-light-hover);
  border-color: rgba(232,0,13,0.4);
  border-top-color: var(--red);
}
.sponsor-card-tag {
  background: var(--red);
  color: var(--white);
  font-family: var(--font-sub);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 10px 24px;
}
.sponsor-card-body {
  padding: 20px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.sponsor-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-dark);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  line-height: 1.1;
}
.sponsor-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 16px;
}
/* Dark mode sponsor cards */
[data-theme="dark"] .sponsor-card {
  background: var(--dark-3);
  border-color: var(--dark-4);
  border-top-color: var(--red);
}
[data-theme="dark"] .sponsor-card h3 {
  color: var(--white);
}
[data-theme="dark"] .sponsor-card p {
  color: var(--light);
}
.sponsor-card-price {
  margin-top: auto;
  font-family: var(--font-sub);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.02em;
}


/* ── Sponsor Inquiry Form ── */
.sponsor-form-wrap {
  max-width: 700px;
  margin: 0 auto;
}
.sponsor-form .form-group label {
  color: var(--white);
}
.sponsor-form .form-group input,
.sponsor-form .form-group select,
.sponsor-form .form-group textarea {
  background: var(--dark-3);
  border: 1px solid var(--dark-4);
  color: var(--white);
}
.sponsor-form .form-group input:focus,
.sponsor-form .form-group select:focus,
.sponsor-form .form-group textarea:focus {
  border-color: var(--red);
}
.sponsor-form .form-group input::placeholder,
.sponsor-form .form-group textarea::placeholder {
  color: var(--mid);
}
.sponsor-form .form-group select option {
  background: var(--dark-3);
}

/* Light section form overrides */
.content-section:not(.dark) .sponsor-form .form-group label {
  color: var(--text-dark);
}
.content-section:not(.dark) .sponsor-form .form-group input,
.content-section:not(.dark) .sponsor-form .form-group select,
.content-section:not(.dark) .sponsor-form .form-group textarea {
  background: var(--white);
  border-color: var(--light-border);
  color: var(--text-dark);
}
.content-section:not(.dark) .sponsor-form .form-group select option {
  background: var(--white);
  color: var(--text-dark);
}

/* ── Sponsor Interest Accordion ── */
.sponsor-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.sponsor-accordion-item {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  overflow: hidden;
}
.sponsor-accordion-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-sub);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  background: rgba(255,255,255,0.05);
  border: none;
  padding: 14px 18px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.sponsor-accordion-toggle:hover {
  background: rgba(255,255,255,0.1);
}
.sponsor-accordion-toggle::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 12px;
}
.sponsor-accordion-item.open .sponsor-accordion-toggle::after {
  transform: rotate(-135deg);
}
.sponsor-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 18px;
}
.sponsor-accordion-item.open .sponsor-accordion-body {
  max-height: 400px;
  padding: 10px 18px 16px;
}
.sponsor-check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--light);
  cursor: pointer;
  padding: 7px 0;
  transition: color 0.15s ease;
  margin: 0;
}
.sponsor-check-label:hover {
  color: var(--white);
}
.sponsor-check-label input[type="checkbox"] {
  -webkit-appearance: auto;
  appearance: auto;
  width: 16px !important;
  height: 16px;
  padding: 0 !important;
  background: var(--dark-3) !important;
  border: 1px solid var(--dark-4) !important;
  accent-color: var(--red);
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 3px !important;
}

/* Light section sponsor accordion (if used outside dark section) */
.content-section:not(.dark) .sponsor-accordion-item {
  border-color: var(--light-border);
}
.content-section:not(.dark) .sponsor-accordion-toggle {
  color: var(--text-dark);
  background: rgba(0,0,0,0.03);
}
.content-section:not(.dark) .sponsor-accordion-toggle:hover {
  background: rgba(0,0,0,0.06);
}
.content-section:not(.dark) .sponsor-check-label {
  color: var(--text-body);
}
.content-section:not(.dark) .sponsor-check-label:hover {
  color: var(--text-dark);
}
.content-section:not(.dark) .sponsor-check-label input[type="checkbox"] {
  background: var(--white) !important;
  border-color: #ccc !important;
}

/* Dark mode sponsor accordion */
[data-theme="dark"] .sponsor-accordion-item {
  border-color: var(--dark-4);
}
[data-theme="dark"] .sponsor-check-label {
  color: var(--light);
}
[data-theme="dark"] .sponsor-check-label:hover {
  color: var(--white);
}
[data-theme="dark"] .sponsor-check-label input[type="checkbox"] {
  background: var(--dark-3) !important;
  border-color: var(--dark-4) !important;
}

/* Prevent mobile keyboard scroll jump on sponsor form */
.sponsor-form .form-group {
  scroll-margin-top: calc(var(--nav-h) + 20px);
}
.sponsor-form .form-group input,
.sponsor-form .form-group textarea,
.sponsor-form .form-group select {
  scroll-margin-top: calc(var(--nav-h) + 20px);
}

/* ── Responsive: Sponsor Cards ── */
@media (max-width: 900px) and (min-width: 769px) {
  .sponsor-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .sponsor-filter {
    display: none;
  }
  .sponsor-category {
    margin-top: 32px;
  }
  .sponsor-category-heading {
    color: var(--text-dark);
  }
  [data-theme="dark"] .sponsor-category-heading {
    color: var(--white);
  }
  .sponsor-cards-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .sponsor-cards-grid::-webkit-scrollbar { display: none; }
  .sponsor-card {
    flex: 0 0 80%;
    min-width: 0;
    scroll-snap-align: start;
  }
  .sponsor-card:hover { transform: none; }
  .sponsor-category .scroll-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
  }
}
@media (max-width: 500px) {
  .sponsor-card h3 {
    font-size: 1.3rem;
  }
  .sponsor-form .form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   NEWS PAGE & ARTICLE PAGES
   ============================================================ */

/* ---- Category Filter Nav ---- */
.news-filter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}
.news-cat-btn {
  font-family: var(--font-sub);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 18px;
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--text-dark);
  cursor: pointer;
  transition: all var(--transition);
}
.news-cat-btn:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}
.news-cat-btn.active {
  color: var(--red);
  border-bottom-color: var(--red);
  font-weight: 700;
}

/* ---- Mobile Filter Dropdown ---- */
.news-filter-mobile {
  display: none;
}

/* ---- News Grid ---- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ---- News Card ---- */
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--light-border);
  border-top: 4px solid var(--red);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-light);
  min-width: 0;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-light-hover);
  border-color: rgba(232,0,13,0.4);
  border-top-color: var(--red);
}

/* Featured image */
.news-card-image-link {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--dark-3);
}
.news-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}
.news-card:hover .news-card-img {
  transform: scale(1.04);
}

/* Card body */
.news-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

/* Category badge */
.news-card-badge {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

/* Article title */
.news-card-title {
  font-family: var(--font-sub);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.35;
  margin: 0;
}
.news-card-title a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color var(--transition);
}
.news-card-title a:hover {
  color: var(--red);
}

/* Date published */
.news-card-meta {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Excerpt */
.news-card-excerpt {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 4px;
}

/* Read More link */
.news-card-readmore {
  font-family: var(--font-sub);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  margin-top: auto;
  padding-top: 10px;
  transition: color var(--transition);
}
.news-card-readmore:hover {
  opacity: 0.8;
}

/* ---- Empty state ---- */
.news-empty {
  text-align: center;
  padding: 60px 24px;
}
.news-empty p {
  font-family: var(--font-sub);
  font-size: 1.1rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ============================================================
   DARK MODE: NEWS
   ============================================================ */
[data-theme="dark"] .news-cat-btn {
  color: var(--white);
}
[data-theme="dark"] .news-cat-btn:hover,
[data-theme="dark"] .news-cat-btn.active {
  color: var(--red);
  border-bottom-color: var(--red);
}
[data-theme="dark"] .news-card {
  background: var(--dark-3);
  border-color: var(--dark-4);
  border-top-color: var(--red);
}
[data-theme="dark"] .news-card:hover {
  border-color: rgba(232,0,13,0.4);
  border-top-color: var(--red);
}
[data-theme="dark"] .news-card-image-link {
  background: var(--dark-4);
}
[data-theme="dark"] .news-card-title a {
  color: var(--white);
}
[data-theme="dark"] .news-card-title a:hover {
  color: var(--red);
}
[data-theme="dark"] .news-card-meta {
  color: var(--light-mid);
}
[data-theme="dark"] .news-card-excerpt {
  color: var(--light);
}
[data-theme="dark"] .news-empty p {
  color: var(--light-mid);
}

/* ============================================================
   NEWS ARTICLE PAGE
   ============================================================ */
.news-article-wrap {
  max-width: 800px;
  margin: 0 auto;
}

/* Back link */
.news-article-back {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 28px;
  transition: color var(--transition);
}
.news-article-back:hover {
  color: var(--red);
}

/* Hero image */
.news-article-hero {
  margin: 0 0 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--dark-3);
}
.news-article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Slideshow */
.news-slideshow {
  margin: 0 0 32px;
}
.news-slideshow-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--dark-3);
  margin: 0;
}
.news-slideshow-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.news-slideshow-img.active {
  opacity: 1;
}
.news-slideshow-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.news-slideshow-thumb {
  flex: 1;
  padding: 0;
  border: 3px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: none;
  aspect-ratio: 16 / 9;
  opacity: 0.5;
  transition: opacity 0.3s ease, border-color 0.3s ease;
}
.news-slideshow-thumb.active {
  opacity: 1;
  border-color: var(--red);
}
.news-slideshow-thumb:hover {
  opacity: 0.85;
}
.news-slideshow-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Meta bar */
.news-article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--light-border);
}
.news-article-date,
.news-article-author {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Article body prose */
.news-article-body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-body);
}
.news-article-body h2 {
  font-family: var(--font-sub);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 36px 0 12px;
  letter-spacing: 0.02em;
}
.news-article-body p {
  margin-bottom: 20px;
}
.news-article-body ul,
.news-article-body ol {
  margin: 0 0 20px 24px;
}
.news-article-body li {
  margin-bottom: 8px;
}
.news-article-body a {
  color: var(--red);
  text-decoration: underline;
  text-decoration-color: rgba(232,0,13,0.3);
}
.news-article-body a:hover {
  opacity: 0.8;
}

/* Bottom back link */
.news-article-back--bottom {
  display: block;
  margin-top: 48px;
  margin-bottom: 0;
}

/* ---- Dark Mode: Article ---- */
[data-theme="dark"] .news-article-hero {
  background: var(--dark-4);
}
[data-theme="dark"] .news-article-meta {
  border-bottom-color: var(--dark-4);
}
[data-theme="dark"] .news-article-date,
[data-theme="dark"] .news-article-author {
  color: var(--light-mid);
}
[data-theme="dark"] .news-article-body {
  color: var(--light);
}
[data-theme="dark"] .news-article-body h2 {
  color: var(--white);
}
[data-theme="dark"] .news-slideshow-thumb {
  border-color: transparent;
}
[data-theme="dark"] .news-slideshow-thumb.active {
  border-color: var(--red);
}

/* ---- Results Tables ---- */
.news-results-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.news-results-table thead th {
  background: var(--dark-2);
  color: var(--white);
  padding: 10px 12px;
  text-align: left;
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.news-results-table tbody td {
  padding: 9px 12px;
  border-bottom: 1px solid #e0e0e0;
  vertical-align: top;
}
.news-results-table tbody tr:last-child td {
  border-bottom: none;
}
.news-results-table tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.02);
}
.news-results-table tbody tr:first-child td {
  font-weight: 700;
}
.news-results-table tbody td:first-child {
  font-weight: 600;
  text-align: center;
  min-width: 40px;
}

[data-theme="dark"] .news-results-table thead th {
  background: var(--red);
}
[data-theme="dark"] .news-results-table tbody td {
  border-bottom-color: var(--dark-4);
  color: var(--light);
}
[data-theme="dark"] .news-results-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 600px) {
  .news-results-table {
    font-size: 0.82rem;
  }
  .news-results-table thead th,
  .news-results-table tbody td {
    padding: 7px 6px;
  }
}

/* ============================================================
   RESPONSIVE: NEWS
   ============================================================ */
@media (max-width: 1100px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .news-filter-nav {
    display: none;
  }
  .news-filter-mobile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
  }
  .news-filter-mobile select {
    width: 100%;
    font-family: var(--font-sub);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 12px 16px;
    border: 2px solid var(--light-border);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--text-dark);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
  }
  .news-filter-mobile select:focus {
    outline: none;
    border-color: var(--red);
  }
  [data-theme="dark"] .news-filter-mobile select {
    background-color: var(--dark-3);
    border-color: var(--dark-4);
    color: var(--light);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23aaa' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  }
  .news-article-body {
    font-size: 1rem;
  }
  .news-article-body h2 {
    font-size: 1.25rem;
  }
}
@media (max-width: 600px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .news-card-body {
    text-align: center;
  }
  .news-card-excerpt {
    text-align: left;
  }
  .news-article-meta {
    justify-content: center;
    text-align: center;
  }
  .news-article-body h2 {
    font-size: 1.15rem;
  }
}

/* Tighten gap between page header and news article content */
.page-header + .content-section:has(.news-article-wrap) {
  padding-top: 40px;
}

/* --- News Article Slideshow --- */
.news-slideshow {
  margin-bottom: 1.5rem;
}
.news-slideshow-main {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #111;
}
.news-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.news-slide.active {
  opacity: 1;
}
.news-slideshow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  border: none;
  font-size: 1.75rem;
  font-weight: bold;
  line-height: 1;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.news-slideshow-btn:hover {
  background: var(--red);
}
.news-slideshow-prev { left: 0.75rem; }
.news-slideshow-next { right: 0.75rem; }
.news-slideshow-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}
.news-thumb {
  flex: 0 0 auto;
  width: 72px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s, border-color 0.2s;
  background: none;
}
.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-thumb:hover {
  opacity: 0.85;
}
.news-thumb.active {
  opacity: 1;
  border-color: var(--red);
}
@media (max-width: 600px) {
  .news-slideshow-btn {
    font-size: 1.5rem;
    padding: 0.2rem 0.5rem;
  }
  .news-thumb {
    width: 56px;
    height: 38px;
  }
}
