/* The approved horizontal brand and navigation are shared by both languages.
   Native popovers handle focus return, Escape and light-dismiss without scripts. */
.sh-site-header {
  --sh-header-ink: #112d42;
  --sh-header-gold: #a67d3b;
  --sh-header-rule: #cad3d5;
  --sh-header-height: 94px;
  --sh-header-width: min(1320px, 88%);
  position: relative;
  z-index: 100;
  width: 100%;
  padding: 0;
  color: var(--sh-header-ink);
  background: #fff;
  border-bottom: 3px solid var(--sh-header-gold);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.4;
}
.sh-header-fixed { position: fixed; inset: 0 0 auto; }
.sh-header-sticky { position: sticky; top: 0; }
.sh-site-header *, .sh-site-header *::before, .sh-site-header *::after { box-sizing: border-box; }
.sh-header-row {
  width: var(--sh-header-width);
  max-width: none;
  min-height: calc(var(--sh-header-height) - 3px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
}
.sh-site-header a { color: inherit; text-decoration: none; }
.sh-site-header a:hover, .sh-site-header button:hover { text-decoration: underline; text-underline-offset: .3em; }
.sh-site-header :is(button, a):focus-visible { outline: 2px solid #0065a7; outline-offset: 3px; }
.sh-site-header .sh-sign {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 13px;
}
.sh-site-header .sh-sign-mark { display: block; width: 46px; height: 56px; object-fit: contain; }
.sh-site-header .sh-sign-word { display: block; width: 201px; height: auto; }
.sh-header-stack { display: grid; justify-items: end; align-content: center; row-gap: 7px; }
.sh-primary, .sh-utility { display: flex; align-items: center; }
.sh-utility { gap: 16px; font-size: 12px; font-weight: 500; color: #455f70; }
.sh-utility a + a { border-inline-start: 1px solid var(--sh-header-rule); padding-inline-start: 16px; }
.sh-primary { gap: 28px; font-size: 14px; font-weight: 650; }
.sh-site-header button { font: inherit; border: 0; border-radius: 0; padding: 0; min-width: 0; background: transparent; color: inherit; cursor: pointer; }
.sh-primary > a, .sh-financing-trigger { display: inline-flex; align-items: center; min-height: 28px; }
.sh-site-header [aria-current="page"] { text-decoration: underline; text-decoration-color: var(--sh-header-gold); text-underline-offset: .35em; }
.sh-financing-trigger { anchor-name: --sh-financing; }
.sh-caret { width: 7px; height: 7px; margin: -3px 2px 0 9px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.sh-primary:has(.sh-dropdown:popover-open) .sh-caret { transform: rotate(225deg); margin-top: 3px; }
.sh-site-header [popover] { color: var(--sh-header-ink); background: white; margin: 0; text-align: start; }
.sh-dropdown, .sh-mobile-panel {
  position: fixed;
  inset: var(--sh-header-height) max(6vw, calc((100vw - 1320px) / 2)) auto auto;
  border: 1px solid var(--sh-header-rule);
  border-top: 3px solid var(--sh-header-gold);
  padding: 7px;
  max-height: min(70vh, 34rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 0 9px 24px #112d4224;
}
.sh-dropdown { min-width: 245px; }
@supports (top: anchor(bottom)) {
  .sh-dropdown { position-anchor: --sh-financing; inset: auto; top: calc(anchor(bottom) + 7px); left: calc(anchor(left) - 14px); }
}
.sh-dropdown a, .sh-mobile-panel a { display: block; padding: 11px 14px; }
.sh-dropdown a:hover, .sh-mobile-panel a:hover { background: #f1f5f5; }
.sh-mobile { display: none; }
.sh-header-focused .sh-utility { font-size: 14px; }
.sh-header-focused .header-label { flex: 0 0 auto; font-size: 12px; color: var(--sh-header-ink); text-align: end; }
.sh-header-focused .header-label span { display: block; margin-top: 2px; font-weight: 500; }
@media (max-width: 1000px) {
  .sh-site-header .sh-sign-word { width: 165px; }
  .sh-site-header .sh-sign-mark { width: 40px; height: 49px; }
  .sh-primary { gap: 20px; }
}
@media (max-width: 800px) {
  .sh-site-header { --sh-header-height: 74px; --sh-header-width: 90%; }
  .sh-header-row { gap: 12px; }
  .sh-header-stack { display: none; }
  .sh-mobile { display: block; }
  .sh-site-header .sh-mobile-trigger { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 6px; font-weight: 650; font-size: 14px; }
  .sh-burger { width: 18px; height: 13px; background: linear-gradient(to bottom, currentColor 0 1.5px, transparent 1.5px 5.75px, currentColor 5.75px 7.25px, transparent 7.25px 11.5px, currentColor 11.5px 13px); }
  .sh-mobile-panel {
    inset: var(--sh-header-height) 0 auto;
    width: 100%;
    max-height: calc(100vh - var(--sh-header-height));
    max-height: calc(100dvh - var(--sh-header-height));
    padding: 4px 5% 12px;
    border-width: 0 0 2px;
    border-color: var(--sh-header-gold);
    font: 600 15px/1.4 "DM Sans", system-ui, sans-serif;
  }
  .sh-mobile-panel a { border-bottom: 1px solid #e1e7e8; min-height: 44px; }
  .sh-header-focused .sh-utility { flex-wrap: wrap; justify-content: flex-end; }
  .sh-site-header .sh-sign { gap: 8px; }
  .sh-site-header .sh-sign-mark { width: 34px; height: 42px; }
  .sh-site-header .sh-sign-word { width: 156px; }
}
@media (max-width: 480px) {
  .sh-site-header .sh-sign-word { width: 144px; }
  .sh-header-focused .sh-sign-word { width: 125px; }
  .sh-header-focused .sh-utility { display: grid; justify-items: end; gap: 4px; font-size: 12px; }
  .sh-header-focused .sh-utility a + a { border: 0; padding: 0; }
}
@media print { .sh-site-header { display: none; } }
