/* ==========================================================================
   Base
   ========================================================================== */

.header__container {
  position: relative;
}

.header__wrapper {
  display: flex;
  margin: 0 auto;
  align-items: center;
}

.header__top {
  padding: 0.7rem 0;
}

.header__bottom {
  position: relative;
  z-index: 100;
  padding: 2.1rem 0;
  background-color: transparent;
}


/* Screen-reader text */

.show-for-sr {
  position: absolute !important;

  width: 1px !important;
  height: 1px !important;

  padding: 0 !important;
  margin: -1px !important;

  overflow: hidden !important;

  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;

  white-space: nowrap !important;

  border: 0 !important;
}


@media (max-width: 1300px) {

  .header__top {
    display: none;
  }

  .header__bottom {
    position: relative;
    z-index: 100;

    padding: 1.2rem 20px;

    background-color: transparent;
  }

}


/* ==========================================================================
   Layout: left
   ========================================================================== */

.header__container--left .header__language-switcher-col {
  margin-left: auto;
}

.header__container--left .header__wrapper--bottom {
  justify-content: space-between;
}

.header__container--left .header__menu-col {
  margin-left: auto;
  text-align: right;
}

.header__container--left .header__icons-col {
  display: flex;

  gap: 15px;

  margin-right: 30px;
  margin-left: 30px;
}

.header__container--left .header__button-col {
  margin-left: 1rem;
}


@media (max-width: 1300px) {

  .header__icons-col,
  .header__button-col {
    display: none !important;
  }

}


@media (min-width: 950px) {

  .header__container--left .header__logo-col {
    flex: 1 0 0;
  }

  .header__container--left .header__menu-col {
    flex: 2 0 0;
  }

}


/* ==========================================================================
   Layout: centered
   ========================================================================== */

.header__container--centered .header__button-col {
  margin-left: auto;
}

.header__container--centered .header__wrapper--bottom {
  flex-wrap: wrap;
  text-align: center;
}

.header__container--centered .header__logo-col {
  width: 100%;
  margin-bottom: 1.4rem;
}

.header__container--centered .header__menu-col {
  width: 100%;
}


@media (max-width: 1300px) {

  .header__container--centered .header__wrapper--bottom {
    justify-content: space-around;
    text-align: left;
  }

  .header__container--centered .header__logo-col,
  .header__container--centered .header__menu-col {
    width: auto;
    margin-bottom: 0;
  }

}


/* ==========================================================================
   Language switcher
   ========================================================================== */

.header__language-switcher {
  position: relative;
  cursor: pointer;
}

.header__language-switcher .lang_switcher_class {
  position: static;
}

.header__language-switcher-label {
  display: flex;
}

.header__language-switcher-current-label {
  display: flex;

  margin-bottom: 5px;
  margin-left: 0.5rem;

  align-items: center;
}

.header__language-switcher-child-toggle svg {
  width: 15px;
  height: 15px;

  margin-left: 0.35rem;
}


/* Language switcher submenu */

.header__language-switcher .lang_list_class {
  position: absolute;

  z-index: 99;

  top: 100%;
  right: 0;
  left: auto;

  display: block;

  width: 200px;

  padding: 0;

  border-width: 1px;
  border-style: solid;

  opacity: 0;
  visibility: hidden;

  text-align: left;

  transform: none;
}

.header__language-switcher-label--open .lang_list_class,
.header__language-switcher:hover .lang_list_class,
.header__language-switcher:focus .lang_list_class {
  opacity: 1;
  visibility: visible;
}

.header__language-switcher .lang_list_class::after,
.header__language-switcher .lang_list_class::before {
  content: none;
}

.header__language-switcher .lang_list_class li {
  padding: 0;
  margin: 0;

  border: none;
}

.header__language-switcher .lang_list_class li:first-child {
  padding-top: 0;
  border-top: none;
}

.header__language-switcher .lang_list_class li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.header__language-switcher .lang_list_class .lang_switcher_link {
  display: inline-flex;

  width: 100%;

  padding: 0.7rem 1rem;
}


