/* A small lift in menu contrast only on dark navigation. */
html:not(.ea-clean-white):not(.light-mode) body:not(.light-mode):not(.ea-clean-white):not(.ea-theme-light) header.ea-nav-slim #primaryNav > .nav-link {
 color:#d0e5ff!important;
 -webkit-text-fill-color:#d0e5ff!important;
}
html:not(.ea-clean-white):not(.light-mode) body:not(.light-mode):not(.ea-clean-white):not(.ea-theme-light) header.ea-nav-slim #primaryNav > .nav-link:hover,
html:not(.ea-clean-white):not(.light-mode) body:not(.light-mode):not(.ea-clean-white):not(.ea-theme-light) header.ea-nav-slim #primaryNav > .nav-link:focus-visible {
 color:#f5f7fa!important;-webkit-text-fill-color:#f5f7fa!important;
}
/* Laptop-width screens, including the 1600px-wide short viewport supplied. */
@media (min-width:761px) and (max-width:1499px),
       (min-width:1500px) and (max-width:1700px) and (max-height:850px) {
 html body.home-page main.container {padding-top:32px!important;}
 html body.home-page .ea-home-hero-final {margin-top:0!important;padding-top:0!important;}
 html body.home-page .ea-home-hero-final > .hero-text {
  top:0!important;transform:none!important;margin-top:0!important;
 }
}

/* Gemini reference blue, applied to the existing winged wordmark. */
html:not(.ea-clean-white):not(.light-mode) body:not(.light-mode):not(.ea-clean-white):not(.ea-theme-light) header.ea-nav-slim .nav-logo > img.ea-wordmark-image,
html body .auth-brand-header > img.ea-wordmark-image {
 filter:drop-shadow(0 0 7px rgba(79,172,254,.60)) drop-shadow(0 0 15px rgba(79,172,254,.20))!important;
}

/* Keep the theme control as readable as the surrounding menu. */
html:not(.ea-clean-white):not(.light-mode) body:not(.light-mode):not(.ea-clean-white):not(.ea-theme-light) header.ea-nav-slim #primaryNav #themeToggleBtn {color:#d0e5ff!important;-webkit-text-fill-color:#d0e5ff!important;opacity:1!important;}
html:not(.ea-clean-white):not(.light-mode) body:not(.light-mode):not(.ea-clean-white):not(.ea-theme-light) header.ea-nav-slim #primaryNav #themeToggleBtn:hover,
html:not(.ea-clean-white):not(.light-mode) body:not(.light-mode):not(.ea-clean-white):not(.ea-theme-light) header.ea-nav-slim #primaryNav #themeToggleBtn:focus-visible {color:#f5f7fa!important;-webkit-text-fill-color:#f5f7fa!important;}

/* Current page: color plus underline, without changing menu dimensions. */
html:not(.ea-clean-white):not(.light-mode) body:not(.light-mode):not(.ea-clean-white):not(.ea-theme-light) header.ea-nav-slim #primaryNav > a.nav-link[aria-current="page"] {color:#25d9ff!important;-webkit-text-fill-color:#25d9ff!important;text-decoration:underline!important;text-decoration-thickness:1px!important;text-underline-offset:6px!important;}
html:is(.ea-clean-white,.light-mode) body header.ea-nav-slim #primaryNav > a.nav-link[aria-current="page"],
html body:is(.light-mode,.ea-clean-white,.ea-theme-light) header.ea-nav-slim #primaryNav > a.nav-link[aria-current="page"] {color:#007b92!important;-webkit-text-fill-color:#007b92!important;text-decoration:underline!important;text-decoration-thickness:1px!important;text-underline-offset:6px!important;}
