:root {
  --momentum-header-navy: #071a3a;
  --momentum-header-blue: #0c53c7;
  --momentum-header-green: #0a7a43;
  --momentum-header-gold: #ffd21f;
  --momentum-header-line: #dce4ee;
  --momentum-font: "Manrope", Arial, sans-serif;
}

body,
body button,
body input,
body select,
body textarea,
body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
  font-family: var(--momentum-font) !important;
}

body h1,
body h2 {
  font-weight: 800 !important;
}

body.home.page-id-23 .bgc-postlist .bgc-single-article:nth-child(1) .bgc-single-excerpt,
body.home.page-id-23 .bgc-postlist .bgc-single-article:nth-child(2) .bgc-single-excerpt,
body.home .bgc-single-excerpt {
  display: block !important;
}

#masthead,
#masthead-sticky {
  background: rgba(255, 255, 255, 0.97) !important;
  border-bottom: 1px solid rgba(18, 34, 59, 0.1) !important;
  box-shadow: 0 8px 30px rgba(7, 26, 58, 0.07);
  color: var(--momentum-header-navy) !important;
}

#masthead > .boldgrid-section,
#masthead-sticky > .boldgrid-section {
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
}

#masthead > .boldgrid-section > .container,
#masthead-sticky > .boldgrid-section > .container {
  max-width: 1500px;
  padding-left: clamp(20px, 4vw, 72px);
  padding-right: clamp(20px, 4vw, 72px);
  width: 100%;
}

#masthead > .boldgrid-section .row,
#masthead-sticky > .boldgrid-section .row {
  align-items: center;
  display: flex;
  margin: 0;
  min-height: 84px;
}

#masthead .site-branding,
#masthead-sticky .site-branding {
  align-items: center;
  display: flex;
  margin: 0 !important;
  min-height: 84px;
  padding: 0 !important;
}

#masthead .custom-logo-link,
#masthead-sticky .custom-logo-link {
  display: block;
  height: 72px;
  line-height: 0;
  overflow: hidden;
  position: relative;
  width: 220px;
}

#masthead img.custom-logo,
#masthead-sticky img.custom-logo {
  display: block;
  height: 220px !important;
  left: 0;
  max-height: none !important;
  max-width: none !important;
  object-fit: contain;
  position: absolute;
  top: -66px;
  width: 220px !important;
}

#masthead .bgtfw-menu-wrap,
#masthead-sticky .bgtfw-menu-wrap {
  align-items: center;
  margin: 0 !important;
  min-height: 84px;
  width: 100%;
}

#mega-menu-wrap-main,
#mega-menu-wrap-sticky-main {
  background: transparent !important;
  width: 100% !important;
}

#mega-menu-wrap-main #mega-menu-main,
#mega-menu-wrap-sticky-main #mega-menu-sticky-main {
  align-items: center;
  background: transparent !important;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

#mega-menu-wrap-main #mega-menu-main > li.mega-menu-item,
#mega-menu-wrap-sticky-main #mega-menu-sticky-main > li.mega-menu-item {
  flex: 0 0 auto;
}

#mega-menu-wrap-main #mega-menu-main > li.mega-menu-item > a.mega-menu-link,
#mega-menu-wrap-sticky-main #mega-menu-sticky-main > li.mega-menu-item > a.mega-menu-link {
  background: transparent !important;
  border-radius: 10px;
  color: #31425a !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  font-family: var(--momentum-font) !important;
  height: auto !important;
  line-height: 1.2 !important;
  padding: 14px clamp(8px, 1vw, 15px) !important;
  text-transform: none !important;
  white-space: nowrap !important;
}

#mega-menu-wrap-main #mega-menu-main > li.mega-menu-item:hover > a.mega-menu-link,
#mega-menu-wrap-main #mega-menu-main > li.mega-menu-item.mega-toggle-on > a.mega-menu-link,
#mega-menu-wrap-main #mega-menu-main > li.mega-current-menu-item > a.mega-menu-link,
#mega-menu-wrap-sticky-main #mega-menu-sticky-main > li.mega-menu-item:hover > a.mega-menu-link,
#mega-menu-wrap-sticky-main #mega-menu-sticky-main > li.mega-menu-item.mega-toggle-on > a.mega-menu-link,
#mega-menu-wrap-sticky-main #mega-menu-sticky-main > li.mega-current-menu-item > a.mega-menu-link {
  background: #eef4ff !important;
  color: var(--momentum-header-blue) !important;
}

#mega-menu-wrap-main .mega-indicator,
#mega-menu-wrap-sticky-main .mega-indicator {
  color: var(--momentum-header-blue) !important;
  margin-left: 5px !important;
}