@media (max-width: 1300px) {

  .header__language-switcher .lang_list_class {
    position: static;

    display: none;

    width: 100%;

    border: none;
  }

  .header__language-switcher-label--open .lang_list_class {
    display: block;
  }

  .header__language-switcher-current-label {
    display: block;

    width: 80%;

    padding: 0.7rem 0 0.7rem 1rem;
    margin: 0;

    order: 1;
  }

  .header__language-switcher .globe_class {
    width: 100%;
    height: auto;
  }

  .header__language-switcher-label {
    display: flex;
    flex-wrap: wrap;
  }

  .hs_cos_wrapper_type_language_switcher {
    width: 100%;
  }

}


/* Language switcher icons */

@media (max-width: 1300px) {

  .header__language-switcher-child-toggle,
  .header__language-switcher-child-toggle:hover,
  .header__language-switcher-child-toggle:focus,
  .header__language-switcher-child-toggle:active {
    position: absolute;

    top: 0;
    right: 0;

    width: 20%;

    padding: 10px 30px;

    border: 0;

    cursor: pointer;
  }

  .header__language-switcher-child-toggle svg {
    margin-left: 0;
  }

  .header__language-switcher-child-toggle--open svg {
    transform: rotate(180deg);
    transform-origin: 50% 50%;

    transition: transform 0.4s;
  }

}


/* ==========================================================================
   Logo
   ========================================================================== */

.header__logo img {
  width: auto;
  max-width: 100%;
  height: auto;
}


/* ==========================================================================
   Menu
   ========================================================================== */

.header__menu-container--mobile {
  display: none;
}


@media (max-width: 1300px) {

  .header__menu--desktop {
    display: none !important;
  }


  .header__menu-container--mobile {
    display: flex;

    width: 100%;

    align-items: center;
    justify-content: flex-end;
  }


  /*
   * Full-screen mobile navigation.
   * It always exists but starts completely off-screen.
   */

  .header__menu--mobile {
    position: fixed !important;

    z-index: 99998;

    top: 0;
    right: 0;

    display: block !important;

    width: 100vw;
    max-width: none;

    height: 100vh;
    height: 100dvh;

    padding:
      90px
      24px
      165px;

    box-sizing: border-box;

    background: #142f45 !important;
    background-color: #142f45 !important;

    box-shadow: none;

    overflow-x: hidden;
    overflow-y: auto;

    -webkit-overflow-scrolling: touch;

    visibility: hidden;

    transform: translateX(100%);

    transition:
      transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 0.42s;

    will-change: transform;
  }


  /*
   * Open state
   */

  .header__menu--mobile.header__menu--show {
    visibility: visible;

    transform: translateX(0);

    transition:
      transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 0s;
  }


  /*
   * Main scrollable navigation list
   */

  .header__menu--mobile > .header__menu-wrapper {
    width: 100%;
    max-width: 700px;

    padding: 0;
    margin: 0 auto;
  }

}


/* Lock document when menu is open */

html.mobile-menu-open,
body.mobile-menu-open {
  overflow: hidden !important;

  overscroll-behavior: none;
}


/* ==========================================================================
   Menu items
   ========================================================================== */

.header__menu-item {
  position: relative;

  display: inline-flex;
}


@media (max-width: 1300px) {

  .header__menu-item {
    display: block;

    width: 100%;

    text-align: left;
  }

  .header__menu-link {
    display: block;

    width: 100%;

    padding: 0.7rem 1rem;
  }

  .header__menu-item--has-submenu .header__menu-link {
    width: 80%;
  }

}


/* Top level */

.header__menu-item--depth-1 {
  padding: 0 1rem;
}


@media (max-width: 1300px) {

  .header__menu-item--depth-1 {
    padding: 0;
  }

}


/* ==========================================================================
   Menu submenus
   ========================================================================== */

.header__menu-submenu {
  position: absolute;

  z-index: 99;

  top: 100%;
  left: -1px;

  display: none;

  width: 200px;

  border-width: 1px;
  border-style: solid;

  text-align: left;
}

.header__menu-item--open > .header__menu-submenu {
  display: block;
}

.header__menu-item--depth-1:last-child > .header__menu-submenu {
  right: 0;
  left: auto;
}

.header__menu-submenu--level-3 {
  top: 0;
  left: 100%;
}


/* prettier-ignore */

.header__menu-item--depth-1:nth-last-child(-n + 2)
.header__menu-submenu--level-3 {
  top: 0;
  right: 100%;
  left: auto;
}


.header__menu-submenu .header__menu-item {
  width: 100%;

  background-color: inherit;
}

