/* Interior navigation follows the approved brand mark and the common footer's local Manrope. */
html body #ys-interior-header[data-ys-interior-header] {
  --ysh-blue: #14365b;
  --ysh-panel: #183e66;
  --ysh-ink: #eff6ff;
  --ysh-muted: #cbddef;
  --ysh-accent: #83d3f7;
  --ysh-rule: #466686;
  --ysh-edge: clamp(1rem, 4vw, 4rem);
  display: block; position: relative; inset: auto; z-index: 110; isolation: isolate;
  box-sizing: border-box; width: 100%; max-width: none; min-width: 0; height: auto;
  min-height: 0; margin: 0; padding: 0; overflow: visible; border: 0;
  border-bottom: 1px solid var(--ysh-rule); border-radius: 0;
  background: var(--ysh-blue); box-shadow: none; backdrop-filter: none;
  font: 650 15px/1.45 "YS Footer Manrope", Manrope, "Segoe UI", sans-serif;
  letter-spacing: normal; text-align: start; color: var(--ysh-ink);
}
#ys-interior-header *, #ys-interior-header *::before, #ys-interior-header *::after {
  box-sizing: border-box;
}
#ys-interior-header::before, #ys-interior-header::after { content: none; }
#ys-interior-header .ysh-bar {
  display: flex; align-items: center; justify-content: flex-start;
  gap: clamp(14px, 1.9vw, 32px); position: relative; width: 100%; max-width: 1488px;
  min-height: 74px; margin: 0 auto; padding: 0 var(--ysh-edge);
}
#ys-interior-header a, #ys-interior-header summary {
  margin: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none;
  font: inherit; letter-spacing: inherit; color: var(--ysh-muted); opacity: 1;
  text-align: start; text-transform: none; text-decoration: none; cursor: pointer;
  -webkit-tap-highlight-color: rgb(126 206 247 / .18);
}
#ys-interior-header a::before, #ys-interior-header a::after,
#ys-interior-header summary::before, #ys-interior-header summary::after { content: none; }
#ys-interior-header .ysh-brand {
  display: inline-flex; align-items: center; gap: 11px; min-height: 44px; flex: none;
  margin-right: auto; padding: 0; color: var(--ysh-ink);
  font-size: 17px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em;
}
#ys-interior-header .ysh-brand img {
  display: block; width: 38px; height: 38px; max-width: none; margin: 0; padding: 0; flex: none;
  border: 0; border-radius: 10px; background: transparent; object-fit: cover; box-shadow: none;
}
#ys-interior-header .ysh-brand span { color: inherit; font: inherit; }
#ys-interior-header .ysh-desktop {
  position: static; inset: auto; display: flex; align-items: center;
  justify-content: flex-end; gap: clamp(14px, 1.6vw, 26px); width: auto;
  min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
}
#ys-interior-header .ysh-link, #ys-interior-header summary {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px;
  padding: 8px 0; color: var(--ysh-muted); font-size: 15px; font-weight: 650;
}
#ys-interior-header .ysh-desktop > .ysh-link { position: relative; white-space: nowrap; }
#ys-interior-header .ysh-link[aria-current] { color: var(--ysh-accent); }
#ys-interior-header .ysh-desktop > .ysh-link[aria-current]::after {
  content: ""; position: absolute; inset: auto 0 3px; width: 19px; height: 2px;
  border: 0; background: currentColor; transform: none;
}
#ys-interior-header .ysh-direct { display: flex; flex: none; }
#ys-interior-header .ysh-short-label { display: none; }
#ys-interior-header .ysh-action {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 44px; padding: 9px 16px; border: 1px solid var(--ysh-accent);
  border-radius: 7px; background: var(--ysh-accent); color: #102e4a;
  font-weight: 800; font-size: 14px; line-height: 1.35; white-space: nowrap;
}
#ys-interior-header .ysh-arrow {
  position: relative; display: inline-block; flex: none; width: 12px; height: 1.5px;
  background: currentColor;
}
#ys-interior-header .ysh-arrow::after {
  content: ""; position: absolute; right: 0; bottom: -2.1px; width: 6px; height: 6px;
  border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg);
}
#ys-interior-header details {
  position: relative; display: block; width: auto; margin: 0; padding: 0;
  border: 0; border-radius: 0; background: transparent; box-shadow: none;
}
#ys-interior-header summary { list-style: none; }
#ys-interior-header summary::-webkit-details-marker { display: none; }
#ys-interior-header summary::marker { content: ""; }
#ys-interior-header .ysh-chevron {
  display: inline-block; width: 7px; height: 7px; margin-top: -3px;
  border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
