/* Only the extra navigation item and its responsive spacing affect existing pages. */
body header .site-blog-nav-link{white-space:nowrap}
@media(min-width:1101px) and (max-width:1450px){body header :is(.hp-nav,.main-nav,.pd-header-nav){gap:18px}body header :is(.header-wa-number,.hp-header-email>span){display:none}}

/* Shared two-row header across the original page templates. */
body header.hp-header{padding:0}
body.privacy-page .hp-header-wa{background:transparent;font-size:13px}
body header .site-header-wa .header-wa-number{display:none!important}
@media(min-width:1181px){
body header .site-header-wa{display:inline-flex;align-items:center;gap:9px;min-height:44px;height:44px;padding:0 12px;background:#152322!important;font-size:13px;font-weight:650;line-height:1.5;white-space:nowrap}
body header .site-header-wa .brand-app-icon{width:28px;height:28px;min-width:28px}
body header .site-header-wa .site-header-wa-label,body header .site-header-wa .header-wa-number{display:inline!important}
body header .site-header-wa .header-wa-number{color:#c0cdd3!important;font-size:12px;font-weight:600}
body header:is(.hp-header,.site-header)>:is(.hp-header-inner,.pd-header-inner,.header-inner){box-sizing:border-box;display:grid!important;width:90%!important;max-width:1720px!important;height:136px!important;min-height:136px!important;padding:0!important;margin-inline:auto!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:52px 42px!important;align-items:center;align-content:center;gap:10px 40px!important}
body header :is(.hp-brand,.pd-header-brand,.brand){grid-column:1!important;grid-row:1!important;justify-self:start;margin:0!important}
body header :is(.hp-header-contact,.pd-header-actions,.header-contact){grid-column:2!important;grid-row:1!important;display:flex;align-items:center;justify-content:flex-end;gap:28px!important;margin:0!important}
body header :is(.hp-header-email,.pd-header-email,.header-email){width:auto!important}
body header :is(.hp-header-email,.pd-header-email,.header-email)>span{display:inline!important}
body header :is(.hp-brand-caption,.pd-header-caption,.brand-caption){font-size:11px;line-height:1.4}
body header :is(.hp-nav,.pd-header-nav,.main-nav){display:flex!important;position:static!important;grid-column:1/-1!important;grid-row:2!important;justify-content:center!important;align-items:center!important;align-self:stretch;flex-direction:row!important;width:100%;gap:42px!important;border:0!important;border-block-start:1px solid #ffffff20!important;box-shadow:none!important;margin:0!important;padding:12px 0 0!important;background:transparent!important}
body header :is(.hp-nav,.pd-header-nav,.main-nav)>a,body header :is(.hp-nav,.pd-header-nav,.main-nav)>details>summary{padding:5px 0!important;font-size:15px!important;line-height:1.5!important;font-weight:600!important;white-space:nowrap}
body header .hp-nav>a::after{bottom:0}
body header :is(.hp-menu-toggle,.pd-header-toggle,.menu-toggle){display:none!important}
body:is(.ae-new-page,.standalone-page) main,body.premium-home main[style*="padding-top:120px"]{padding-top:136px!important}
body.blog-page .blog-shell{padding-block-start:172px}
body.blog-page :is(.blog-sidebar,.blog-article-sidebar){top:160px}
body main :is(.blog-list,.blog-prose section,[id]){scroll-margin-top:160px}
body.privacy-page main{margin-block-start:172px}
}
/* Match the existing compact header breakpoint without changing its handlers. */
@media(max-width:1180px){
body header.site-header>:is(.pd-header-inner,.header-inner){display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;width:90%;height:auto!important;min-height:82px;align-items:center;padding:12px 0!important;gap:12px!important}
body header.site-header :is(.pd-header-nav,.main-nav){display:none!important;position:absolute!important;top:100%!important;left:0;right:0;width:auto;max-height:calc(100svh - 100px);overflow-y:auto;flex-direction:column!important;align-items:stretch!important;gap:0!important;padding:14px 5% 22px!important;background:#172b39!important;border-bottom:1px solid #ffffff20!important}
body header.site-header :is(.pd-header-nav,.main-nav).is-open{display:flex!important}
body header.site-header :is(.pd-header-toggle,.menu-toggle){display:grid!important;align-content:center;justify-items:center;flex-shrink:0;width:44px;height:44px;gap:6px;margin:0;padding:0;border:0;background:transparent}
body header.site-header :is(.pd-header-toggle,.menu-toggle)>span{width:22px;height:2px;background:#fff}
body header.site-header :is(.pd-header-nav,.main-nav)>a,body header.site-header :is(.pd-header-nav,.main-nav)>details>summary{display:block;padding:14px 0;font-size:16px;line-height:1.5}
body header.site-header :is(.pd-header-nav,.main-nav) .nav-dropdown-menu{position:static!important;width:auto!important;box-shadow:none;transform:none!important;margin:0;padding:5px 12px}
body.privacy-page main{margin-block-start:118px}
}
@media(max-width:700px){body header.site-header>:is(.pd-header-inner,.header-inner){width:calc(100% - 40px);min-height:80px}}