.header__menu-submenu .header__menu-link {
  display: inline-flex;

  padding: 0.7rem 1rem;
}

.header__menu-item--depth-3 > .header__menu-link {
  margin-left: 10px;
}

.header__menu-item--depth-4 > .header__menu-link {
  margin-left: 20px;
}

.header__menu-item--depth-5 > .header__menu-link,
.header__menu-item--depth-6 > .header__menu-link,
.header__menu-item--depth-7 > .header__menu-link,
.header__menu-item--depth-8 > .header__menu-link,
.header__menu-item--depth-9 > .header__menu-link,
.header__menu-item--depth-10 > .header__menu-link {
  margin-left: 30px;
}

.header__menu-item--button {
  padding: 0.7rem 1rem;
}


@media (max-width: 1300px) {

  .header__menu-submenu,
  .header__menu-submenu--level-3,
  .header__menu-item--depth-1:nth-last-child(-n + 2)
  .header__menu-submenu--level-3 {
    position: static;

    width: 100%;

    border: none;
  }

}


/* ==========================================================================
   Menu icons
   ========================================================================== */

@media (min-width: 1301px) {

  .header__menu-submenu .header__menu-child-toggle {
    padding: 0.7rem 1rem;
  }

}


.header__menu-child-toggle svg {
  width: 15px;
  height: 15px;

  margin-left: 0.35rem;
}


.header__menu-toggle {
  display: none !important;
}


.header__menu-toggle svg {
  width: 30px;
  height: 30px;
}


@media (max-width: 1300px) {

  .header__menu-toggle {
    z-index: 100000;
  }


  .header__menu-toggle--open {
    position: relative;

    margin-right: 0;
    margin-left: auto;
  }


  .header__menu-toggle--show {
    display: block !important;
  }


  /*
   * Close button sits over the mobile panel
   */

  .header__menu-toggle--close {
    position: fixed !important;

    z-index: 100000;

    top: 25px;
    right: 24px;

    width: 44px;
    height: 44px;

    padding: 0;

    align-items: center;
    justify-content: center;

    border: 0;

    background: transparent !important;

    color: #ffffff;

    cursor: pointer;
  }


  .header__menu-toggle--close.header__menu-toggle--show {
    display: flex !important;
  }


  .header__menu-toggle--close svg {
    width: 26px;
    height: 26px;
  }


  .header__menu-toggle--close svg,
  .header__menu-toggle--close svg path {
    fill: #ffffff !important;
  }


  .header__menu-child-toggle,
  .header__menu-child-toggle:hover,
  .header__menu-child-toggle:focus,
  .header__menu-child-toggle:active {
    position: absolute;

    top: 0;
    right: 0;

    width: 20%;
    min-width: 75px;

    padding: 10px 30px;

    border: 0;

    cursor: pointer;
  }


  .header__menu-child-toggle svg {
    margin-left: 0;
  }


  .header__menu-child-toggle--open svg {
    transform: rotate(180deg);
    transform-origin: 50% 50%;

    transition: transform 0.4s;
  }

}


/* ==========================================================================
   Scrolled header
   ========================================================================== */

.header.header-scrolled {
  background-color: #236092;
}


/* ==========================================================================
   DESKTOP MEGA MENUS
   Loan Options + Mortgage Resources
   ========================================================================== */

