:root {
  --ink: #11101e;
  --ink-soft: #25233b;
  --paper: #f7f4ec;
  --white: #ffffff;
  --lime: #c8ff38;
  --orange: #ff5b2e;
  --violet: #7c3cff;
  --muted: #666276;
  --line: rgba(17, 16, 30, 0.14);
  --container: 1180px;
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; scrollbar-gutter: stable; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.6;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 16px; background: var(--white); }

.site-header {
  position: fixed; z-index: 20; inset: 0 0 auto;
  color: var(--white); background: rgba(17, 16, 30, 0.72);
  border-bottom: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(16px);
}
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; line-height: 1; }
.brand-logo { display: block; width: 58px; height: 58px; flex-shrink: 0; object-fit: contain; border-radius: 50%; }
.brand strong, .brand small { display: block; letter-spacing: .08em; }
.brand strong { font-family: "Oswald", sans-serif; font-size: 1.08rem; }
.brand small { margin-top: 4px; color: var(--lime); font-size: .72rem; font-weight: 800; letter-spacing: .34em; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: .9rem; font-weight: 700; }
.main-nav > a:not(.button) { opacity: .82; }
.main-nav > a:not(.button):hover, .main-nav > a:not(.button):focus-visible { opacity: 1; color: var(--lime); }
.main-nav > a.active:not(.button) { color: var(--lime); opacity: 1; }
.menu-button { display: none; width: 44px; height: 44px; padding: 10px; background: none; border: 0; }
.menu-button span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--white); }

.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 25px;
  color: var(--ink); background: var(--lime); border: 1px solid var(--lime); border-radius: 999px;
  font-weight: 800; transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(200,255,56,.18); }
.button-small { min-height: 42px; padding-inline: 18px; }
.button-light { background: var(--white); border-color: var(--white); }

.hero {
  position: relative; min-height: 780px; overflow: hidden; color: var(--white); background: var(--ink);
  display: flex; align-items: center; padding: 140px 0 88px;
}
.hero-grid {
  position: absolute; inset: 0; opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 64px 64px; transform: perspective(600px) rotateX(58deg) scale(1.4) translateY(18%);
  transform-origin: bottom;
}
.hero::after {
  content: ""; position: absolute; width: 38vw; height: 100%; right: 8%; top: 5%; opacity: .12;
  background: repeating-linear-gradient(104deg, transparent 0 28px, var(--lime) 30px 34px);
  transform: skewX(-10deg);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .32; }
