/* Opt-in header for published informational pages and LearnDash course archives/details.
   Applied only when wp_body_open emits the header; :has fails safe if the theme lacks the hook. */
body:has(.ppa-cp-global-header) .ppa-cp-global-header{display:block!important;position:relative;z-index:99;background:#fff;color:#14394e;border-bottom:1px solid #dce8ed;box-shadow:0 1px 2px rgba(10,33,46,.04)}
.ppa-cp-global-header, .ppa-cp-global-header *{box-sizing:border-box}
.ppa-cp-global-header .ppa-cp-shell-header-inner{max-width:1350px;margin:0 auto;padding:18px 26px;display:flex;gap:26px;align-items:center;justify-content:space-between}
.ppa-cp-global-header .ppa-cp-shell-brand{font-family:Inter,'Segoe UI',Arial,sans-serif;font-size:clamp(18px,2vw,24px);font-weight:850;line-height:1.1;letter-spacing:-.8px;text-decoration:none!important;color:#143c57!important;white-space:nowrap;display:inline-flex;align-items:center}
.ppa-cp-global-header .ppa-cp-brand-first{color:#c28f00}
.ppa-cp-global-header .ppa-cp-tm{font-size:10px;vertical-align:super;position:relative;top:-.3em;margin-left:2px}
.ppa-cp-global-header .ppa-cp-official-logo{max-height:58px;max-width:280px;width:auto;height:auto;object-fit:contain;display:block}
.ppa-cp-global-header .ppa-cp-shell-navigation{display:flex;align-items:center;justify-content:flex-end;gap:clamp(12px,1.7vw,28px);flex-wrap:wrap}
.ppa-cp-global-header .ppa-cp-shell-navigation a{font-family:Inter,'Segoe UI',Arial,sans-serif;font-size:14px;font-weight:700;line-height:1.4;color:#23485d!important;text-decoration:none!important;white-space:nowrap}
.ppa-cp-global-header .ppa-cp-shell-navigation a:hover{text-decoration:underline!important;text-underline-offset:5px}
/* Only a theme header above the content and sitewide title strip are suppressed; LearnDash content is untouched. */
body:has(.ppa-cp-global-header) :is(header#masthead, .edubin-header-area, .header-area, .header-default, .header-topbar, .header-top-area, .edubin-site-header, .site-header, .elementor-location-header, .edubin-header-wrapper, .edubin-theme-header){display:none!important}
body:has(.ppa-cp-global-header) :is(.edubin-page-title, .edubin-page-title-area, .page-title-area, .page-title-wrapper, .edubin-breadcrumb, .edubin-breadcrumb-area, .breadcrumb-area, .page-title-section, .edubin-page-banner){display:none!important}
body:has(.ppa-cp-global-header) .ppa-cp-brand-preview-notice{max-width:1280px;margin:14px auto 5px;padding:11px 16px;border:1px solid #e2c26b;background:#fff0c7;color:#604300;border-radius:6px;font:700 13px/1.5 'Segoe UI',Arial,sans-serif}
@media(max-width:800px){.ppa-cp-global-header .ppa-cp-shell-header-inner{align-items:flex-start;flex-direction:column;gap:15px;padding:16px}.ppa-cp-global-header .ppa-cp-shell-navigation{justify-content:flex-start;gap:12px}.ppa-cp-global-header .ppa-cp-official-logo{max-width:230px;max-height:52px}}
