/* 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;
  }
}
@media (min-width: 768px) {
  /* Lay the eyebrow contact items (address | phone | hours) in one centered
     row. The repurposed footer block carries text-align:right, which pushes
     each value away from its floated icon -- reset to left so the icon sits
     tight to its text, matching the template's intended secondaryNav layout. */
  .secondaryNav > .blockContent {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6em 3em;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 4%;
    padding-right: 4%;
    box-sizing: border-box;
  }
  .secondaryNav > .blockContent > .blockContainer {
    width: auto;
    text-align: left;
  }
  .secondaryNav .blockText,
  .secondaryNav .blockInnerContent,
  .secondaryNav p {
    text-align: left;
  }
  /* keep each contact value on a single line */
  .secondaryNav p {
    white-space: nowrap;
  }
}
/* Visually-hidden text for screen readers (no visual change to the page). */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
/* Skip-to-content link: off-screen until keyboard-focused, then visible. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  background: #ffffff;
  color: #000000;
  padding: 10px 16px;
  border-radius: 0 0 4px 0;
  text-decoration: underline;
}
.skip-link:focus {
  left: 0;
  top: 0;
}
