/* Public masthead proportions live here, independently of page content. */
body #header.hs-header-scroll { font-family:"HS Search Roboto",Roboto,Arial,sans-serif; }
body #header.hs-header-scroll .header-main .header-inner { max-width:none; padding:0 16px; }
body #header.hs-header-scroll .header-main { height:96px; }
body #header.hs-header-scroll #logo { width:160px; flex-basis:160px; margin-right:24px; }
body #header.hs-header-scroll .header-nav-main>li>a { font-size:14px; font-weight:600; }
body #header.hs-header-scroll .hs-reference-account .hs-member-header-tools { gap:16px; }
body #header.hs-header-scroll .hs-reference-auth-link { height:40px; min-height:40px; padding:4px 0; margin:0; border:0; background:transparent; color:#292929; font-size:14px; font-weight:600; white-space:nowrap; text-transform:none; }
#header.hs-header-scroll .hs-reference-auth-divider { height:16px; border-left:1px solid #ddd; }
body #header.hs-header-scroll .hs-member-account-item:not(.hs-member-account-item--mobile) .hs-member-post-button { min-height:48px; border-radius:8px; border:1px solid #ddd; padding:12px 18px; background:#fff; color:#333; box-shadow:none; font-size:14px; }
@media(min-width:1280px) and (max-width:1399px) {
 body #header.hs-header-scroll #logo { flex:0 0 140px; width:140px; margin-right:16px; }
 body #header.hs-header-scroll .header-nav-main>li>a { font-size:13px; padding-inline:8px; }
 body #header.hs-header-scroll .hs-reference-account .hs-member-header-tools { gap:12px; }
 body #header.hs-header-scroll .hs-reference-auth-link { font-size:13px; }
 body #header.hs-header-scroll .hs-member-account-item:not(.hs-member-account-item--mobile) .hs-member-post-button { min-width:112px; padding-inline:12px; font-size:13px; }
}
@media(min-width:850px) and (max-width:1279px) {
 body #header.hs-header-scroll .hs-reference-account .hs-member-header-tools { gap:8px; }
 body #header.hs-header-scroll .hs-reference-auth-link,
 body #header.hs-header-scroll .hs-member-post-button { font-size:12px; }
 body #header.hs-header-scroll .hs-member-post-button { padding:8px; }
 body #header.hs-header-scroll .header-inner>.hide-for-medium { display:none!important; }
 body #header.hs-header-scroll .header-inner>.show-for-medium { display:flex!important; flex:0 0 120px; }
}
@media(max-width:1279px) {
 body #header.hs-header-scroll .header-main { height:64px!important; min-height:64px!important; }
 body #header.hs-header-scroll .header-inner.flex-row { height:64px; min-height:64px!important; position:relative; justify-content:space-between; }
 body #header.hs-header-scroll .show-for-medium.flex-left { order:2; margin-left:auto; margin-right:0; justify-content:flex-end; }
 body #header.hs-header-scroll .show-for-medium.flex-right { order:0; flex:0 0 auto!important; min-width:0; width:auto; max-width:calc(50% - 100px); margin-left:0; margin-right:0; }
 body #header.hs-header-scroll .show-for-medium.flex-left .mobile-nav { width:100%; justify-content:flex-end; }
 body #header.hs-header-scroll #logo { position:absolute!important; left:50%!important; top:50%; transform:translate(-50%,-50%)!important; flex:none; max-width:150px; width:150px!important; margin:0!important; }
 body #header.hs-header-scroll #logo img { width:150px; max-height:44px!important; height:auto; margin:0 auto; padding:0; object-fit:contain; }
}
/* Header state rules, independently authored from observed public behavior.
   The outer header reserves its expanded height; only its wrapper changes. */
