/* custom overrides (loaded last) */

/* Newsletter: single centered signup form (Lumistry embed), duplicate heading removed */
.newsletterFormCentered {
  display: block;
  text-align: center;
}
.newsletterFormCentered .blockImg,
.newsletterFormCentered .blockForm {
  float: none;
  width: 100%;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

/* Top contact bar (secondary nav / eyebrow): icon tight to text, even spacing, no wrapping */
.secondaryNavContent {
  gap: 2.5em;
}
.secondaryNavContent .blockContainer {
  /* beat the inline width:100% so each block shrinks to its own content
     instead of stretching to ~1/3 of the bar (which detached the text from the icon) */
  width: auto !important;
  flex: 0 0 auto;
  text-align: left !important;
}
.secondaryNavContent .blockInnerContent {
  white-space: nowrap;
}
/* keep the address on a single line */
.blockWrap_d1c3085901d84645b31bd09c4bae76b6 .blockInnerContent br {
  display: none;
}
/* even 8px gap between every icon and its text */
.blockWrap_d1c3085901d84645b31bd09c4bae76b6 .blockInnerContent:before { left: -21px !important; }
.blockWrap_ec68df6a64454b0d992c5244bb2cac55 .blockInnerContent:before { left: -24px !important; }
.blockWrap_f00a8333e723460baad25b5365b52e36 .blockInnerContent:before { left: -24px !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;
  }
}

/* ---- Pharmacy team member cards ---- */
.teamGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25em;
  margin-top: 1.75em;
}
.teamCard {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 1.5em 1.6em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.teamCard:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.teamCard .teamCardName {
  margin-top: 0;
  margin-bottom: 0.5em;
}
.teamCard p {
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .teamGrid {
    grid-template-columns: 1fr;
  }
}

/* Accessibility: skip-to-content link, visually hidden until focused */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  background: #0a4a8a;
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 6px 0;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
  outline: 3px solid #ffbf47;
  outline-offset: 2px;
}
