/* custom overrides (loaded last) */
/* eyebrow (secondary nav): even, balanced distribution of address / phone /
   hours, and keep the phone glyph attached to its number (template floats it
   left, which detaches the icon when the block shrink-wraps its content). */
@media (min-width: 1025px) {
  /* three columns (1fr auto 1fr) so the phone lands at the true centre while
     address pins left and hours pins right. The template bakes
     style="width:100%;text-align:right" inline on each block, which forces
     every block full-width and shoves the text (and detaches the absolutely
     positioned icon) to the right; override that so each block shrink-wraps to
     its text and the icon stays attached. */
  .secondaryNavContent {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 1.5em !important;
    width: 100% !important;
  }
  .secondaryNavContent > * {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
  }
  .secondaryNavContent > *:nth-child(1) { text-align: left !important; }
  .secondaryNavContent > *:nth-child(2) { text-align: center !important; }
  .secondaryNavContent > *:nth-child(3) { text-align: right !important; }
  .secondaryNavContent .blockText p {
    margin-bottom: 0 !important;
  }
  .secondaryNavContent .contactPhone {
    margin-bottom: 0 !important;
  }
}
@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;
  }
}
