/* Local PB alignment. Original per-package desktop width and design remain authoritative. */
body.aen-pb-local{--aen-local-frame:95vw}
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}

/* PB common review 2026-11-09: Keep the existing page-title treatment without an empty subtitle area. */
html body.page.aen-pb-local .wp-site-blocks .vd-page-heading{min-height:0!important;padding-block:24px!important}
html body.page.aen-pb-local .wp-site-blocks .vd-page-heading h1.wp-block-post-title{margin-block:0!important}
@media(max-width:767px){html body.page.aen-pb-local .wp-site-blocks .vd-page-heading{padding-block:20px!important}}

/* PB common review 2026-11-09: Add breathing space only to the title previously touching the header. */
html body.aen-pb-local:is(.single-post) .wp-site-blocks>main{margin-block-start:32px!important}
@media(max-width:767px){html body.aen-pb-local:is(.single-post) .wp-site-blocks>main{margin-block-start:24px!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}


/* DaybreakFolio: copyright belongs below Privacy / Terms / Sitemap, with its original type style. */
html body .aen-r3-footer-shell .df-footer-legal {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    min-width: 0;
}

/* DaybreakFolio: desktop social icons share the copyright's horizontal row. */
html body.aen-pb-local .aen-r3-footer-shell .df-footer-content > .aen-social {
    margin: 0 !important;
    padding: 0 !important;
}
@media (min-width:782px) {
    html body.aen-pb-local .aen-r3-footer-shell .df-footer-content > .df-footer-intro {
        grid-column: 1;
        grid-row: 1;
        align-self: start;
    }
    html body.aen-pb-local .aen-r3-footer-shell .df-footer-content > .aen-r5-grid {
        grid-column: 2;
        grid-row: 1;
    }
    html body.aen-pb-local .aen-r3-footer-shell .df-footer-content > .aen-social {
        grid-column: 1 !important;
        grid-row: 1;
        align-self: end;
        justify-self: start;
    }
    html body.aen-pb-local .aen-r3-footer-shell .df-footer-legal > .tb-copyright {
        display: flex;
        align-items: center;
        min-height: 44px;
    }
}

/* Default article images center without enlargement; authored side alignments remain explicit. */
html body.single-post.aen-pb-local .wp-block-post-content :is(figure.wp-block-image, .wp-caption):not(.alignleft):not(.alignright) {
    max-width: 100%;
    margin-inline: auto !important;
}
html body.single-post.aen-pb-local .wp-block-post-content img:not(.emoji):not(.wp-smiley):not(.alignleft):not(.alignright) {
    display: block;
    max-width: 100%;
    height: auto;
    margin-inline: auto;
}

/* WordPress image blocks can wrap small linked images in an inline-block anchor. */
html body.single-post.aen-pb-local .wp-block-post-content figure.wp-block-image:not(.alignleft):not(.alignright) > a:has(> img) {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
}
