/* Shared TCNS public-site navigation, 19 October 2026. */
body > header.tcns-island-header {
  position: sticky;
  top: 0;
  z-index: 2000;
  display: block;
  max-width: none;
  margin: 0;
  padding: 13px 20px 10px;
  border: 0;
  background: #061a33;
  box-shadow: none;
  color: #15364d;
  font-family: 'DM Sans', Arial, sans-serif;
  isolation: auto;
}

body.home-v4 > header.tcns-island-header,
body.series-light > header.tcns-island-header { background: #f3f7f8; }

.tcns-island-header__shell {
  position: relative;
  display: flex;
  width: min(100%, 1400px);
  min-height: 68px;
  margin: 0 auto;
  padding: 8px 13px 8px 10px;
  align-items: center;
  gap: 24px;
  border: 1px solid #d1e2e8;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(10, 49, 69, .12);
}

.tcns-island-header__brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  color: #14384e;
  text-decoration: none;
}

.tcns-island-header__brand img {
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.tcns-island-header__brand strong {
  display: block;
  font: 800 12px/1.2 'Plus Jakarta Sans', Arial, sans-serif;
  letter-spacing: .035em;
  white-space: nowrap;
}

.tcns-island-header__nav {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 1.4vw, 22px);
}

.tcns-island-header__nav > a {
  flex: 0 0 auto;
  padding: 10px 0;
  color: #38586a;
  font: 700 12px/1.2 'Plus Jakarta Sans', Arial, sans-serif;
  text-decoration: none;
  white-space: nowrap;
}

.tcns-island-header__nav > a[aria-current="page"],
.tcns-island-header__nav > a:hover {
  color: #006c83;
}

.tcns-island-header__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 13px;
}

.tcns-island-header__actions a {
  font: 700 11px/1.2 'Plus Jakarta Sans', Arial, sans-serif;
  text-decoration: none;
  white-space: nowrap;
}

.tcns-island-header__signin { color: #317187; }
.tcns-island-header__signin:hover { color: #064d61; }

.tcns-island-header__companion {
  display: inline-flex;
  min-height: 43px;
  padding: 0 17px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #07364a;
  color: #fff;
}

.tcns-island-header__companion:hover { background: #0d5b72; }
.tcns-island-header a:focus-visible,
.tcns-island-header button:focus-visible {
  outline: 3px solid #0088a2;
  outline-offset: 3px;
}

.tcns-island-header__menu { display: none; }

@media (max-width: 1180px) {
  .tcns-island-header__shell { gap: 15px; }
  .tcns-island-header__nav { gap: 10px; }
  .tcns-island-header__actions { gap: 8px; }
}

@media (max-width: 1040px) {
  body > header.tcns-island-header { padding: 10px 16px 8px; }
  .tcns-island-header__shell { min-height: 60px; padding: 7px 9px; }
  .tcns-island-header__brand img { width: 42px; height: 42px; }
  .tcns-island-header__nav,
  .tcns-island-header__actions { display: none; }
  .tcns-island-header__menu {
    display: inline-flex;
    min-height: 42px;
    margin-left: auto;
    padding: 0 15px;
    align-items: center;
    border: 1px solid #b4d3dc;
    border-radius: 999px;
    background: #f5fbfc;
    color: #145266;
    font: 700 12px/1 'Plus Jakarta Sans', Arial, sans-serif;
    cursor: pointer;
  }
  .tcns-island-header.menu-open .tcns-island-header__nav {
    position: absolute;
    top: calc(100% + 7px);
    right: 0;
    left: 0;
    display: flex;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid #d1e2e8;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 15px 30px rgba(10, 49, 69, .18);
  }
  .tcns-island-header.menu-open .tcns-island-header__nav > a {
    padding: 13px 12px;
    border-radius: 10px;
    font-size: 14px;
  }
  .tcns-island-header.menu-open .tcns-island-header__nav > a:hover,
  .tcns-island-header.menu-open .tcns-island-header__nav > a:focus-visible {
    background: #eaf5f7;
  }
  .tcns-island-header.menu-open .tcns-island-header__actions {
    display: flex;
    padding: 12px 5px 3px;
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .tcns-island-header.menu-open .tcns-island-header__actions a {
    min-height: 42px;
    text-align: center;
    font-size: 13px;
  }
  .tcns-island-header.menu-open .tcns-island-header__signin {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .tcns-island-header__companion,
  .tcns-island-header__nav > a { transition: color .18s ease, background .18s ease; }
}
