/* 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;
  }
}
/* the header logo heading is demoted from h1 to div for SEO; the template CSS
   already pairs every h1.logo rule with div.logo except this one width cap,
   which is replicated here so rendering stays pixel-identical */
@media only screen and (min-width: 768px) {
  .headerContent div.logo img {
    width: 100%;
    max-width: 220px;
  }
}
