/* custom overrides (loaded last) */
/* Accessibility: keyboard "Skip to main content" link. Off-screen until it
   receives focus, so the visible design is unchanged; keyboard/screen-reader
   users can jump past the header/nav straight to the main content. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  background: #ffffff;
  color: #00518f;
  padding: 10px 16px;
  font-weight: 600;
  border-radius: 0 0 6px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.skip-link: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;
  }
}
/* footer: copyright (left) shares one row with Download Our App (right-justified),
   as the template intends. The base .blockContainer 4.34% right margin makes three
   30% blocks overflow 100% and wrap (app block stacks below), and float placement is
   fragile. refine.py wraps copyright + spacer + app-download in .footerBottomRow; we
   lay that out as a flex row: copyright left, app-download right, baselines aligned. */
@media only screen and (min-width: 768px) {
  .footerContent .footerBottomRow {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    width: 100%;
    clear: both;
  }
  .footerContent .footerBottomRow .blockContainer {
    float: none;
    width: auto;
    margin: 0;
  }
  /* drop the empty middle spacer block; flex space-between handles the gap */
  .footerContent .footerBottomRow .blockWrap_d6e1858f40e64497a900cc2568b58e1a {
    display: none;
  }
  .footerContent .footerBottomRow .blockWrap_db86d595c9424d9f9d4d0403895bf81e .blockInnerContent {
    text-align: right;
  }
  /* the heading carries .blockText margin-top:1.5em; zero it so the flex baseline
     lines "Download Our App" up with the copyright text */
  .footerContent .footerBottomRow .blockWrap_db86d595c9424d9f9d4d0403895bf81e .blockText {
    margin-top: 0;
  }
}
/* Newsletter (Lumistry) capture embed renders its own title + subtitle
   ("Sign Up For Our Newsletter" / "Get pharmacy news and reminders by email")
   inside a .lk-head wrapper, above the email input and button. The template
   section already provides the "Sign Up For Our Newsletter" heading, so hide the
   embed's built-in .lk-head to drop those two redundant lines while keeping the
   input + button. (The embed only honors data-title/data-subtitle overrides when
   truthy, so an empty value can't blank them; CSS is the reliable path.) */
[data-lumistry-capture] .lk-head {
  display: none !important;
}
