/* vadistis.gr — athletic homepage theme
   Design tokens from the 2026-07 "Professional athletic page" handoff.
   Scoped to the homepage; interior pages still use styles.css. */

:root {
  --bg: #0B0D11;
  --surface: #0F1218;
  --surface-hover: #12161E;
  --line: #1C2028;
  --line-input: #2A3040;
  --text: #E9ECF1;
  --text-2: #9AA3B2;
  --muted: #5A6272;
  --accent: #4DA3FF;
  --accent-ink: #0B0D11;
  /* Anton/Barlow have no Greek glyphs — Roboto Condensed carries EL text */
  --font-display: 'Anton', 'Roboto Condensed', sans-serif;
  --font-cond: 'Barlow Condensed', 'Roboto Condensed', sans-serif;
  --font-body: 'Barlow', 'Roboto Condensed', 'Segoe UI', sans-serif;
  color-scheme: dark;
}

/* Anton has no Greek — on EL pages the display font becomes Roboto Condensed,
   bold, so Greek headings keep the heavy athletic weight. Latin brand marks
   (SALTIS wordmark, podcast badges) stay pinned to Anton below. */
html[lang="el"] { --font-display: 'Roboto Condensed', 'Barlow Condensed', sans-serif; }
html[lang="el"] .hero-title,
html[lang="el"] .section-head h2,
html[lang="el"] .band h2,
html[lang="el"] .cta-section h2,
html[lang="el"] .stat-value,
html[lang="el"] .marquee-track,
html[lang="el"] .ach-year { font-weight: 700; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.home {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: #6FB7FF; text-decoration: none; }
a:hover { color: #A9D4FF; }
::selection { background: #2A6FDB; color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

h1, h2, h3 { margin: 0; }

section { scroll-margin-top: 84px; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Buttons ---------- */
.btn-accent, .btn-outline {
  display: inline-block;
  font-family: var(--font-cond);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 2px;
  padding: 12px 24px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.btn-accent {
  color: var(--accent-ink);
  background: var(--accent);
  border: none;
}
.btn-accent:hover { background: #FFFFFF; color: var(--accent-ink); }
.btn-outline {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line-input);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { font-size: 16px; padding: 16px 36px; }
.btn-outline.btn-lg { padding: 15px 36px; }
.btn-xl { font-size: 17px; letter-spacing: 3px; padding: 18px 48px; }

/* ---------- Nav ---------- */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 48px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(11, 13, 17, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  z-index: 50;
}
.nav-brand { display: flex; align-items: baseline; gap: 10px; color: inherit; }
.nav-brand:hover { color: inherit; }
.brand-name { font-family: 'Anton', sans-serif; font-size: 20px; letter-spacing: 1px; color: #FFFFFF; }
.brand-tag {
  font-family: var(--font-cond);
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-family: var(--font-cond);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.nav-links > a { color: var(--text-2); }
.nav-links > a:hover { color: #FFFFFF; }
.nav-langs { display: flex; align-items: center; gap: 10px; }
.nav-langs a { color: var(--muted); font-size: 13px; letter-spacing: 1px; }
.nav-langs a:hover { color: #FFFFFF; }
.nav-langs a.active { color: var(--accent); border-bottom: 2px solid var(--accent); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-cta { font-size: 14px; padding: 10px 22px; white-space: nowrap; }
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--line-input);
  border-radius: 2px;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 82vh;
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  padding: 72px 48px 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  position: relative;
  z-index: 2;
}
.hero-eyebrow { display: flex; align-items: center; gap: 14px; }
.eyebrow-rule { width: 40px; height: 2px; background: var(--accent); flex: none; }
.hero-eyebrow span:last-child {
  font-family: var(--font-cond);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(64px, 9vw, 132px);
  line-height: 0.92;
  color: #FFFFFF;
  text-transform: uppercase;
  animation: riseIn 0.7s ease both;
}
.hero-title .outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
}
.hero-desc { font-size: 19px; line-height: 1.6; color: var(--text-2); max-width: 480px; margin: 0; }
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-photo { position: relative; overflow: hidden; }
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(30%) contrast(1.08);
}
.hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(11, 13, 17, 0) 40%);
}
.hero-stats {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(11, 13, 17, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: 2px solid var(--accent);
}
.stat { padding: 22px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat-value { font-family: var(--font-display); font-size: 34px; color: #FFFFFF; }
.stat-label {
  font-family: var(--font-cond);
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-2);
  margin-top: 4px;
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--accent);
  padding: 12px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-ink);
  white-space: nowrap;
}
.marquee-track span { padding-right: 48px; }

/* ---------- Sections ---------- */
.section { padding: 96px 48px; max-width: 1280px; margin: 0 auto; }
.section-tight { padding-top: 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  gap: 24px;
  flex-wrap: wrap;
}
.eyebrow {
  font-family: var(--font-cond);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-head h2, .band h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 56px);
  color: #FFFFFF;
  text-transform: uppercase;
  line-height: 1;
}
.head-link {
  font-family: var(--font-cond);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
}
.head-link:hover { color: #FFFFFF; border-bottom-color: #FFFFFF; }

/* ---------- Achievements ---------- */
.ach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.ach-card {
  background: var(--surface);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.2s ease;
}
.ach-card:hover { background: var(--surface-hover); }
.ach-top { display: flex; align-items: center; justify-content: space-between; }
.ach-year {
  font-family: var(--font-display);
  font-size: 44px;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line-input);
}
.ach-tag {
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 4px 12px;
  border-radius: 2px;
}
.ach-card h3 {
  font-family: var(--font-cond);
  font-size: 26px;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  line-height: 1.15;
}
.ach-card p { font-size: 15px; line-height: 1.55; color: var(--text-2); margin: 0; }

/* ---------- Gallery ---------- */
.home-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
}
.home-gallery .tile { overflow: hidden; position: relative; background: var(--surface-hover); }
.home-gallery .tile.s2 { grid-column: span 2; }
.home-gallery .tile.r2 { grid-row: span 2; }
.home-gallery .tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: transform 0.5s ease, filter 0.5s ease;
  cursor: pointer;
  display: block;
}
.home-gallery .tile:hover img { transform: scale(1.04); filter: grayscale(0%); }

/* ---------- Bands (podcasts / contact) ---------- */
.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.band-inner { max-width: 1280px; margin: 0 auto; padding: 80px 48px; }
.band-text { font-size: 16px; line-height: 1.6; color: var(--text-2); margin: 16px 0 0 0; }
.podcasts-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.pod-list { display: flex; flex-direction: column; gap: 16px; }
.pod-row {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 18px 24px;
  border-radius: 2px;
}
.pod-lang {
  font-family: 'Anton', sans-serif;
  font-size: 15px;
  letter-spacing: 2px;
  color: var(--accent);
  min-width: 36px;
}
.pod-row audio { flex: 1; height: 38px; min-width: 0; max-width: 100%; }

/* ---------- Sponsor CTA ---------- */
.cta-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 110px 48px;
  text-align: center;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 6vw, 88px);
  margin: 0 0 20px 0;
  text-transform: uppercase;
  line-height: 0.95;
  color: #FFFFFF;
}
.cta-section h2 .accent { color: var(--accent); }
.cta-section p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto 36px auto;
}

