/* Match the original desktop navigation-only sticky header. */
@media (min-width:992px) {
  #header.header { position:static; }
  /* Reserve the menu's normal height so switching to fixed does not move content. */
  #header.pb-navigation-pinned { padding-bottom:var(--pb-navigation-height,61px); }
  html:has(#header.pb-navigation-pinned) {
    --scroll-padding-top:calc(var(--pb-sticky-navigation-height,61px) + 16px)!important;
  }
  #header.pb-navigation-pinned > .pb-navigation {
    position:fixed;
    inset:0 0 auto;
    width:100%;
    z-index:1021;
  }
}
