/* Wedstrijden: compact schedule and results overview. */
.hv-fixtures-page > .hv-page__section {
  padding: 1.5rem max(1.25rem, calc((100vw - 1334px) / 2)) 4.5rem;
  background: #f7fbfe;
}

.hv-fixtures-page > .hv-page__section > * {
  width: min(1334px, 100%);
  max-width: 1334px;
}

.hv-match-overview { display: grid; gap: 1rem; }
.hv-match-board,
.hv-match-results {
  min-width: 0;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border: 1px solid #e0e9f2;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(31, 69, 106, 0.04);
}

.hv-match-board__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.35rem;
}

.hv-match-board h2,
.hv-match-results h2 {
  margin: 0;
  color: #07142f;
  font-size: clamp(1.5rem, 2.25vw, 2rem);
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.hv-match-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; }
.hv-match-filter > span { color: #667fa9; font-size: 0.9rem; }
.hv-match-filter .hv-fixture-tabs { margin: 0; gap: 0.55rem; }
.hv-match-filter .hv-fixture-tabs__tab { padding: 0.58rem 0.9rem; border-color: #d9e3ef; border-radius: 7px; color: #0a1b3e; }
.hv-match-filter .hv-fixture-tabs__tab.is-active { border-color: var(--hv-red); color: #fff; }
.hv-match-filter .hv-fixture-tabs__tab:focus-visible,
.hv-match-row__link:focus-visible,
.hv-match-results__link:focus-visible { outline: 3px solid #215de0; outline-offset: 3px; }

.hv-fixtures-panel { display: grid; gap: 1.3rem; }
.hv-fixtures-panel[hidden] { display: none; }
.hv-match-day { overflow: hidden; border: 1px solid #e0e9f2; border-radius: 8px; }
.hv-match-day__heading {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0.85rem 1.25rem;
  background: #f5f9fd;
}
.hv-match-day__heading svg { width: 1.5rem; height: 1.5rem; flex: none; color: #1558db; }
.hv-match-day__heading h3 { margin: 0; color: #07142f; font-size: 1.4rem; letter-spacing: -0.025em; }
.hv-match-day__heading > span { margin-left: auto; color: #607ba6; font-size: 0.9rem; }

.hv-match-day__columns,
.hv-match-row {
  display: grid;
  grid-template-columns: 145px minmax(130px, 1fr) minmax(170px, 1.35fr) minmax(145px, 1.25fr) 22px;
  align-items: center;
  gap: 0.75rem;
}
.hv-match-day__columns,
.hv-match-results__columns { color: #7189ae; font-size: 0.73rem; font-weight: 700; text-transform: uppercase; }
.hv-match-day__columns { padding: 0.75rem 1.25rem 0.45rem; }
.hv-match-day__list,
.hv-match-results__list { margin: 0; padding: 0; list-style: none; }
.hv-match-row { min-height: 3.75rem; margin: 0 1.25rem; border-top: 1px solid #e7edf4; color: #0a1b3e; }
.hv-match-row__time,
.hv-match-results__score,
.hv-match-results__date { width: fit-content; border-radius: 7px; background: #f5f7fa; }
.hv-match-row__time { min-width: 5.5rem; padding: 0.55rem 0.75rem; box-sizing: border-box; font-size: 1rem; font-weight: 800; font-variant-numeric: tabular-nums; text-align: center; }
.hv-match-row__team { font-weight: 800; }
.hv-match-row__venue { display: flex; align-items: center; gap: 0.7rem; color: #6f87ad; }
.hv-match-row__venue svg { width: 1.2rem; height: 1.2rem; flex: none; color: #859abd; }
.hv-match-row__link,
.hv-match-results__link { display: grid; place-items: center; color: #5276ab; }
.hv-match-row__link svg,
.hv-match-results__link svg { width: 1.1rem; height: 1.1rem; }
.hv-match-empty { margin: 0; padding: 1rem; color: #607ba6; }

.hv-match-results h2 { margin-bottom: 1.3rem; }
.hv-match-results__columns,
.hv-match-results__row {
  display: grid;
  grid-template-columns: 165px minmax(150px, 1fr) minmax(150px, 1fr) 160px 170px 22px;
  align-items: center;
  gap: 0.75rem;
}
.hv-match-results__columns { padding: 0 0.75rem 0.55rem; }
.hv-match-results__columns small { font-size: 0.65rem; text-transform: none; }
.hv-match-results__row { min-height: 4.2rem; padding: 0 0.75rem; border-top: 1px solid #e7edf4; color: #0a1b3e; }
.hv-match-results__row[hidden] { display: none; }
.hv-match-results__date { display: grid; place-items: center; min-width: 5.25rem; padding: 0.4rem 0.55rem; box-sizing: border-box; line-height: 1.15; }
.hv-match-results__date span { color: #7189ae; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; }
.hv-match-results__date strong { color: var(--hv-red); font-size: 0.9rem; font-weight: 500; }
.hv-match-results__home { font-weight: 800; }
.hv-match-results__score { min-width: 6.5rem; padding: 0.48rem 0.8rem; box-sizing: border-box; font-size: 1.1rem; font-variant-numeric: tabular-nums; text-align: center; }
.hv-match-results__outcome { width: fit-content; min-width: 7rem; padding: 0.5rem 0.75rem; border-radius: 7px; box-sizing: border-box; font-size: 0.8rem; font-weight: 800; text-align: center; }
.hv-match-results__outcome.is-won { background: #ddf7e9; color: #075d3e; }
.hv-match-results__outcome.is-lost { background: #fde6e9; color: #c50018; }
.hv-match-results__outcome.is-draw { background: #e9f0fb; color: #25527e; }

@media (max-width: 950px) {
  .hv-match-board__heading { align-items: start; }
  .hv-match-day__columns,
  .hv-match-row { grid-template-columns: 105px minmax(110px, 1fr) minmax(120px, 1.2fr) minmax(110px, 1fr) 20px; gap: 0.5rem; }
  .hv-match-results__columns,
  .hv-match-results__row { grid-template-columns: 90px minmax(120px, 1fr) minmax(120px, 1fr) 100px 110px 20px; gap: 0.5rem; }
}

@media (max-width: 700px) {
  .hv-match-board,
  .hv-match-results { padding: 1rem; }
  .hv-match-day__heading { gap: 0.6rem; padding: 0.8rem; }
  .hv-match-day__heading h3 { font-size: 1.1rem; }
  .hv-match-day__heading > span { font-size: 0.75rem; text-align: right; }
  .hv-match-day__columns,
  .hv-match-results__columns { display: none; }
  .hv-match-row { grid-template-columns: 5.5rem 1fr 1.25rem; gap: 0.25rem 0.7rem; min-height: 0; margin: 0 0.8rem; padding: 0.75rem 0; }
  .hv-match-row__time { grid-row: 1 / 3; }
  .hv-match-row__team { grid-column: 2; }
  .hv-match-row__opponent { grid-column: 2; color: #607ba6; }
  .hv-match-row__opponent .screen-reader-text { position: static; width: auto; height: auto; clip: auto; clip-path: none; white-space: normal; }
  .hv-match-row__venue { grid-column: 2; font-size: 0.85rem; }
  .hv-match-row__link,
  .hv-match-row__link-space { grid-column: 3; grid-row: 1 / 4; }
  .hv-match-results__row { grid-template-columns: 5.5rem minmax(0, 1fr) auto; gap: 0.25rem 0.65rem; padding: 0.85rem 0.2rem; }
  .hv-match-results__date { grid-row: 1 / 4; }
  .hv-match-results__home,
  .hv-match-results__away { grid-column: 2 / 4; font-size: 0.85rem; }
  .hv-match-results__home { grid-row: 1; }
  .hv-match-results__away { grid-row: 2; }
  .hv-match-results__home .screen-reader-text,
  .hv-match-results__away .screen-reader-text { position: static; width: auto; height: auto; clip: auto; clip-path: none; white-space: normal; color: #607ba6; font-weight: 400; }
  .hv-match-results__score { grid-column: 2; grid-row: 3; margin-top: 0.3rem; }
  .hv-match-results__outcome { grid-column: 3; grid-row: 3; min-width: 0; }
  .hv-match-results__link,
  .hv-match-results__link-space { grid-column: 3; grid-row: 1 / 3; }
}