@media screen and (min-width: 1301px) {

  .header__menu--desktop
  .header__menu-wrapper
  > .header__menu-item--depth-1 {
    position: relative !important;
  }


  .header__menu--desktop
  .header__menu-wrapper
  > .header__menu-item--depth-1:nth-child(2)
  > .header__menu-submenu--level-2,

  .header__menu--desktop
  .header__menu-wrapper
  > .header__menu-item--depth-1:nth-child(3)
  > .header__menu-submenu--level-2 {
    position: absolute !important;

    z-index: 99999 !important;

    top: calc(100% + 18px) !important;
    right: auto !important;
    left: 50% !important;

    display: none !important;

    grid-template-columns:
      repeat(2, minmax(0, 1fr)) !important;

    gap: 34px !important;

    padding: 30px !important;

    box-sizing: border-box !important;

    border:
      1px solid rgba(255, 255, 255, 0.15) !important;

    border-radius: 8px !important;

    background-color: #142f45 !important;

    box-shadow:
      0 20px 35px rgba(0, 0, 0, 0.32) !important;

    text-align: left !important;

    transform: translateX(-50%) !important;
  }


  /* Loan Options width */

  .header__menu--desktop
  .header__menu-wrapper
  > .header__menu-item--depth-1:nth-child(2)
  > .header__menu-submenu--level-2 {
    width: 760px !important;

    max-width: calc(100vw - 40px) !important;
  }


  /* Mortgage Resources width */

  .header__menu--desktop
  .header__menu-wrapper
  > .header__menu-item--depth-1:nth-child(3)
  > .header__menu-submenu--level-2 {
    width: 640px !important;

    max-width: calc(100vw - 40px) !important;
  }


  /* Show mega menus */

  .header__menu--desktop
  .header__menu-wrapper
  > .header__menu-item--depth-1:nth-child(2).header__menu-item--open
  > .header__menu-submenu--level-2,

  .header__menu--desktop
  .header__menu-wrapper
  > .header__menu-item--depth-1:nth-child(3).header__menu-item--open
  > .header__menu-submenu--level-2 {
    display: grid !important;
  }


  /* Columns */

  .header__menu--desktop
  .header__menu-wrapper
  > .header__menu-item--depth-1:nth-child(2)
  > .header__menu-submenu--level-2
  > .header__menu-item,

  .header__menu--desktop
  .header__menu-wrapper
  > .header__menu-item--depth-1:nth-child(3)
  > .header__menu-submenu--level-2
  > .header__menu-item {
    display: block !important;

    width: 100% !important;

    padding: 0 !important;
    margin: 0 !important;
  }


  /* Yellow headings */

  .header__menu--desktop
  .header__menu-wrapper
  > .header__menu-item--depth-1:nth-child(2)
  > .header__menu-submenu--level-2
  > .header__menu-item
  > .header__menu-link,

  .header__menu--desktop
  .header__menu-wrapper
  > .header__menu-item--depth-1:nth-child(3)
  > .header__menu-submenu--level-2
  > .header__menu-item
  > .header__menu-link {
    display: block !important;

    width: 100% !important;

    padding: 0 12px 12px !important;
    margin: 0 0 10px !important;

    border-bottom:
      2px solid rgba(255, 255, 255, 0.1) !important;

    color: #f9db6d !important;

    background: transparent !important;

    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;

    text-transform: none !important;

    text-decoration: none !important;
  }


  .header__menu--desktop
  .header__menu-wrapper
  > .header__menu-item--depth-1:nth-child(2)
  > .header__menu-submenu--level-2
  > .header__menu-item
  > .header__menu-link
  > .header__menu-link-text,

  .header__menu--desktop
  .header__menu-wrapper
  > .header__menu-item--depth-1:nth-child(3)
  > .header__menu-submenu--level-2
  > .header__menu-item
  > .header__menu-link
  > .header__menu-link-text {
    color: #f9db6d !important;
  }


  /* Nested lists */

  .header__menu--desktop
  .header__menu-wrapper
  > .header__menu-item--depth-1:nth-child(2)
  .header__menu-submenu--level-3,

  .header__menu--desktop
  .header__menu-wrapper
  > .header__menu-item--depth-1:nth-child(3)
  .header__menu-submenu--level-3 {
    position: static !important;

    display: block !important;

    width: 100% !important;

    padding: 0 !important;
    margin: 0 !important;

    border: 0 !important;

    opacity: 1 !important;
    visibility: visible !important;

    background: transparent !important;

    box-shadow: none !important;

    transform: none !important;
  }


  .header__menu--desktop
  .header__menu-wrapper
  > .header__menu-item--depth-1:nth-child(2)
  .header__menu-submenu--level-3
  .header__menu-item,

  .header__menu--desktop
  .header__menu-wrapper
  > .header__menu-item--depth-1:nth-child(3)
  .header__menu-submenu--level-3
  .header__menu-item {
    display: block !important;

    width: 100% !important;

    padding: 0 !important;
    margin: 0 !important;
  }


  .header__menu--desktop
  .header__menu-wrapper
  > .header__menu-item--depth-1:nth-child(2)
  .header__menu-submenu--level-3
  .header__menu-link,

  .header__menu--desktop
  .header__menu-wrapper
  > .header__menu-item--depth-1:nth-child(3)
  .header__menu-submenu--level-3
  .header__menu-link {
    display: block !important;

    width: 100% !important;

    padding: 8px 12px !important;
    margin: 0 !important;

    color: #ffffff !important;

    background: transparent !important;

    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;

    text-transform: none !important;

    text-decoration: none !important;
  }


  .header__menu--desktop
  .header__menu-wrapper
  > .header__menu-item--depth-1:nth-child(2)
  .header__menu-submenu--level-3
  .header__menu-link:hover,

  .header__menu--desktop
  .header__menu-wrapper
  > .header__menu-item--depth-1:nth-child(2)
  .header__menu-submenu--level-3
  .header__menu-link:focus,

  .header__menu--desktop
  .header__menu-wrapper
  > .header__menu-item--depth-1:nth-child(3)
  .header__menu-submenu--level-3
  .header__menu-link:hover,

  .header__menu--desktop
  .header__menu-wrapper
  > .header__menu-item--depth-1:nth-child(3)
  .header__menu-submenu--level-3
  .header__menu-link:focus {
    color: #f9db6d !important;

    background:
      rgba(255, 255, 255, 0.04) !important;

    text-decoration: none !important;
  }


  /* Hide arrows inside mega menus */

  .header__menu--desktop
  .header__menu-wrapper
  > .header__menu-item--depth-1:nth-child(2)
  .header__menu-submenu
  .header__menu-child-toggle,

  .header__menu--desktop
  .header__menu-wrapper
  > .header__menu-item--depth-1:nth-child(3)
  .header__menu-submenu
  .header__menu-child-toggle {
    display: none !important;
  }

}


