/* Shared header finish. Geometry and mobile navigation remain unchanged. */
/* Typography-only change explicitly authorized by the user. */
html body header#ugsMainNav,
html body header#ugsMainNav :is(a,button,span,li,p){font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif!important;}
html body header#ugsMainNav .ugs-nav-logo-contrast { display: none !important; }

@media (min-width: 992px) and (hover: hover) and (pointer: fine) {
 html body header#ugsMainNav .ugs-nav-cta {
  background: #088444 !important;
  box-shadow: 0 8px 24px rgb(8 132 68 / .16) !important;
 }
 html body header#ugsMainNav .ugs-nav-cta:hover {
  background: #088444 !important;
  box-shadow: 0 10px 26px rgb(8 132 68 / .24), inset 0 0 0 1px rgb(255 255 255 / .24) !important;
 }
 html body header#ugsMainNav .ugs-nav-cta:active { transform: translateY(0); }
 html body header#ugsMainNav .ugs-nav-link::after { background: #088444 !important; }
 html body header#ugsMainNav .ugs-nav-link[aria-current="page"]::after { right: 0; height: 2px; }
 html body header#ugsMainNav .ugs-nav-cta:focus-visible { outline: 2px solid currentColor !important; outline-offset: 4px !important; }
}

/* The approved desktop header is dark in these two existing states. */
@media (min-width: 1100px) and (hover: hover) and (pointer: fine) {
 html body header#ugsMainNav[data-ugs-site-chrome] .ugs-nav-logo-dark,
 html body header#ugsMainNav[data-ugs-site-chrome] .ugs-nav-logo-light,
 html body header#ugsMainNav.ugs-nav--hero:not(.is-scrolled) .ugs-nav-logo-dark,
 html body header#ugsMainNav.ugs-nav--hero:not(.is-scrolled) .ugs-nav-logo-light { opacity: 0 !important; }
 html body header#ugsMainNav[data-ugs-site-chrome] .ugs-nav-logo img.ugs-nav-logo-contrast,
 html body header#ugsMainNav.ugs-nav--hero:not(.is-scrolled) .ugs-nav-logo img.ugs-nav-logo-contrast {
  display: block !important; position: absolute; left: 50%; top: 50%;
  width: 64px !important; height: 64px !important; max-width: none;
  transform: translate(-50%,-50%) !important; opacity: 1 !important;
  object-fit: contain; filter: none !important; pointer-events: none;
 }
 html body header#ugsMainNav[data-ugs-site-chrome] .ugs-nav-link[aria-current="page"],
 html body header#ugsMainNav.ugs-nav--hero:not(.is-scrolled) .ugs-nav-link[aria-current="page"] {
  color: #fff !important; -webkit-text-fill-color: #fff !important;
 }
}

@media (prefers-reduced-motion: reduce) {
 html body header#ugsMainNav .ugs-nav-cta { transition: none !important; transform: none !important; }
}