/* ---------- Contact ---------- */
#contact.band { border-bottom: none; }
.band-inner.contact-grid { padding: 88px 48px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info .band-text { margin: 0; }
.social-row { display: flex; gap: 16px; flex-wrap: wrap; }
.social-row .btn-outline { padding: 12px 24px; }
#contact-form { display: flex; flex-direction: column; gap: 16px; }
#contact-form input,
#contact-form textarea {
  background: var(--bg);
  border: 1px solid var(--line-input);
  color: var(--text);
  padding: 16px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  border-radius: 2px;
  outline: none;
  resize: vertical;
  width: 100%;
}
#contact-form input:focus,
#contact-form textarea:focus { border-color: var(--accent); }
#contact-form input::placeholder,
#contact-form textarea::placeholder { color: var(--muted); }
#contact-form button {
  font-size: 16px;
  letter-spacing: 3px;
  padding: 16px;
  width: 100%;
}
#form-status {
  font-family: var(--font-cond);
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  min-height: 20px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-brand { font-family: 'Anton', sans-serif; font-size: 16px; letter-spacing: 1px; color: #FFFFFF; }
.footer-brand .accent { color: var(--accent); }
.footer-copy {
  font-family: var(--font-cond);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Interior pages ---------- */
.page-hero {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 48px 56px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.page-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 6.5vw, 88px);
  line-height: 0.95;
  color: #FFFFFF;
  text-transform: uppercase;
  animation: riseIn 0.7s ease both;
}
html[lang="el"] .page-title { font-weight: 700; }
.back-link {
  display: inline-block;
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 32px;
}
.back-link:hover { color: var(--accent); }
.prose { max-width: 860px; }
.prose-section { margin-bottom: 48px; }
.prose-section h2 {
  font-family: var(--font-cond);
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  color: #FFFFFF;
  line-height: 1.15;
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin: 0 0 18px 0;
}
.prose-section > p { font-size: 16px; line-height: 1.7; color: var(--text-2); margin: 0 0 14px 0; }
.prose-section .ach-card h3 { font-size: 22px; }
.prose-link-row { margin-top: 28px; }
/* Masonry: aspect-ratios preserved, no cropping. width/height attrs on the
   imgs reserve space so lazy loads don't reflow the columns. */
.gallery-masonry {
  column-count: 4;
  column-gap: 12px;
}
.gallery-masonry .tile {
  break-inside: avoid;
  margin: 0 0 12px 0;
  overflow: hidden;
  position: relative;
  background: var(--surface-hover);
  cursor: pointer;
}
.gallery-masonry .tile img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
}
.gallery-masonry .tile::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 0 var(--accent);
  transition: box-shadow 0.25s ease;
  pointer-events: none;
}
.gallery-masonry .tile:hover img { transform: scale(1.04); }
.gallery-masonry .tile:hover::after { box-shadow: inset 0 0 0 2px var(--accent); }