#ys-interior-header .ysh-more[open] .ysh-chevron { margin-top: 3px; transform: rotate(225deg); }
#ys-interior-header .ysh-panel, #ys-interior-header .ysh-mobile-panel {
  position: absolute; z-index: 1; display: grid; gap: 0; min-height: 0;
  margin: 0; padding: 8px 16px; overflow-y: auto; overscroll-behavior: contain;
  border: 1px solid var(--ysh-rule); border-radius: 7px; background: var(--ysh-panel);
  color: var(--ysh-ink); box-shadow: 0 12px 28px rgb(7 23 40 / .20);
}
#ys-interior-header .ysh-panel {
  inset: calc(100% + 4px) 0 auto auto; width: max-content; max-width: 310px;
  min-width: 220px; max-height: min(65vh, 480px);
}
#ys-interior-header .ysh-panel .ysh-link, #ys-interior-header .ysh-mobile-panel .ysh-link {
  display: flex; width: 100%; min-width: 0; min-height: 44px;
  white-space: normal; overflow-wrap: anywhere;
}
#ys-interior-header .ysh-panel .ysh-link + .ysh-link,
#ys-interior-header .ysh-secondary-group .ysh-link + .ysh-link { border-top: 1px solid var(--ysh-rule); }
#ys-interior-header details:not([open]) > :not(summary) { display: none; }
#ys-interior-header details.ysh-mobile { display: none; }
#ys-interior-header .ysh-link:hover, #ys-interior-header summary:hover { color: #fff; }
#ys-interior-header .ysh-link:hover { text-decoration: underline; text-underline-offset: 4px; }
#ys-interior-header .ysh-action:hover { background: #a5e2ff; color: #102e4a; border-color: #a5e2ff; }
#ys-interior-header :is(a,summary):focus-visible {
  outline: 2px solid #c1ebff; outline-offset: 3px;
}
@media (max-width: 1099px) {
  #ys-interior-header .ysh-bar { min-height: 64px; gap: 14px; }
  #ys-interior-header .ysh-desktop { display: none; }
  #ys-interior-header details.ysh-mobile { display: block; position: static; }
  #ys-interior-header .ysh-mobile summary {
    gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid #7692ad;
    border-radius: 7px; color: var(--ysh-ink); font-size: 14px; font-weight: 700;
  }
  #ys-interior-header .ysh-menu-icon {
    display: block; position: relative; width: 15px; height: 8px;
    border-block: 1.5px solid currentColor;
  }
  #ys-interior-header .ysh-mobile[open] .ysh-menu-icon { border: 0; }
  #ys-interior-header .ysh-mobile[open] .ysh-menu-icon::before,
  #ys-interior-header .ysh-mobile[open] .ysh-menu-icon::after {
    content: ""; position: absolute; top: 3px; left: 0; width: 100%; height: 1.5px;
    background: currentColor; transform: rotate(45deg);
  }
  #ys-interior-header .ysh-mobile[open] .ysh-menu-icon::after { transform: rotate(-45deg); }
  #ys-interior-header .ysh-mobile-panel {
    inset: 100% var(--ysh-edge) auto auto; width: min(30rem, calc(100% - 2 * var(--ysh-edge)));
    max-height: 70vh; max-height: min(74dvh, 640px); padding: 10px 19px 12px;
    border-radius: 0 0 8px 8px;
  }
  #ys-interior-header .ysh-primary-group { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 14px; }
  #ys-interior-header .ysh-secondary-group {
    display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 14px;
    margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--ysh-rule);
  }
  #ys-interior-header .ysh-secondary-group .ysh-link { font-size: 14px; }
  #ys-interior-header .ysh-secondary-group .ysh-link + .ysh-link { border: 0; }
  #ys-interior-header .ysh-mobile-action { display: none; }
}
@media (max-width: 520px) {
  #ys-interior-header .ysh-direct { display: none; }
  #ys-interior-header .ysh-mobile-panel { inset-inline: 0; width: 100%; max-width: none; padding-inline: var(--ysh-edge); }
  #ys-interior-header .ysh-mobile-action { display: flex; padding: 8px 0 4px; }
  #ys-interior-header .ysh-mobile-action .ysh-action { width: 100%; }
}
@media (min-width: 380px) and (max-width: 520px) {
  #ys-interior-header .ysh-bar { gap: 9px; }
  #ys-interior-header .ysh-direct:has(.ysh-compact) { display: flex; }
  #ys-interior-header .ysh-compact { padding-inline: 12px; }
  #ys-interior-header .ysh-compact :is(.ysh-full-label,.ysh-arrow) { display: none; }
  #ys-interior-header .ysh-compact .ysh-short-label { display: inline; }
  #ys-interior-header .ysh-direct:has(.ysh-compact) + .ysh-mobile .ysh-mobile-action { display: none; }
}
.ysh-toolrow[data-ys-ih-tools] {
  width: 100%; margin: 0; padding: 0; border-bottom: 1px solid #c7d7e5;
  background: #edf4f9; color: #183c5c; font: 600 14px/1.45 "YS Footer Manrope", Manrope, system-ui, sans-serif;
}
.ysh-toolrow[data-ys-ih-tools] .ysh-toolrow__inner {
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px 22px;
  width: 100%; max-width: 1488px; margin: 0 auto; padding: 5px clamp(1rem, 4vw, 4rem);
}
.ysh-toolrow[data-ys-ih-tools] .ysh-toolrow__inner > a {
  display: inline-flex; align-items: center; min-height: 40px; color: #15466b; text-decoration: underline;
  text-decoration-color: #88adca; text-underline-offset: 3px; font: inherit;
}
.ysh-toolrow[data-ys-ih-tools] .ysh-toolrow__inner > a:focus-visible { outline: 2px solid #156184; outline-offset: 2px; }
body:has(> [data-ys-interior-header]) > .filters-bar { top: 0; }

/* The trail belongs to the masthead even on pages with a light hero. */
html body nav.ys-path {
  display: block; position: relative; inset: auto; z-index: auto;
  width: 100%; max-width: none; min-height: 0; height: auto;
  margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none;
  color: #f2f7fc; background: #14365b;
  font: 500 14px/1.5 "YS Footer Manrope", Manrope, "Segoe UI", sans-serif;
  text-align: start; letter-spacing: normal;
}
nav.ys-path .ys-path__inner {
  box-sizing: border-box; max-width: 1488px; width: 100%; margin: 0 auto;
  padding: 8px clamp(1rem, 4vw, 4rem) 12px;
}
nav.ys-path .ys-path__inner ol {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-start;
  list-style: none; gap: 0 .62em; margin: 0; padding: 0; border: 0;
}
nav.ys-path .ys-path__inner li {
  display: inline; position: static; flex: 0 1 auto; min-width: 0;
  max-width: 100%; margin: 0; padding: 0; background: none; border: 0;
  list-style: none; overflow-wrap: anywhere; font: inherit; color: inherit;
}
nav.ys-path .ys-path__inner li::before, nav.ys-path .ys-path__inner li::after { content: none; }
nav.ys-path .ys-path__inner li + li::before {
  content: ""; display: inline-block; position: static; box-sizing: border-box;
  width: .38em; height: .38em; padding: 0; margin: 0 .85em .14em 0;
  border: solid #93aec8; border-width: 1.5px 1.5px 0 0; border-radius: 0;
  background: transparent; transform: rotate(45deg);
}
nav.ys-path .ys-path__inner a, nav.ys-path .ys-path__inner [aria-current="page"] {
  display: inline; position: static; margin: 0; padding: 0; border: none; border-radius: 0;
  font: inherit; text-transform: none; letter-spacing: normal; text-align: start;
  background: none; box-shadow: none; color: #c7def1; opacity: 1; text-decoration: none;
}
nav.ys-path .ys-path__inner [aria-current="page"] { color: #f2f7fc; font-weight: 650; }
nav.ys-path .ys-path__inner a:hover, nav.ys-path .ys-path__inner a:focus-visible {
  color: #fff; text-decoration: underline; text-underline-offset: .23em;
}
nav.ys-path .ys-path__inner a:focus-visible { outline: 2px solid #83d3f7; outline-offset: 2px; }
@media (max-width: 620px) {
  html body nav.ys-path { font-size: 13px; }
  nav.ys-path .ys-path__inner { padding-top: 7px; padding-bottom: 11px; }
  nav.ys-path .ys-path__inner ol { row-gap: 5px; }
}

/* Inner pages keep the colours of their own cover and the same readable trail. */
html body :is(nav.breadcrumb, nav.ed-breadcrumb, nav.ec-breadcrumb, .opening a.back) {
  font-size: clamp(.8125rem, .78rem + .08vw, .875rem);
  font-weight: 500;
  line-height: 1.5;
}
html body nav:is(.breadcrumb, .ed-breadcrumb, .ec-breadcrumb) {
  flex-wrap: wrap;
  row-gap: .2em;
  overflow-wrap: anywhere;
}
html body :is(nav.breadcrumb, nav.ed-breadcrumb, nav.ec-breadcrumb, .opening) a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
html body.yas-reading nav.ua-breadcrumbs { margin-block-start: clamp(14px, 1.4vw, 22px); }
html body:has(.ys-legal-opening) > div:has(> #tocMobileWrap) {
  max-width: 1170px !important;
  padding-inline: clamp(18px, 4vw, 54px) !important;
}
.ys-legal-opening { padding-block: clamp(28px, 4vw, 56px) 0; }
html body .ys-legal-opening > h1 {
  max-inline-size: 24ch;
  margin: .28em 0 .32em;
  font-size: clamp(2rem, 4.1vw, 3.5rem);
  letter-spacing: -.04em;
  line-height: 1.12;
  text-wrap: pretty;
}
html body .ys-legal-opening > .small { margin: 0; max-width: 72ch; }
html body .ys-legal-opening .yas-return-nav {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.2rem;
  margin: 1rem 0 0; padding: .4rem 0; border: 0;
  border-bottom: 1px solid #44647d; border-radius: 0; background: transparent;
}
html body .ys-legal-opening .yas-return-nav a {
  display: inline-flex; align-items: center; min-height: 40px; margin: 0; padding: .35em 0;
  border: 0; border-radius: 0; color: #addbf6; background: transparent;
  font: inherit; font-size: .875rem; text-decoration: underline; text-underline-offset: .2em;
}
html body:has(.ys-legal-opening) #tocMobileWrap .wrap { padding: 0; }
@media (min-width: 901px) {
  html body:has(.ys-legal-opening) #tocMobileWrap > div:has(> .toc-mobile-toggle) { display: none; }
}
