/* custom overrides (loaded last) */
/* Keep aspect ratio for responsive images: we stamp intrinsic width/height
   attributes for CLS, so pair them with height:auto (lowest specificity, so any
   real CSS height still wins) — the browser reserves space from the attributes
   while width scaling keeps proportions and never stretches. */
img { height: auto; }
/* Footer app-store badges: the template caps them with max-height:42px, but our
   stamped width attribute kept the width fixed and stretched them horizontally.
   Let width follow the capped height so the badges keep their aspect ratio. */
.appDownload li img { width: auto !important; }
/* Newsletter: the Lumistry signup widget renders its own heading + description
   inside <div class="lk-head"> (h3.lk-title + p.lk-sub), duplicating the
   section's H2 (which lives in the sibling .blockText). Hide only that header
   block — the email field, Subscribe button, and the widget's own success
   message ("Thanks — you're subscribed!", p.lk-msg replacing the form after
   submit) must all remain visible. */
.blockForm .lk-head,
[data-lumistry-capture] .lk-head { display: none !important; }
/* visually-hidden text for screen readers / SEO without changing layout */
.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;
}
/* keyboard skip link: off-screen until focused */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  background: #0a2540;
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 6px 0;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
  outline: 3px solid #ffbf47;
}
@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;
  }
}
