/* 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;
  }
}
/* header eyebrow: match the MSI template -- one line. The template hides
   contactFax/contactEmail in the bar (fax stays visible on the contact page
   blocks and in the footer). nowrap keeps each item from wrapping on desktop;
   the template's own mobile media query stacks the items vertically as before. */
@media (min-width: 768px) {
  .secondaryNavContent .blockInnerContent,
  .secondaryNavContent .blockText p {
    white-space: nowrap;
  }
}
/* keep the tappable phone links visually identical to the surrounding text
   (they sit inside .contactPhone in the bar/footer and contact blocks) */
.contactPhone a,
.contactPhone a:hover,
.contactPhone a:focus {
  color: inherit;
  text-decoration: none;
}
/* skip-to-content link: visually hidden until it receives keyboard focus */
a.skip-to-content {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  padding: 10px 16px;
  background: #003e7e;
  color: #fff;
  border-radius: 0 0 4px 0;
  text-decoration: none;
}
a.skip-to-content:focus {
  left: 0;
}
/* paired with the width/height attributes the build adds to <img> for CLS:
   keep height proportional so responsive scaling is unchanged. Gallery/object-fit
   rules use higher specificity (class selectors) and still win, so cropped/cover
   images are unaffected. */
img[width][height] {
  height: auto;
}
/* app-store badges (footer + body "Download Our App" blocks): the CLS width/height
   attributes the build adds forced these to render at their full intrinsic width,
   stretching the badges. The template intends them at ~42px tall, proportional
   width -- restore that by letting width track the capped height. */
.appDownload li img[width][height] {
  width: auto;
  height: auto;
  max-height: 42px;
}
/* homepage hero: the pharmacist's face sits in the upper-right of the photo, so
   the default center (50% 50%) crop hid it. Anchor the focal point up and to the
   right so the face stays in frame across viewport sizes. */
div.blockWrap_ccc68f2d79e44c4fae1a08850a6d179f {
  background-position: 62% 22% !important;
}
/* Lumistry newsletter embed: the widget renders its own heading (<h3 class=
   "lk-title"> + <p class="lk-sub"> inside .lk-head), which duplicates the
   template's "Sign Up For Our Newsletter" H2 next to it. Hide only that
   header block. The success toast (<p class="lk-msg lk-ok">) lives directly
   under .lk-form, NOT inside .lk-head, so it stays visible after submit. */
[data-lumistry-capture] .lk-head {
  display: none;
}