@media (max-width: 1024px) { .gallery-masonry { column-count: 3; } }
@media (max-width: 700px)  { .gallery-masonry { column-count: 2; column-gap: 8px; } }
@media (max-width: 700px)  { .gallery-masonry .tile { margin-bottom: 8px; } }

/* Honeypot: visually removed, still in the DOM for bots to find */
.hp-wrap {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Lightbox modal (dark) ---------- */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(11, 13, 17, 0.94);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal.show { opacity: 1; }
.modal-content {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  border: 1px solid var(--line);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 24px;
  width: 44px;
  height: 44px;
  font-size: 34px;
  line-height: 1;
  color: #FFFFFF;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 102;
}
.modal-close:hover { color: var(--accent); }
.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  line-height: 1;
  color: #FFFFFF;
  background: rgba(11, 13, 17, 0.55);
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  z-index: 102;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.modal-nav:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.modal-prev { left: 20px; }
.modal-next { right: 20px; }
.modal-counter {
  position: absolute;
  top: 22px;
  left: 24px;
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-2);
  z-index: 102;
}
#modalCaption {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--text-2);
  font-family: var(--font-cond);
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0 88px;
}
@media (max-width: 640px) {
  .modal-nav { width: 44px; height: 44px; font-size: 30px; }
  .modal-prev { left: 8px; }
  .modal-next { right: 8px; }
  .modal-content { max-width: 94vw; }
  #modalCaption { padding: 0 16px; bottom: 16px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav-links { gap: 22px; }
  .contact-grid { gap: 48px; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 64px 24px 48px 24px; }
  .hero-photo { min-height: 62vw; }
  .hero-photo img { position: absolute; }
  /* minmax(0,…) lets the single column shrink below the <audio> element's
     ~300px intrinsic min-width instead of overflowing the viewport. */
  .podcasts-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .home-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .section { padding: 72px 24px; }
  .section-tight { padding-top: 0; }
  .band-inner, .band-inner.contact-grid { padding: 64px 24px; }
  .cta-section { padding: 88px 24px; }
  .site-footer { padding: 24px; }
}

@media (max-width: 1100px) {
  /* Collapse to burger while Greek nav labels still fit on one line */
  .site-nav { padding: 14px 20px; }
  .nav-burger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(11, 13, 17, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links > a { display: block; width: 100%; padding: 14px 24px; }
  .nav-langs { padding: 14px 24px; gap: 18px; }
}

@media (max-width: 640px) {
  .hero-title { font-size: clamp(44px, 13.5vw, 64px); }
  .hero-desc { font-size: 17px; }
  .stat { padding: 14px 12px; }
  .stat-value { font-size: 22px; }
  .stat-label { font-size: 10px; letter-spacing: 1.5px; }
  .marquee-track { font-size: 15px; letter-spacing: 2px; }
  .ach-grid { grid-template-columns: 1fr; }
  .ach-card { padding: 28px 22px; }
  .home-gallery { grid-auto-rows: 140px; gap: 8px; }
  .page-hero-inner { padding: 48px 24px 40px; }
  .prose-section h2 { font-size: 22px; }
  .pod-row { padding: 12px 14px; gap: 12px; }
  .btn-lg { font-size: 15px; padding: 14px 24px; }
  .btn-outline.btn-lg { padding: 13px 24px; }
  .btn-xl { font-size: 16px; padding: 16px 32px; }
}

@media (max-width: 460px) {
  .brand-tag { display: none; }
  .nav-cta { font-size: 12px; padding: 8px 12px; letter-spacing: 1.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .hero-title { animation: none; }
  .home-gallery .tile img { transition: none; }
}

/* ---- Personal bests table ---- */
.pb-table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--surface); }
.pb-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.pb-table th {
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-align: left;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}
.pb-table td { padding: 18px 20px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--text-2); }
.pb-table tbody tr:last-child td { border-bottom: none; }
.pb-table tbody tr:hover { background: var(--surface-hover); }
.pb-table .pb-event { color: var(--text); font-weight: 600; }
.pb-table .pb-time { font-family: var(--font-display); font-size: 24px; color: var(--accent); letter-spacing: 0.02em; white-space: nowrap; }