#mega-menu-wrap-main #mega-menu-main > li.mega-menu-megamenu > ul.mega-sub-menu,
#mega-menu-wrap-main #mega-menu-main > li.mega-menu-flyout > ul.mega-sub-menu,
#mega-menu-wrap-sticky-main #mega-menu-sticky-main > li.mega-menu-megamenu > ul.mega-sub-menu,
#mega-menu-wrap-sticky-main #mega-menu-sticky-main > li.mega-menu-flyout > ul.mega-sub-menu {
  background: #ffffff !important;
  border: 1px solid var(--momentum-header-line) !important;
  border-radius: 16px !important;
  box-shadow: 0 24px 60px rgba(7, 26, 58, 0.16) !important;
  overflow: hidden;
  padding: 12px !important;
}

#mega-menu-wrap-main #mega-menu-main .mega-sub-menu a.mega-menu-link,
#mega-menu-wrap-sticky-main #mega-menu-sticky-main .mega-sub-menu a.mega-menu-link {
  background: transparent !important;
  border-radius: 9px !important;
  color: #31425a !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  font-family: var(--momentum-font) !important;
  line-height: 1.35 !important;
  padding: 11px 13px !important;
  text-transform: none !important;
}

#mega-menu-wrap-main #mega-menu-main .mega-sub-menu a.mega-menu-link:hover,
#mega-menu-wrap-main #mega-menu-main .mega-sub-menu a.mega-menu-link:focus,
#mega-menu-wrap-sticky-main #mega-menu-sticky-main .mega-sub-menu a.mega-menu-link:hover,
#mega-menu-wrap-sticky-main #mega-menu-sticky-main .mega-sub-menu a.mega-menu-link:focus {
  background: #eef4ff !important;
  color: var(--momentum-header-blue) !important;
}

#mega-menu-wrap-main #mega-menu-main .mega-sub-menu li.mega-menu-item,
#mega-menu-wrap-sticky-main #mega-menu-sticky-main .mega-sub-menu li.mega-menu-item {
  margin: 0 !important;
}

@media (max-width: 991px) {
  #masthead > .boldgrid-section .row,
  #masthead-sticky > .boldgrid-section .row {
    min-height: 70px;
  }

  #masthead .site-branding,
  #masthead-sticky .site-branding {
    min-height: 70px;
  }

  #masthead .custom-logo-link,
  #masthead-sticky .custom-logo-link {
    height: 64px;
    width: 200px;
  }

  #masthead img.custom-logo,
  #masthead-sticky img.custom-logo {
    height: 200px !important;
    top: -60px;
    width: 200px !important;
  }

  #masthead .bgtfw-menu-wrap,
  #masthead-sticky .bgtfw-menu-wrap {
    min-height: 70px;
  }

  #mega-menu-wrap-main #mega-menu-main > li.mega-menu-item > a.mega-menu-link,
  #mega-menu-wrap-sticky-main #mega-menu-sticky-main > li.mega-menu-item > a.mega-menu-link {
    font-size: 13px !important;
    padding-left: 7px !important;
    padding-right: 7px !important;
  }
}

@media (max-width: 767px) {
  #masthead > .boldgrid-section > .container,
  #masthead-sticky > .boldgrid-section > .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  #masthead > .boldgrid-section .row,
  #masthead-sticky > .boldgrid-section .row {
    flex-wrap: nowrap;
  }

  #masthead > .boldgrid-section .row > div:first-child,
  #masthead-sticky > .boldgrid-section .row > div:first-child {
    width: calc(100% - 74px);
  }

  #masthead > .boldgrid-section .row > div:last-child,
  #masthead-sticky > .boldgrid-section .row > div:last-child {
    width: 74px;
  }

  #masthead .custom-logo-link,
  #masthead-sticky .custom-logo-link {
    height: 58px;
    width: 182px;
  }

  #masthead img.custom-logo,
  #masthead-sticky img.custom-logo {
    height: 182px !important;
    top: -55px;
    width: 182px !important;
  }

  #mega-menu-wrap-main .mega-menu-toggle,
  #mega-menu-wrap-sticky-main .mega-menu-toggle {
    background: transparent !important;
  }

  #mega-menu-wrap-main #mega-menu-main,
  #mega-menu-wrap-sticky-main #mega-menu-sticky-main {
    align-items: stretch;
    background: #ffffff !important;
    border: 1px solid var(--momentum-header-line) !important;
    border-radius: 16px !important;
    box-shadow: 0 24px 60px rgba(7, 26, 58, 0.16) !important;
    display: block;
    overflow: hidden;
    padding: 10px !important;
  }

  #mega-menu-wrap-main #mega-menu-main > li.mega-menu-item > a.mega-menu-link,
  #mega-menu-wrap-sticky-main #mega-menu-sticky-main > li.mega-menu-item > a.mega-menu-link {
    padding: 13px 14px !important;
  }
}