/* ==========================================================================
   Apply Now button
   ========================================================================== */

.header__button,
.header__button:link,
.header__button:visited,
.header__button-col .button,
.header__button-col .button:link,
.header__button-col .button:visited {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  background: #f9db6d !important;
  background-color: #f9db6d !important;

  border: 2px solid #f9db6d !important;

  color: #142f45 !important;

  text-decoration: none !important;
}


.header__button:hover,
.header__button:focus,
.header__button:active,
.header__button-col .button:hover,
.header__button-col .button:focus,
.header__button-col .button:active {
  background: #ffe58f !important;
  background-color: #ffe58f !important;

  border-color: #ffe58f !important;

  color: #142f45 !important;

  text-decoration: none !important;
}


.header__button svg,
.header__button svg path,
.header__button-col .button svg,
.header__button-col .button svg path {
  fill: #142f45 !important;
}


/* ==========================================================================
   Desktop phone/email buttons
   ========================================================================== */

.header__icons-col .button,
.header__icons-col .button:link,
.header__icons-col .button:visited,
.header__icons-col .header__contact-button,
.header__icons-col .header__contact-button:link,
.header__icons-col .header__contact-button:visited {
  display: inline-flex;

  width: 41px;
  height: 41px;

  padding: 0 !important;

  align-items: center;
  justify-content: center;

  flex: 0 0 41px;

  overflow: hidden;

  border: 0 !important;
  border-radius: 50% !important;

  color: #142f45 !important;

  background: #ffffff !important;
  background-color: #ffffff !important;

  box-shadow: none !important;

  text-decoration: none !important;
}


.header__icons-col .button svg,
.header__icons-col .header__contact-button svg {
  display: block;

  width: 41px;
  height: 41px;
}


.header__icons-col .button svg path,
.header__icons-col .header__contact-button svg path {
  fill: #142f45 !important;
}


.header__icons-col .button:hover,
.header__icons-col .button:focus,
.header__icons-col .button:active,
.header__icons-col .header__contact-button:hover,
.header__icons-col .header__contact-button:focus,
.header__icons-col .header__contact-button:active {
  color: #142f45 !important;

  background: #f9db6d !important;
  background-color: #f9db6d !important;

  text-decoration: none !important;
}


.header__icons-col .button:hover svg path,
.header__icons-col .button:focus svg path,
.header__icons-col .button:active svg path,
.header__icons-col .header__contact-button:hover svg path,
.header__icons-col .header__contact-button:focus svg path,
.header__icons-col .header__contact-button:active svg path {
  fill: #142f45 !important;
}


/* ==========================================================================
   Mobile menu hierarchy
   ========================================================================== */

