/* WP-THEME-HERO-20261108-001. Only explicit hero opt-ins consume this sheet.
   Omitted/default tone does not repaint any existing template. */
[data-tpk-hero] .tpk-hero-rail{box-sizing:border-box;width:100%;max-width:var(--tpk-hero-width,1440px);padding-inline:var(--tpk-hero-gutter,48px);margin-inline:auto;text-align:left}
[data-tpk-hero] .tpk-hero-trail:has(>.tpk-crumbs){padding-block:22px 8px}
[data-tpk-hero] .tpk-hero-trail>.tpk-crumbs{padding:0;margin:0;width:100%;max-width:none}
[data-tpk-hero][data-tpk-tone="white"]{--tpk-hero-background:#fff;--tpk-hero-foreground:#101415;--tpk-hero-secondary:#64706d}
[data-tpk-hero][data-tpk-tone="black"]{--tpk-hero-background:#101415;--tpk-hero-foreground:#fff;--tpk-hero-secondary:#cbd5d1}
[data-tpk-hero][data-tpk-tone="transparent"]{--tpk-hero-background:transparent}
[data-tpk-hero][data-tpk-tone="custom"]{--tpk-hero-foreground:#101415;--tpk-hero-secondary:#64706d}
[data-tpk-hero][data-tpk-contrast="light"]{--tpk-hero-foreground:#fff;--tpk-hero-secondary:#cbd5d1}
[data-tpk-hero][data-tpk-contrast="dark"]{--tpk-hero-foreground:#101415;--tpk-hero-secondary:#64706d}
/* The selected surface replaces only this explicitly marked background owner. */
[data-tpk-hero]:is([data-tpk-tone="white"],[data-tpk-tone="black"],[data-tpk-tone="transparent"],[data-tpk-tone="custom"]){background:var(--tpk-hero-background,transparent);--tpk-hero-ink:var(--tpk-hero-foreground,inherit);--tpk-hero-muted:var(--tpk-hero-secondary,inherit);color:var(--tpk-hero-foreground,inherit)}
/* Custom's legacy decoration is owned by this pseudo-element, not by its children. */
.tpk-custom-hero-zone[data-tpk-hero]:is([data-tpk-tone="white"],[data-tpk-tone="black"],[data-tpk-tone="transparent"],[data-tpk-tone="custom"])::before{background:none}
[data-tpk-hero]:is([data-tpk-tone="white"],[data-tpk-tone="black"],[data-tpk-tone="custom"],[data-tpk-contrast]) :is(h1,.tpk-hero-title,.tpk-crumbs .cur){color:var(--tpk-hero-foreground)}
[data-tpk-hero]:is([data-tpk-tone="white"],[data-tpk-tone="black"],[data-tpk-tone="custom"],[data-tpk-contrast]) :is(.tpk-hero-lead,.tpk-crumbs__inner,.tpk-crumbs a){color:var(--tpk-hero-secondary)}
[data-tpk-hero] .tpk-crumbs a:focus-visible{outline-color:currentColor}
@media(max-width:1024px),(hover:none) and (pointer:coarse){[data-tpk-hero] .tpk-hero-trail{display:none}}
@media(max-width:720px){[data-tpk-hero] .tpk-hero-rail{padding-inline:var(--tpk-hero-gutter-mobile,24px)}}

/* Audited legacy rails. No background values are copied or repainted. */
[data-tpk-legacy-hero="tpk-alt-band"]{--tpk-hero-width:1440px;--tpk-hero-gutter:40px}
[data-tpk-legacy-hero="hero-zone"],[data-tpk-legacy-hero="top-band"]{--tpk-hero-width:1360px;--tpk-hero-gutter:44px}
[data-tpk-legacy-hero="tpk-custom-hero-zone"]{--tpk-hero-width:1360px;--tpk-hero-gutter:44px}
[data-tpk-legacy-hero="tpk-page-faq"]{--tpk-hero-width:1440px;--tpk-hero-gutter:40px}
[data-tpk-legacy-hero="tpk-cert-page"]{--tpk-hero-width:980px;--tpk-hero-gutter:40px}
[data-tpk-legacy-hero]>.tpk-hero-trail{position:relative;z-index:3}
@media(min-width:1025px) and (hover:hover){
[data-tpk-legacy-hero="tpk-alt-band"]{padding-top:0}
[data-tpk-legacy-hero="tpk-alt-band"]>.tpk-alt-band__wrap{padding-top:108px}
}

/* Existing dark comparison presets: inherit the palette of the painted hero. */
[data-tpk-legacy-hero]:is([data-tone="ink"],[data-tone="night"],.tpk-alt-band--tone-ink,.tpk-alt-band--tone-night) .tpk-crumbs :is(.tpk-crumbs__inner,a){color:var(--tpk-hero-muted,#cbd5d1)}
[data-tpk-legacy-hero]:is([data-tone="ink"],[data-tone="night"],.tpk-alt-band--tone-ink,.tpk-alt-band--tone-night) .tpk-crumbs :is(.cur,a:hover,a:focus-visible){color:var(--tpk-hero-ink,#fff)}
