/* ─── RESULTS PAGES (results.html, results-2026-*.html) ─── */
.results-page { padding-top: 7rem; }
.results-page .section-header { margin-bottom: 2rem; }
.results-page .distance-card { text-align: center; }

.results-meta {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
  margin: 0.8rem 0 0;
}
.results-page .distance-card .results-meta { margin: 0.4rem 0 1.8rem; }

/* Card buttons: PDF (primary) with the web version beneath it */
.results-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.results-back { text-align: center; margin-top: 3rem; }

/* Small outlined links above the table */
.results-actions {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.results-link {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  padding: 0.55rem 1.2rem;
  border-radius: 2px;
  color: var(--gold-light);
  border: 1px solid rgba(200, 168, 75, 0.45);
  transition: background 0.2s, color 0.2s;
}
.results-link:hover { background: var(--gold); color: var(--forest); }

/* Results table */
.results-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 960px;
  margin: 0 auto;
}
.results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}
.results-table th {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
  text-align: left;
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid rgba(200, 168, 75, 0.5);
  white-space: nowrap;
}
.results-table td {
  padding: 0.6rem 0.8rem;
  color: var(--cream);
  border-bottom: 1px solid rgba(240, 232, 208, 0.08);
  white-space: nowrap;
}
.results-table tbody tr:hover { background: rgba(255, 255, 255, 0.04); }
.results-table .col-place { text-align: right; width: 3.5rem; color: var(--gold-light); font-weight: 600; }
.results-table .col-name { font-weight: 600; color: var(--cream-light); }
.results-table .col-bib,
.results-table .col-sex,
.results-table .col-age { text-align: center; color: rgba(240, 232, 208, 0.75); }
.results-table .col-city { color: rgba(240, 232, 208, 0.75); }
.results-table .col-time { text-align: right; font-weight: 600; }

.results-table tr.podium { background: rgba(200, 168, 75, 0.08); }
.results-table tr.podium .col-place,
.results-table tr.podium .col-time { color: var(--gold); }
.results-table tr.dnf td { opacity: 0.55; }

@media (max-width: 640px) {
  .results-table { font-size: 0.92rem; }
  .results-table th, .results-table td { padding: 0.55rem 0.4rem; }
  .results-table td.col-name, .results-table td.col-city { white-space: normal; }
  .results-table .col-place { width: 2.2rem; }
  .results-table .col-bib, .results-table .col-sex { display: none; }
}
@media (max-width: 420px) {
  .results-table .col-age { display: none; }
}
