/* Shared navigation: preserve the approved mobile menus and page layout. */
@media (min-width: 961px) {
  #navbar .nav-row,
  .edu-header .nav-row { gap: 20px; }

  #navbar #site-links,
  .edu-header .nav-row nav { gap: clamp(12px, 1.35vw, 21px); flex-shrink: 0; }

  #navbar #site-links > a,
  .edu-header .nav-row nav > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    white-space: nowrap;
  }
}

/* Eight entries fit at the 961px desktop boundary without clipping any link. */
@media (min-width: 961px) and (max-width: 1200px) {
  #navbar .nav-row,
  .edu-header .nav-row { gap: 16px; }

  #navbar .brand small,
  .edu-header .brand small { display: none; }

  #navbar #site-links,
  .edu-header .nav-row nav { gap: 12px; }

  #navbar #site-links > a,
  .edu-header .nav-row nav > a { font-size: 12px; }

  #navbar #site-links .nav-contact,
  .edu-header .nav-row nav .nav-contact { padding-inline: 14px; gap: 8px; }
}
