/* Shared navigation, independent of each page's editorial layout. */
html { scroll-padding-top: 96px; color-scheme: light; }
.site-header [hidden], .site-track-bar [hidden] { display: none !important; }
body .site-header, body#pal-post .site-header {
  position: sticky; top: 0; z-index: 100; width: 100%; max-width: none;
  height: auto; margin: 0; padding: 0; display: block;
  background: #f7f9f8f7; border: 0; border-bottom: 1px solid #d9e3df;
  color: #192e32; backdrop-filter: blur(12px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
}
.site-header-inner, .site-track-inner {
  width: min(1120px, calc(100% - 64px)); margin: 0 auto;
  display: flex; align-items: center;
}
.site-header-inner { min-height: 78px; gap: 36px; }
body .site-header .site-brand, body#pal-post .site-header .site-brand {
  display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto;
  color: #192e32; font-size: 23px; font-weight: 750; line-height: 1.2;
  letter-spacing: -.7px; text-decoration: none; padding: 0; margin: 0;
}
body .site-header .site-brand img, body#pal-post .site-header .site-brand img {
  width: 36px; height: 36px; object-fit: contain; margin: 0; padding: 0; filter: none;
  border: 0; border-radius: 0; background: transparent; box-shadow: none;
}
body .site-header .site-brand [data-brand], body#pal-post .site-header .site-brand [data-brand] { color: #192e32; font: inherit; margin: 0; align-self: auto; }
body .site-header .site-nav, body#pal-post .site-header .site-nav {
  display: flex; flex: 1 1 auto; align-items: center; justify-content: flex-end;
  gap: 30px; padding: 0; margin: 0; width: auto; max-width: none;
}
body .site-header .site-nav a, body#pal-post .site-header .site-nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 78px;
  flex: 0 0 auto; width: auto;
  padding: 0; margin: 0; color: #5d7072; background: none; border: 0;
  font-size: 14px; font-weight: 600; line-height: 1.5; letter-spacing: 0;
  white-space: nowrap; text-decoration: none;
}
body .site-header .site-nav a:hover, body .site-header .site-nav a[aria-current],
body#pal-post .site-header .site-nav a:hover, body#pal-post .site-header .site-nav a[aria-current] { color: #08786e; }
.site-header .site-nav a[aria-current]::after {
  content: ''; position: absolute; height: 2px; bottom: 0; left: 0; right: 0; background: #08786e;
}
.site-languages { display: flex; flex-shrink: 0; gap: 2px; padding: 3px; border-radius: 7px; background: #edf4f1; }
body .site-languages button {
  min-height: 34px; padding: 8px 10px; margin: 0; border: 0; border-radius: 5px;
  color: #5d7072; background: transparent; font-family: inherit; font-size: 12px; font-weight: 650; line-height: 1.5; cursor: pointer;
}
body .site-languages button[aria-pressed="true"] { background: #fff; color: #075c55; box-shadow: 0 1px 3px #183b2420; }
.site-header a:focus-visible, .site-header button:focus-visible, .site-track-bar a:focus-visible { outline: 3px solid #08786e; outline-offset: 4px; border-radius: 3px; }
.site-track-bar { background: #edf4f1; border-bottom: 1px solid #d9e3df; color: #5d7072; }
.site-track-inner { gap: 30px; min-height: 58px; }
.site-track-label { font: 650 11px/1.5 ui-sans-serif, system-ui, sans-serif; letter-spacing: .6px; }
.site-track-bar nav { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 0; }
.site-track-bar nav a { display: inline-flex; align-items: center; padding: 8px 14px; border: 1px solid transparent; border-radius: 6px; color: #52696b; font: 600 13px/1.5 ui-sans-serif, system-ui, sans-serif; text-decoration: none; }
.site-track-bar nav a:hover { background: #fff; color: #08786e; }
.site-track-bar nav a[aria-current] { background: #fff; border-color: #cbded5; color: #075c55; }
@media (max-width: 850px) {
  .site-header-inner { gap: 22px; }
  body .site-header .site-nav, body#pal-post .site-header .site-nav { gap: 20px; }
  body .site-header .site-nav a, body#pal-post .site-header .site-nav a { font-size: 12px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 130px; }
  .site-header-inner, .site-track-inner { width: calc(100% - 36px); }
  .site-header-inner { flex-wrap: wrap; min-height: 110px; gap: 0; padding-top: 12px; }
  body .site-header .site-brand, body#pal-post .site-header .site-brand { font-size: 21px; }
  body .site-header .site-brand img, body#pal-post .site-header .site-brand img { width: 32px; height: 32px; }
  .site-languages { margin-left: auto; }
  body .site-header .site-nav, body#pal-post .site-header .site-nav { order: 2; flex-basis: 100%; width: 100%; justify-content: space-between; gap: 12px; margin-top: 8px; }
  body .site-header .site-nav a, body#pal-post .site-header .site-nav a { min-height: 47px; font-size: 12px; }
  .site-track-inner { gap: 0; }
  .site-track-label { display: none; }
  .site-track-bar nav { width: 100%; justify-content: space-between; gap: 4px; }
  .site-track-bar nav a { font-size: 12px; padding: 8px 9px; }
}
