.results-page {
  min-height: 54vh;
  padding-block: clamp(32px, 5vw, 64px) clamp(56px, 8vw, 96px);
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
}

.results-page .results-shell { max-width: 1060px; }
.results-heading { margin-bottom: clamp(20px, 4vw, 36px); }
.results-breadcrumb { margin-bottom: 12px; }
.results-heading h1 {
  margin: 0;
  color: var(--green);
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1;
}

.results-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  margin-bottom: 20px;
}

.results-competitions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.results-competitions a {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding-inline: 17px;
  border-radius: 8px;
  color: var(--green);
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.3;
}

.results-competitions a:hover { background: var(--paper); }
.results-competitions a[aria-current="page"] {
  background: var(--green);
  color: var(--white);
}

.results-tools, .results-edition {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}
.results-edition { gap: 8px; }
.results-edition label {
  color: var(--green);
  font-size: .9375rem;
  font-weight: 700;
}
.results-edition select {
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid #a8b0b4;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.results-empty {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 4vw, 38px);
  padding: clamp(20px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
}
.results-emblem {
  display: grid;
  place-items: center;
  width: clamp(54px, 8vw, 78px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}
.results-emblem img { display: block; width: 69%; height: auto; }
.results-eyebrow {
  margin: 0 0 8px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .11em;
  line-height: 1.5;
  text-transform: uppercase;
}
.results-empty .results-eyebrow { color: var(--muted); }
.results-empty h2 {
  margin-bottom: 8px;
  color: var(--green);
  font-size: clamp(1.7rem, 4vw, 2.65rem);
}
.results-empty-description { margin-bottom: 12px; color: var(--muted); }

.results-standings h2 {
  margin-bottom: 16px;
  color: var(--green);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}
.results-podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.results-podium-card {
  --place-ink: #62491a;
  --place-edge: #bf9a43;
  --place-paper: #faf4e4;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-content: start;
  align-items: center;
  gap: 12px;
  min-height: 150px;
  padding: clamp(16px, 2.4vw, 24px);
  border: 1px solid var(--line);
  border-block-start: 3px solid var(--place-edge);
  border-radius: 16px;
  background: var(--place-paper);
  color: var(--ink);
  overflow-wrap: anywhere;
}
.results-podium-place-2 {
  --place-ink: #3d5465;
  --place-edge: #879eaf;
  --place-paper: #edf2f5;
}
.results-podium-place-3 {
  --place-ink: #71452e;
  --place-edge: #bd8a6f;
  --place-paper: #f8eee8;
}
.results-medal {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--place-edge);
  border-radius: 50%;
  background: var(--white);
  color: var(--place-ink);
  font-size: .9375rem;
  font-weight: 700;
}
.results-award {
  color: var(--place-ink);
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.35;
}
.results-award-schools {
  grid-column: 1 / -1;
  align-self: start;
  margin: 0;
  padding: 0;
  list-style: none;
}
.results-award-schools li + li {
  margin-top: 10px;
  padding-top: 10px;
  border-block-start: 1px solid var(--place-edge);
}
.results-winner-name {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.35vw, 1.9rem);
  line-height: 1.2;
}
.results-team { display: block; font-size: .875rem; line-height: 1.4; }
.results-award-schools .results-team { margin-top: 4px; color: var(--muted); }

.results-table {
  width: 100%;
  border: 1px solid var(--line);
  border-spacing: 0;
  border-radius: 0 0 20px 20px;
  background: var(--white);
  font-variant-numeric: tabular-nums;
  line-height: 1.45;
}
.results-table caption {
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  background: var(--white);
  color: var(--green);
  font-weight: 700;
  text-align: start;
}
.results-table th, .results-table td {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  text-align: start;
}
.results-table thead th {
  background: #f1eee5;
  color: var(--green);
  font-size: .875rem;
}
.results-table tbody th {
  color: var(--green);
  font-weight: 700;
  overflow-wrap: anywhere;
}
.results-table .results-team { margin-top: 2px; color: var(--muted); }
.results-table th:first-child, .results-table td:first-child { width: 4.9rem; }
.results-table th.results-points, .results-table td.results-points { text-align: end; }

@media (max-width: 740px) {
  .results-podium { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .results-podium-card { min-height: 0; }
}

@media (max-width: 430px) {
  .results-empty { grid-template-columns: minmax(0, 1fr); }
  .results-table th, .results-table td { padding-inline: 10px; }
  .results-table th:first-child, .results-table td:first-child { width: 3.7rem; }
}