.hero-glow-one { width: 360px; height: 360px; background: var(--violet); top: 10%; right: 10%; }
.hero-glow-two { width: 260px; height: 260px; background: var(--orange); bottom: 8%; left: -5%; }
.hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; align-items: center; gap: 40px; }
.eyebrow { margin: 0 0 18px; color: var(--lime); font-size: .78rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow.dark { color: #6840cc; }
h1, h2, h3 { margin-top: 0; font-family: "Oswald", sans-serif; line-height: 1.04; text-transform: uppercase; text-wrap: balance; }
h1 { max-width: 820px; margin-bottom: 28px; font-size: clamp(4.2rem, 7.8vw, 7.1rem); letter-spacing: -.045em; }
h1 span { color: transparent; -webkit-text-stroke: 2px var(--lime); }
h2 { margin-bottom: 24px; font-size: clamp(3rem, 5.5vw, 5.4rem); letter-spacing: -.035em; }
h3 { font-size: 1.8rem; }
.hero-copy { max-width: 980px; margin-inline: auto; text-align: center; }
.hero-copy h1 { margin-inline: auto; }
.hero-lead { max-width: 630px; margin: 0 auto 34px; color: rgba(255,255,255,.76); font-size: 1.12rem; }
.hero-location { width: 100%; text-align: center; }
.hero-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 26px; }
.hero-cta { min-width: 190px; box-shadow: 0 0 32px rgba(200,255,56,.18); }
.text-link { font-weight: 800; }
.text-link span { color: var(--lime); font-size: 1.3rem; }
.event-card {
  width: min(100%, 1080px); margin-inline: auto; padding: 24px;
  display: grid; grid-template-columns: 1.15fr 1fr 1.2fr; align-items: center; gap: 20px;
  border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius);
  background: linear-gradient(110deg, rgba(255,255,255,.1), rgba(255,255,255,.04));
  box-shadow: 0 28px 80px rgba(0,0,0,.34); backdrop-filter: blur(18px);
}
.event-overview { padding: 0 8px; text-align: left; }
.event-card-label { margin: 0 0 7px; color: var(--lime); font-size: .76rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.event-date { margin: 0; font-family: "Oswald", sans-serif; font-size: clamp(1.7rem, 2.3vw, 2.15rem); line-height: 1.1; text-transform: uppercase; }
.event-meta { display: grid; align-content: center; gap: 16px; padding: 8px 20px; border-inline: 1px solid rgba(255,255,255,.14); }
.event-meta div { display: grid; gap: 2px; }
.event-meta span { color: rgba(255,255,255,.58); font-size: .86rem; }
.event-meta strong { font-size: .94rem; line-height: 1.4; }
.countdown {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin-top: 0; padding: 32px 8px 8px; text-align: center;
  border: 1px solid rgba(200,255,56,.28); border-radius: 20px;
  background: rgba(200,255,56,.08); box-shadow: 0 0 36px rgba(200,255,56,.12);
}
.countdown-heading {
  position: absolute; inset: 10px 0 auto; margin: 0; color: var(--lime);
  font-size: .7rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
}
.countdown div { min-width: 0; padding: 14px 4px; border-radius: 14px; background: rgba(0,0,0,.34); }
.countdown strong, .countdown span { display: block; }
.countdown strong { color: var(--lime); font-family: "Oswald", sans-serif; font-size: clamp(1.8rem, 2.5vw, 2.6rem); font-variant-numeric: tabular-nums; line-height: 1; text-shadow: 0 0 20px rgba(200,255,56,.3); }
.countdown span { margin-top: 7px; color: rgba(255,255,255,.58); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.runner-line {
  position: absolute; z-index: 3; bottom: 0; left: 50%; width: max-content;
  padding: 8px 24px; color: var(--ink); background: var(--lime);
  font-family: "Oswald", sans-serif; font-size: 1.1rem; font-weight: 700;
  letter-spacing: .12em; text-align: center; white-space: nowrap;
  transform: translateX(-50%) translateY(7px) rotate(-1deg);
  transform-origin: center;
}

.section { padding: 88px 0; }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.intro-copy { padding-top: 0; color: var(--muted); }
.large-copy { color: var(--ink); font-size: 1.38rem; font-weight: 700; line-height: 1.5; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 44px; border-block: 1px solid var(--line); }
.stats article { padding: 32px; text-align: center; border-right: 1px solid var(--line); }
.stats article:last-child { border-right: 0; }
.stats strong, .stats span { display: block; }
.stats strong { font-family: "Oswald", sans-serif; font-size: 3.4rem; line-height: 1; }
.stats span { margin-top: 8px; color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.route-section { color: var(--white); background: var(--ink); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 420px; margin: 0; color: rgba(255,255,255,.58); }
.route-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.route-card { position: relative; overflow: hidden; min-height: 360px; padding: 44px; border-radius: var(--radius); }
.route-card::after { content: ""; position: absolute; width: 240px; height: 240px; right: -90px; bottom: -100px; border: 32px solid rgba(255,255,255,.13); border-radius: 50%; }
.route-card-primary { color: var(--ink); background: var(--lime); }
.route-card-secondary { background: linear-gradient(135deg, var(--violet), #3e1a96); }
.route-number { font-family: "Oswald", sans-serif; font-size: 7.8rem; font-weight: 700; line-height: .9; letter-spacing: -.06em; }
.route-number span { font-size: .42em; }
.route-card h3 { margin: 28px 0 14px; }
.route-card p { max-width: 470px; }
.route-card ul { position: relative; z-index: 1; margin: 26px 0 0; padding: 0; list-style: none; }
.route-card li { padding: 8px 0; border-bottom: 1px solid currentColor; border-color: rgba(17,16,30,.18); font-weight: 700; }
.route-card-secondary li { border-color: rgba(255,255,255,.2); }

.dark-heading > p { color: var(--muted); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { display: flex; flex-direction: column; min-height: 290px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.4); transition: transform .2s ease, border-color .2s ease; }
.news-card:hover { border-color: var(--violet); }
.news-date { margin: 0 0 44px; color: #6840cc; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.news-card h3 { margin-bottom: 16px; font-size: 1.7rem; line-height: 1.1; }
.news-card p { color: var(--muted); }
.news-card .text-link { margin-top: auto; }
.loading-message { color: var(--muted); }
.event-detail-card { min-height: 185px; border-top: 3px solid var(--violet); }
.event-detail-card .news-date { margin-bottom: 24px; }
.event-detail-card h3 { margin: auto 0 0; }

.registration-section { padding-top: 20px; }
.registration-card { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 52px; color: var(--ink); background: linear-gradient(120deg, var(--orange), #ff3158); border-radius: 30px; }
.registration-card h2 { margin-bottom: 20px; }
.registration-card p:not(.eyebrow) { max-width: 580px; margin-bottom: 0; color: var(--ink); }
.registration-card .eyebrow { color: var(--ink); }
.registration-status {
  flex: 0 0 auto; padding: 15px 24px; color: var(--ink); background: var(--white);
  border: 0; border-radius: 999px; cursor: pointer; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
}
.registration-status:hover, .registration-status:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(17,16,30,.16); }
.rules-section { padding-bottom: 70px; }
.rules-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.rules-copy { color: var(--muted); }
.rules-copy .large-copy { margin-top: 0; color: var(--ink); }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { position: relative; padding: 24px 40px 24px 0; cursor: pointer; font-weight: 800; list-style: none; }
.accordion summary::after { content: "+"; position: absolute; right: 4px; color: var(--violet); font-size: 1.5rem; }
.accordion details[open] summary::after { content: "−"; }
.accordion details p { margin: 0; padding: 0 40px 24px 0; color: var(--muted); }
.closing-section { padding-top: 35px; text-align: center; }
.closing-copy { max-width: 920px; }
.closing-copy h2 { margin-inline: auto; font-size: clamp(2.6rem, 5vw, 4.8rem); }

.site-footer { padding: 45px 0; color: rgba(255,255,255,.65); background: #090812; font-size: .85rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.5fr 1fr; align-items: center; gap: 30px; }
.footer-grid p:last-child { text-align: right; }

.gallery-hero {
  position: relative; min-height: 390px; overflow: hidden; display: flex; align-items: center;
  padding: 135px 0 70px; color: var(--white);
  background: linear-gradient(135deg, #11101e, #21183d);
}
.gallery-hero-content { position: relative; z-index: 2; text-align: center; }
.gallery-hero-content h1 {
  max-width: none; margin: 0 auto 20px; color: var(--white);
  font-size: clamp(3.2rem, 7vw, 6rem); letter-spacing: -.035em;
}
.gallery-hero-content > p:last-child { max-width: 650px; margin: 0 auto; color: rgba(255,255,255,.7); font-size: 1.1rem; }
.gallery-heading { align-items: end; }
.gallery-tools {
  display: grid; grid-template-columns: minmax(300px, 1fr) auto; align-items: end; gap: 32px;
  margin-bottom: 24px; padding: 28px; border: 1px solid var(--line); border-radius: 22px;
  background: rgba(255,255,255,.48);
}
.participant-search label { display: block; margin-bottom: 10px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.participant-search > p { margin: 9px 0 0; color: var(--muted); font-size: .75rem; }
.search-field { position: relative; max-width: 560px; }
.search-field > span { position: absolute; top: 50%; left: 16px; color: var(--violet); font-size: 1.5rem; transform: translateY(-52%); }
.search-field input {
  width: 100%; height: 54px; padding: 0 86px 0 48px; color: var(--ink); background: var(--white);
  border: 1px solid var(--line); border-radius: 999px; font: inherit; outline: none;
}
.search-field input:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(124,60,255,.1); }
.search-field button {
  position: absolute; top: 50%; right: 8px; min-height: 44px; padding: 8px 12px; cursor: pointer; color: var(--muted);
  background: transparent; border: 0; font-size: .72rem; font-weight: 800; transform: translateY(-50%);
}
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.gallery-filters button {
  min-height: 44px; padding: 0 16px; cursor: pointer; color: var(--ink); background: transparent;
  border: 1px solid var(--line); border-radius: 999px; font-weight: 700;
}
.gallery-filters button:hover, .gallery-filters button:focus-visible, .gallery-filters button.active {
  color: var(--white); background: var(--ink); border-color: var(--ink);
}
.gallery-results-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; color: var(--muted); font-size: .78rem; }
.gallery-results-bar p { margin: 0; }
.gallery-result-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 14px; }
.demo-label { display: inline-flex; align-items: center; gap: 7px; }
.demo-label span { width: 8px; height: 8px; background: var(--orange); border-radius: 50%; }
.download-group, .photo-download {
  cursor: pointer; border: 0; border-radius: 999px; font: inherit; font-weight: 800;
}
.download-group { padding: 10px 16px; color: var(--white); background: var(--violet); }
.download-group:disabled { cursor: not-allowed; opacity: .45; }
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; min-height: 240px; }
.photo-card {
  position: relative; overflow: hidden; aspect-ratio: 4 / 3; min-height: 0;
  border-radius: 18px; background: var(--ink);
}
.photo-open { display: block; width: 100%; height: 100%; padding: 0; cursor: zoom-in; border: 0; background: transparent; }
.photo-open img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, opacity .35s ease; }
.photo-open:hover img, .photo-open:focus-visible img { opacity: .82; transform: scale(1.035); }
.photo-caption {
  position: absolute; inset: auto 0 0; padding: 36px 18px 16px; color: var(--white);
  background: linear-gradient(transparent, rgba(0,0,0,.82)); font-size: .84rem; font-weight: 700;
  pointer-events: none;
}
.photo-demo-badge {
  position: absolute; z-index: 2; top: 14px; left: 14px; padding: 7px 10px; color: var(--ink);
  background: var(--lime); border-radius: 999px; font-size: .72rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
}
.photo-download {
  position: absolute; z-index: 3; top: 12px; right: 12px; padding: 9px 12px;
  color: var(--white); background: rgba(17,16,30,.82); backdrop-filter: blur(8px);
}
.photo-download:hover, .photo-download:focus-visible { color: var(--ink); background: var(--lime); }
.gallery-loading, .gallery-empty { grid-column: 1 / -1; align-self: center; justify-self: center; text-align: center; }
.gallery-loading { color: var(--muted); }
.gallery-spinner {
  display: inline-block; width: 42px; height: 42px; border: 4px solid rgba(124,60,255,.16);
  border-top-color: var(--violet); border-radius: 50%; animation: gallery-spin .8s linear infinite;
}
.gallery-empty { max-width: 600px; padding: 50px 28px; border: 1px solid var(--line); border-radius: 24px; }
.gallery-empty > span {
  display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 25px;
  color: var(--ink); background: var(--paper); border-radius: 50%;
}
.gallery-empty h3 { margin-bottom: 12px; }
.gallery-empty p { margin: 0; color: var(--muted); }
.gallery-sentinel { height: 1px; }
.gallery-load-status { min-height: 24px; margin: 20px 0 0; color: var(--muted); text-align: center; font-size: .8rem; }
.lightbox {
  width: min(94vw, 1200px); height: min(90vh, 850px); padding: 0; overflow: visible;
  border: 0; border-radius: 20px; color: var(--white); background: #080710;
}
.lightbox::backdrop { background: rgba(5,4,10,.9); backdrop-filter: blur(8px); }
.lightbox figure { display: flex; width: 100%; height: 100%; margin: 0; align-items: center; justify-content: center; flex-direction: column; }
.lightbox img { display: block; max-width: 100%; max-height: calc(100% - 54px); object-fit: contain; }
.lightbox figcaption { width: 100%; padding: 14px 20px; text-align: center; color: rgba(255,255,255,.72); }
.lightbox-close, .lightbox-nav {
  position: absolute; z-index: 2; display: grid; place-items: center; cursor: pointer;
  color: var(--white); background: rgba(17,16,30,.78); border: 1px solid rgba(255,255,255,.18); border-radius: 50%;
}
.lightbox-close { width: 44px; height: 44px; top: 14px; right: 14px; font-size: 1.7rem; }
.lightbox-nav { width: 50px; height: 50px; top: 50%; font-size: 2.4rem; transform: translateY(-50%); }
.lightbox-prev { left: 14px; }
.lightbox-next { right: 14px; }
@keyframes gallery-spin { to { transform: rotate(360deg); } }

.results-hero {
  min-height: 390px; display: flex; align-items: center; padding: 135px 0 70px;
  color: var(--white); background: linear-gradient(135deg, #11101e, #21183d);
}
.results-hero-content { text-align: center; }
.results-hero-content h1 {
  max-width: none; margin: 0 auto 20px; font-size: clamp(3.4rem, 8vw, 6.5rem);
  letter-spacing: -.04em;
}
.results-hero-content > p:last-child { margin: 0; color: rgba(255,255,255,.7); font-size: 1.1rem; }
.results-intro { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 44px; }
.results-intro h2 { margin-bottom: 0; }
.demo-results-notice {
  max-width: 390px; padding: 18px 20px; border-left: 4px solid var(--orange);
  background: rgba(255,91,46,.08); border-radius: 0 14px 14px 0;
}
.demo-results-notice strong, .demo-results-notice span { display: block; }
.demo-results-notice strong { margin-bottom: 3px; color: #a82e0d; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.demo-results-notice span { color: var(--muted); font-size: .83rem; }
.result-summary { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 28px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.46); }
.result-summary article { padding: 24px; border-right: 1px solid var(--line); }
.result-summary article:last-child { border-right: 0; }
.result-summary span, .result-summary strong { display: block; }
.result-summary span { margin-bottom: 8px; color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.result-summary strong { font-variant-numeric: tabular-nums; font-family: "Oswald", sans-serif; font-size: 1.65rem; }
.results-toolbar {
  display: flex; align-items: end; flex-wrap: wrap; gap: 14px; margin-bottom: 18px;
}
.results-toolbar label { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.results-toolbar select {
  display: block; min-width: 160px; height: 44px; margin-top: 7px; padding: 0 36px 0 13px;
  color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 10px; font: inherit;
}
.results-toolbar button {
  min-height: 44px; margin-left: auto; padding: 0 18px; cursor: pointer;
  color: var(--white); background: var(--violet); border: 0; border-radius: 999px; font-weight: 800;
}
.results-table-card { overflow: hidden; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.results-table { white-space: nowrap; }
.results-table thead th { color: var(--muted); font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; }
.results-table tbody td { vertical-align: middle; font-size: .86rem; }
.result-bib { color: var(--violet); font-family: "Oswald", sans-serif; font-size: 1rem; letter-spacing: .05em; }
.result-time { color: var(--ink); font-family: "Oswald", sans-serif; font-size: 1rem; font-weight: 700; }
.result-status { display: inline-flex; padding: 5px 9px; border-radius: 999px; font-size: .66rem; font-weight: 800; text-transform: uppercase; }
.result-status-finished { color: #234c13; background: #dcf7cf; }
.result-status-dnf { color: #864416; background: #ffead8; }
.result-status-dns, .result-status-dsq { color: #6c6675; background: #ece9ef; }
.results-table-card div.dt-container .dt-search input,
.results-table-card div.dt-container .dt-length select {
  min-height: 40px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper);
}
.results-table-card div.dt-container .dt-paging .dt-paging-button {
  border: 0 !important; border-radius: 8px !important;
}
.results-table-card div.dt-container .dt-paging .dt-paging-button.current {
  color: var(--white) !important; background: var(--violet) !important;
}
.timing-notes { margin-top: 34px; padding: 30px; color: var(--white); background: var(--ink); border-radius: 20px; }
.timing-notes h3 { margin-bottom: 24px; font-size: 1.45rem; }
.timing-notes dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 36px; margin: 0; }
.timing-notes dl div { padding-top: 15px; border-top: 1px solid rgba(255,255,255,.14); }
.timing-notes dt { color: var(--lime); font-weight: 800; }
.timing-notes dd { margin: 5px 0 0; color: rgba(255,255,255,.66); font-size: .84rem; }

.registration-modal {
  width: min(calc(100% - 28px), 880px); max-height: 92vh; padding: 0; overflow: auto;
  color: var(--ink); background: var(--paper); border: 0; border-radius: 24px;
  box-shadow: 0 30px 100px rgba(0,0,0,.42);
}
.registration-modal::backdrop { background: rgba(7,6,15,.82); backdrop-filter: blur(7px); }
.registration-modal-header {
  position: sticky; z-index: 5; top: 0; display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px; padding: 28px 32px 22px; color: var(--white); background: var(--ink);
}
.registration-modal-header .eyebrow { margin-bottom: 5px; font-size: .68rem; }
.registration-modal-header h2 { margin: 0; font-size: clamp(1.5rem, 4vw, 2rem); }
.registration-modal-close {
  flex: 0 0 auto; width: 44px; height: 44px; cursor: pointer; color: var(--white);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 50%; font-size: 1.7rem;
}
.registration-form { display: grid; gap: 25px; padding: 28px 32px 34px; }
.registration-form fieldset { margin: 0; padding: 0; border: 0; }
.registration-form legend { width: 100%; margin-bottom: 16px; padding-bottom: 9px; border-bottom: 1px solid var(--line); font-weight: 800; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-field { display: grid; gap: 7px; }
.form-field-wide { grid-column: 1 / -1; }
.form-field > span { color: var(--ink-soft); font-size: .85rem; font-weight: 700; }
.form-field input, .form-field select {
  width: 100%; height: 48px; padding: 0 13px; color: var(--ink); background: var(--white);
  border: 1px solid var(--line); border-radius: 10px; font: inherit; outline: none;
}
.form-field input:focus, .form-field select:focus, .voucher-upload:focus-within {
  border-color: var(--violet); box-shadow: 0 0 0 4px rgba(124,60,255,.1);
}
.voucher-upload {
  display: grid; gap: 7px; padding: 20px; background: var(--white);
  border: 1px dashed rgba(124,60,255,.5); border-radius: 14px;
}
.voucher-upload > span, .voucher-upload > small { color: var(--muted); }
.voucher-upload > span { font-size: .82rem; }
.voucher-upload input { margin-top: 8px; }
.voucher-upload > small { font-size: .73rem; }
.form-consent { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 10px; color: var(--muted); font-size: .82rem; }
.form-consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--violet); }
.registration-form-status { margin: 0; padding: 15px 17px; border-radius: 12px; font-size: .84rem; }
.registration-form-status-info { color: #294f1b; background: #e3f7da; border: 1px solid #bce5aa; }
.registration-form-actions { display: flex; justify-content: flex-end; gap: 12px; padding-top: 5px; }
.registration-cancel { padding: 0 20px; cursor: pointer; color: var(--muted); background: transparent; border: 0; font-weight: 800; }
.whatsapp-float {
  position: fixed; z-index: 30; right: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 9px;
  min-height: 54px; padding: 0 18px 0 14px; color: var(--ink); background: #25d366;
  border-radius: 999px; box-shadow: 0 14px 36px rgba(0,0,0,.24); font-size: .85rem; font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover, .whatsapp-float:focus-visible { color: var(--ink); transform: translateY(-3px); box-shadow: 0 18px 42px rgba(0,0,0,.3); }
.whatsapp-float svg { width: 27px; height: 27px; fill: currentColor; }

@media (max-width: 1100px) and (min-width: 901px) {
  .main-nav { gap: 15px; font-size: .82rem; }
  .main-nav .button-small { padding-inline: 14px; }
}

@media (max-width: 1100px) {
  .menu-button { display: block; cursor: pointer; }
  .main-nav {
    position: fixed; inset: 82px 0 auto; display: none; align-items: stretch; padding: 28px 20px 36px;
    background: rgba(17,16,30,.98); flex-direction: column; text-align: center;
  }
  .main-nav.open { display: flex; }
}

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-content { grid-template-columns: 1fr; gap: 32px; }
  .event-card { max-width: 760px; grid-template-columns: 1fr 1fr; }
  .countdown { grid-column: 1 / -1; }
  .event-meta { border-right: 0; }
  .event-overview { padding: 8px; }
  .split-layout, .faq-layout, .rules-layout { grid-template-columns: 1fr; gap: 20px; }
  .route-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-tools { grid-template-columns: 1fr; align-items: start; }
  .gallery-filters { justify-content: flex-start; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .results-intro { align-items: flex-start; flex-direction: column; }
  .result-summary { grid-template-columns: repeat(2, 1fr); }
  .result-summary article:nth-child(2) { border-right: 0; }
  .result-summary article:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .timing-notes dl { grid-template-columns: 1fr; }
  .registration-card { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .nav-wrap { min-height: 72px; }
  .main-nav { inset-block-start: 72px; }
  .hero { padding: 112px 0 65px; }
  h1 { font-size: clamp(2.7rem, 14.2vw, 5rem); }
  h1 span { -webkit-text-stroke-width: 1px; }
  .event-card { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .event-overview { text-align: center; padding: 0; }
  .event-meta { grid-template-columns: 1fr 1fr; border: 0; border-top: 1px solid rgba(255,255,255,.14); padding: 16px 0 0; text-align: center; gap: 12px; }
  .countdown { gap: 5px; padding-inline: 6px; }
  .countdown div { padding-inline: 2px; }
  .countdown span { font-size: .65rem; letter-spacing: 0; }
  .section { padding: 60px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .stats article { padding: 22px 6px; }
  .stats strong { font-size: 2.4rem; }
  .stats span { font-size: .65rem; letter-spacing: .03em; }
  .route-card { min-height: 330px; padding: 30px; }
  .route-number { font-size: 6.5rem; }
  .news-grid { grid-template-columns: 1fr; }
  .gallery-hero { min-height: 340px; padding: 120px 0 55px; }
  .results-hero { min-height: 340px; padding: 120px 0 55px; }
  .gallery-tools { padding: 20px; }
  .gallery-results-bar { align-items: flex-start; flex-direction: column; }
  .gallery-filters { gap: 8px; }
  .gallery-filters button { min-height: 44px; padding-inline: 13px; font-size: .82rem; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-card { min-height: 0; }
  .lightbox-nav { width: 42px; height: 42px; }
  .result-summary article { padding: 18px 14px; }
  .result-summary strong { font-size: 1.4rem; }
  .result-summary span { font-size: .64rem; letter-spacing: .02em; }
  .results-toolbar { align-items: stretch; flex-direction: column; }
  .results-toolbar select { width: 100%; }
  .results-toolbar button { width: 100%; margin-left: 0; }
  .results-table-card { padding: 14px; }
  .registration-modal-header { padding: 22px 20px 18px; }
  .registration-form { padding: 24px 20px 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field-wide { grid-column: auto; }
  .registration-form-actions { align-items: stretch; flex-direction: column-reverse; }
  .registration-form-actions .button, .registration-cancel { min-height: 48px; width: 100%; }
  .whatsapp-float { right: 14px; bottom: 14px; width: 54px; padding: 0; justify-content: center; }
  .whatsapp-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .registration-card { padding: 38px 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid p:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Shared interaction and reading refinements. */
:focus-visible { outline: 3px solid var(--violet); outline-offset: 4px; }
.site-header :focus-visible, .route-section :focus-visible { outline-color: var(--lime); }
a, button, input, select { -webkit-tap-highlight-color: transparent; }
button:active, .button:active { transform: translateY(1px); }
p { text-wrap: pretty; }
.site-header { transition: background-color .2s ease, box-shadow .2s ease; }
.site-header.is-scrolled { background: rgba(17,16,30,.96); box-shadow: 0 6px 24px rgba(0,0,0,.12); }
.main-nav > a:not(.button) { position: relative; padding-block: 12px; }
.main-nav > a.active:not(.button)::after { content: ""; position: absolute; bottom: 4px; left: 0; width: 18px; height: 2px; background: var(--lime); }
.button-small { min-height: 44px; }
.event-day { display: block; margin-top: 10px; color: rgba(255,255,255,.72); font-size: .75rem; }
.countdown span, .event-meta span { color: rgba(255,255,255,.75); }
.intro-copy > p:first-child { margin-top: 0; }
.rules-copy, .intro-copy { max-width: 65ch; }
.search-field > span svg { display: block; width: 22px; height: 22px; }
.gallery-empty { width: 100%; max-width: 640px; background: var(--white); }
.gallery-empty > span svg { width: 26px; height: 26px; }
.gallery-reset { margin-top: 24px; }
.photo-card { box-shadow: 0 8px 24px rgba(17,16,30,.08); }
.photo-download, .download-group { min-height: 44px; }
.photo-open:focus-visible { outline-offset: -5px; outline-color: var(--lime); }
.table-scroll-hint { display: none; margin: 0 0 12px; color: var(--muted); font-size: .8rem; }
.results-table-card div.dt-container .dt-search input { min-height: 44px; }
.results-table-card tbody tr:hover { background: rgba(124,60,255,.04); }
.registration-preview-note { margin: 0; padding: 12px 32px; color: var(--ink-soft); background: #ece5fa; border-bottom: 1px solid var(--line); font-size: .75rem; }
.voucher-upload input { width: 100%; min-width: 0; }
.voucher-upload input::file-selector-button { min-height: 44px; margin-right: 10px; padding: 0 14px; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.registration-modal { max-height: 90dvh; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); font-size: .78rem; }
.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-bottom a:hover { color: var(--lime); }
@media (max-width: 1100px) {
  .gallery-tools { grid-template-columns: 1fr; gap: 20px; }
  .gallery-filters { justify-content: flex-start; }
  .table-scroll-hint { display: block; }
}
@media (max-width: 1100px) {
  .main-nav { max-height: calc(100dvh - 82px); overflow-y: auto; }
  .main-nav > a.active:not(.button)::after { left: calc(50% - 9px); }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .menu-button span { transition: transform .18s ease, opacity .18s ease; }
}
@media (max-width: 620px) {
  html { scroll-padding-top: 88px; }
  .hero-lead { font-size: 1rem; margin-bottom: 26px; }
  .hero-actions { gap: 12px 20px; }
  .text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
  .hero-location { font-size: .68rem; letter-spacing: .14em; }
  .event-date { font-size: 1.8rem; }
  .event-day { font-size: .72rem; }
  .event-meta strong { font-size: .85rem; }
  .countdown strong { font-size: 2.2rem; }
  .section h2 { font-size: clamp(2.4rem, 10vw, 3.4rem); }
  .large-copy { font-size: 1.15rem; }
  .main-nav { max-height: calc(100dvh - 72px); }
  .gallery-hero-content h1, .results-hero-content h1 { font-size: clamp(2.8rem, 12vw, 4rem); }
  .gallery-hero-content > p:last-child, .results-hero-content > p:last-child { font-size: 1rem; }
  .gallery-result-actions { align-items: flex-start; justify-content: flex-start; gap: 12px; }
  .gallery-results-bar { gap: 12px; }
  .registration-preview-note { padding: 16px 20px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
  .whatsapp-float { bottom: max(14px, env(safe-area-inset-bottom)); }
}
/* Keep the utility pages focused on the photographs and classification. */
.gallery-hero, .results-hero { min-height: 320px; padding-block: 125px 55px; }
.gallery-section, .results-section { padding-top: 56px; }
.gallery-heading { margin-bottom: 30px; }
.gallery-heading h2, .results-intro h2 { font-size: clamp(2.4rem, 4vw, 3.8rem); }
.gallery-tools { align-items: center; }
.results-intro { margin-bottom: 30px; }
.event-date { text-wrap: balance; }
@media (max-width: 620px) {
  .gallery-hero, .results-hero { min-height: 290px; padding-block: 110px 45px; }
  .gallery-section, .results-section { padding-top: 40px; }
  .gallery-heading { gap: 18px; }
}

/* Race route: preserve the complete map and its labels at every viewport. */
.route-map { margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: var(--ink-soft); }
.route-map-image { position: relative; display: block; background: var(--paper); cursor: zoom-in; }
.route-map-image img { display: block; width: 100%; height: auto; }
.route-map-image:focus-visible { outline-offset: -5px; }
.route-map-open { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 8px 16px; color: var(--lime); background: transparent; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; font-size: .8rem; font-weight: 800; }
.route-map-open:hover { background: rgba(255,255,255,.06); }
.route-map-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.route-map-caption { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 30px; }
.route-map-start { margin: 0 0 5px; color: var(--white); font-weight: 800; }
.route-map-detail { margin: 0; color: rgba(255,255,255,.75); font-size: .85rem; }
.route-map-caption .button { flex-shrink: 0; }
@media (max-width: 620px) {
  .route-map { border-radius: 18px; }
  .route-map-caption { align-items: stretch; flex-direction: column; gap: 20px; padding: 22px; }
  .route-map-start { font-size: .95rem; }
  .route-map-actions { align-items: stretch; flex-direction: column; }
}

/* Participant categories and official registration channels. */
.categories-section { padding-top: 0; }
.categories-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: stretch; }
.general-categories { display: grid; gap: 5px; margin: 0 0 24px; }
.general-categories strong { font-size: .95rem; }
.general-categories span { color: var(--muted); font-size: .9rem; }
.category-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0; }
.category-list > div { padding: 18px 0; border-top: 1px solid var(--line); }
.category-list dt { color: var(--muted); font-size: .85rem; font-weight: 700; }
.category-list dd { margin: 4px 0 0; font-family: "Oswald", sans-serif; font-size: 1.5rem; }
.category-prizes { padding: 36px; border-radius: var(--radius); background: linear-gradient(135deg, var(--violet), #3e1a96); color: var(--white); }
.category-prizes h3 { max-width: 13ch; margin-bottom: 24px; font-size: clamp(2rem, 3.5vw, 3.2rem); }
.category-prizes > p:last-child { margin-bottom: 0; color: rgba(255,255,255,.85); }
.event-detail-note { margin: 12px 0 0; font-size: .85rem; }
.registration-channel-actions { display: grid; gap: 10px; justify-items: center; flex-shrink: 0; }
.registration-channel-actions .registration-status { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; font-size: .8rem; text-align: center; }
.registration-phone { font-weight: 800; font-variant-numeric: tabular-nums; }
.official-channels { padding-top: 24px; }
.official-channels > p { color: var(--muted); font-size: .85rem; }
.official-channels nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.official-channels a { display: inline-flex; align-items: center; min-height: 44px; color: #6840cc; text-decoration: underline; text-underline-offset: 4px; font-size: .9rem; font-weight: 700; overflow-wrap: anywhere; }
.footer-bottom nav { flex-wrap: wrap; gap: 8px 24px; }
@media (max-width: 1100px) and (min-width: 901px) {
  .main-nav { gap: 14px; font-size: .8rem; }
}
@media (max-width: 900px) {
  .categories-layout { grid-template-columns: 1fr; gap: 28px; }
  .category-prizes h3 { max-width: 22ch; }
  .registration-channel-actions { align-self: stretch; justify-items: start; }
}
@media (max-width: 620px) {
  .categories-section { padding-top: 0; }
  .category-list { gap: 0 18px; }
  .category-list dd { font-size: 1.3rem; }
  .category-prizes { padding: 28px; }
  .registration-channel-actions { justify-items: stretch; text-align: center; }
  .registration-channel-actions .registration-status { padding-inline: 16px; font-size: .72rem; letter-spacing: .03em; }
}

/* Complete competition rules with native, keyboard-accessible chapters. */
.rules-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.rules-intro { max-width: 42ch; color: var(--muted); }
.rules-download { margin-top: 8px; font-size: .85rem; text-align: center; }
.rules-schedule { margin-top: 32px; padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.rules-schedule h3 { margin-bottom: 22px; font-size: 1.6rem; }
.rules-schedule dl { margin: 0; }
.rules-schedule dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rules-schedule dt { font-size: .85rem; }
.rules-schedule dd { margin: 0; color: #6840cc; font-family: "Oswald", sans-serif; font-size: 1.2rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rules-schedule > p { margin: 18px 0 0; color: var(--muted); font-size: .8rem; }
.rules-document { min-width: 0; }
.rules-document-count { margin-top: 0; color: #6840cc; font-size: .8rem; font-weight: 800; }
.rules-chapter { border-bottom: 1px solid var(--line); }
.rules-chapter summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 34px 20px 0; cursor: pointer; list-style: none; }
.rules-chapter summary::-webkit-details-marker { display: none; }
.rules-chapter summary::after { content: "+"; position: absolute; right: 0; color: #6840cc; font-size: 1.5rem; }
.rules-chapter[open] summary::after { content: "−"; }
.rules-chapter-number, .rules-chapter-title { display: block; }
.rules-chapter-number { margin-bottom: 4px; color: var(--muted); font-size: .72rem; }
.rules-chapter-title { font-size: .95rem; font-weight: 800; }
.rules-article-range { flex-shrink: 0; color: var(--muted); font-size: .72rem; }
.rules-chapter summary:hover .rules-chapter-title { color: #6840cc; }
.rules-chapter-content { padding: 8px 0 24px; }
.rules-article { scroll-margin-top: 104px; }
.rules-article + .rules-article { margin-top: 28px; }
.rules-article h3 { margin-bottom: 14px; color: var(--ink); font-family: "Manrope", system-ui, sans-serif; font-size: .95rem; line-height: 1.5; letter-spacing: 0; text-transform: none; }
.rules-article p, .rules-article li { font-size: .9rem; line-height: 1.75; overflow-wrap: anywhere; }
.rules-article p { margin: 0 0 14px; }
.rules-article ul { margin: 0 0 14px; padding-left: 22px; }
.rules-article li + li { margin-top: 6px; }
@media (max-width: 900px) {
  .rules-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .rules-intro { max-width: 65ch; }
}
@media (max-width: 620px) {
  .rules-schedule { padding: 22px; }
  .rules-download { width: 100%; padding-inline: 18px; }
  .rules-chapter summary { gap: 12px; }
  .rules-article-range { font-size: .65rem; }
}

/* Official campaign images, preserved without cropping or recoloring. */
.promotions-section { padding-top: 0; }
.promotions-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; align-items: start; }
.promotion-card { min-width: 0; margin: 0; }
.promotion-image { display: block; aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.promotion-image img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.promotion-card figcaption { padding: 18px 2px 0; }
.promotion-kind { display: block; margin-bottom: 8px; color: var(--muted); font-size: .78rem; }
.promotion-card h3 { margin-bottom: 8px; font-size: 1.5rem; line-height: 1.15; }
@media (max-width: 900px) {
  .promotions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 22px; }
}
@media (max-width: 620px) {
  .promotions-section .section-heading { gap: 16px; margin-bottom: 30px; }
  .promotions-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .promotion-card { width: 100%; max-width: 420px; margin-inline: auto; }
}

/* Registration fee and payment details. */
.registration-card .registration-price { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin: 0 0 20px; }
.registration-price strong { font-family: "Oswald", sans-serif; font-size: 3.5rem; line-height: 1.1; }
.registration-price span { font-weight: 800; }
.registration-payment { margin-top: 24px; padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: var(--white); }
.payment-heading .eyebrow { margin-bottom: 8px; }
.payment-heading h3 { margin-bottom: 24px; font-size: 2rem; }
.payment-accounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.payment-account { padding: 24px; border-radius: 16px; background: var(--paper); }
.payment-account h4 { margin: 0 0 16px; font-size: 1.35rem; }
.payment-account dl, .payment-holder { margin: 0; }
.payment-account dt, .payment-holder dt { color: var(--muted); font-size: .8rem; }
.payment-account dd { margin: 6px 0 0; font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: .03em; }
.payment-holder { display: flex; flex-wrap: wrap; gap: 20px 48px; padding-top: 24px; }
.payment-holder dd { margin: 6px 0 0; font-weight: 700; overflow-wrap: anywhere; }
@media (max-width: 620px) {
  .registration-payment { padding: 24px; }
  .payment-accounts { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .payment-account { padding: 20px; }
}

.registration-support { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; font-size: .8rem; font-weight: 700; }
.registration-availability { max-width: 280px; font-size: .75rem; text-align: center; }

.footer-brand .brand-logo { width: 72px; height: 72px; }
@media (max-width: 620px) {
  .site-header .brand-logo { width: 50px; height: 50px; }
  .site-header .brand strong { font-size: 1rem; }
  .site-header .brand small { font-size: .65rem; }
}

/* One SVG family: rounded outlines that follow each surface's colors. */
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.site-icon { display: inline-block; width: 1.2em; height: 1.2em; flex-shrink: 0; vertical-align: -.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button, .text-link, .registration-status, .registration-support, .official-channels a, .route-map-open, .download-group, .photo-download, [data-download-results] { gap: 9px; }
.text-link, .download-group, .photo-download, [data-download-results] { display: inline-flex; align-items: center; justify-content: center; }
.hero-location .site-icon { width: 18px; height: 18px; }
.event-date .site-icon { width: 24px; height: 24px; margin-right: 5px; color: var(--lime); }
.event-meta span .site-icon { margin-right: 4px; color: var(--lime); }
.event-detail-card .news-date { display: flex; align-items: center; gap: 12px; }
.event-detail-card .news-date .site-icon { width: 36px; height: 36px; padding: 7px; border-radius: 10px; background: #ece5fa; }
.category-prizes .eyebrow .site-icon { width: 30px; height: 30px; margin-right: 8px; color: var(--lime); }
.payment-account h4 .site-icon { width: 25px; height: 25px; margin-right: 6px; color: var(--violet); }
.registration-form legend .site-icon { margin-right: 7px; color: var(--violet); }
.result-summary article > span .site-icon { margin-right: 5px; color: var(--violet); }
@media (max-width: 620px) {
  .registration-channel-actions .registration-status { gap: 7px; letter-spacing: 0; }
  .registration-support { font-size: .75rem; }
}

/* Official race shirt, displayed in full with its original artwork. */
.shirt-section { padding-top: 20px; }
.shirt-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 72px; align-items: center; }
.shirt-copy h2 { max-width: 10ch; }
.shirt-copy > p:not(.eyebrow) { max-width: 42ch; color: var(--muted); }
.shirt-features { margin: 24px 0 32px; padding: 0; list-style: none; }
.shirt-features li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .9rem; font-weight: 700; }
.shirt-image { min-width: 0; width: 100%; max-width: 580px; margin: 0; justify-self: center; }
.shirt-image img { display: block; width: 100%; height: auto; border-radius: 20px; }
.shirt-image figcaption { margin-top: 12px; color: var(--muted); font-size: .8rem; text-align: center; }
@media (max-width: 900px) {
  .shirt-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .shirt-copy h2 { max-width: none; }
}

.rules-teaser-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 24px; }
.rules-teaser-download, .rules-return { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: #6840cc; font-size: .85rem; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
#reglamento .rules-schedule { margin-top: 0; }
.rules-reading-title { margin-bottom: 20px; font-size: 2rem; }
.rules-return { margin-top: 20px; }
.rules-page .rules-section { padding-bottom: 100px; }
@media (max-width: 620px) {
  .rules-teaser-actions { align-items: stretch; flex-direction: column; }
  .rules-teaser-download { justify-content: center; }
}

.main-nav > a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; }
.main-nav > a .site-icon { width: 18px; height: 18px; }
.main-nav > .button:hover, .main-nav > .button:focus-visible { color: var(--ink); }
.footer-bottom nav a { gap: 8px; }

/* Results follow the supplied athlete-first timing sheet. */
.results-course-label { display: flex; align-items: center; gap: 10px; margin-top: 26px; padding: 12px 20px; color: var(--ink); background: var(--lime); border-radius: 12px 12px 0 0; font-size: .85rem; }
.results-course-label > span { margin-left: auto; font-family: "Oswald", sans-serif; font-size: 1.1rem; }
.results-course-label ~ .results-table-card { border-top-left-radius: 0; border-top-right-radius: 0; }
.results-table tbody td { padding-block: 18px !important; }
.results-table .result-athlete-column { min-width: 250px; white-space: normal; }
.result-athlete { display: grid; gap: 5px; }
.result-athlete-name { color: var(--ink); font-size: .95rem; line-height: 1.4; }
.result-athlete-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 14px; color: var(--muted); font-size: .78rem; }
.result-athlete-city { color: var(--muted); font-size: .78rem; }
.result-athlete .result-status { justify-self: start; }
table.results-table.dataTable .result-rank-column, table.results-table.dataTable .result-division-column, table.results-table.dataTable .result-pace-column, table.results-table.dataTable .result-official-column { text-align: center; }
.results-table tbody td.result-rank-column { font-weight: 800; font-size: 1.05rem; }
.results-table .result-general-column { background: rgba(200,255,56,.12); }
.result-division-rank { font-size: 1.05rem; }
.result-cell-note { display: block; margin-top: 5px; color: var(--muted); font-size: .75rem; font-weight: 400; }
.results-table .result-time { font-size: 1.55rem; }
@media (max-width: 620px) {
  .results-table-card { padding: 16px; }
}

.footer-credit { padding-top: 24px; text-align: center; }
.footer-credit p { margin: 0; font-size: .8rem; line-height: 1.8; }
.footer-credit a { display: inline-block; min-height: 44px; padding-block: 10px; color: var(--white); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.footer-credit a:hover, .footer-credit a:focus-visible { color: var(--lime); }
.footer-heart .site-icon { width: 16px; height: 16px; color: #ff3b4d; fill: currentColor; }

/* Readable registration documents and explicit, separate acceptances. */
.legal-page-header { padding: 136px 0 36px; }
.legal-page-header .container { max-width: 860px; }
.legal-page-header h1 { max-width: 26ch; margin-bottom: 20px; font-size: clamp(2.4rem, 5vw, 4rem); }
.legal-page-header p:last-child { color: var(--muted); }
.legal-document { max-width: 860px; padding-bottom: 72px; }
.legal-version { color: var(--muted); font-size: .8rem; }
.legal-document section { padding: 24px 0; border-top: 1px solid var(--line); }
.legal-document h2 { margin: 0 0 18px; font-family: "Manrope", sans-serif; font-size: 1.25rem; line-height: 1.5; text-transform: none; letter-spacing: 0; }
.legal-document p { line-height: 1.8; overflow-wrap: anywhere; }
.legal-document a, .form-consent a { color: #6840cc; text-decoration: underline; text-underline-offset: 4px; }
.legal-contact { margin: 0 0 20px; }
.legal-contact > div { margin-bottom: 14px; }
.legal-contact dt { color: var(--muted); font-size: .85rem; }
.legal-contact dd { margin: 4px 0 0; font-weight: 700; overflow-wrap: anywhere; }
.legal-sources p, .legal-return-note { font-size: .85rem; color: var(--muted); }
.legal-return-note { margin-top: 20px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.consent-group { display: grid; gap: 18px; }
.consent-group .form-consent { padding: 14px; background: var(--paper); border-radius: 12px; color: var(--ink-soft); }
.form-consent label { cursor: pointer; }
.form-consent p { margin: 7px 0 0; font-size: .78rem; }
.consent-hint { margin: 14px 0 0; color: var(--muted); font-size: .8rem; }
.registration-form .button:disabled { cursor: not-allowed; opacity: .5; transform: none; box-shadow: none; }
@media (max-width: 620px) {
  .legal-page-header { padding-top: 112px; }
  .legal-document h2 { font-size: 1.15rem; }
  .legal-document p { font-size: .9rem; }
}

.registration-check { display: inline-flex; align-items: center; justify-content: center; gap: 8px; max-width: 310px; min-height: 44px; padding: 8px; border: 0; background: transparent; color: var(--ink); font-size: .8rem; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.lookup-help { margin: 7px 0; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.lookup-help a { color: #6840cc; text-decoration: underline; text-underline-offset: 4px; }
.identity-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.identity-label { color: var(--ink-soft); font-size: .85rem; font-weight: 700; }
.footer-credit .footer-admin { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; margin-top: 4px; color: #b4afc5; font-size: .68rem; font-weight: 500; text-decoration: none; }
.footer-admin .site-icon { width: 13px; height: 13px; }
.footer-admin:hover, .footer-admin:focus-visible { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.identity-lookup-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.identity-lookup-row input { min-width: 0; }
.identity-lookup-row .registration-lookup { height: 48px; padding: 0 14px; font-size: .82rem; }
.registration-lookup { min-height: 44px; padding: 10px 18px; border: 0; border-radius: 999px; background: var(--violet); color: var(--white); font-weight: 800; cursor: pointer; }
.registration-manual { min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: #6840cc; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.lookup-status, .registration-query-message, .registration-form-status { padding: 14px; border-radius: 12px; background: #e3f7da; color: #294f1b; font-size: .85rem; }
.lookup-status { margin: 6px 0 0; padding: 0; background: transparent; font-size: .75rem; line-height: 1.5; }
.lookup-status.is-error, .registration-query-message.is-error, .registration-form-status.is-error { background: #fff0e8; color: #8c2f15; }
.registration-status-content { padding: 28px 32px; }
.registration-status-content > p:first-child { color: var(--muted); font-size: .9rem; }
#registration-status-form, #later-voucher-form { display: grid; gap: 18px; }
#later-voucher-form[hidden], .registration-query-result[hidden], [data-register-from-query][hidden] { display: none; }
.registration-query-result { margin: 20px 0; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.registration-query-result h3 { margin: 0 0 16px; font-size: 1.6rem; }
.registration-query-result p { margin: 0 0 10px; font-size: .9rem; }
.registration-query-note { margin: 22px 0 0; color: var(--muted); font-size: .78rem; }
.registration-lookup:disabled, .registration-status-content button:disabled { cursor: wait; opacity: .6; }
@media (max-width: 620px) { .registration-status-content { padding: 24px 20px; } }

/* Two clear steps, with compact supporting text. */
.registration-step { display: grid; gap: 24px; }
.registration-step[data-registration-step="1"] { gap: 14px; }
.registration-form legend.sr-only { width: 1px; margin: 0; padding: 0; border: 0; }
.registration-step[hidden], .registration-form-actions [hidden] { display: none; }
.registration-form[hidden], .registration-complete[hidden] { display: none; }
.registration-complete { padding: 32px; text-align: center; }
.registration-complete .registration-complete-icon { width: 48px; height: 48px; margin-bottom: 16px; color: #285a24; }
.registration-complete h3 { margin: 0 0 18px; font-size: clamp(1.4rem, 4vw, 1.9rem); }
.registration-complete p { margin: 12px auto; max-width: 440px; font-size: .85rem; }
.registration-complete [data-complete-reference] { font-weight: 800; }
.registration-complete-actions { display: grid; justify-items: center; gap: 12px; margin-top: 26px; }
@media (max-width: 620px) { .registration-complete { padding: 28px 20px; } }
.registration-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }
.registration-steps li { display: flex; align-items: center; gap: 8px; padding-bottom: 12px; border-bottom: 2px solid var(--line); color: var(--muted); font-size: .78rem; font-weight: 700; }
.registration-steps li span { display: grid; place-items: center; flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); }
.registration-steps li[aria-current="step"] { color: #6840cc; border-bottom-color: var(--violet); }
.registration-steps li[aria-current="step"] span { color: var(--white); background: var(--violet); border-color: var(--violet); }
.registration-back { min-height: 44px; padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font-weight: 800; cursor: pointer; }
.registration-form-actions .registration-cancel { margin-right: auto; }
.registration-status-content > p:first-child, .consent-hint, .registration-query-note { font-size: .75rem; }
@media (max-width: 620px) {
  .registration-steps { gap: 8px; }
  .registration-steps li { gap: 6px; font-size: .75rem; }
  .registration-form-actions .registration-cancel { margin-right: 0; }
}

.race-finished-note { padding: 22px; border-top: 1px solid rgba(255, 255, 255, .2); }
.race-finished-note strong { color: var(--lime); font-size: 1.2rem; }
.race-finished-note p { line-height: 1.65; }
