/* Compact page links between the wordmark and language controls. */
header .desktop-navigation {
  display: none;
}

@media (min-width: 60rem) {
  body > header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: clamp(1rem, 1.8vw, 1.75rem);
  }

  header .brand {
    white-space: nowrap;
    font-size: clamp(1.375rem, 2vw, 1.5625rem);
  }

  header .desktop-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: row nowrap;
    gap: clamp(.75rem, 1.25vw, 1.5rem);
    min-width: 0;
    margin: 0;
    padding: 0;
    font-size: .875rem;
  }

  header .desktop-navigation > a {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-height: 44px;
    padding: .25rem 0;
    border-bottom: 2px solid transparent;
    font-size: .875rem;
    line-height: 1.5;
    white-space: nowrap;
    text-underline-offset: .35em;
  }

  header .desktop-navigation > a:hover {
    text-decoration: underline;
  }

  header .desktop-navigation > a[aria-current="page"] {
    border-bottom-color: currentColor;
  }

  header .desktop-navigation > a:focus-visible {
    outline: 2px solid #245b44;
    outline-offset: 4px;
    border-radius: 2px;
  }

  header .header-actions {
    gap: clamp(.625rem, 1.25vw, 1.25rem);
  }

  header .site-menu summary {
    min-width: 80px;
    padding-left: 12px;
    gap: 8px;
  }
}

/* Keep all seven links readable on smaller desktop screens. */
@media (min-width: 60rem) and (max-width: 74.999rem) {
  body > header {
    padding-inline: 1.5rem;
    column-gap: 1rem;
  }

  header .header-actions {
    gap: .5rem;
  }

  header .site-menu summary {
    min-width: 44px;
    padding-inline: 10px 0;
    gap: 0;
  }

  header .site-menu summary span:first-child {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
  }
}