@media (max-width: 1300px) {

  .header__menu--mobile,
  .header__menu--mobile .header__menu-submenu {
    background-color: #142f45 !important;
  }


  .header__menu--mobile .header__menu-wrapper,
  .header__menu--mobile .header__menu-submenu {
    max-width: 100%;

    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;

    margin: 0;

    box-sizing: border-box;
  }


  .header__menu--mobile .header__menu-item {
    position: relative;

    display: block;

    width: 100%;

    border: 0;

    background: transparent;
  }


  .header__menu--mobile .header__menu-link {
    display: block;

    width: 100% !important;

    margin-left: 0 !important;

    padding-right: 52px;

    box-sizing: border-box;

    background: transparent !important;
  }


  /* Top level */

  .header__menu--mobile
  .header__menu-item--depth-1
  > .header__menu-link {
    min-height: 58px;

    padding-top: 17px;
    padding-right: 52px;
    padding-bottom: 17px;
    padding-left: 4px;

    color: #ffffff;

    font-size: 19px;
    font-weight: 700;
    line-height: 24px;
  }


  /* Depth 2 */

  .header__menu--mobile
  .header__menu-item--depth-2
  > .header__menu-link {
    min-height: 48px;

    padding-top: 13px;
    padding-right: 52px;
    padding-bottom: 13px;
    padding-left: 20px;

    color: #ffffff;

    font-size: 15px;
    font-weight: 600;
    line-height: 22px;
  }


  /* Depth 3 */

  .header__menu--mobile
  .header__menu-item--depth-3
  > .header__menu-link {
    min-height: 44px;

    padding-top: 11px;
    padding-right: 52px;
    padding-bottom: 11px;
    padding-left: 40px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 400 !important;
    font-style: normal !important;
    line-height: 22px;
  }


  /* Depth 4 */

  .header__menu--mobile
  .header__menu-item--depth-4
  > .header__menu-link {
    min-height: 42px;

    padding-top: 10px;
    padding-right: 52px;
    padding-bottom: 10px;
    padding-left: 58px;

    color: #ffffff;

    font-size: 13px;
    font-weight: 400;
    line-height: 22px;
  }


  /* Deeper levels */

  .header__menu--mobile
  .header__menu-item--depth-5
  > .header__menu-link,

  .header__menu--mobile
  .header__menu-item--depth-6
  > .header__menu-link,

  .header__menu--mobile
  .header__menu-item--depth-7
  > .header__menu-link,

  .header__menu--mobile
  .header__menu-item--depth-8
  > .header__menu-link,

  .header__menu--mobile
  .header__menu-item--depth-9
  > .header__menu-link,

  .header__menu--mobile
  .header__menu-item--depth-10
  > .header__menu-link {
    min-height: 40px;

    padding-top: 10px;
    padding-right: 52px;
    padding-bottom: 10px;
    padding-left: 72px;

    color: #ffffff;

    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
  }


  /* Mobile submenu positioning */

  .header__menu--mobile
  .header__menu-submenu,

  .header__menu--mobile
  .header__menu-submenu--level-2,

  .header__menu--mobile
  .header__menu-submenu--level-3 {
    position: static !important;

    width: 100% !important;

    border: 0;

    background: transparent !important;

    box-shadow: none;

    transform: none;
  }


  /* Main section divider */

  .header__menu--mobile
  > .header__menu-wrapper
  > .header__menu-item--depth-1 {
    border-bottom:
      1px solid rgba(255, 255, 255, 0.10);
  }


  /* Accordion arrows */

  .header__menu--mobile
  .header__menu-item
  > .header__menu-child-toggle,

  .header__menu--mobile
  .header__menu-item
  > .header__menu-child-toggle:hover,

  .header__menu--mobile
  .header__menu-item
  > .header__menu-child-toggle:focus,

  .header__menu--mobile
  .header__menu-item
  > .header__menu-child-toggle:active {
    position: absolute;

    top: 0;
    right: 0;

    z-index: 2;

    display: flex;

    width: 48px;
    min-width: 48px;
    height: 58px;

    padding: 0;

    align-items: center;
    justify-content: center;

    border: 0;

    background: transparent;

    cursor: pointer;

    overflow: hidden;
  }


  .header__menu--mobile
  .header__menu-item--depth-2
  > .header__menu-child-toggle {
    height: 48px;
  }


  .header__menu--mobile
  .header__menu-item--depth-3
  > .header__menu-child-toggle {
    height: 44px;
  }


  .header__menu--mobile
  .header__menu-item--depth-4
  > .header__menu-child-toggle,

  .header__menu--mobile
  .header__menu-item--depth-5
  > .header__menu-child-toggle,

  .header__menu--mobile
  .header__menu-item--depth-6
  > .header__menu-child-toggle,

  .header__menu--mobile
  .header__menu-item--depth-7
  > .header__menu-child-toggle,

  .header__menu--mobile
  .header__menu-item--depth-8
  > .header__menu-child-toggle,

  .header__menu--mobile
  .header__menu-item--depth-9
  > .header__menu-child-toggle,

  .header__menu--mobile
  .header__menu-item--depth-10
  > .header__menu-child-toggle {
    height: 40px;
  }


  .header__menu--mobile
  .header__menu-item
  > .header__menu-child-toggle svg {
    display: block;

    width: 13px;
    height: 13px;

    margin: 0;

    fill: #ffffff !important;

    transform: rotate(0deg);

    transform-origin: 50% 50%;

    transition:
      transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }


  .header__menu--mobile
  .header__menu-item
  > .header__menu-child-toggle--open svg {
    fill: #ffffff !important;

    transform: rotate(180deg);
  }


  .header__menu--mobile .header__menu-link:hover,
  .header__menu--mobile .header__menu-link:focus {
    color: #ffffff;

    background:
      rgba(255, 255, 255, 0.04) !important;

    text-decoration: none;
  }

}


