/* 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;
  }
}
/* top bar: no fax line in the eyebrow (fax stays in the footer only) */
.secondaryNavContent .blockText p.contactFax {
  display: none !important;
}
/* drop the single block-level phone icon in favour of a per-line icon so the
   phone number keeps a consistent left-aligned navy icon */
.secondaryNavContent .blockWrap_ec68df6a64454b0d992c5244bb2cac55 .blockInnerContent:before {
  display: none !important;
}
.secondaryNavContent .blockWrap_ec68df6a64454b0d992c5244bb2cac55 .blockText p.contactPhone {
  position: relative;
  margin: 0;
  padding-left: 24px;
}
.secondaryNavContent .blockWrap_ec68df6a64454b0d992c5244bb2cac55 .blockText p.contactPhone:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-size: contain;
  width: 16px;
  height: 16px;
  background-image: url(phoneBlue.png);
}
/* newsletter: the Lumistry embed carries its own title, so the block is a
   single centered form (template's duplicate heading removed at build time) */
.blockContent.lumistry-newsletter .blockImg.blockForm {
  float: none !important;
  display: block;
  width: 100% !important;
  max-width: 560px;
  margin: 0 auto !important;
}
/* about page: team member — smaller portrait, plain background (no box),
   bold name subheading */
.blockContent.team-member-card {
  overflow: hidden;
}
@media (min-width: 768px) {
  .blockContent.team-member-card .blockImg {
    width: 26% !important;
    max-width: 240px;
  }
  .blockContent.team-member-card .blockText {
    width: 68% !important;
  }
}
@media (max-width: 767px) {
  .blockContent.team-member-card .blockImg {
    max-width: 240px;
    margin: 0 auto;
    float: none;
  }
}
.blockContent.team-member-card h3 {
  font-weight: 700;
  font-size: 1.35em;
  margin-top: 0;
}
/* accessibility: enlarge the touch target of phone links to >=44px without
   moving any pixels (invisible hit-area overlay, WCAG 2.5.8) */
a[href^="tel:"] {
  position: relative;
}
a[href^="tel:"]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  min-width: 44px;
  min-height: 44px;
}
/* accessibility: consistent keyboard-focus indicator (only visible when
   navigating by keyboard; mouse/touch rendering is unchanged) */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #14487f;
  outline-offset: 2px;
}
/* accessibility: skip-to-content link, visible only when keyboard-focused */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  background: #003e7e;
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 4px 0;
  z-index: 3000;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
  top: 0;
}
/* phone numbers become tel: links; keep them styled as the surrounding text */
p.contactPhone a[href^="tel:"],
.footerContent a[href^="tel:"] {
  color: inherit;
  text-decoration: none;
}
