/* Local PB alignment. Original per-package desktop width and design remain authoritative. */
body.aen-pb-local{--aen-local-frame:87vw}
html body.aen-pb-local .wp-site-blocks :is(.aen-r3-header-shell,.aen-r3-footer-shell),
html body.aen-pb-local .wp-site-blocks>main,
html body.aen-pb-local .wp-site-blocks>.aen-pb-reading-layout{width:var(--aen-local-frame)!important;max-width:none!important;min-width:0!important;margin-inline:auto!important;padding-inline:0!important;box-sizing:border-box!important}
html body.aen-pb-local .wp-site-blocks main main,
html body.aen-pb-local .wp-site-blocks .aen-pb-reading-body main{width:100%!important;max-width:none!important;margin-inline:0!important;padding-inline:0!important}
html body.aen-pb-local:is(.single-post,.page) .wp-site-blocks :is(.aen-r3-reading-column,.aen-pb-reading-body,.pack-page-body,.pack-page-heading,.volt-page-heading,.volt-article-heading,.pbv-article-header,.ph-reading,.pb-reading,.v-reading,.v-reading-main,.v-reading-sheet,.sy-main-column,.sy-single-card,.tm-reading-panel,.rf-reading,.wr-reading,.wl-reading,.pbv-reading,.volt-reading){width:100%!important;max-width:none!important;min-width:0!important;margin-inline:0!important;padding-inline:0!important;box-sizing:border-box!important}
html body.aen-pb-local:is(.single-post,.page) .wp-site-blocks main .wp-block-post-content{width:100%!important;max-width:none!important;min-width:0!important;margin-inline:0!important;box-sizing:border-box!important}
html body.aen-pb-local:is(.single-post,.page) .wp-site-blocks main .wp-block-post-content>:is(p,ul,ol,blockquote,h2,h3,h4){width:auto!important;max-width:100%!important;margin-inline:0!important;word-break:normal!important;overflow-wrap:break-word!important;hyphens:manual!important}
html body.aen-pb-local .wp-site-blocks .aen-pb-reading-body :is(.aen-r3-reading-layout,.wire-story-layout,.pbv-reading-layout,.pb-reading-layout,.v-reading-layout){display:block!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:none!important;min-width:0!important;margin-inline:0!important}
html body.aen-pb-local .wp-site-blocks .aen-pb-reading-body .aen-r3-aside{float:none;width:100%;margin-left:0!important}
html body.aen-pb-local.aen-pb-reading-clean .wp-site-blocks .aen-r3-reading-layout{display:block!important}
html body.aen-pb-local .wp-site-blocks h1.wp-block-post-title{max-width:100%!important;word-break:normal!important;overflow-wrap:break-word!important;text-wrap:wrap!important;hyphens:manual!important}
html body.aen-pb-local .aen-r3-header-shell .aen-pb-wordmark-brand{flex:0 1 auto!important;min-width:0!important;max-width:100%!important}
html body.aen-pb-local .aen-r3-header-shell .aen-pb-wordmark-logo{width:210px!important;height:auto!important;max-width:100%!important;max-height:64px!important;object-fit:contain!important;object-position:left center}
html body.aen-pb-local .aen-r3-header-shell .aen-pb-wordmark-brand .wp-block-site-logo{width:210px!important;max-width:100%!important;flex:0 1 auto!important}
html body.aen-pb-local .aen-r3-header-shell .aen-pb-current-category{box-shadow:inset 0 -2px currentColor;text-decoration:none!important;font-weight:700}
html body.aen-pb-local .aen-pb-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:.55em;font-size:.875rem;line-height:1.5;margin:0 0 14px!important;padding:0!important;min-height:0;letter-spacing:normal;text-transform:none}
html body.aen-pb-local .aen-pb-breadcrumb a{display:inline;min-height:0;padding:0;background:none;color:inherit;text-decoration:none;font-weight:400}
html body.aen-pb-local .aen-pb-breadcrumb a:hover{text-decoration:underline}
@media(min-width:768px){
 html body.aen-pb-local.aen-pb-reading-active:not(.aen-pb-reading-clean) .wp-site-blocks .aen-pb-reading-layout.aen-pb-reading-layout{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(200px,30%)!important;gap:clamp(24px,4vw,56px)!important}
 html body.aen-pb-local.aen-pb-reading-active:is(.aen-pb-layout-2,.aen-pb-layout-4):not(.aen-pb-reading-clean) .wp-site-blocks .aen-pb-reading-layout.aen-pb-reading-layout{grid-template-columns:minmax(200px,30%) minmax(0,1fr)!important}
 html body.aen-pb-local.aen-pb-reading-active:is(.aen-pb-layout-5,.aen-pb-layout-6,.aen-pb-reading-clean) .wp-site-blocks .aen-pb-reading-layout.aen-pb-reading-layout,
 html body.aen-pb-local.aen-pb-reading-active .wp-site-blocks .aen-pb-reading-layout.aen-pb-reading-layout:not(:has(>.aen-pb-reading-aside)){display:block!important}
}
@media(max-width:767px){
 body.aen-pb-local{--aen-local-frame:calc(100% - 40px)}
 html body.aen-pb-local .aen-r3-header-shell .aen-pb-wordmark-logo,
 html body.aen-pb-local .aen-r3-header-shell .aen-pb-wordmark-brand .wp-block-site-logo{width:160px!important;max-width:100%!important}
 html body.aen-pb-local.aen-pb-reading-active .wp-site-blocks .aen-pb-reading-layout.aen-pb-reading-layout{display:flex!important;flex-direction:column!important;gap:28px!important}
 html body.aen-pb-local.aen-pb-reading-active .wp-site-blocks .aen-pb-reading-layout>.aen-common-wide-heading{order:-1}
 html body.aen-pb-local.aen-pb-reading-active .wp-site-blocks .aen-pb-reading-layout>.aen-pb-reading-body{order:0}
 html body.aen-pb-local.aen-pb-reading-active .wp-site-blocks .aen-pb-reading-layout>.aen-pb-reading-aside{order:1}
}

