/* custom overrides (loaded last) */
/* Accessibility: skip-to-content link, visually hidden until focused. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 0.6em 1em;
  background: #003e7e;
  color: #fff;
  border-radius: 0 0 4px 0;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
}
/* Screen-reader-only text: real heading text for the logo h1 without changing
   the visual design. */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* Local SEO: responsive Google Map embed placed near the location content. */
.mapEmbedWrap {
  width: 100%;
  max-width: 960px;
  margin: 1.5em auto 0;
}
.mapEmbed {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
}
/* When the iframe replaces the template's native .scInteractiveMap widget it
   lives inside the original .scMap block; make it fill that block cleanly. */
.scMap .mapEmbed {
  height: 100%;
  min-height: 340px;
}
/* Footer: the Facebook icon list is moved (at build time) inside the tagline
   block, right under the 'Caring beyond prescriptions...' sentence. Its <li>s
   are floated by the template, so contain them and add breathing room so the
   disclaimer paragraph below does not overlap the icon. */
.footerContent .blockInnerContent .footerSocialIcons {
  display: flow-root;
  margin: 16px 0 8px;
}
/* Newsletter section: keep the template's card design; let the Lumistry embed
   fill the same space the email-capture form used to occupy. */
.blockForm .lumistryCapture {
  width: 100%;
}
.blockForm .lumistryCapture [data-lumistry-capture] {
  min-height: 60px;
}
/* Newsletter: single centered column (the duplicate heading column is removed at
   build time and the embed renders its own title + form). */
.blockContent.newsletterCentered {
  display: block;
  text-align: center;
}
.blockContent.newsletterCentered .blockImg,
.blockContent.newsletterCentered .blockForm {
  width: 100%;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  float: none;
}
.blockContent.newsletterCentered .lumistryCapture {
  margin-left: auto;
  margin-right: auto;
}
/* Header eyebrow: keep the phone inline; hide the fax up top (per request) so the
   bar reads address | phone | hours. Fax stays available in the footer. */
.secondaryNavContent .blockText p.contactPhone {
  display: inline-block;
  vertical-align: middle;
}
.secondaryNavContent .blockText p.contactFax {
  display: none;
}
/* Footer: dedicated full-width row for the social icons just above the dotted
   divider, left-aligned to match the requested layout. */
.footerSocialRow {
  width: 100%;
  clear: both;
  text-align: left;
  padding: 0.25em 0 0.75em;
}
.footerSocialRow .socialIcons,
.footerSocialRow .iconGroup {
  justify-content: flex-start;
  margin: 0;
  padding: 0;
  text-align: left;
}
@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;
  }
}