/* ==========================================================================
   Mobile yellow underline
   ========================================================================== */

@media (max-width: 1300px) {

  .header__menu--mobile .header__menu-link-text {
    position: relative;

    display: inline-block;
  }


  .header__menu--mobile
  .header__menu-item--open
  > .header__menu-link
  > .header__menu-link-text::after {
    position: absolute;

    right: 0;
    bottom: -6px;
    left: 0;

    height: 3px;

    border-radius: 2px;

    background-color: #f9db6d;

    content: "";
  }

}


/* ==========================================================================
   Mobile third-tier links
   ========================================================================== */

@media (max-width: 1300px) {

  .header__menu--mobile
  .header__menu-item--depth-3
  > .header__menu-link,

  .header__menu--mobile
  .header__menu-item--depth-3
  > .header__menu-link
  > .header__menu-link-text {
    font-weight: 400 !important;
    font-style: normal !important;
  }


  .header__menu--mobile
  .header__menu-item--depth-3
  > .header__menu-link:hover,

  .header__menu--mobile
  .header__menu-item--depth-3
  > .header__menu-link:focus,

  .header__menu--mobile
  .header__menu-item--depth-3
  > .header__menu-link:active,

  .header__menu--mobile
  .header__menu-item--depth-3
  > .header__menu-link:hover
  > .header__menu-link-text,

  .header__menu--mobile
  .header__menu-item--depth-3
  > .header__menu-link:focus
  > .header__menu-link-text,

  .header__menu--mobile
  .header__menu-item--depth-3
  > .header__menu-link:active
  > .header__menu-link-text {
    font-weight: 400 !important;
    font-style: italic !important;
  }

}


/* ==========================================================================
   Mobile bottom CTA stack
   Phone number above Apply Now
   ========================================================================== */

