/* Reusable black-and-white navigation, optimised for keyboard and mobile. */
.site-header {
  position: sticky;
  top: 10px;
  z-index: 50;
  width: min(100% - 32px, 980px);
  margin: 12px auto 0;
}
.site-primary-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 68px;
  padding: 7px;
  border: 1px solid #d0d5dd;
  border-radius: 20px;
  background: #fff;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: #c5c5c5 transparent;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 2px 10px rgb(0 0 0 / 3%);
}
.site-primary-nav::-webkit-scrollbar { height: 4px; }
.site-primary-nav::-webkit-scrollbar-thumb { background: #c5c5c5; border-radius: 10px; }
.site-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 48px;
  padding: 12px 16px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: #222;
  font: inherit;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.site-nav-link:hover:not(:disabled):not(.is-active) { background: #f0f0f0; }
.site-nav-link.is-active { color: #fff; background: #152338; }
.site-nav-link:focus-visible { outline: 3px solid #152338; outline-offset: 2px; }
.site-nav-link:disabled {
  color: #777;
  background: transparent;
  cursor: not-allowed;
  opacity: .72;
}
.site-header + .page-shell { padding-top: 22px; }
.site-header + .page-shell .matcher-results,
.site-header + .page-shell .matcher-form { scroll-margin-top: 110px; }
@media (min-width: 900px) {
  .site-header { width: min(100% - 40px, 1320px); }
}
@media (max-width: 600px) {
  .site-header { top: 6px; width: calc(100% - 20px); margin-top: 6px; }
  .site-primary-nav { min-height: 60px; border-radius: 16px; padding: 5px; }
  .site-nav-link { min-height: 46px; padding: 11px 13px; font-size: .95rem; }
  .site-header + .page-shell { padding-top: 18px; }
}
