/* 1313 Advisor — shared header for every page */
.site-chrome-header,
body > header{
  position:sticky!important;
  top:0!important;
  z-index:1000!important;
  display:block;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  background:rgba(255,254,250,.96)!important;
  border:0!important;
  border-bottom:1px solid rgba(24,42,65,.08)!important;
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}
.site-chrome-inner,
body > header .bar{
  box-sizing:border-box;
  width:min(1160px,100%);
  min-height:76px;
  margin:0 auto;
  padding:12px 28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.site-chrome-brand,
body > header .brand{
  display:flex;
  align-items:center;
  gap:10px;
  color:#172338!important;
  text-decoration:none!important;
  font-size:1.15rem!important;
  font-weight:780!important;
  letter-spacing:-.045em;
  line-height:1.08;
  white-space:nowrap;
}
.site-chrome-brand img,
body > header .brand-logo{
  display:block;
  width:46px;
  height:46px;
  flex:0 0 46px;
  object-fit:cover;
  border-radius:10px;
}
.site-chrome-brand span,
body > header .brand-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.site-chrome-brand b,
body > header .brand-copy b{
  display:block;
  color:#a77e34;
  font-size:1.15rem;
  font-weight:780;
}
.site-chrome-brand small,
body > header .brand-copy small{
  display:block;
  margin-top:5px;
  color:#788294;
  font-size:.68rem;
  font-weight:560;
  letter-spacing:.045em;
}
.site-chrome-nav,
body > header .bar > .site-nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
  margin:0!important;
  padding:0;
}
.site-chrome-nav a,
body > header .bar > .site-nav a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  margin:0!important;
  padding:8px 13px;
  border:1px solid transparent;
  border-radius:8px;
  color:#596579!important;
  text-decoration:none!important;
  font-size:.87rem!important;
  font-weight:620!important;
  line-height:1.25;
  white-space:nowrap;
  transition:background .18s,color .18s;
}
.site-chrome-nav a:hover,
.site-chrome-nav a:focus-visible,
body > header .bar > .site-nav a:hover,
body > header .bar > .site-nav a:focus-visible{
  background:#f0eee8;
  color:#172338!important;
}
.site-chrome-nav a.nav-cta,
body > header .bar > .site-nav a.nav-cta{
  margin-left:0!important;
  padding-inline:18px;
  background:#142c4d;
  color:#fff!important;
}
.site-chrome-nav a.nav-cta:hover,
body > header .bar > .site-nav a.nav-cta:hover{
  background:#25476f;
  color:#fff!important;
}
.site-chrome-nav a.nav-compare,
body > header .bar > .site-nav a.nav-compare{
  border-color:#d8c59d;
  background:#f8f3e8;
  color:#765a2b!important;
  padding-inline:12px;
}
.site-chrome-nav a.nav-about,
body > header .bar > .site-nav a.nav-about{
  background:#f1eee7;
  color:#142c4d!important;
  padding-inline:14px;
}
.site-chrome-nav a.nav-about:hover,
body > header .bar > .site-nav a.nav-about:hover{background:#e8e2d6}
.site-chrome-tools,
body > header .header-tools{
  display:flex;
  align-items:center;
  gap:4px;
  margin-left:4px;
}
.site-chrome-lang,
body > header .lang{
  width:auto;
  min-width:0;
  min-height:40px;
  padding:7px 12px;
  border:1px solid #e5e7eb;
  border-radius:9px;
  background:#fff;
  color:#172338;
  font:600 .86rem Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  cursor:pointer;
  white-space:nowrap;
}
.site-chrome-lang:hover,
body > header .lang:hover{background:#f7f5f0;border-color:#d5c6a5}
@media(max-width:760px){
  .site-chrome-inner,
  body > header .bar{
    min-height:64px;
    padding:10px 21px;
    flex-wrap:wrap;
    gap:9px;
  }
  .site-chrome-brand,
  body > header .brand{gap:8px;font-size:1.08rem!important}
  .site-chrome-brand img,
  body > header .brand-logo{width:40px;height:40px;flex-basis:40px}
  .site-chrome-brand b,
  body > header .brand-copy b{font-size:1.08rem}
  .site-chrome-brand small,
  body > header .brand-copy small{font-size:.62rem}
  .site-chrome-nav,
  body > header .bar > .site-nav{
    order:3;
    flex:1 0 100%;
    width:100%;
    gap:4px;
    justify-content:flex-end;
  }
  .site-chrome-nav a,
  body > header .bar > .site-nav a{
    min-width:0;
    min-height:37px;
    padding:7px 5px;
    font-size:.72rem!important;
    text-align:center;
  }
  .site-chrome-nav a.nav-cta,
  body > header .bar > .site-nav a.nav-cta{
    flex:1 1 auto;
    padding-inline:5px;
    font-size:.70rem!important;
  }
  .site-chrome-nav a.nav-compare,
  body > header .bar > .site-nav a.nav-compare{flex:0 0 auto;padding-inline:9px}
  .site-chrome-nav a.nav-about,
  body > header .bar > .site-nav a.nav-about{padding-inline:8px}
  .site-chrome-tools,
  body > header .header-tools{margin-left:0}
  .site-chrome-lang,
  body > header .lang{min-height:37px;padding:6px 9px;font-size:.76rem}
  body > header .site-search{order:2;flex:0 1 220px;min-width:145px;margin-left:auto}
}
@media(max-width:520px){
  .site-chrome-inner,
  body > header .bar{padding-inline:17px}
  .site-chrome-brand b,
  body > header .brand-copy b{font-size:1.02rem}
  .site-chrome-brand small,
  body > header .brand-copy small{font-size:.59rem}
  .site-chrome-nav a,
  body > header .bar > .site-nav a{font-size:.68rem!important;padding-inline:3px}
  .site-chrome-nav a.nav-cta,
  body > header .bar > .site-nav a.nav-cta{font-size:.66rem!important;padding-inline:3px}
  .site-chrome-nav a.nav-compare,
  body > header .bar > .site-nav a.nav-compare{padding-inline:7px}
  .site-chrome-lang,
  body > header .lang{max-width:82px;min-height:36px;padding:6px 8px;font-size:.72rem}
}

/* Mobile: keep the search field beside the brand, not on a separate row */
@media(max-width:760px){
  body > header .site-search{
    order:2;
    flex:1 1 120px;
    width:auto;
    min-width:105px;
    max-width:220px;
    margin-left:auto;
  }
  body > header .site-search form,
  body > header .site-search input{min-width:0}
}
@media(max-width:520px){
  body > header .site-search{
    flex-basis:100px;
    min-width:88px;
    max-width:210px;
  }
}
