/* custom overrides (loaded last) */
/* The template's runtime eyebrow shows contact details for only one pharmacy.
   Hide it sitewide so no single location is presented as the group default. */
.secondaryNav {
  display: none !important;
}

/* Follansbee's location-specific logo appears in the page content, not in the
   shared site header. */
.locationBrandLogo {
  max-width: 680px;
  margin: 1.5rem auto 2.5rem;
  padding: 0 1rem;
  text-align: center;
}
.locationBrandLogo img {
  display: block;
  width: 100%;
  height: auto;
}
.locationBrandNote {
  max-width: 680px;
  margin: -1.5rem auto 2.5rem;
  padding: 0 1rem;
  text-align: center;
  line-height: 1.5;
}
.locationMapEmbed {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}
.locationContactCards {
  padding-bottom: 20px !important;
}
.locationMapBlock {
  padding-top: 0 !important;
}
.locationMapBlock .scMap {
  padding-top: 0 !important;
  display: block;
}
@media (max-width: 767px) {
  .locationMapEmbed { min-height: 320px; }
}

/* Accessibility: visually-hidden text (readable by screen readers / SEO) and a
   keyboard skip link that appears on focus. */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: #0b5c8f;
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 4px 0;
  font-weight: 600;
  text-decoration: none;
}
.skip-to-content:focus {
  left: 0;
}
@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;
  }
}
/* Desktop eyebrow icon hug: the relocated contact blocks carry inline
   width:100%;text-align:right (from their footer source layout). In the top
   eyebrow flex strip that stretches each box full-width and pushes the text to
   the right, while the icon :before (position:absolute; left:-20px) stays pinned
   to the box's left edge -> the icon drifts far from its text. On desktop, shrink
   each box to its content and left-align the text so the icon hugs it. */
@media only screen and (min-width: 1025px) {
  .secondaryNavContent .blockContainer {
    width: auto !important;
    max-width: none !important;
    text-align: left !important;
  }
  .secondaryNavContent .blockText,
  .secondaryNavContent .blockInnerContent,
  .secondaryNavContent .blockText p {
    text-align: left !important;
  }
}
/* Eyebrow hours: size the item to its content (no fixed cap) and let the line
   wrap ONLY at the "|" day-group separators. Each day group is wrapped in
   .eyebrowHoursPart (white-space:nowrap) at build time, so a long Saturday
   string never breaks mid-phrase, right-aligns, or overflows. Data-agnostic:
   works for any hours length. */
.secondaryNavContent .blockText p {
  white-space: normal;
}
.eyebrowHoursPart {
  white-space: nowrap;
}
/* Portrait crop guard: the template paints photos into square/circle shapes via
   a JS-set background-image with background-size:cover, which center-crops and
   clips heads/faces. Anchor the crop to the TOP so heads are never cut. This is
   a safe no-op for square icons (top == center for a square in a square) and is
   applied wherever a photo sits in a shaped container. Data-agnostic. */
.imgShape,
.circleImg,
.contentImg.imgShape,
.imgHover-transform .contentImg {
  background-position: center top !important;
}

/* Durable Medical Equipment "Products" horizontal scrolling carousel. */
.dmeProducts .dmeProductsIntro {
  font-size: 1.05em;
  margin: 0 0 1.25em;
}
.dmeScroller {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.25rem 0.25rem 1.25rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.dmeScroller:focus-visible {
  outline: 2px solid #003E7E;
  outline-offset: 3px;
}
.dmeScroller::-webkit-scrollbar { height: 8px; }
.dmeScroller::-webkit-scrollbar-thumb {
  background: #c2ccd6;
  border-radius: 4px;
}
.dmeCard {
  flex: 0 0 auto;
  width: 200px;
  margin: 0;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #e4e8ee;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.dmeCardImg {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 0.75rem;
  box-sizing: border-box;
}
.dmeCardImg img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.dmeCardName {
  padding: 0.6rem 0.75rem 0.85rem;
  font-size: 0.92em;
  font-weight: 600;
  color: #003E7E;
  text-align: center;
  border-top: 1px solid #eef1f4;
}
@media (max-width: 767px) {
  .dmeCard { width: 160px; }
  .dmeCardImg { height: 150px; }
}

/* Footer "Contact Us" column: the three locations stack beneath the heading in
   a single column (no longer separate empty/uneven columns). */
.footerContactList .footerLocationEntry { margin: 0 0 1.1em; }
.footerContactList .footerLocationEntry p { margin: 0 0 0.2em; line-height: 1.4; }
.footerContactList .footerLocationEntry p:first-child { margin-bottom: 0; }
.footerContactList .footerLocationEntry strong { font-size: 1.02em; }
.footerContactList .footerLocationHours { margin: 0; font-style: italic; }

/* About page: the pharmacy team roster renders as photo cards (headshot above
   name + bio) in a responsive grid beneath "The Pharmacy Team" heading. */
.aboutTeamGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.75rem 1.5rem;
  margin: 1.25rem 0 0.5rem;
}
.aboutTeamCard { text-align: center; }
.aboutTeamPhoto {
  width: 150px;
  height: 150px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  overflow: hidden;
  background: #eef1f4;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}
.aboutTeamPhoto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.aboutTeamCard h3 {
  margin: 0 0 0.4em;
  font-size: 1.08em;
  color: #003E7E;
}
.aboutTeamCard ul {
  margin: 0;
  padding: 0 0 0 1.2em;
  list-style: disc;
  text-align: left;
  font-size: 0.92em;
  line-height: 1.45;
}
.aboutTeamCard ul li { margin-bottom: 0.3em; }
@media (max-width: 767px) {
  .aboutTeamGrid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1.4rem 1rem; }
  .aboutTeamPhoto { width: 120px; height: 120px; }
}

/* Newsletter section: the Lumistry email-capture embed renders its own heading
   (h3.lk-title) and description (p.lk-sub) inside a .lk-head block, on top of
   the template's own "Sign Up For Our Newsletter" (h2). Hide the embed's
   redundant title + subtitle so only the section h2 and the actual form
   (name/email fields + button) remain. Scoped to the capture container. */
[data-lumistry-capture] .lk-head { display: none !important; }

/* Mobile page: the app explainer block leads with two official RxLocal App
   Store screenshots (replacing the RxLocal logo) as its image column. */
.rxHeroShots {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1.25rem;
}
.rxHeroShots img {
  width: 50%;
  max-width: 220px;
  height: auto;
  display: block;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(0, 32, 72, 0.16);
}
.rxHeroShots img:nth-child(2) {
  margin-top: 2.25rem;
}
@media (max-width: 767px) {
  .rxHeroShots { gap: 0.9rem; }
  .rxHeroShots img:nth-child(2) { margin-top: 1.5rem; }
}
