/* F01 family skeleton, retaining the active pack's palette and type system. */
body.pbf-family-updated{--aen-local-frame:94vw;--pbf-accent:var(--wp--preset--color--primary,#a74c35)}
html body.pbf-family-updated .wp-site-blocks>main{width:94vw!important;max-width:none!important;margin-inline:auto!important;box-sizing:border-box}
html body.pbf-family-updated.home :is(.wr-shell,.fd-shell,.pb-shell){width:100%!important;max-width:none!important;margin-inline:0!important}
html body.pbf-family-updated .wp-site-blocks :is(.aen-r3-header-shell,.aen-r3-footer-shell){width:100%!important;max-width:none!important;margin-inline:0!important}
html body.pbf-family-updated .aen-r3-footer-shell footer>div{width:100%!important;max-width:none!important;margin-inline:0!important;box-sizing:border-box}
.pbf-home-layout{display:grid!important;grid-template-columns:300px minmax(0,1fr)!important;gap:32px!important;align-items:start;width:100%;max-width:none!important}
.pbf-home-feed{min-width:0;width:100%!important;max-width:none!important;margin:0!important}
html body.home.pbf-family-updated .pbf-home-feed .wp-block-post-template{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important;margin:0!important;padding:0!important}
html body.home.pbf-family-updated .pbf-home-feed .wp-block-post-template>li{margin:0!important;padding:0!important;min-width:0}
html body.home.pbf-family-updated :is(.wr-story,.fd-story,.pb-story){display:grid!important;grid-template-columns:36% minmax(0,1fr)!important;gap:16px!important;margin:0!important;padding:0 0 22px!important;border-bottom:1px solid color-mix(in srgb,currentColor 20%,transparent)!important;background:transparent!important;height:100%}
html body.home.pbf-family-updated :is(.wr-cover,.fd-cover,.rf-cover,.wp-block-post-featured-image){width:100%!important;min-width:0;aspect-ratio:16/9!important;height:auto!important;margin:0!important;overflow:hidden}
html body.home.pbf-family-updated :is(.wr-cover,.fd-cover,.rf-cover,.wp-block-post-featured-image) img{width:100%!important;height:100%!important;object-fit:cover!important;display:block}
html body.home.pbf-family-updated :is(.wr-story-copy,.fd-story-copy,.pb-story-copy){padding:0!important;margin:0!important;min-width:0}
html body.home.pbf-family-updated .wp-block-post-title{font-size:18px!important;line-height:1.35!important;margin-block:6px 8px!important}
html body.home.pbf-family-updated .wp-block-post-excerpt{font-size:13px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
html body.home.pbf-family-updated :is(.wr-meta,.fd-meta,.rf-meta){font-size:11px!important;line-height:1.5!important}
.pbf-section-title{font-size:20px!important;line-height:1.3;margin:0 0 24px!important;display:table;border:1px solid currentColor;border-radius:999px;padding:6px 18px}
.pbf-family-recent{border:1px solid color-mix(in srgb,currentColor 22%,transparent);border-radius:5px;padding:20px 15px;min-width:0;width:100%;margin:0!important;color:inherit;background:transparent}
.pbf-family-recent>h2{font-size:20px;line-height:1.35;margin:0 0 20px}
.pbf-recent-card{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;align-items:start;margin:0 0 22px!important}
.pbf-recent-card:last-child{margin-bottom:0!important}.pbf-recent-card h3{font-size:14px;line-height:1.35;margin:0 0 5px!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.pbf-recent-card a{color:inherit}.pbf-recent-card time{font-size:11px;line-height:1.5}.pbf-recent-cover{display:block;aspect-ratio:16/10;overflow:hidden;border-radius:3px}.pbf-recent-cover img{display:block;width:100%;height:100%;object-fit:cover}.pbf-no-image{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:color-mix(in srgb,currentColor 6%,transparent);font:10px/1.4 sans-serif;letter-spacing:1px}
html body.pbf-family-updated.home .pb-welcome{display:block!important;padding:8px 0 22px!important;margin-bottom:18px!important;background:transparent!important;min-height:0!important}
html body.pbf-family-updated.home .pb-welcome h1{font-size:clamp(28px,3vw,40px)!important;margin-block:0 12px!important;line-height:1.15!important}
html body.pbf-family-updated.home .pb-welcome .pb-planning-note{display:none!important}.pb-welcome .pb-deck{max-width:65ch}
html body.pbf-family-updated .pbf-footer-copyright{margin:16px 0 0!important;padding:0!important;border:0!important;width:auto!important;font-size:12px!important;line-height:1.65!important;text-align:left!important;color:inherit}
html body.single-post.pbf-family-updated .pbf-content-wrap{min-width:0;max-width:100%!important;box-sizing:border-box}
html body.single-post.pbf-family-updated .pbf-post-aside{min-width:0;width:100%!important;margin:0!important}
html body.single-post.pbf-family-updated .pbf-family-toc{display:block!important;box-sizing:border-box;width:100%!important;max-width:none!important;margin:0 0 30px!important;padding:18px 20px!important;background:color-mix(in srgb,var(--pbf-accent) 5%,transparent);border:1px solid color-mix(in srgb,currentColor 22%,transparent);border-radius:4px;font-size:14px;line-height:1.6}
.pbf-family-toc h2{font-size:18px!important;line-height:1.4!important;margin:0 0 12px!important}.pbf-family-toc ol{margin:0!important;padding-inline-start:20px!important}.pbf-family-toc li{font-size:14px;line-height:1.6;margin:8px 0!important}.pbf-family-toc li[class*="level-3"]{margin-inline-start:14px!important}.pbf-family-toc a{color:inherit;text-decoration:none}.pbf-family-toc a:hover{text-decoration:underline}.pbf-toc-toggle{background:none;border:0;min-height:44px;padding:8px 0;text-decoration:underline;font:inherit;color:inherit;cursor:pointer}.pbf-toc-toggle:focus-visible{outline:2px solid currentColor;outline-offset:3px}
@media(min-width:768px){
 html body.single-post.pbf-family-updated.pbf-family-updated .wp-site-blocks .pbf-post-layout.pbf-post-layout.pbf-post-layout{display:grid!important;grid-template-columns:minmax(220px,28%) minmax(0,1fr)!important;gap:clamp(24px,4vw,56px)!important;align-items:start}
 html body.single-post.pbf-family-updated .pbf-post-layout>.pbf-post-body{grid-column:2!important;grid-row:1!important;margin:0!important;width:100%!important;max-width:none!important}
 html body.single-post.pbf-family-updated .pbf-post-layout>.pbf-post-aside{grid-column:1!important;grid-row:1!important;padding-top:0!important;border-top:0!important}
 html body.single-post.pbf-family-updated .pbf-post-layout>.aen-common-wide-heading{grid-column:1/-1!important;grid-row:1!important}
 html body.single-post.pbf-family-updated .pbf-post-layout:has(>.aen-common-wide-heading)>:is(.pbf-post-body,.pbf-post-aside){grid-row:2!important}
 html body.single-post.pbf-family-updated .pbf-content-wrap{margin-block-start:0!important;padding-block-start:0!important}
 html body.single-post.pbf-family-updated .pbf-leading-spacer{display:none!important}
 html body.single-post.pbf-family-updated .pbf-content-start{margin-block-start:0!important}
 html body.single-post.pbf-family-updated .pbf-family-toc li{display:list-item!important}
 .pbf-toc-toggle{display:none!important}
}
@media(max-width:1099px){.pbf-home-layout{display:block!important}.pbf-family-recent{margin-top:32px!important}}
@media(max-width:767px){
 html body.pbf-family-updated .wp-site-blocks>main{width:calc(100% - 40px)!important}
 html body.home.pbf-family-updated .pbf-home-feed .wp-block-post-template{grid-template-columns:minmax(0,1fr)!important;gap:20px!important}
 html body.home.pbf-family-updated :is(.wr-story,.fd-story,.pb-story){grid-template-columns:39% minmax(0,1fr)!important;gap:12px!important;padding-bottom:18px!important}
 html body.home.pbf-family-updated .wp-block-post-title{font-size:15px!important;line-height:1.35!important}
 html body.home.pbf-family-updated .wp-block-post-excerpt{display:none!important}
 html body.single-post.pbf-family-updated .wp-site-blocks .pbf-post-layout.pbf-post-layout{display:flex!important;flex-direction:column!important;gap:28px!important}
 html body.single-post.pbf-family-updated .pbf-post-layout>.pbf-post-body{order:0;width:100%!important;max-width:none!important;margin:0!important}
 html body.single-post.pbf-family-updated .pbf-post-layout>.pbf-post-aside{order:1;padding-top:0!important}
 html body.single-post.pbf-family-updated .pbf-content-wrap{width:100%!important;max-width:none!important;margin-inline:0!important;padding-inline:0!important}
 html body.single-post.pbf-family-updated .pbf-family-toc{margin:0 0 24px!important}
 .pbf-family-toc.pbf-toc-compact li:nth-child(n+4){display:none!important}.pbf-toc-toggle{display:block}
}

/* Neutralize old lead-card spans and keep related reading inside its own rail. */
html body.home.pbf-family-updated .pbf-home-feed .wp-block-post-template>li{grid-column:auto!important;grid-row:auto!important}
html body.home.pbf-family-updated :is(.wr-story,.fd-story,.pb-story){align-items:start!important}
html body.single-post.pbf-family-updated .pbf-post-aside{position:static!important;float:none!important}
html body.single-post.pbf-family-updated .pbf-post-aside>.aen-pb-recommendations{position:static!important;width:100%!important;max-width:none!important;margin:0!important}
html body.single-post.pbf-family-updated .pbf-post-aside .aen-pb-related-list{display:grid!important;grid-template-columns:minmax(0,1fr)!important}

html body.pbf-family-updated.home .wp-site-blocks>main{padding-inline:0!important}
html body.pbf-family-updated.home .pbf-home-layout{padding-inline:0!important;margin-inline:0!important}

@media(min-width:768px){
 html body.single-post.pbf-family-updated.pbf-family-updated .wp-site-blocks .pbf-post-layout.pbf-post-layout.pbf-post-layout>.pbf-post-aside{margin:0!important;padding-block-start:0!important;border-block-start:0!important}
}

/* The parent layout uses compact horizontal cards, including the former lead story. */
html body.home.pbf-family-updated :is(.wr-story,.fd-story,.pb-story){min-height:0!important;grid-template-rows:auto!important;grid-auto-flow:row!important;align-content:start!important}
html body.home.pbf-family-updated :is(.wr-cover,.fd-cover,.rf-cover,.wp-block-post-featured-image){grid-column:1!important;grid-row:1!important;align-self:start!important;min-height:0!important;max-height:none!important;height:auto!important;aspect-ratio:16/9!important}
html body.home.pbf-family-updated :is(.wr-story-copy,.fd-story-copy,.pb-story-copy){display:block!important;grid-template-columns:none!important;grid-template-rows:none!important;grid-column:2!important;grid-row:1!important;min-height:0!important;align-self:start!important}
html body.home.pbf-family-updated .pbf-home-feed .wp-block-post-title{height:auto!important;min-height:0!important;display:block!important;max-width:none!important}
html body.home.pbf-family-updated .pbf-home-feed .wp-block-post-excerpt{margin-block:0 10px!important;max-width:none!important}
html body.home.pbf-family-updated .pbf-home-feed .wp-block-post-excerpt p{margin:0!important}

@media(min-width:1100px){
 html body.home.pbf-family-updated .wp-site-blocks .pbf-home-layout.pbf-home-layout{display:grid!important;grid-template-columns:300px minmax(0,1fr)!important;gap:32px!important}
}
@media(max-width:1099px){
 html body.home.pbf-family-updated .wp-site-blocks .pbf-home-layout.pbf-home-layout{display:block!important}
}
html body.pbf-family-updated .aen-r3-footer-shell footer>.pb-footer.pb-footer-almanac{padding-inline:3vw!important}
html body.pbf-family-updated .pb-footer-almanac>div{width:100%!important;max-width:none!important;margin-inline:0!important}

/* Keep the family homepage content edge aligned with the header frame. */
html body.home.pbf-family-updated.pbf-family-updated .wp-site-blocks>main{width:94vw!important;max-width:none!important;margin-inline:3vw!important;padding-inline:0!important;box-sizing:border-box!important}
html body.home.pbf-family-updated .wp-site-blocks>main :is(.pb-shell,.wr-shell,.fd-shell){width:100%!important;max-width:none!important;margin-inline:0!important;padding-inline:0!important;box-sizing:border-box!important}
@media(max-width:767px){html body.home.pbf-family-updated.pbf-family-updated .wp-site-blocks>main{width:calc(100% - 40px)!important;margin-inline:20px!important}}

/* PB-F05 requested layout, local only, 2026-11-10. */
@media(min-width:1100px){
 html body.home.pbf-family-updated .pbf-home-layout>.pbf-family-recent{grid-column:1;grid-row:1}
 html body.home.pbf-family-updated .pbf-home-layout>.pbf-home-feed{grid-column:2;grid-row:1}
}
@media(max-width:1099px){
 html body.home.pbf-family-updated .wp-site-blocks .pbf-home-layout.pbf-home-layout{display:flex!important;flex-direction:column!important;gap:32px!important}
 html body.home.pbf-family-updated .pbf-home-feed{order:0}
 html body.home.pbf-family-updated .pbf-family-recent{order:1;margin-top:0!important}
}
html body.single-post.pbf-family-updated .pb-article>.rf-meta{padding-block:20px;margin-top:32px;border-top:1px solid var(--wp--preset--color--line,#e0f8d9)}
/* The contact page reads like an open notebook: correspondence at left, a contact desk at right. */
html body.page.pbf-family-updated .wp-block-post-content:has(>.pbf-contact-desk){display:grid!important;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);column-gap:clamp(32px,5vw,88px);align-items:start;padding-block:12px 48px}
html body.page.pbf-family-updated .wp-block-post-content:has(>.pbf-contact-desk)>:not(.pbf-contact-desk){grid-column:1;max-width:58ch!important;margin-block:0 20px!important;font-size:17px;line-height:1.8}
html body.page.pbf-family-updated .wp-block-post-content>.pbf-contact-desk{grid-column:2;grid-row:1/span 20;min-width:0;width:100%;max-width:none!important;margin:0!important;padding:clamp(24px,3vw,44px);border:1px solid var(--wp--preset--color--line,#e0f8d9);border-top:5px solid var(--wp--preset--color--primary,#5adb37);background:var(--wp--preset--color--surface,#fff);box-sizing:border-box}
.pbf-contact-desk *{box-sizing:border-box}
.pbf-contact-desk h2{margin:0 0 14px!important;font-family:var(--wp--preset--font-family--heading,Georgia,serif);font-size:clamp(26px,2.5vw,36px);line-height:1.15;color:var(--wp--preset--color--text,#17212b)}
.pbf-contact-desk p{font-size:16px;line-height:1.7;max-width:none!important;margin:0 0 22px!important;color:var(--wp--preset--color--muted,#4b5563)}
.pbf-contact-desk .pbf-contact-address{display:block;margin:26px 0 30px;padding:18px 20px;background:var(--wp--preset--color--soft,#f0fced);color:var(--wp--preset--color--text,#17212b);text-decoration:none;overflow-wrap:anywhere;font-size:clamp(18px,1.7vw,23px);font-weight:700;line-height:1.45}
.pbf-contact-address span{display:block;font-size:13px;font-weight:400;margin-bottom:6px;color:var(--wp--preset--color--muted,#4b5563)}
.pbf-contact-desk h3{font:700 15px/1.4 var(--wp--preset--font-family--body,Arial,sans-serif);margin:0 0 4px!important}
.pbf-contact-topics{list-style:none!important;padding:0!important;margin:0!important}
.pbf-contact-topics li{padding:0!important;margin:0!important;border-bottom:1px solid var(--wp--preset--color--line,#e0f8d9)}
.pbf-contact-topics a{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 20px;padding:18px 0;color:var(--wp--preset--color--text,#17212b);text-decoration:none;min-height:44px}
.pbf-contact-topics strong{font-size:17px;line-height:1.4}
.pbf-contact-topics small{grid-column:1;font-size:14px;line-height:1.6;color:var(--wp--preset--color--muted,#4b5563)}
.pbf-contact-topics .pbf-contact-arrow{grid-column:2;grid-row:1/3;align-self:center;font-size:24px;color:var(--wp--preset--color--link,#086666)}
.pbf-contact-desk a:hover{text-decoration:underline;text-underline-offset:4px}
.pbf-contact-desk a:focus-visible{outline:2px solid var(--wp--preset--color--link,#086666);outline-offset:5px}
.pbf-contact-desk dl{margin:24px 0 0}.pbf-contact-desk dl>div{padding-block:12px;border-bottom:1px solid var(--wp--preset--color--line,#e0f8d9)}
.pbf-contact-desk dt{font-size:13px;color:var(--wp--preset--color--muted,#4b5563)}.pbf-contact-desk dd{margin:5px 0 0;overflow-wrap:anywhere}
@media(max-width:899px){
 html body.page.pbf-family-updated .wp-block-post-content:has(>.pbf-contact-desk){display:block!important;padding-block:0 28px}
 html body.page.pbf-family-updated .wp-block-post-content>.pbf-contact-desk{margin-top:28px!important;padding:24px}
 html body.page.pbf-family-updated .wp-block-post-content:has(>.pbf-contact-desk)>:not(.pbf-contact-desk){max-width:none!important;font-size:16px}
}

/* PB-F05 base-page H1 rhythm, 2026-11-10: use the existing smaller 28px gap above and below. */
html body.page.aen-pb-local-pb-f05:not(.home) .wp-site-blocks>main.rf-main{padding-block-start:28px!important}
html body.page.aen-pb-local-pb-f05:not(.home) .wp-site-blocks .rf-page>.vd-page-heading{margin-block:0!important;padding-block:0 12px!important;min-height:0!important}
html body.page.aen-pb-local-pb-f05:not(.home) .wp-site-blocks .rf-page h1.wp-block-post-title{margin-block:0!important}
html body.page.aen-pb-local-pb-f05:not(.home) .wp-site-blocks .rf-page>.wp-block-post-content{margin-block-start:28px!important}
/* Keep the caption's 5px rule, with 12px above it and 11px below: 28px total. */
html body.page.aen-pb-local-pb-f05:not(.home) .wp-site-blocks .rf-page>.vd-page-heading+.wp-block-post-content{margin-block-start:11px!important}
html body.page.aen-pb-local-pb-f05:not(.home) .wp-site-blocks .rf-page>.wp-block-post-content:has(>.pbf-contact-desk){padding-block-start:0!important}