/* ---- News cards ---- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-grid-page { grid-template-columns: repeat(3, 1fr); }
.news-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color .2s ease, background .2s ease;
}
.news-card:hover { border-color: var(--accent); background: var(--surface-hover); }
.news-thumb { aspect-ratio: 16 / 10; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.news-card:hover .news-thumb img { transform: scale(1.04); }
.news-body { padding: 18px 20px 22px; }
.news-meta { display: flex; align-items: center; gap: 8px; font-family: var(--font-cond); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; flex-wrap: wrap; }
.news-meta .news-result { color: var(--accent); font-weight: 700; }
.news-body h2, .news-body h3 { font-family: var(--font-cond); font-size: 21px; font-weight: 600; line-height: 1.25; margin: 0; color: var(--text); }
@media (max-width: 900px) { .news-grid, .news-grid-page { grid-template-columns: 1fr; } }

/* ---- News post page ---- */
.post-section { max-width: 860px; }
.post-title { max-width: 900px; }
.post-facts { display: flex; flex-wrap: wrap; gap: 12px 40px; border: 1px solid var(--line); background: var(--surface); padding: 18px 24px; margin: 24px 0; }
.post-fact { display: flex; flex-direction: column; gap: 4px; }
.post-fact-label { font-family: var(--font-cond); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.post-fact-time { font-family: var(--font-display); color: var(--accent); font-size: 22px; }
.post-photo { margin: 0 0 28px 0; }
.post-photo img { width: 100%; height: auto; display: block; }
.post-body { font-size: 17px; line-height: 1.75; color: var(--text-2); }
.post-body p { margin: 0 0 20px 0; }

/* ---- Next-race banner + calendar ---- */
.race-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 24px;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-family: var(--font-cond);
  font-size: 16px;
  letter-spacing: .03em;
}
.race-banner:hover { filter: brightness(1.08); }
.race-banner-label { font-weight: 700; text-transform: uppercase; }
.cal-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cal-toolbar .back-link { margin-bottom: 0; }
.cal-heading { font-family: var(--font-cond); font-size: 26px; font-weight: 600; margin: 40px 0 16px; color: var(--text); }
.cal-empty { color: var(--muted); border: 1px dashed var(--line-input); padding: 24px; }
.pb-table .cal-time { font-size: 18px; }

.site-footer .footer-press { color: var(--text-2); text-decoration: none; font-size: 14px; }
.site-footer .footer-press:hover { color: var(--accent); }

/* ---- Road to LA 2028 timeline ---- */
.journey-sub { color: var(--text-2); font-size: 18px; max-width: 640px; margin: 16px 0 0; line-height: 1.6; }
.journey-section { max-width: 900px; }
.timeline { position: relative; padding-left: 130px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 96px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line-input);
}
.tl-item { position: relative; padding: 0 0 44px 40px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-marker {
  position: absolute;
  left: -41px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--muted);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tl-accent .tl-marker { border-color: var(--accent); }
.tl-accent .tl-marker span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.tl-year {
  position: absolute;
  left: -130px;
  top: 0;
  width: 76px;
  text-align: right;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--muted);
  letter-spacing: .02em;
}
.tl-accent .tl-year { color: var(--accent); }
.tl-card h3 { font-family: var(--font-cond); font-size: 22px; font-weight: 600; margin: 0 0 8px; color: var(--text); }
.tl-card p { margin: 0; color: var(--text-2); line-height: 1.65; max-width: 560px; }
.tl-accent .tl-card { border-left: 3px solid var(--accent); padding-left: 18px; margin-left: -21px; }
@media (max-width: 640px) {
  .timeline { padding-left: 34px; }
  .timeline::before { left: 7px; }
  .tl-marker { left: -34px; }
  .tl-year { position: static; width: auto; text-align: left; margin-bottom: 4px; font-size: 19px; }
  .tl-item { padding-left: 12px; }
}

/* ---- Mini news tease (homepage): 3-up grid with short wide thumbs.
   Placed after the .news-grid 900px collapse rule on purpose — the mini
   grid stays 3 columns down to 640px. ---- */
.news-grid-mini { grid-template-columns: repeat(3, 1fr); }
.news-card-mini .news-thumb-mini { aspect-ratio: 5 / 2; overflow: hidden; }
.news-card-mini .news-thumb-mini img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.news-card-mini:hover .news-thumb-mini img { transform: scale(1.04); }
.news-card-mini .news-body { padding: 14px 16px 18px; }
.news-card-mini .news-meta { font-size: 13px; margin-bottom: 8px; }
.news-card-mini h3 { font-size: 17px; }
@media (max-width: 640px) { .news-grid-mini { grid-template-columns: 1fr; } }
