
/* v11: consistent full-width tool page introduction and accessible in-page guides */
.bw-tool-heading{--bw-head:#16395c;width:min(1140px,calc(100% - 16px));box-sizing:border-box;margin:clamp(12px,2.5vw,32px) auto 22px;text-align:center;background:linear-gradient(124deg,#eef5ff 0%,#fff 68%,#f2fbf7 100%);border:1px solid #d9e5f2;border-radius:20px;padding:clamp(22px,3vw,40px) clamp(12px,3vw,45px);box-shadow:0 9px 35px #1e456011;color:var(--bw-head)}
.bw-tool-mark{display:inline-flex;align-items:center;justify-content:center;font-size:25px;width:46px;height:46px;border-radius:14px;background:#fff;box-shadow:0 3px 15px #15447713;color:#286ab0;margin-bottom:12px}
.bw-tool-heading h1{font-size:clamp(1.48rem,1.05rem + 1.7vw,2.65rem)!important;line-height:1.16!important;letter-spacing:-.035em;margin:0 auto 14px!important;max-width:850px;font-weight:780;color:#16395c!important;text-align:center!important}
.bw-tool-summary{max-width:825px!important;font-size:clamp(.89rem,.83rem + .23vw,1.08rem)!important;line-height:1.7!important;color:#52667d!important;margin:0 auto 18px!important;text-align:center!important}
.bw-tool-crumb{display:flex;align-items:center;justify-content:center;gap:13px;max-width:680px;margin:0 auto!important;white-space:nowrap}
.bw-tool-rule{height:1px;flex:1;min-width:22px;background:linear-gradient(90deg,transparent,#9dbbd6)}
.bw-tool-rule:last-child{transform:rotate(180deg)}
.bw-tool-crumb a{font-size:.84rem;color:#536b85!important;text-decoration:none!important;font-weight:650;transition:color .15s}
.bw-tool-crumb a:hover{text-decoration:underline!important;color:#145c9a!important}
.bw-input-help{width:min(1140px,calc(100% - 16px));margin:12px auto 20px;border:1px solid #d7e4f3;border-left:4px solid #6d9cce;border-radius:11px;padding:12px 16px;background:#f9fcff;box-sizing:border-box;display:flex;align-items:flex-start;gap:10px;color:#46617d}
.bw-input-help>span{font-size:20px;line-height:1.2;color:#2468a6}.bw-input-help p{margin:0!important;font-size:13px!important;line-height:1.6!important;color:#50657d!important}.bw-input-help a{font-weight:700!important;color:#1d649e!important;text-decoration:underline!important;text-underline-offset:2px}
.bw-related{width:min(1140px,calc(100% - 16px));box-sizing:border-box;margin:34px auto!important;background:linear-gradient(160deg,#f6faff,#fff);border:1px solid #dce8f5;border-radius:18px;padding:clamp(15px,2.8vw,29px);color:#243e59}
.bw-related-head{margin-bottom:19px}.bw-related-head h2{font-size:clamp(1.18rem,1.1rem + .3vw,1.5rem);font-weight:760;line-height:1.3;color:#183d60;margin:5px 0 7px;text-align:left}.bw-related-head p{font-size:.91rem;color:#61738a;margin:0}.bw-related-eyebrow{font-size:10px;font-weight:800;color:#3374ac;letter-spacing:.15em}
.bw-related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bw-related-card{box-sizing:border-box;display:flex;align-items:flex-start;gap:12px;padding:16px;border-radius:13px;background:#fff;color:#264661!important;text-decoration:none!important;border:1px solid #dce6f1;min-width:0;box-shadow:0 2px 9px #152c4b06}.bw-related-card:hover,.bw-related-card:focus-visible{border-color:#75a7d9;box-shadow:0 8px 22px #22599017;outline-offset:2px}.bw-related-icon{flex:0 0 39px;width:39px;height:39px;border-radius:11px;background:#e9f3ff;display:flex;align-items:center;justify-content:center;color:#275f9c;font-size:20px}.bw-related-card>span:nth-child(2){display:flex;flex-direction:column;gap:5px;min-width:0}.bw-related-card strong{font-size:14px;line-height:1.35;color:#21496c}.bw-related-card small{font-size:12px;line-height:1.5;color:#6d7c90;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.bw-related-arrow{margin-left:auto;color:#497bad;font-size:18px}.bw-related-more{text-align:center;margin:21px 0 0!important;font-size:.85rem;color:#586d83}.bw-related-more a{font-weight:750!important;text-decoration:underline!important;text-underline-offset:3px;color:#245f9f!important}
.bw-specific-guide{margin:20px 0;padding:clamp(17px,2.5vw,29px);border-radius:16px;background:#f6faff;border:1px solid #dae8f5;color:#314761}.bw-specific-guide h2{margin:0 0 12px;font-size:clamp(1.15rem,1.5vw,1.6rem);color:#1b466b}.bw-specific-guide h3{font-size:1.05rem;margin:0 0 10px}.bw-specific-columns{display:grid;grid-template-columns:1fr 1fr;gap:13px}.bw-specific-columns>div{padding:15px;background:#fff;border:1px solid #e4ecf5;border-radius:12px}.bw-specific-guide p{line-height:1.74;color:#576d83}
/* Stop repeated generic recommendation blocks. The registry creates one relevant section. */
.bpex .bpex-related,.bput .bput-related{display:none!important}
/* Theme title duplicates only on the tool page, not inside our workspace. */
body:has(.bw-tool-heading) .entry-header:has(.entry-title),body:has(.bw-tool-heading) .page-header:has(.page-title){display:none}
/* Content stays centered; long tables scroll within themselves, not the page. */
.bplait-seo-content,.bpex-seo,.bput-article{width:min(1140px,calc(100% - 16px))!important;margin-inline:auto!important;box-sizing:border-box}
.bplait-seo-content article,.bpex-seo article,.bput-article{max-width:100%;box-sizing:border-box}
.bplait-seo-content article table,.bpex-seo article table,.bput-article table{width:100%;border-collapse:collapse}.bplait-seo-content article :is(th,td),.bpex-seo article :is(th,td),.bput-article :is(th,td){vertical-align:top}
@media(max-width:720px){.bw-tool-heading{width:calc(100% - 10px);margin:8px auto 12px;padding:19px 13px;border-radius:13px}.bw-tool-mark{width:38px;height:38px;font-size:21px}.bw-tool-heading h1{font-size:clamp(1.35rem,5vw,1.9rem)!important}.bw-tool-summary{font-size:.9rem!important}.bw-tool-crumb{gap:8px}.bw-input-help{width:calc(100% - 10px);padding:10px 11px}.bw-related{width:calc(100% - 10px);padding:13px 11px;margin:19px auto!important}.bw-related-grid{grid-template-columns:1fr;gap:8px}.bw-related-card{padding:12px}.bw-related-card small{-webkit-line-clamp:2}.bw-specific-columns{grid-template-columns:1fr}.bplait-seo-content,.bpex-seo,.bput-article{width:calc(100% - 10px)!important}}

/* Hide only the exact BoomBox theme H1 duplicated on shortcode tool pages. */
body:has(.bw-tool-heading) .post-content h1.title.ularge.textcenter:not(.bw-tool-heading h1),
body:has(.bw-tool-heading) .post-content > header:has(> h1.title.ularge.textcenter) {display:none!important;margin:0!important;padding:0!important;height:0!important;min-height:0!important;}
body:has(.bw-tool-heading) .post-content > h1.title.ularge.textcenter + .clearfix {display:none!important;margin:0!important;height:0!important;}

/* v12: consistent visual rhythm across three generations of tools and new plug-in modules. */
:root{--bw-page-gutter:clamp(10px,3.5vw,70px)}
body:has(.bw-tool-heading) .post-content{padding-top:0!important}
body:has(.bw-tool-heading) .post-content>:first-child{margin-top:0!important}
.bw-tool-heading{width:calc(100% - 2*var(--bw-page-gutter))!important;max-width:1400px!important;margin:0 auto clamp(16px,2vw,27px)!important;padding:clamp(20px,2.5vw,36px)!important}
.bw-tool-heading h1{max-width:1000px!important}
.bplait,.bpex,.bput,.bw-mod{box-sizing:border-box!important;min-width:0;max-width:none!important}
.bplait,.bpex,.bput{width:calc(100% - 2*var(--bw-page-gutter))!important;max-width:1400px!important;margin-inline:auto!important}
.bplait .bw-tool-heading,.bpex .bw-tool-heading,.bput .bw-tool-heading{width:100%!important;margin:0 auto clamp(16px,2vw,27px)!important}
.bplait-workspace,.bpex-layout,.bput-workspace,.bw-mod-work{max-width:100%!important;min-width:0!important}
.bw-mod{width:calc(100% - 2*var(--bw-page-gutter))!important;max-width:1400px!important;margin:0 auto!important}
.bw-mod .bw-tool-heading{width:100%!important}
.bw-related,.bplait-seo-content,.bpex-seo,.bput-article,.bw-mod article,.bw-input-help{width:100%!important;max-width:1400px!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important}
.bw-related{margin-top:clamp(22px,3vw,38px)!important;margin-bottom:clamp(25px,3.2vw,40px)!important}
.bw-related-head p{display:none!important}
.bw-input-help{margin:12px auto 18px!important;min-height:46px}
.bw-input-help[hidden]{display:none!important}
.bplait-seo-content,.bpex-seo,.bput-article,.bw-mod article{font-size:clamp(15px,.35vw + 13px,17px);line-height:1.78;color:#31465d;padding:clamp(4px,1.2vw,16px) 0 28px}
.bplait-seo-content :is(h2,h3),.bpex-seo :is(h2,h3),.bput-article :is(h2,h3),.bw-mod article :is(h2,h3){line-height:1.3;overflow-wrap:anywhere}
.bplait-seo-content h2,.bpex-seo h2,.bput-article h2,.bw-mod article h2{margin-top:clamp(25px,3vw,46px);font-size:clamp(1.3rem,1.05rem + .9vw,1.9rem)}
.bplait-seo-content :is(p,li),.bpex-seo :is(p,li),.bput-article :is(p,li),.bw-mod article :is(p,li){max-width:100%;overflow-wrap:anywhere;line-height:1.76}
.bplait-seo-content :is(table),.bpex-seo :is(table),.bput-article :is(table),.bw-mod article :is(table){width:100%;font-size:clamp(.8rem,.85vw,1rem);border-collapse:collapse}
.bplait-seo-content :is(td,th),.bpex-seo :is(td,th),.bput-article :is(td,th),.bw-mod article :is(td,th){padding:clamp(9px,1.15vw,16px);border-bottom:1px solid #d7e4ee;text-align:left;overflow-wrap:anywhere}
.bplait-seo-content :is(th),.bpex-seo :is(th),.bput-article :is(th),.bw-mod article :is(th){background:#ebf4fc;font-weight:750}
.bplait-seo-content :is(tr:nth-child(even)),.bpex-seo :is(tr:nth-child(even)),.bput-article :is(tr:nth-child(even)),.bw-mod article :is(tr:nth-child(even)){background:#f8fbfd}
.bplait-seo-content details,.bpex-seo details,.bput-article details,.bw-mod article details{padding:15px 18px;border:1px solid #dae5ee;border-radius:12px;background:#fff;margin:10px 0}
.bplait-seo-content summary,.bpex-seo summary,.bput-article summary,.bw-mod article summary{cursor:pointer;font-weight:700;line-height:1.55;color:#193e62}
.bw-mod>article{margin:32px auto 24px!important}
@media(max-width:720px){:root{--bw-page-gutter:5px}.bw-tool-heading{padding:20px 12px!important}.bplait,.bpex,.bput,.bw-mod{width:calc(100% - 10px)!important}.bplait-seo-content,.bpex-seo,.bput-article,.bw-mod article{padding-inline:3px}.bw-related{margin:18px auto 25px!important}.bw-input-help{margin:9px auto 15px!important}.bplait-seo-content :is(table),.bpex-seo :is(table),.bput-article :is(table),.bw-mod article :is(table){font-size:13px}}
/* Actual viewport breakout when a WordPress theme restricts the post body. */
body:has(.bw-tool-heading) .post-content > :is(.bplait,.bpex,.bput,.bw-mod,.bw-tool-heading){
 position:relative!important;left:50%!important;transform:translateX(-50%)!important;
 width:calc(100vw - 2*clamp(8px,4vw,80px))!important;max-width:1400px!important;
 margin-left:0!important;margin-right:0!important;
}
body:has(.bw-tool-heading) .post-content > .bw-mod{width:calc(100vw - 2*clamp(8px,4vw,80px))!important}
.bw-anchor-target{display:block;scroll-margin-top:90px}
@media(max-width:720px){body:has(.bw-tool-heading) .post-content > :is(.bplait,.bpex,.bput,.bw-mod,.bw-tool-heading){width:calc(100vw - 10px)!important}}
