/* custom overrides (loaded last) */
@media (max-width: 767px) {
  .headerAndNavContainer {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
  }
  /* eyebrow (secondary nav) collapses on scroll to reclaim space */
  .secondaryNav {
    overflow: hidden;
    max-height: 300px;
    transition: max-height 0.25s ease, opacity 0.2s ease;
  }
  .secondaryNav.eyebrow-collapsed {
    max-height: 0 !important;
    opacity: 0 !important;
  }
}
/* subpage logos are demoted from h1.logo to div.logo for a single-h1 outline;
   mirror the template's desktop sizing rule so they render identically */
@media only screen and (min-width: 768px) {
  .headerContent div.logo img {
    width: 100%;
    max-width: 220px;
  }
}
/* accessibility: visible keyboard focus without altering the mouse-hover look */
:focus-visible {
  outline: 3px solid #0b3d91 !important;
  outline-offset: 2px !important;
}
/* respect users who ask the OS to reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
