/* Optional editorial masthead; enabled by the instance's headerStyle. */
body #header .header.editorial-header {
 position: relative;
 inset: auto;
 display: grid;
 grid-template-columns: 1fr auto 1fr;
 gap: 0 24px;
 height: auto;
 min-height: 163px;
 padding: 24px clamp(24px, 3vw, 64px) 12px;
 background: #111a14;
 color: #faf8f1;
 border: 0;
}
body #header .header.editorial-header::before { display: none; }
#header:has(.editorial-header) { --finance-header-height: 163px; }
#header .editorial-header .brand {
 grid-column: 2;
 grid-row: 1;
 min-width: 0;
 margin: 0;
 justify-content: center;
 text-align: center;
}
#header .editorial-header .brand-name {
 font: 400 40px/1.05 Georgia, 'Times New Roman', serif;
 letter-spacing: -.045em;
 text-transform: none;
 white-space: nowrap;
}
#header .editorial-header .brand-name small {
 display: block;
 margin-top: 8px;
 font: 400 10px/1.5 var(--sans);
 letter-spacing: .09em;
 text-transform: uppercase;
 color: #c2c9bc;
}
#header .editorial-header .nav {
 grid-column: 1 / -1;
 grid-row: 2;
 display: flex;
 align-items: center;
 justify-content: center;
 gap: clamp(20px, 2.2vw, 32px);
 margin: 14px 0 0;
 padding: 4px 0 0;
 border: 0;
 background: none;
 box-shadow: none;
}
#header .editorial-header .nav a {
 position: relative;
 display: flex;
 align-items: center;
 min-height: 44px;
 padding: 0;
 border: 0;
 font: 400 14px/1.25 var(--sans);
 letter-spacing: 0;
 text-transform: none;
 white-space: nowrap;
 color: #d9ded4;
}
#header .editorial-header .nav a:nth-child(-n+3) {
 font-weight: 500;
 color: #fff;
}
#header .editorial-header .nav a::after {
 content: '';
 position: absolute;
 left: 0;
 right: 0;
 bottom: 3px;
 height: 1px;
 background: currentColor;
 transform: scaleX(0);
 transform-origin: left;
 transition: transform .18s ease;
}
#header .editorial-header .nav a:hover::after,
#header .editorial-header .nav a.active::after { transform: scaleX(1); }
#header .editorial-header .nav .mobile-contact-link { display: none; }
#header .editorial-header .editorial-contact {
 grid-column: 3;
 grid-row: 1;
 justify-self: end;
 display: flex;
 align-items: center;
 justify-content: center;
 min-height: 46px;
 min-width: 106px;
 padding: 10px 20px;
 border: 1px solid #f2eee4b0;
 border-radius: 999px;
 font-size: 13px;
 font-weight: 500;
 color: inherit;
 transition: background .18s ease;
}
#header .editorial-header .editorial-contact:hover { background: #ffffff15; }
#header .editorial-header :is(a, button):focus-visible {
 outline: 2px solid #ded6bd;
 outline-offset: 5px;
}
@media (max-width: 1000px) {
 body #header .header.editorial-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  height: var(--mobile-header);
  min-height: var(--mobile-header);
  padding: env(safe-area-inset-top, 0px) 22px 0;
  gap: 14px;
  border-bottom: 1px solid #ffffff20;
  background: #172119;
 }
 #header .editorial-header .brand {
  flex: 1;
  justify-content: flex-start;
  text-align: left;
 }
 #header .editorial-header .brand-name { font-size: 27px; }
 #header .editorial-header .brand-name small,
 #header .editorial-header .editorial-contact,
 #header .editorial-header .nav { display: none; }
 #header .editorial-header .menu-button {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  min-width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 0;
  border: 1px solid #ffffff40;
  border-radius: 12px;
  background: #ffffff0c;
  color: inherit;
  font-size: 21px;
 }
 #header .editorial-header .nav.open {
  position: fixed;
  inset: var(--mobile-header) 0 0;
  z-index: 51;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  width: auto;
  margin: 0;
  padding: 14px 24px calc(30px + env(safe-area-inset-bottom, 0px));
  gap: 0;
  overflow-y: auto;
  background: linear-gradient(150deg, #f8f6ee, #e9e8df);
  color: #1d3025;
 }
 #header .editorial-header .nav.open a {
  display: flex;
  min-height: 58px;
  padding: 14px 0;
  border-bottom: 1px solid #283c2b24;
  font-size: 22px;
  letter-spacing: -.025em;
  white-space: normal;
  color: #273b2b;
 }
 #header .editorial-header .nav.open .mobile-contact-link {
  display: flex;
  margin-top: 12px;
 }
 #header .editorial-header .nav a::after { display: none; }
 #header .editorial-header .nav.open a:focus-visible { outline-color: #273b2b; }
}
@media (prefers-reduced-motion: reduce) {
 #header .editorial-header .nav a::after,
 #header .editorial-header .editorial-contact { transition: none; }
}
