/* 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 bar: copyright left, app download right, same row */
.footerContent .footerBottomBar {
  float: none;
  clear: both;
  width: 100%;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
}
.footerContent .footerBottomBar > .blockContainer {
  float: none;
  width: auto;
  margin: 0;
  padding-top: 0;
}
.footerContent .footerBottomBar > .blockContainer:last-child {
  margin-left: auto;
}
.footerContent .footerBottomBar .appDownload {
  text-align: right;
}
.footerContent .footerBottomBar .appDownload ul {
  margin: 0.4em 0 0 0;
  padding: 0;
  list-style: none;
  text-align: right;
}
.footerContent .footerBottomBar .appDownload ul li {
  display: inline-block;
  margin-left: 0.5em;
}
.footerContent .footerBottomBar .appDownload ul li img {
  height: 40px;
  width: auto;
  display: block;
}
@media (max-width: 767px) {
  .footerContent .footerBottomBar {
    justify-content: flex-start;
  }
  .footerContent .footerBottomBar .appDownload,
  .footerContent .footerBottomBar .appDownload ul {
    text-align: left;
  }
  .footerContent .footerBottomBar .appDownload ul li {
    margin: 0 0.5em 0 0;
  }
}

/* --- QA: accessibility + mobile tap-target enhancements --- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  background: #00447c;
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 6px 0;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
  outline: 3px solid #ffd24d;
}
#main-content:focus {
  outline: none;
}
@media (max-width: 768px) {
  nav .navContent a,
  a.button,
  .button,
  button,
  input[type="submit"] {
    min-height: 44px;
    line-height: 1.2;
  }
}
/* Newsletter (Lumistry) widget: hide injected h3 title + p subtitle; keep template H2 */
[data-lumistry-capture] .lk-title,
[data-lumistry-capture] .lk-sub { display: none !important; }