@media (max-width: 1300px) {

  .header__menu-mobile-cta-stack {
    position: fixed;

    z-index: 100001;

    right: 0;
    bottom: 18px;
    left: 0;

    display: flex;

    width: 100%;

    padding: 0 24px;

    box-sizing: border-box;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 20px;

    background: #142f45;
  }


  /* Phone */

  .header__menu-mobile-phone-link,
  .header__menu-mobile-phone-link:link,
  .header__menu-mobile-phone-link:visited {
    display: inline-flex !important;

    width: auto !important;

    min-height: 28px;

    padding: 0 !important;
    margin: 0 0 2px !important;

    align-items: center;
    justify-content: center;

    gap: 10px;

    color: #ffffff !important;

    background: transparent !important;

    font-size: 16px;
    font-weight: 600;
    line-height: 1;

    text-decoration: none !important;
  }


  .header__menu-mobile-phone-link svg {
    display: block;

    width: 21px;
    height: 21px;

    flex: 0 0 21px;

    fill: none !important;

    stroke: #ffffff !important;

    stroke-width: 1.9;

    stroke-linecap: round;
    stroke-linejoin: round;
  }


  .header__menu-mobile-phone-link svg path {
    fill: none !important;
    stroke: #ffffff !important;
  }


  .header__menu-mobile-phone-link:hover,
  .header__menu-mobile-phone-link:focus,
  .header__menu-mobile-phone-link:active {
    color: #f9db6d !important;

    background: transparent !important;

    text-decoration: none !important;
  }


  .header__menu-mobile-phone-link:hover svg,
  .header__menu-mobile-phone-link:focus svg,
  .header__menu-mobile-phone-link:active svg,
  .header__menu-mobile-phone-link:hover svg path,
  .header__menu-mobile-phone-link:focus svg path,
  .header__menu-mobile-phone-link:active svg path {
    stroke: #f9db6d !important;
  }


  /* Apply Now wrapper */

  .header__menu-mobile-apply-wrap {
    display: block;

    width: 100%;
  }


  .header__menu-mobile-apply-wrap .header__button,
  .header__menu-mobile-apply-wrap .header__button:link,
  .header__menu-mobile-apply-wrap .header__button:visited {
    display: flex !important;

    width: 100% !important;
    max-width: none !important;

    min-height: 58px;

    padding: 14px 18px !important;
    margin: 0 !important;

    box-sizing: border-box;

    align-items: center;
    justify-content: center;

    border: 2px solid #f9db6d !important;
    border-radius: 6px !important;

    background: #f9db6d !important;
    background-color: #f9db6d !important;

    color: #142f45 !important;

    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.2;

    text-align: center;

    text-decoration: none !important;
  }


  .header__menu-mobile-apply-wrap .header__button:hover,
  .header__menu-mobile-apply-wrap .header__button:focus,
  .header__menu-mobile-apply-wrap .header__button:active {
    border-color: #ffe58f !important;

    background: #ffe58f !important;
    background-color: #ffe58f !important;

    color: #142f45 !important;
  }
}
  /* Apply Now wrapper */

  .header__menu-mobile-apply-wrap {
    display: block;

    width: 100%;
  }


  /*
   * Full-width mobile Apply Now button
   */

  .header__menu-mobile-apply-wrap .header__button,
  .header__menu-mobile-apply-wrap .header__button:link,
  .header__menu-mobile-apply-wrap .header__button:visited {
    display: flex !important;

    width: 100% !important;
    max-width: none !important;

    min-height: 58px;

    padding: 14px 18px !important;
    margin: 0 !important;

    box-sizing: border-box;

    align-items: center;
    justify-content: center;

    border: 2px solid #f9db6d !important;
    border-radius: 6px !important;

    background: #f9db6d !important;
    background-color: #f9db6d !important;

    color: #142f45 !important;

    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.2;

    text-align: center;

    text-decoration: none !important;
  }


  .header__menu-mobile-apply-wrap .header__button:hover,
  .header__menu-mobile-apply-wrap .header__button:focus,
  .header__menu-mobile-apply-wrap .header__button:active {
    border-color: #ffe58f !important;

    background: #ffe58f !important;
    background-color: #ffe58f !important;

    color: #142f45 !important;
  }

}


/* ==========================================================================
   Small phones
   ========================================================================== */

@media (max-width: 600px) {

  .header__menu--mobile {
    padding-top: 82px;
    padding-right: 20px;
    padding-bottom: 155px;
    padding-left: 20px;
  }


  .header__menu-toggle--close {
    top: 20px;
    right: 18px;
  }


  .header__menu--mobile
  .header__menu-item--depth-1
  > .header__menu-link {
    font-size: 18px;
  }


  .header__menu-mobile-cta-stack {
    bottom: 14px;

    padding-right: 20px;
    padding-left: 20px;

    gap: 12px;
  }


  .header__menu-mobile-apply-wrap .header__button,
  .header__menu-mobile-apply-wrap .header__button:link,
  .header__menu-mobile-apply-wrap .header__button:visited {
    min-height: 56px;

    font-size: 16px !important;
  }

}


/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

  .header__menu--mobile,
  .header__menu--mobile
  .header__menu-item
  > .header__menu-child-toggle svg {
    transition-duration: 0.01ms !important;
  }

}