/* MortgageCampass navigation: shared by Home, Affordability, About, and Contact. */
.mc-site-header {
  background: #fff;
  border-bottom: 1px solid #e2eaf0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: #102a43;
}

.mc-site-header,
.mc-site-header *,
.mc-site-header *::before,
.mc-site-header *::after {
  box-sizing: border-box;
}

.mc-site-header__inner {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.mc-site-header__brand {
  display: flex;
  align-items: center;
  flex: 0 0 300px;
  width: 300px;
  max-width: 300px;
  text-decoration: none;
}

.mc-site-header__brand img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.mc-site-header__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: clamp(10px, 1.4vw, 22px);
}

.mc-site-header__links a {
  display: block;
  color: #102a43;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

.mc-site-header__links a:hover,
.mc-site-header__links a:focus-visible,
.mc-site-header__links a[aria-current="page"] {
  color: #087f8c;
}

@media (max-width: 1000px) {
  .mc-site-header__inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .mc-site-header__links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .mc-site-header__inner {
    padding: 14px 18px;
    gap: 14px;
  }

  .mc-site-header__brand {
    flex: 0 1 300px;
    width: 300px;
    max-width: 80vw;
  }

  .mc-site-header__links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 12px 8px;
    justify-items: center;
    align-items: center;
  }

  .mc-site-header__links a {
    width: 100%;
    text-align: center;
    font-size: 12px;
    line-height: 1.35;
    white-space: normal;
    padding: 5px 2px;
  }
}


/* Unified header v2 — deliberately loaded LAST on all 18 HTML pages.
   Exact same original logo asset, dimensions and container across pages. */
.mc-site-header {width:100%!important;background:#fff!important;border-bottom:1px solid #e3efe9!important;}
.mc-site-header .mc-site-header__inner {
 width:100%!important;max-width:1240px!important;margin:0 auto!important;
 padding:12px 24px!important;display:flex!important;align-items:center!important;
 justify-content:space-between!important;flex-wrap:nowrap!important;gap:24px!important;
 min-height:0!important;
}
.mc-site-header .mc-site-header__brand {
 display:flex!important;align-items:center!important;
 flex:0 0 260px!important;width:260px!important;min-width:260px!important;
 max-width:260px!important;margin:0!important;padding:0!important;
 text-decoration:none!important;
}
.mc-site-header .mc-site-header__brand img {
 display:block!important;width:260px!important;max-width:100%!important;
 height:auto!important;object-fit:contain!important;margin:0!important;
}
.mc-site-header .mc-site-header__links {
 display:flex!important;align-items:center!important;justify-content:flex-end!important;
 width:auto!important;flex-wrap:nowrap!important;gap:clamp(10px,1.4vw,22px)!important;
 margin:0!important;
}
.mc-site-header .mc-site-header__links a {
 display:block!important;color:#102a43!important;text-decoration:none!important;
 font-size:13px!important;font-weight:700!important;line-height:1.35!important;
 white-space:nowrap!important;
}
.mc-site-header .mc-site-header__links a:hover,
.mc-site-header .mc-site-header__links a:focus-visible,
.mc-site-header .mc-site-header__links a[aria-current="page"] {color:#087f8c!important;}
.mc-site-header a:focus-visible {outline:3px solid #F7C242;outline-offset:3px;}
@media(max-width:1000px) {
 .mc-site-header .mc-site-header__inner {
  flex-wrap:wrap!important;justify-content:center!important;
  padding:12px 20px!important;gap:12px!important;
 }
 .mc-site-header .mc-site-header__brand {
  flex:0 0 230px!important;width:230px!important;min-width:230px!important;max-width:230px!important;
 }
 .mc-site-header .mc-site-header__brand img {width:230px!important;}
 .mc-site-header .mc-site-header__links {
  flex-wrap:wrap!important;justify-content:center!important;
  width:100%!important;gap:9px 17px!important;
 }
}
@media(max-width:640px) {
 .mc-site-header .mc-site-header__inner {padding:10px 16px!important;gap:10px!important;}
 .mc-site-header .mc-site-header__brand {
  flex:0 0 200px!important;width:200px!important;min-width:200px!important;max-width:200px!important;
 }
 .mc-site-header .mc-site-header__brand img {width:200px!important;}
 .mc-site-header .mc-site-header__links {
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  justify-items:center!important;gap:7px 8px!important;
 }
 .mc-site-header .mc-site-header__links a {
  width:100%!important;padding:4px 2px!important;text-align:center!important;
  font-size:12px!important;line-height:1.35!important;white-space:normal!important;
 }
}
