/* Shared cross-page navigation; never inside the collapsible section menu. */
.site-pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem 1.5rem;
  min-width: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}
.site-pages a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0;
  color: inherit;
  white-space: nowrap;
  text-decoration: none;
}
.site-pages a:hover,
.site-pages a:focus-visible,
.site-pages a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.site-pages a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@media (max-width: 620px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
  }
  .site-header .main-nav { display: none; }
  .site-header .site-pages { grid-column: 1 / -1; }
  .sw-header { flex-wrap: wrap; gap: 0.5rem; padding-top: 1rem; padding-bottom: 0.5rem; }
  .sw-header .site-pages { flex-basis: 100%; }
  .site-pages { justify-content: space-between; gap: 0.25rem 1rem; width: 100%; }
}
