/* Shared static header. All rules are local to this component. */
.sph {
  --sph-ink: #15294b;
  --sph-blue: #082d88;
  --sph-hover: #1043a4;
  --sph-sub: #526379;
  --sph-line: #dce3ed;
  --sph-tint: #edf3fc;
  --sph-gutter: clamp(24px, 3.1vw, 44px);
  box-sizing: border-box;
  position: relative;
  z-index: 30;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--sph-line);
  color: var(--sph-ink);
  background: #fff;
  font: 400 1rem/1.35 Arial, Helvetica, sans-serif;
  text-align: left;
}
.sph *, .sph *::before, .sph *::after {box-sizing: border-box}
.sph .sph-shell, .sph .sph-links {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding-inline: var(--sph-gutter);
}
.sph .sph-top {display:flex; align-items:center; min-height:88px; gap:0}
.sph a {color:inherit; text-decoration:none; border:0; box-shadow:none}
.sph :is(a,button,summary):focus-visible {outline:3px solid #3564cc; outline-offset:2px; border-radius:5px}
.sph .sph-brand {display:inline-flex; flex:0 0 auto; align-items:center; min-height:44px}
.sph .sph-brand img {display:block; width:clamp(236px,21vw,300px); height:auto; max-width:none}
.sph .sph-caption {margin-inline-start:22px; padding-inline-start:0; border-inline-start:0; color:var(--sph-sub); font-size:.8125rem; line-height:1.4}
.sph .sph-numbers {display:flex; align-items:center; gap:clamp(19px,2.3vw,36px); margin-left:auto; padding-left:16px}
.sph .sph-number {display:flex; flex-direction:column; justify-content:center; align-items:flex-start; min-height:44px; gap:3px; white-space:nowrap}
.sph .sph-number span {color:var(--sph-sub); font-size:.8125rem; line-height:1.3}
.sph .sph-number strong {font-size:1.0625rem; font-weight:700; line-height:1.25; letter-spacing:-.025em; font-variant-numeric:tabular-nums}
.sph .sph-number:hover strong {color:var(--sph-hover); text-decoration:underline; text-underline-offset:3px}
.sph .sph-tools {display:flex; align-items:center; gap:2px; margin-left:clamp(14px,2vw,30px); position:static}
.sph .sph-icon, .sph .sph-toggle {
  display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px;
  padding:0; margin:0; cursor:pointer; border:0; border-radius:8px; color:var(--sph-blue); background:transparent;
}
.sph svg {display:block; width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; flex:none}
.sph .sph-icon:hover, .sph .sph-toggle:hover, .sph .sph-call[open] > summary, .sph .sph-toggle[aria-expanded="true"] {background:var(--sph-tint)}
.sph .sph-cta {
  display:inline-flex; justify-content:center; align-items:center;
  min-height:44px; padding:0 18px; color:#fff; background:var(--sph-blue); border-radius:7px;
  font-size:.9375rem; font-weight:700; white-space:nowrap;
}
.sph .sph-cta:hover {background:var(--sph-hover); color:#fff}
.sph .sph-top-cta {margin-left:8px}
.sph .sph-navrow {width:100%; border-top:0; background:#fff}
.sph .sph-links {position:relative; display:flex; flex-flow:row nowrap; justify-content:flex-start; align-items:stretch; gap:12px clamp(20px,2.5vw,32px); padding-block:0; background:transparent; border:0; font-size:.9375rem; font-weight:600}
.sph details, .sph summary {display:block; margin:0; padding:0; background:transparent; border:0; border-radius:0; box-shadow:none}
.sph summary {list-style:none; cursor:pointer}
.sph summary::-webkit-details-marker {display:none}
.sph .sph-links > details {position:relative}
.sph .sph-links > a, .sph .sph-links > details > summary {
  position:relative; display:flex; align-items:center; gap:8px; min-height:48px; padding:0; margin:0;
  border:0; background:none; font:inherit; color:var(--sph-ink); white-space:nowrap;
}
.sph .sph-links > a:hover, .sph .sph-links > details > summary:hover,
.sph .sph-links > details[open] > summary,
.sph .sph-links [aria-current="page"], .sph .sph-links [aria-current="location"],
.sph .sph-links > details:has([aria-current]) > summary {color:var(--sph-blue)}
.sph .sph-links > details > summary::after {content:""; width:7px; height:7px; border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:translateY(-2px) rotate(45deg)}
.sph .sph-links > details[open] > summary::after {transform:translateY(2px) rotate(225deg)}
.sph .sph-links .nav-list, .sph .sph-phones-panel {
  position:absolute; top:100%; left:-14px; z-index:2; display:grid; min-width:255px; width:max-content; max-width:320px;
  padding:7px; background:#fff; border:1px solid var(--sph-line); border-radius:10px; box-shadow:0 12px 26px #15294b17;
}
.sph .sph-links > details:nth-last-child(-n+2) .nav-list {left:auto; right:-14px}
.sph .nav-list a {display:flex; align-items:center; min-height:44px; padding:8px 12px; border-radius:5px; font-size:.925rem; font-weight:500; line-height:1.35}
.sph .nav-list a:hover, .sph .nav-list a[aria-current], .sph .sph-phones-panel a:hover {background:var(--sph-tint); color:var(--sph-blue)}
.sph .sph-links > details:not([open]) > .nav-list, .sph .sph-call:not([open]) > .sph-phones-panel {display:none}
.sph .sph-toggle, .sph .sph-call, .sph .sph-mobile-actions, .sph .sph-cross {display:none}
@media (min-width:961px) {
  .sph .sph-links > a[aria-current],
  .sph .sph-links > details:has([aria-current]) > summary {color:var(--sph-blue); font-weight:700}
  .sph .sph-links > a:is([aria-current], :hover, :focus-visible)::before {
    content:""; position:absolute; inset:auto 0 -1px; height:2px; border-radius:2px; background:var(--sph-blue)
  }
  .sph .sph-links > details:has([aria-current]) > summary::before {content:none}
}
@media (min-width:961px) and (max-width:1110px) {
  .sph .sph-caption {display:none}
}
@media (max-width:960px) {
  .sph {--sph-gutter:clamp(16px,4.1vw,36px)}
  .sph .sph-top {position:relative; min-height:64px}
  .sph .sph-brand img {width:clamp(146px,42vw,208px)}
  .sph .sph-caption, .sph .sph-numbers, .sph .sph-search, .sph .sph-top-cta {display:none}
  .sph .sph-tools {margin-left:auto; gap:2px}
  .sph .sph-call {display:block}
  .sph .sph-call > summary::after {display:none}
  .sph .sph-phones-panel {left:auto; right:0; top:calc(100% + 1px); width:min(256px,100%); min-width:0}
  .sph .sph-phones-panel .sph-number {padding:10px 12px; min-height:61px; border-radius:5px}
  .sph .sph-phones-panel .sph-number + .sph-number {border-top:1px solid var(--sph-line)}
  /* The legacy mobile nav has its own z-index. Keep the two layers within
     this header ordered even in browsers without :has() support. */
  .sph .sph-top {z-index:1}
  .sph .sph-navrow {position:relative; z-index:0; border-top:1px solid var(--sph-line)}
  .sph .sph-links {inset:auto; z-index:auto; box-shadow:none}
  /* The phone disclosure uses native details. While it is open, the fallback
     navigation makes room. Closing it restores keyboard and touch access. */
  .sph:not([data-enhanced]):has(.sph-call[open]) .sph-navrow {display:none}
  .sph[data-enhanced] .sph-toggle {display:inline-flex; gap:8px; width:auto; padding:0 10px; color:var(--sph-blue); font:600 .9rem/1.2 Arial,Helvetica,sans-serif}
  .sph .sph-toggle[aria-expanded="true"] .sph-hamb {display:none}
  .sph .sph-toggle[aria-expanded="true"] .sph-cross {display:block}
  .sph .sph-navrow {display:none}
  .sph[data-enhanced][data-menu-open] .sph-navrow {display:block; position:absolute; top:100%; left:0; max-height:calc(100dvh - 64px); overflow:auto; overscroll-behavior:contain; border-bottom:1px solid var(--sph-line); box-shadow:0 10px 18px #15294b12}
  .sph .sph-links {display:flex; flex-direction:column; align-items:stretch; justify-content:space-between; gap:0; padding-block:6px 12px}
  .sph .sph-mobile-actions {display:flex; align-items:center; gap:18px; padding:10px 0 16px}
  .sph .sph-mobile-search {display:inline-flex; align-items:center; min-height:44px; gap:7px; color:var(--sph-blue); font-size:.9rem}
  .sph .sph-mobile-search svg {width:18px; height:18px}
  .sph .sph-links > a, .sph .sph-links > details > summary {min-height:48px; gap:12px; justify-content:space-between; white-space:normal; border-top:1px solid var(--sph-line)}
  .sph .sph-links > details > summary::after {margin-right:6px}
  .sph .sph-links > a[aria-current]::before, .sph .sph-links > details:has([aria-current]) > summary::before {content:""; position:absolute; inset:12px auto 12px -9px; width:3px; height:auto; border-radius:2px; background:var(--sph-blue)}
  .sph .sph-links .nav-list {position:static; width:100%; max-width:none; min-width:0; padding:3px 6px; margin:0 0 8px; border:0; border-radius:6px; box-shadow:none; background:#f4f7fc}
}
@media (max-width:520px) {
  .sph[data-enhanced] .sph-toggle {width:44px; padding:0}
  .sph .sph-toggle span {display:none}
}
@media (max-width:350px) {
  .sph {--sph-gutter:12px}
  .sph .sph-mobile-actions {gap:9px}
  .sph .sph-mobile-actions .sph-cta {padding-inline:12px}
}
