/* 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;
  }
}

/* Hide ONLY the Lumistry widget's built-in title + subtitle text (its own
   "Sign Up For Our Newsletter" / "Get pharmacy news and reminders by email.").
   The email input and submit button live in a separate .lk-body sibling and are
   left fully intact. The page template already provides the section heading. */
[data-lumistry-capture] .lk-title,
[data-lumistry-capture] .lk-sub {
  display: none !important;
}
/* If the widget uses its inline-heading layout, stop the now-empty header box
   from reserving horizontal space so the form fills the row. */
[data-lumistry-capture] .lk-form.lk-ih .lk-head {
  flex: 0 0 0 !important;
}

/* Accessibility: keyboard skip link (visually hidden until focused) */
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  padding: 10px 16px;
  background: #0b5cab;
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 6px 0;
  text-decoration: none;
}
.skip-to-content:focus {
  left: 0;
}
/* Accessibility: visible keyboard focus outline */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #1a73e8 !important;
  outline-offset: 2px !important;
}
