.sports-page { padding: 1.5rem 0 2rem; }
.sports-page h1 { margin: 0 0 1rem; }
.sports-page .sports-filters {
  display: grid;
  grid-template-columns: minmax(0, 10rem) minmax(0, 17rem) max-content;
  align-items: end;
  gap: .65rem 1rem;
  margin: 1.15rem 0 1.25rem;
}
.sports-filters label {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  min-inline-size: 0;
  font-weight: 600;
}
.sports-filters select,
.sports-filters button {
  min-block-size: 2.75rem;
  padding-inline: .6rem;
  border: 1px solid #6a7464;
  border-radius: .25rem;
  background: #fff;
  color: #182918;
  font: inherit;
}
.sports-page .sports-filters button {
  background: #234b2d;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
@media (max-width: 32rem) {
  .sports-page .sports-filters { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .sports-filters button { grid-column: 1 / -1; justify-self: start; }
}
.sports-views {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: .8rem 0;
}
.sports-views a {
  border: 1px solid #6a7464;
  border-radius: .25rem;
  padding: .35rem .8rem;
  color: #234b2d;
  background: #fff;
  text-decoration: underline;
}
.sports-views [aria-current="page"] {
  color: #fff;
  background: #234b2d;
}
.sports-page :is(button, select, a, summary):focus-visible {
  outline: 2px solid #234b2d;
  outline-offset: 3px;
}
.sports-page .sports-event-title {
  color: #234b2d;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .16em;
}
.sports-competition { display: block; margin-top: .25rem; font-weight: 400; }
.sports-past { border-top: 1px solid var(--line); margin-top: 1.5rem; padding-top: .75rem; }
.sports-past summary { color: #234b2d; cursor: pointer; font-weight: 700; margin-bottom: .75rem; }
.sports-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.sports-table th, .sports-table td {
  padding: .65rem .8rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.sports-table th { background: #f1f2e8; }
.sports-page .agenda-import-link { color: #234b2d; }
.sports-table td .agenda-import-link { display: block; margin-inline-start: 0; }
.sports-table .agenda-event-status { margin: 0 0 .4rem; font-weight: 700; }
.sports-table .agenda-event-status-cancelled { color: #a31925; }

.sports-page .agenda-event-status-cancelled {
  align-self: stretch;
  margin: 0 0 .65rem;
  padding: .45rem .7rem;
  background: #a31925;
  color: white;
  font-weight: 750;
}

.sports-table .agenda-date-range { display: grid; justify-items: start; }

@media (max-width: 42rem) {
  .sports-table, .sports-table tbody { display: block; }
  .sports-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .sports-table tbody tr {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: .85rem;
    row-gap: .25rem;
    padding: .8rem 0;
    border-bottom: 1px solid var(--line);
  }
  .sports-table td { padding: 0; border: 0; }
  .sports-table td + td { grid-column: 2; overflow-wrap: anywhere; }
  .sports-table td:nth-child(n+3) { font-size: .9em; }
  .sports-table td:first-child { grid-row: span 3; }
}
