/* SAV active navigation fix — one underline only + correct Contact Us active state */

/* Reset all default/theme underline effects that created double underlines */
.nav__top li a.active,
.nav__top li a.sav-current,
.nav__top li a[aria-current="page"],
.nav__top .nav__list-item.sav-active > a{
  position:relative !important;
  font-weight:800 !important;
  text-decoration:none !important;
  border-bottom:0 !important;
  box-shadow:none !important;
  padding-bottom:0 !important;
}

.nav__top li a.active::before,
.nav__top li a.sav-current::before,
.nav__top li a[aria-current="page"]::before,
.nav__top .nav__list-item.sav-active > a::before{
  content:none !important;
  display:none !important;
}

/* Single underline only */
@media (min-width:768px){
  .nav__top li a.active::after,
  .nav__top li a.sav-current::after,
  .nav__top li a[aria-current="page"]::after,
  .nav__top .nav__list-item.sav-active > a::after{
    content:"" !important;
    position:absolute !important;
    left:0 !important;
    right:auto !important;
    bottom:0 !important;
    width:100% !important;
    height:4px !important;
    background:currentColor !important;
    border:0 !important;
    box-shadow:none !important;
  }
}

/* Top white header state */
body:not(.scrolled) .nav__top li a.active,
body:not(.scrolled) .nav__top li a.sav-current,
body:not(.scrolled) .nav__top li a[aria-current="page"],
body:not(.scrolled) .nav__top .nav__list-item.sav-active > a{
  color:#002395 !important;
}

/* Blue sticky/scrolled header state */
body.scrolled .nav__top li a.active,
body.scrolled .nav__top li a.sav-current,
body.scrolled .nav__top li a[aria-current="page"],
body.scrolled .nav__top .nav__list-item.sav-active > a,
.header--scrolled .nav__top li a.active,
.header--scrolled .nav__top li a.sav-current,
.header--scrolled .nav__top li a[aria-current="page"],
.is-scrolled .nav__top li a.active,
.is-scrolled .nav__top li a.sav-current,
.is-scrolled .nav__top li a[aria-current="page"],
.sticky .nav__top li a.active,
.sticky .nav__top li a.sav-current,
.sticky .nav__top li a[aria-current="page"],
.fixed .nav__top li a.active,
.fixed .nav__top li a.sav-current,
.fixed .nav__top li a[aria-current="page"]{
  color:#ffffff !important;
}

/* Mobile active state: no double underline; readable active item */
@media (max-width:767px){
  .nav__top li a.active,
  .nav__top li a.sav-current,
  .nav__top li a[aria-current="page"],
  .nav__top .nav__list-item.sav-active > a{
    border-bottom:0 !important;
    padding-bottom:0 !important;
    font-weight:800 !important;
  }
  .nav__top li a.active::after,
  .nav__top li a.sav-current::after,
  .nav__top li a[aria-current="page"]::after,
  .nav__top .nav__list-item.sav-active > a::after{
    content:none !important;
    display:none !important;
  }
}
