/* One navigation treatment for every page and viewport. */
body:is(.rre-new,.rre-legacy) .rre-header .rre-menu > a {
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-decoration-style: solid;
  text-underline-offset: 7px;
  text-decoration-skip-ink: none;
  background-image: none;
  box-shadow: none;
}

/* A text underline is the only line beneath a regular navigation link. */
body:is(.rre-new,.rre-legacy) .rre-header .rre-menu > a:not(.menu-cta) {
  border: 0;
}

body:is(.rre-new,.rre-legacy) .rre-header .rre-menu > a::before,
body:is(.rre-new,.rre-legacy) .rre-header .rre-menu > a::after {
  content: none;
}

body:is(.rre-new,.rre-legacy) .rre-header .rre-menu > a:not(.menu-cta):hover,
body:is(.rre-new,.rre-legacy) .rre-header .rre-menu > a:not(.menu-cta)[aria-current="page"] {
  color: #e1c6a3;
  text-decoration-line: underline;
}

/* The audit button keeps its existing border; keyboard focus stays visible. */
body:is(.rre-new,.rre-legacy) .rre-header .rre-menu > a.menu-cta {
  text-decoration: none;
}
