.last-section-nav {
  background: #0b2949;
  border-bottom: 1px solid #436787;
}
.last-section-nav > div {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  width: min(1220px, calc(100% - 28px));
  margin-inline: auto;
  padding-block: .45rem;
}
.last-section-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .3rem .8rem;
  border: 1px solid transparent;
  border-radius: .55rem;
  color: #deeffe;
  font: 750 .92rem/1.15 Inter, system-ui, sans-serif;
  text-decoration: none;
}
.last-section-nav a[aria-current="page"] {
  background: #6cabdd;
  color: #0c263e;
}
.last-section-nav a:hover { border-color: #8cc8f2; }
.last-section-nav a:focus-visible { outline: 2px solid white; outline-offset: 2px; }
.masthead .masthead-title { margin: 0; font-weight: 700; }
.last-h2h-link {
  display: inline-block;
  justify-self: start;
  width: fit-content;
  color: #235783;
  font-size: .81rem;
  font-weight: 750;
  line-height: 1.45;
  text-underline-offset: .18em;
}
.last-h2h-link:hover { color: #102c49; }
.next-fixture__source { display: flex; flex-wrap: wrap; align-items: center; justify-content: end; gap: .55rem; }
.fixture-teams .last-h2h-link { margin-top: .25rem; }
@media (max-width: 40rem) {
  .next-fixture__source { justify-content: start; }
}

@media (max-width: 45rem) {
  .last-section-nav > div {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .3rem;
  }
  .last-section-nav a {
    justify-content: center;
    padding: .32rem .2rem;
    text-align: center;
    overflow-wrap: anywhere;
    font-size: .83rem;
  }
}
@media (max-width: 25rem) {
  .last-section-nav > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
