/* custom overrides (loaded last) */
/* imgs carry intrinsic width/height attrs (CLS fix); keep the rendered size
   driven by CSS exactly as before the attrs existed, and never let any
   image overflow or oversize its container */
img {
  height: auto;
  max-width: 100%;
}
/* The eyebrow bar shows only the phone (template default hides fax + email
   there); the fax stays available on the contact page. */
.secondaryNavContent .blockText p.contactPhone {
  display: inline-block;
}
/* clickable phone numbers keep the surrounding text style */
p.contactPhone a[href^="tel:"] {
  color: inherit;
  text-decoration: none;
}
/* accessible skip link: visually hidden until keyboard-focused */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 8px;
  top: 8px;
  z-index: 3000;
  background: #fff;
  color: #003e7e;
  padding: 10px 16px;
  border: 2px solid currentColor;
  border-radius: 4px;
}
/* footer email: keep the address beside the envelope icon instead of
   wrapping beneath it (the icon is a floated :before; flex overrides that) */
.footerContent p.contactEmail {
  display: flex;
  align-items: flex-start;
}
.footerContent p.contactEmail:before {
  float: none;
  flex: 0 0 auto;
}
.footerContent p.contactEmail a {
  min-width: 0;
  overflow-wrap: anywhere;
}
/* about page: The Pharmacy Team — left-aligned title, staff in boxed cards */
.block_boydstaffsection01 .boydTeamTitle {
  text-align: left;
}
.boydTeamGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  text-align: left;
}
.boydTeamCard {
  border: 1px solid #d9dee5;
  border-radius: 6px;
  background: #fff;
  padding: 18px 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.boydTeamCard strong {
  display: block;
  color: #003e7e;
  margin-bottom: 4px;
}
.boydTeamCard span {
  display: block;
  color: #666;
  font-size: 0.9em;
}
/* homepage newsletter: the Lumistry embed supplies its own title, so the
   block has no side text; center the signup form within its section */
.block_d66f6a80367049f7b70e5a4e6d422571 .blockImg.blockForm {
  float: none !important;
  width: 100% !important;
  max-width: 640px;
  margin: 0 auto !important;
  padding: 0 !important;
  text-align: center;
}
@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;
  }
}
