/* V15: scoped interaction and contrast corrections only.
   Preserve V14 design dials 4/2/5, layout, copy and image assets.
   Header layer 20; banner isolated at 0, image scrim 0, text 1. */
.header { z-index: 20; }
@media (min-width: 992px) {
  .header .nav > li > .sub-menu {
    top: 100%;
    transform: none;
    transition: none;
  }
  .header .nav > li:hover > .sub-menu,
  .header .nav > li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .header .nav li .sub-menu li a:hover,
  .header .nav li .sub-menu li a:focus-visible {
    color: var(--fs-ink);
    background: var(--fs-soft);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}
/* Isolate legacy z-index:500 banner text so it cannot intercept menus.
   A 68% black scrim keeps white text legible even over a white image pixel. */
.breadcrumbs.overlay {
  isolation: isolate;
  z-index: 0;
}
.breadcrumbs.overlay::before,
.v6-lpc-page .breadcrumbs.overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .68) !important;
  opacity: 1 !important;
  z-index: 0;
  pointer-events: none;
}
.breadcrumbs > .container { position: relative; z-index: 1; }
.breadcrumbs.overlay :is(h1, h2, p, span, a, i) {
  color: #fff !important;
}
.breadcrumbs.overlay a:hover,
.breadcrumbs.overlay a:focus-visible { text-decoration: underline; }
.breadcrumbs.overlay a:focus-visible { outline-color: #fff; }
/* Colored category headings across all three language editions. */
.small-list h2,
.small-list h2 a,
.small-list h2 a:hover,
.small-list h2 a:focus-visible { color: #fff; }
.small-list h3,
.small-list h3 a,
.small-list h3 a:hover,
.small-list h3 a:focus-visible { color: #172b43; }
.small-list :is(h2, h3) a:hover,
.small-list :is(h2, h3) a:focus-visible { text-decoration: underline; }
.small-list h2 a:focus-visible { outline-color: #fff; }
@media (prefers-color-scheme: dark) {
  .header .topbar .top-link li a { color: var(--fs-ink); }
  .header .nav > li:hover > a,
  .header .nav > li:focus-within > a { color: var(--fs-accent); }
  /* Legacy cards stay white in V14: keep their links dark on that surface. */
  .single-team .t-bottom h3 a { color: #1764ad; }
  .single-team .t-bottom h3 a:hover,
  .single-team .t-bottom h3 a:focus-visible { color: #124f88; }
}
