/* custom overrides (loaded last) */
/* keyboard skip link: hidden until focused */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  padding: 10px 16px;
  background: #005596;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 4px 0;
}
.skip-link:focus {
  left: 0;
  outline: 3px solid #ffbf47;
}
/* Lumistry newsletter embed: heading/text on the left, input + button on the right.
   The template's layoutD gives .blockImg only 48% width and floats it, which kept
   the embed in the middle of the section — span the full block instead. */
.blockContent .blockImg.lumistryFull,
.blockContent.layoutD .blockImg.lumistryFull {
  width: 100% !important;
  float: none !important;
  text-align: left !important;
}
[data-lumistry-capture] .lk-form {
  display: flex !important;
  align-items: center !important;
  gap: 32px !important;
  max-width: none !important;
  width: 100%;
}
[data-lumistry-capture] .lk-head {
  flex: 1 1 auto !important;
  min-width: 0;
  text-align: left !important;
  margin: 0 !important;
}
[data-lumistry-capture] .lk-body {
  flex: 1 1 auto !important;
  min-width: 0;
}
[data-lumistry-capture] .lk-sub {
  margin-bottom: 0 !important;
}
@media (max-width: 767px) {
  [data-lumistry-capture] .lk-form {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
  }
}
@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;
  }
}
