/* custom overrides (loaded last) */

/* Images stamped with intrinsic width/height at build time (data-dim="auto")
   originally had NO width/height attributes and were sized purely by CSS with
   browser-auto aspect ratio (e.g. .appDownload li img{max-height:42px} scales
   width proportionally). A bare width attribute otherwise becomes the specified
   width and distorts such images. Restore auto sizing so the attributes only
   serve their anti-layout-shift purpose; CSS class rules still win where they
   set explicit sizes. */
img[data-dim="auto"] {
  width: auto;
  height: auto;
}

/* Logo sizing: the vendor reset (vendorCSS) declares
   `img{max-width:100% !important}`, which overrides the theme's non-important
   `.headerContent h1.logo img{max-width:220px}` cap. That left the logo sized
   only by its container width, so on narrow/mobile viewports (where the header
   column is full-width) the logo ballooned. Re-assert an authoritative,
   proportional cap here (loaded last, with !important so it wins), and force
   height:auto so the intrinsic width/height attributes can't distort it. */
.headerContent h1.logo img,
.headerContent div.logo img {
  width: 100% !important;
  max-width: 220px !important;
  height: auto !important;
}
@media (max-width: 767px) {
  .headerContent h1.logo img,
  .headerContent div.logo img {
    max-width: 190px !important;
  }
}

/* The template's top contact bar natively hides fax/email and shows only the
   phone. Keep it that way (fax was previously revealed here, since removed on
   request); the footer contact column is untouched. */
.block_ec68df6a64454b0d992c5244bb2cac55 .contactPhone {
  display: inline !important;
}
.block_ec68df6a64454b0d992c5244bb2cac55 .contactFax,
.block_ec68df6a64454b0d992c5244bb2cac55 .contactEmail {
  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;
  }
}

/* Accessibility: skip-to-content link (visible only while focused). */
.skipLink {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  padding: 10px 18px;
  background: #003e7e;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
}
.skipLink:focus {
  left: 0;
}

/* SEO: crawlable text inside the logo h1, visually hidden. */
.visuallyHiddenSEO {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Newsletter section: the Lumistry embed brings its own title, so the
   template's heading column is removed at build time. The layoutD flex row
   would leave the remaining form column at 48% width floated right, so
   center it instead. */
.block_d66f6a80367049f7b70e5a4e6d422571 {
  display: block !important;
}
.block_d66f6a80367049f7b70e5a4e6d422571 .blockImg.blockForm {
  float: none !important;
  width: 100% !important;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.block_d66f6a80367049f7b70e5a4e6d422571 [data-lumistry-capture] {
  display: inline-block;
  width: 100%;
  text-align: left;
}

/* About page: "The Pharmacy Team" section — one box per member, left-aligned. */
.teamSection,
.teamSection .contentTitle,
.teamSection .blockInnerContent {
  text-align: left !important;
}
.teamMemberCard {
  background: #fff;
  border: 1px solid #c2d8f0;
  border-radius: 6px;
  padding: 24px 28px;
  margin: 0 0 20px;
  text-align: left;
}
.teamMemberCard h3 {
  margin-top: 0;
  margin-bottom: 10px;
}
.teamMemberCard p {
  margin: 0;
}

