/**
 * NAV-01 — institutional flat primary navigation (desktop header).
 * Goal: all 11 items fit on one line from lg up; comfortable on wide screens.
 */

.inst-nav-desktop {
  flex-wrap: nowrap;
  column-gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.inst-nav-desktop::-webkit-scrollbar {
  display: none;
}

.inst-nav-desktop__link {
  padding: 0.25rem 0.3125rem;
  white-space: nowrap;
}

/* lg (1024–1279): tightest, just enough to fit 11 items. */
@media (min-width: 1280px) {
  .inst-nav-desktop {
    column-gap: 0.125rem;
  }

  .inst-nav-desktop__link {
    padding: 0.375rem 0.5rem;
  }
}

@media (min-width: 1536px) {
  .inst-nav-desktop {
    column-gap: 0.25rem;
    overflow-x: visible;
  }

  .inst-nav-desktop__link {
    padding: 0.375rem 0.625rem;
  }
}

.inst-nav-desktop__link.is-active,
.inst-nav-flat a.is-active {
  color: var(--inst-deep, #0f172a);
}