/* Trust pages must not inherit the previous centred 880px reading-column cap. */
html body.aen-pb-local.aen-pb-reading-active.aen-pb-reading-clean .wp-site-blocks .aen-r3-reading-layout>.aen-r3-reading-column,
html body.aen-pb-local.aen-pb-reading-active.aen-pb-reading-clean .wp-site-blocks .aen-pb-reading-layout>.aen-pb-reading-body,
html body.aen-pb-local.aen-pb-reading-active.aen-pb-reading-clean .wp-site-blocks :is(.vb-layout,.fg-layout,.tm-reading-layout,.wire-story-layout,.rf-layout,.pb-layout,.wl-layout,.sy-layout,.ph-layout,.v-reading-layout,.wr-layout,.pb-reading-layout,.pbv-reading-layout)>:is(main,.aen-r3-reading-column,.tm-reading-panel,.rf-reading,.pb-reading,.wl-reading,.sy-main-column,.ph-reading,.wr-reading,.v-reading,.v-reading-main,.pb-article,.pbv-reading){width:100%!important;max-width:none!important;margin-inline:0!important;min-width:0!important}

/* Keep the mobile brand and menu on one row rather than an empty second navigation row. */
@media(max-width:780px){
 html body .wp-site-blocks .aen-r3-header-shell .sy-header{display:flex!important;align-items:center!important;gap:12px!important}
 html body .wp-site-blocks .aen-r3-header-shell .sy-header>.sy-masthead{flex:1 1 auto!important;width:auto!important;min-width:0!important;justify-content:flex-start!important}
 html body .wp-site-blocks .aen-r3-header-shell .sy-header>.sy-nav-row{flex:0 0 44px!important;width:44px!important;height:64px!important;justify-content:flex-end!important}
}

/* PB full-row header/footer backgrounds, 2026-11-09. Main widths remain unchanged. */
html body.aen-pb-local .wp-site-blocks :is(.aen-r3-header-shell,.aen-r3-footer-shell){width:100%!important;max-width:none!important;margin-inline:0!important;padding-inline:0!important;box-sizing:border-box!important;--aen-shell-inset:calc((100% - var(--aen-local-frame)) / 2)}
html body.aen-pb-local .wp-site-blocks .aen-r3-header-shell header>div:first-child,
html body.aen-pb-local .wp-site-blocks .aen-r3-footer-shell footer>div{width:100%!important;max-width:none!important;margin-inline:0!important;padding-inline:var(--aen-shell-inset)!important;box-sizing:border-box!important}

/* PB-K01 footer identity and author placement, 2026-11-10. */
html body.aen-pb-local .sy-footer-brand{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 20px}
html body.aen-pb-local .sy-footer-brand .wp-block-site-logo{flex:0 0 auto;margin:0}
html body.aen-pb-local .sy-footer-brand .wp-block-site-logo img{display:block;width:auto;height:auto;max-width:160px;max-height:48px;object-fit:contain}
html body.aen-pb-local .sy-footer-brand .sy-footer-name{font-size:22px;font-weight:700;line-height:1.25;margin:0;overflow-wrap:anywhere}
html body.aen-pb-local .aen-pb-reading-aside>.sy-written-by{padding:0 0 24px;margin-bottom:24px!important;border-bottom:1px solid color-mix(in srgb,currentColor 16%,transparent)}
