/* How To hub, ONE hero (batch 13 item 2, staged Nov 10 2026). The old two-part top (title block, then the electrical-posts search band) is one hero:
   the existing circuit-trace / hex background (the "electrical posts") spans the whole hero, stretched to the taller height (the trace art is drawn twice, the second copy mirrored, so it still reaches both edges);
   the eyebrow, title, 2nd-line subtitle and sentence sit top-left; the search bar and the two number stats sit under them; the topic-count rows fill what used to be empty on the right.
   All copy, the search script behaviour, colours and type are the existing ones. */
.dhero.hw-hero.hw-merge{position:relative;isolation:isolate;overflow:hidden;padding:0;background:var(--midnight,#0F1530);border-bottom:1px solid rgba(255,255,255,.14)}
.hw-merge::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;z-index:3;background:linear-gradient(90deg,#8455B8,#D1338F 50%,#F2B33D)}
.hw-merge>.hw-sb-bg{z-index:0}
.hw-merge .hw-search{--sb-vio:#8455B8;--sb-mag:#D1338F;--sb-saf:#F2B33D;--sb-tea:#12A195;--sb-blu:#7B8CFF;margin:0;background:none;position:static;isolation:auto;display:contents}
.hw-merge .hw-search[hidden]{display:none}
.hw-merge .hw-search::before,.hw-merge .hw-search::after{display:none}
.hw-merge .hw-sb-in{display:contents}
.hw-merge .hw-m-in{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,380px);column-gap:56px;align-items:center;padding-top:40px;padding-bottom:40px}
.hw-m-txt{grid-column:1;grid-row:1;min-width:0}
.hw-merge .hw-m-txt .eyebrow{display:block}
.hw-merge .hw-m-txt h1{margin-bottom:.35em}
.hw-merge .hw-m-txt .h1-sub{margin:.2em 0 0}
.hw-merge .hw-sb-mid{grid-column:1;grid-row:2;max-width:640px;width:100%;margin-top:26px}
.hw-merge .hw-search-l{text-align:left;margin-bottom:10px}
.hw-merge .hw-search-n{text-align:left;margin-top:8px;min-height:1.4em}
.hw-merge .hw-sb-l{grid-column:1;grid-row:3;justify-self:start;width:auto;display:flex;flex-wrap:wrap;gap:12px;margin-top:6px}
.hw-merge .hw-sb-l .hw-sb-stat{min-width:190px}
.hw-merge .hw-sb-r{grid-column:2;grid-row:1/4;justify-self:end;align-self:center;width:100%;max-width:380px;gap:12px}
.hw-merge .hw-sb-row{padding:12px 16px}
.hw-merge .hw-sb-rn{font-size:.95rem}
.hw-merge .hw-sb-rc{font-size:.82rem}
/* background: the two trace copies each cover half of the taller hero; the left (title) side stays calm */
.hw-merge .hw-pat-trace:not(.hw-pat-trace-c){height:50%;top:0;bottom:auto;-webkit-mask-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 42%,#000 66%);mask-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 42%,#000 66%)}
.hw-merge .hw-pat-trace.hw-pat-trace-2:not(.hw-pat-trace-c){top:auto;bottom:0;transform:scaleY(-1)}
.hw-merge .hw-pat-hex{-webkit-mask-image:linear-gradient(90deg,#000,transparent 30%,transparent 70%,#000);mask-image:linear-gradient(90deg,#000,transparent 30%,transparent 70%,#000)}
@media (max-width:1100px){
 .hw-merge .hw-m-in{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:20px;row-gap:0;padding-top:30px;padding-bottom:30px}
 .hw-m-txt{grid-column:1/-1}
 .hw-merge .hw-sb-mid{grid-column:1/-1;margin-top:22px}
 .hw-merge .hw-sb-l{grid-column:1;grid-row:3;width:100%;display:grid;margin-top:18px}
 .hw-merge .hw-sb-r{grid-column:2;grid-row:3;justify-self:stretch;max-width:none;margin-top:18px}
 .hw-merge .hw-pat-trace-2{display:none}
 .hw-merge .hw-pat-trace.hw-pat-trace-c{display:block;-webkit-mask-image:radial-gradient(ellipse 85% 55% at 35% 36%,transparent 45%,#000 100%);mask-image:radial-gradient(ellipse 85% 55% at 35% 36%,transparent 45%,#000 100%)}
}
@media (max-width:640px){
 .hw-merge .hw-m-in{grid-template-columns:minmax(0,1fr);padding-top:22px;padding-bottom:24px}
 .hw-merge .hw-sb-mid,.hw-merge .hw-sb-l,.hw-merge .hw-sb-r{grid-column:1}
 .hw-merge .hw-sb-l{grid-row:3;grid-template-columns:1fr 1fr}
 .hw-merge .hw-sb-l .hw-sb-stat{min-width:0}
 .hw-merge .hw-sb-r{grid-row:4;margin-top:14px}
 .hw-merge .hw-sb-row{padding:10px 14px}
}
/* contrast: the title side of the merged hero sits on the deep navy (the violet glow of the old band moves to the top-right), and the "Visual Guide" highlight uses the lighter violet-to-pink tints so it reads 4.5:1 or better on the navy. */
.hw-merge>.hw-sb-bg{background:radial-gradient(42% 120% at 100% 0%,rgba(132,85,184,.45),transparent 62%),radial-gradient(50% 140% at 94% 100%,rgba(209,51,143,.42),transparent 62%),radial-gradient(40% 80% at 60% 50%,rgba(242,179,61,.06),transparent 70%),linear-gradient(180deg,#171340 0%,#0F1530 100%)}
.hw-merge .hw-m-txt h1 .g{background:linear-gradient(90deg,#8455B8,#D1338F);-webkit-background-clip:text;background-clip:text;color:transparent}
.hw-merge .hw-pat-trace:not(.hw-pat-trace-c){-webkit-mask-image:linear-gradient(90deg,rgba(0,0,0,.2) 0,rgba(0,0,0,.2) 44%,#000 68%);mask-image:linear-gradient(90deg,rgba(0,0,0,.2) 0,rgba(0,0,0,.2) 44%,#000 68%)}
@media(max-width:767px){.hw-merge .hw-pat-trace:not(.hw-pat-trace-c){-webkit-mask-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2));mask-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}}
