/* custom overrides (loaded last) */
@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 bottom row: copyright (left) + Download Our App (right). */
.footerContent .valdostaFooterBottom {
  clear: both;
  float: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1em 2em;
  padding-top: 1.5em;
}
.footerContent .valdostaFooterBottom .blockContainer {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
}
.footerContent .valdostaFooterBottom .appDownload,
.footerContent .valdostaFooterBottom .appDownload .blockInnerContent,
.footerContent .valdostaFooterBottom .appDownload ul {
  text-align: right;
}
.footerContent .valdostaFooterBottom .appDownload ul li {
  display: inline-block;
  vertical-align: middle;
}
@media (max-width: 767px) {
  .footerContent .valdostaFooterBottom {
    justify-content: flex-start;
  }
  .footerContent .valdostaFooterBottom .appDownload,
  .footerContent .valdostaFooterBottom .appDownload .blockInnerContent,
  .footerContent .valdostaFooterBottom .appDownload ul {
    text-align: left;
  }
}

/* Accessibility: skip-link, visually hidden until keyboard focus (no visible
   change to the template design). */
.skipToMain {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  padding: 8px 16px;
  background: #003e7e;
  color: #fff;
  text-decoration: none;
  border-radius: 0 0 4px 0;
}
.skipToMain:focus {
  left: 0;
  top: 0;
}
/* Visually-hidden text (kept in the a11y/SEO tree, off-screen visually). */
.vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* Newsletter (Lumistry) capture: hide the widget's own heading block (its
   "Sign Up For Our Newsletter" title + "Get pharmacy news and reminders by
   email" subtitle) that renders directly above the input and button. The
   section already has its own template heading, so this removes the duplicate
   text next to the form while keeping the input and Subscribe button. */
[data-lumistry-capture] .lk-head {
  display: none !important;
}
