.fx-site-header,
.fx-site-footer {
  color: #10203b;
  font: 400 15px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.fx-site-header *, .fx-site-footer * { box-sizing: border-box; }
.fx-layout-wrap {
  width: min(1200px, calc(100% - 2 * clamp(18px, 4vw, 64px)));
  margin: 0 auto;
}
.fx-site-header a, .fx-site-footer a { text-decoration: none; }
.fx-site-header :is(a, button):focus-visible,
.fx-site-footer a:focus-visible {
  outline: 2px solid #5275ec;
  outline-offset: 4px;
}
.fx-site-header { background: #fff; border-bottom: 1px solid #e2eaf5; }
.fx-header-inner,
.fx-header-menu,
.fx-header-menu ul,
.fx-header-utility { display: flex; align-items: center; }
.fx-header-inner { min-height: 76px; justify-content: space-between; gap: 24px; }
.fx-header-brand, .fx-footer-brand {
  display: inline-block;
  color: #10203b;
  font-size: 31px;
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: 1.05;
  white-space: nowrap;
}
.fx-header-brand span { color: #244bd5; }
.fx-header-menu { flex: 1; justify-content: flex-end; gap: clamp(15px, 2.4vw, 36px); }
.fx-header-menu ul { gap: clamp(13px, 2vw, 30px); padding: 0; margin: 0; list-style: none; }
.fx-header-menu a { color: #283e60; font-weight: 650; white-space: nowrap; }
.fx-header-menu a:hover, .fx-header-menu a[aria-current="page"] { color: #244bd5; text-decoration: underline; text-underline-offset: 5px; }
.fx-header-utility { gap: 13px; padding-left: clamp(12px, 1.5vw, 24px); border-left: 1px solid #e2eaf5; }
.fx-header-menu .fx-portal, .fx-header-menu .fx-cart { font-size: 13px; }
.fx-header-menu .fx-header-cta, .fx-site-footer .fx-footer-cta {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 8px;
  line-height: 1.35;
  background: #244bd5;
  color: #fff;
  font-weight: 750;
}
.fx-header-menu .fx-header-cta:hover { color: #fff; background: #173bb8; text-decoration: none; }
.fx-nav-toggle { display: none; }

/* Match the homepage's closing section across the branded page templates. */
body .elementor-location-footer { margin-top: 0; }

body section:is(.fx-home.fx-cta, .fx-s-section.fx-s-cta, .fx-w-section.fx-w-cta, .fx-c-section.fx-c-cta, .fx-a-section.fx-a-cta, .fx-contact-links, .fx-est-section.fx-est-questions) {
  background: #e8effd;
  border-top: 1px solid #d5e0f5;
  color: #10203b;
  padding-block: clamp(32px, 4vw, 54px);
}
body section:is(.fx-home.fx-cta, .fx-s-section.fx-s-cta, .fx-w-section.fx-w-cta, .fx-c-section.fx-c-cta, .fx-a-section.fx-a-cta, .fx-contact-links, .fx-est-section.fx-est-questions) h2 {
  font-size: clamp(30px, 3.5vw, 46px);
}
body section:is(.fx-home.fx-cta, .fx-s-section.fx-s-cta, .fx-w-section.fx-w-cta, .fx-c-section.fx-c-cta, .fx-a-section.fx-a-cta) {
  & p { color: #485b75; }
  & :is(.fx-actions, .fx-s-actions, .fx-w-actions, .fx-c-actions, .fx-a-actions) > a {
    color: #10203b;
    background: transparent;
    border-color: #a8badd;
  }
  & :is(.fx-actions, .fx-s-actions, .fx-w-actions, .fx-c-actions, .fx-a-actions) > a:hover {
    color: #10203b;
    background: #dce7fb;
    text-decoration: none;
  }
  & :is(.fx-actions, .fx-s-actions, .fx-w-actions, .fx-c-actions, .fx-a-actions) > a:first-child {
    color: #fff;
    background: #244bd5;
    border-color: transparent;
  }
  & :is(.fx-actions, .fx-s-actions, .fx-w-actions, .fx-c-actions, .fx-a-actions) > a:first-child:hover {
    color: #fff;
    background: #173bb8;
  }
  & :is(.fx-s-related, .fx-w-cross) { border-top-color: #c6d5ef; }
  & :is(.fx-s-related, .fx-w-cross) a { color: #244bd5; }
}

.fx-site-footer { padding: 55px 0 20px; background: #0e1b34; color: #d3def1; }
.fx-footer-grid { display: grid; grid-template-columns: 1.45fr 1.1fr .75fr 1fr; gap: 32px; }
.fx-site-footer p, .fx-site-footer ul { margin: 0; }
.fx-site-footer ul { list-style: none; padding: 0; display: grid; gap: 7px; }
.fx-site-footer a { color: #d3def1; }
.fx-site-footer a:hover { color: #fff; text-decoration: underline; }
.fx-site-footer .fx-footer-brand { color: #fff; margin-bottom: 12px; }
.fx-footer-brand span { color: #a8bcff; }
.fx-footer-intro p { max-width: 31ch; }
.fx-site-footer .fx-footer-title { color: #fff; margin-bottom: 11px; font-weight: 750; }
.fx-site-footer .fx-footer-cta { margin-top: 12px; background: #dce5ff; color: #112247; }
.fx-site-footer .fx-footer-cta:hover { background: #fff; color: #112247; }
.fx-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid #364864;
  color: #b8c8e0;
  font-size: 13px;
}
body.home:has(.fx-site-footer) .fx-cta .fx-footlinks { display: none; }

@media (max-width: 900px) {
  .fx-header-inner { flex-wrap: wrap; min-height: 68px; padding: 12px 0; gap: 12px; }
  .fx-nav-ready .fx-nav-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 6px 13px;
    border: 1px solid #c4d0e6;
    border-radius: 7px;
    color: #10203b;
    background: #fff;
    font: inherit;
    font-weight: 700;
  }
  .fx-header-menu { flex: 1 0 100%; display: grid; justify-content: stretch; gap: 12px; border-top: 1px solid #e2eaf5; padding: 9px 0 3px; }
  .fx-nav-ready .fx-nav-toggle[aria-expanded="false"] + .fx-header-menu { display: none; }
  .fx-header-menu ul { display: grid; gap: 2px; }
  .fx-header-menu nav a { display: block; padding: 7px 0; }
  .fx-header-utility { flex-wrap: wrap; border: 0; padding: 0; }
  .fx-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .fx-site-footer { padding-top: 37px; }
  .fx-footer-grid { gap: 24px 14px; }
  .fx-footer-intro { grid-column: 1 / -1; }
  .fx-footer-bottom { margin-top: 24px; }
}