#header.hs-header-scroll {
  --hs-header-reserved: 97px;
  --hs-header-admin-offset: 0px;
  height: var(--hs-header-reserved);
  z-index: 1000;
}
#header.hs-header-scroll > .header-wrapper {
  transition: box-shadow .15s ease;
}
#header.hs-header-scroll[data-hs-header-state="compact"] > .header-wrapper {
  position: fixed !important;
  top: var(--hs-header-admin-offset) !important;
  left: 0 !important;
  width: 100%;
  margin: 0;
  transform: none !important;
  border-bottom: 0;
  box-shadow: 0 2px 8px #00000014;
}
#header.hs-header-scroll .hs-header-search { display: none; }
/* Archive quick controls dock as one row, without cloning their form or state. */
.hs-header-filter-slot { min-width: 0; }
.hs-header-filter-rail.is-pinned {
  position: fixed;
  top: var(--hs-filter-top);
  left: 0;
  right: 0;
  z-index: 990;
  background: #fff;
  box-shadow: 0 1px 0 #e8e8e8;
}
.hs-search[data-surface="archive"] .hs-header-filter-rail.is-pinned .hs-search__quick {
  width: var(--hs-filter-width);
  max-width: 100%;
  margin-left: var(--hs-filter-left);
  margin-right: 0;
}
html.hs-header-filters-pinned { scroll-padding-top: calc(var(--hs-header-docked-bottom) + 12px); }
@media(min-width:1280px) {
  /* The shared mega panel is centered on the full masthead, not the shorter
     left navigation list (which otherwise clips its first column). */
  #header.hs-header-scroll .header-nav-main { position: static; }
  #header.hs-header-scroll[data-hs-header-state="compact"] .header-main,
  #header.hs-header-scroll[data-hs-header-state="compact"] .header-inner {
    height: 56px !important;
    min-height: 56px !important;
  }
  #header.hs-header-scroll[data-hs-header-state="compact"] #logo img { max-height: 40px !important; width: auto; }
  #header.hs-header-scroll[data-hs-header-state="compact"] .header-main .nav > li > a { min-height: 40px; padding-block: 4px; }
  #header.hs-header-scroll[data-hs-header-state="compact"] .hs-member-account-item { align-self: center; height: 40px; }
  #header.hs-header-scroll[data-hs-header-state="compact"] .hs-member-header-tools { height: 40px; min-height: 0; }
  body #header.hs-header-scroll[data-hs-header-state="compact"] .hs-member-account-item:not(.hs-member-account-item--mobile) .hs-member-post-button { height: 36px; min-height: 36px; padding-block: 6px; }
}
/* Switch before the desktop navigation and account controls can intersect. */
@media(max-width:1279px) {
  #header.hs-header-scroll { --hs-header-reserved: 64px; }
  #header.hs-header-scroll:not(.hs-header-scroll--mobile-home) > .header-wrapper {
    position: fixed !important;
    top: var(--hs-header-admin-offset) !important;
    left: 0 !important;
    width: 100%;
    transform: none !important;
  }
  #header.hs-header-scroll .header-main,
  #header.hs-header-scroll .header-inner {
    height: 64px !important;
    min-height: 64px !important;
  }
  #header.hs-header-scroll .mobile-nav .nav-icon > a { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; min-width:44px; min-height:44px; padding:0!important; margin:0!important; line-height:1; }
  #header.hs-header-scroll .mobile-nav .icon-menu { font-size:24px; }
}
@media(max-width:768px) {
  body #header.hs-header-scroll.hs-header-scroll--mobile-home[data-hs-header-state="compact"] .header-main,
  body #header.hs-header-scroll.hs-header-scroll--mobile-home[data-hs-header-state="compact"] .header-inner { height: 78px !important; min-height: 78px !important; }
  body #header.hs-header-scroll.hs-header-scroll--mobile-home[data-hs-header-state="compact"] #logo {
    top: 12px; width: 96px !important; max-width: 96px;
  }
  body #header.hs-header-scroll.hs-header-scroll--mobile-home[data-hs-header-state="compact"] #logo img { width: 96px; max-height: 20px !important; padding: 0; }
  body #header.hs-header-scroll.hs-header-scroll--mobile-home[data-hs-header-state="compact"] .hs-header-search {
    position: absolute; display: flex; align-items: center; gap: 10px;
    left: 12px; right: 104px; bottom: 10px; height: 44px; min-height: 44px;
    padding: 0 10px; margin: 0; border: 1px solid #d2d2d2; border-radius: 6px;
    background: #f5f5f5; color: #555; box-shadow: none; text-transform: none;
    font-size: 13px; font-weight: 400; line-height: 1.3; letter-spacing: normal;
  }
  #header.hs-header-scroll .hs-header-search .hs-header-search__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
  #header.hs-header-scroll .hs-header-search :is(svg,.hs-icon) {font-size:18px;line-height:1; width: 18px; height: 18px; flex: 0 0 18px; color: #247006; }
  #header.hs-header-scroll .hs-header-search:focus-visible { outline: 2px solid #247006; outline-offset: 2px; }
  body #header.hs-header-scroll.hs-header-scroll--mobile-home[data-hs-header-state="compact"] .header-inner > .show-for-medium.flex-left {
    position: absolute; right: 12px; bottom: 10px; height: 44px; width: 44px; flex: none;
  }
  body #header.hs-header-scroll.hs-header-scroll--mobile-home[data-hs-header-state="compact"] .mobile-nav li.hs-favorites-header {
    position: fixed; left: auto; right: 56px; top: calc(var(--hs-header-admin-offset) + 46px); transform: translateY(-50%); margin: 0;
  }
  body #header.hs-header-scroll.hs-header-scroll--mobile-home[data-hs-header-state="compact"] .header-inner > .show-for-medium.flex-right {
    /* Account/login remain in the existing 44px hamburger drawer, not a tiny target. */
    display: none !important;
  }
}
@media(prefers-reduced-motion:reduce) {
  #header.hs-header-scroll > .header-wrapper { transition: none; }
}
