/* Hub/spoke-only stylesheet. Linked only from the 11 educational pages.
   Shared CSS and live pages (/, /privacy/, /terms/, /pricing/, Founding Member /freightguard-report/) are untouched. */

/* Restore button ink inside .legal, where .legal a { color: var(--accent) } would otherwise override .btn--red. */
.legal a.btn,
.legal a.btn:visited,
.legal a.btn:hover,
.legal a.btn:focus-visible {
  color: var(--btn-ink);
}

/* Desktop hub nav is longer than the live homepage nav (educational labels plus Pricing).
   Keep links from overflowing the theme toggle once the desktop nav appears (1081px+),
   and keep a single line at 1280px and 1440px. */
@media (min-width: 1081px) {
  .nav__inner {
    min-width: 0;
  }
  .nav__actions,
  .theme-toggle,
  .nav__cta {
    flex-shrink: 0;
  }
  .nav__links {
    flex-wrap: nowrap;
    gap: 0.125rem;
    min-width: 0;
  }
  .nav__links a {
    white-space: nowrap;
    padding-inline: 0.4rem;
    font-size: 0.8125rem;
  }
}

/* Tightest desktop band, where the wrap is narrowest and the extra Pricing label must still fit. */
@media (min-width: 1081px) and (max-width: 1279px) {
  .nav__inner {
    gap: 0.75rem;
  }
  .nav__links {
    gap: 0;
  }
  .nav__links a {
    padding-inline: 0.2rem;
    font-size: 0.75rem;
  }
}
