/* v6.9.152: text-only moving navigation glow; selected item stays static. */
.header .jump-nav a {
  position: relative;
  isolation: isolate;
}

.header .jump-nav a .nav-glow-label {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-width: 0;
  line-height: inherit;
  white-space: nowrap;
}

.header .jump-nav a .nav-glow-actual,
.header .jump-nav a .nav-glow-hover {
  grid-area: 1 / 1;
  display: block;
  white-space: nowrap;
}

/* Normal readable navigation text. */
.header .jump-nav a .nav-glow-actual {
  position: relative;
  z-index: 1;
  color: inherit;
  -webkit-text-fill-color: currentColor;
  transition: color .12s ease, -webkit-text-fill-color .12s ease;
}

/* Gold text layer revealed from left to right. */
.header .jump-nav a .nav-glow-hover {
  position: relative;
  z-index: 2;
  justify-self: start;
  width: 0;
  max-width: 100%;
  overflow: hidden;
  color: #ffd45c;
  -webkit-text-fill-color: #ffd45c;
  text-shadow:
    0 0 2px rgba(255,242,196,.95),
    0 0 6px rgba(243,179,36,.78),
    0 0 11px rgba(243,179,36,.45);
  opacity: 0;
  pointer-events: none;
  transition: width .16s ease-out, opacity .08s ease;
}

/* Non-selected items: no box, no background highlight and no movement. */
html[data-theme] body .header .jump-nav a:not(.active):not([aria-current="page"]):hover,
html[data-theme] body .header .jump-nav a:not(.active):not([aria-current="page"]):focus-visible {
  background: transparent !important;
  background-image: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
}

.header .jump-nav a:not(.active):not([aria-current="page"]):hover .nav-glow-actual,
.header .jump-nav a:not(.active):not([aria-current="page"]):focus-visible .nav-glow-actual {
  color: rgba(232,233,230,.48);
  -webkit-text-fill-color: rgba(232,233,230,.48);
}

.header .jump-nav a:not(.active):not([aria-current="page"]):hover .nav-glow-hover,
.header .jump-nav a:not(.active):not([aria-current="page"]):focus-visible .nav-glow-hover {
  width: 100%;
  opacity: 1;
  transition: width .5s linear, opacity .08s ease;
}

/* The selected navigation item remains static and never runs the sweep. */
.header .jump-nav a.active .nav-glow-hover,
.header .jump-nav a[aria-current="page"] .nav-glow-hover {
  display: none !important;
  width: 0 !important;
  opacity: 0 !important;
  transition: none !important;
}

.header .jump-nav a.active .nav-glow-actual,
.header .jump-nav a[aria-current="page"] .nav-glow-actual,
.header .jump-nav a.active:hover .nav-glow-actual,
.header .jump-nav a.active:focus-visible .nav-glow-actual,
.header .jump-nav a[aria-current="page"]:hover .nav-glow-actual,
.header .jump-nav a[aria-current="page"]:focus-visible .nav-glow-actual {
  color: inherit;
  -webkit-text-fill-color: currentColor;
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .header .jump-nav a .nav-glow-actual,
  .header .jump-nav a .nav-glow-hover {
    transition: none !important;
  }
}
