/* custom overrides (loaded last) */
/* dimensioned content images: the width/height attributes exist only as
   aspect-ratio hints for layout-shift protection; CSS (template rules like
   max-height) must stay in charge of rendered size exactly as it was before
   the attributes were added, so both axes resolve to auto. */
img[width][height] { width: auto; height: auto; }
/* newsletter: single centered signup form (embed brings its own title) */
.blockContent.newsletterCentered {
  display: flex !important;
  justify-content: center !important;
}
.blockContent.newsletterCentered .blockForm {
  float: none !important;
  width: 100% !important;
  max-width: 560px;
  margin: 0 auto !important;
}
/* about page: circular team photos (pharmacists + staff), top-biased crop */
.blockWrap_fd132e06afb743ceaa334fa61a47b700 .itemImg,
.blockWrap_e8ffef4f9be0427ca77dde608799f979 .itemImg {
  text-align: center;
}
.blockWrap_fd132e06afb743ceaa334fa61a47b700 .itemImg img.contentImg,
.blockWrap_e8ffef4f9be0427ca77dde608799f979 .itemImg img.contentImg {
  display: block;
  margin: 0 auto;
  width: min(240px, 80%);
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 22%;
}
/* keep the phone inline in the header bar; fax stays hidden there */
.secondaryNavContent .blockText p.contactPhone {
  display: inline-block;
}
.secondaryNavContent .blockText p.contactFax {
  display: none !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;
  }
}
/* accessibility helpers */
.visuallyHidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skipLink {
  position: absolute;
  left: -9999px; top: 0;
  background: #003e7e; color: #fff;
  padding: 10px 18px;
  z-index: 3000;
  text-decoration: underline;
}
.skipLink:focus { left: 0; }
/* Lumistry newsletter embed sits where the old email form was */
.blockForm [data-lumistry-capture] { min-height: 48px; }
/* FAQ block on the contact page */
.faqBlock h3 { margin: 1.2em 0 0.3em; }
