/* PB-F07: compact two-column homepage with the existing family palette and card treatment. */
@media(min-width:1100px){
 html body.aen-pb-local-pb-f07.home .rf-layout{grid-template-columns:minmax(0,1fr) 300px!important;gap:32px!important}
}
@media(min-width:768px){
 html body.aen-pb-local-pb-f07.home .rf-query .wp-block-post-template{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px}
 html body.aen-pb-local-pb-f07.home .rf-query .wp-block-post-template>li{padding:0!important;min-width:0}
 html body.aen-pb-local-pb-f07.home .rf-story{grid-template-columns:36% minmax(0,1fr);gap:16px;height:100%;padding-bottom:22px}
 html body.aen-pb-local-pb-f07.home .rf-story .wp-block-post-title{font-size:18px;line-height:1.35}
 html body.aen-pb-local-pb-f07.home .rf-story .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.aen-pb-local-pb-f07.home .rf-story .rf-meta{font-size:11px}
}
@media(min-width:768px) and (max-width:1099px){
 html body.aen-pb-local-pb-f07.home .rf-layout{display:block!important}
 html body.aen-pb-local-pb-f07.home .rf-sidebar{margin-top:36px!important}
 html body.aen-pb-local-pb-f07.home .rf-widget:has(.rf-small-story){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
 html body.aen-pb-local-pb-f07.home .rf-small-story{margin:0}
}
html body.aen-pb-local-pb-f07 .rf-footer-inner>*:first-child>.rf-copyright{border:0!important;padding:0!important;margin:16px 0 0!important;width:auto!important;font-size:12px;line-height:1.65;text-align:left!important;color:inherit}
/* TOC sits above recommendations in the existing left rail. */
html body.aen-pb-local-pb-f07 .rf-toc.rf-sidebar-toc{display:block;width:100%!important;max-width:none!important;min-width:0;box-sizing:border-box;margin:0 0 30px!important;padding:18px 20px;background:var(--wp--preset--color--soft, var(--wp--preset--color--background));border:1px solid var(--rf-line);border-radius:4px}
html body.aen-pb-local-pb-f07 .rf-toc.rf-sidebar-toc h2{font-size:18px;line-height:1.4;margin:0 0 12px}
html body.aen-pb-local-pb-f07 .rf-toc.rf-sidebar-toc ol{margin:0;padding-inline-start:22px!important}
html body.aen-pb-local-pb-f07 .rf-toc.rf-sidebar-toc li{font-size:14px;line-height:1.6;margin-block:8px!important}
html body.aen-pb-local-pb-f07 .rf-toc.rf-sidebar-toc .rf-toc-toggle{display:none}
@media(min-width:768px){
 html body.aen-pb-local-pb-f07 .rf-toc.rf-sidebar-toc .aen-toc-more{display:list-item!important}
}
@media(max-width:767px){
 html body.aen-pb-local-pb-f07 .rf-reading>.rf-toc.rf-sidebar-toc{margin:0 0 24px!important;width:100%!important;max-width:none!important}
 html body.aen-pb-local-pb-f07 .rf-toc.rf-sidebar-toc.rf-toc-compact li:nth-child(n+4){display:none!important}
 html body.aen-pb-local-pb-f07 .rf-toc.rf-sidebar-toc .rf-toc-toggle{display:block;margin-top:8px}
}
/* Desktop cover/first paragraph and left contents begin on the same edge. */
@media(min-width:768px){
 html body.aen-pb-local-pb-f07.single-post .aen-pb-reading-body .wp-block-post-content{margin-block-start:0!important}
 html body.aen-pb-local-pb-f07.single-post .wp-block-post-content>.rf-leading-spacer{display:none!important}
 html body.aen-pb-local-pb-f07.single-post .wp-block-post-content>.rf-content-start{margin-block-start:0!important}
}
@media(min-width:768px){
 html body.aen-pb-local-pb-f07.single-post .aen-pb-reading-layout>.aen-pb-reading-aside{padding-block-start:0!important;border-block-start:0!important}
}

@media(min-width:768px){
 html body.aen-pb-local.aen-pb-local.single-post .wp-site-blocks .aen-pb-reading-layout.aen-pb-reading-layout:has(>.aen-pb-reading-aside){display:grid!important;grid-template-columns:260px minmax(0,1fr)!important;gap:32px!important;align-items:start}
 html body.aen-pb-local.single-post .aen-pb-reading-layout>.aen-pb-reading-body{grid-column:2!important;grid-row:2!important}
 html body.aen-pb-local.single-post .aen-pb-reading-layout>.aen-pb-reading-aside{grid-column:1!important;grid-row:2!important;width:100%!important;min-width:0!important}
 html body.aen-pb-local.single-post .aen-pb-reading-layout>.aen-common-wide-heading{grid-column:1/-1!important;grid-row:1!important}
 html body.aen-pb-local.home .rf-story{display:grid!important;margin:0!important}
}
html body.aen-pb-local.home .rf-layout>.rf-reading{min-width:0;width:100%}
html body.aen-pb-local.home .sm-masthead{padding-block:20px;margin-bottom:24px}
html body.aen-pb-local.home .sm-masthead h1{font-size:clamp(26px,3vw,40px);margin:0}
html body.aen-pb-local.home .sm-masthead p{margin-top:8px}
@media(max-width:767px){html body.aen-pb-local.home .rf-layout{display:block!important}html body.aen-pb-local.home .rf-sidebar{margin-top:32px}html body.aen-pb-local.home .rf-query .wp-block-post-template{grid-template-columns:minmax(0,1fr)!important}}

@media(min-width:768px){
 html body.aen-pb-local.aen-pb-local.home main.rf-main .rf-query>.wp-block-post-template>.wp-block-post{display:block!important;grid-column:auto!important;grid-row:auto!important;grid-template-rows:none!important;padding:0!important}
 html body.aen-pb-local.aen-pb-local.home main.rf-main .rf-query>.wp-block-post-template>.wp-block-post article.rf-story{display:grid!important;grid-template-columns:36% minmax(0,1fr)!important;gap:16px!important}
 html body.aen-pb-local.aen-pb-local.home main.rf-main .rf-query>.wp-block-post-template>.wp-block-post .rf-story-copy{display:block!important}
 html body.aen-pb-local.aen-pb-local.home main.rf-main .rf-query>.wp-block-post-template>.wp-block-post .rf-cover{grid-row:auto!important;height:auto!important;aspect-ratio:4/3!important;width:100%!important}
}

html body.aen-pb-local.home .rf-layout>.rf-reading{max-width:none!important;margin:0!important}

@media(min-width:1100px){html body.aen-pb-local.aen-pb-local.home main.rf-main .rf-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 300px!important;gap:32px!important}}
@media(min-width:768px){
 html body.aen-pb-local.aen-pb-local.single-post .wp-site-blocks .aen-pb-reading-layout>.aen-pb-reading-aside{margin:0!important;padding:0!important;border:0!important;align-self:start}
 html body.aen-pb-local.single-post .aen-pb-reading-aside .aen-pb-related-list{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:18px!important}
 html body.aen-pb-local.single-post .aen-pb-reading-aside .aen-pb-related-images a:has(img){grid-template-columns:72px minmax(0,1fr)!important}
 html body.aen-pb-local.single-post .aen-pb-reading-aside .aen-pb-related-image{width:72px!important;height:60px!important}
}

/* PB-F07 requested polish, 2026-11-10. */
html body.aen-pb-local-pb-f07 .wp-site-blocks .rf-header-inner{display:grid!important;grid-template-columns:240px minmax(0,1fr) 240px!important;align-items:center!important;gap:24px!important}
html body.aen-pb-local-pb-f07 .rf-header-inner>.rf-brand{min-width:0!important}
html body.aen-pb-local-pb-f07 .rf-header-inner>.aen-vd-nav{display:flex!important;justify-content:center!important;margin:0!important;width:100%!important;min-width:0}
html body.aen-pb-local-pb-f07 .aen-vd-desktop{justify-content:center!important;flex-wrap:wrap!important;gap:4px 20px!important}
html body.aen-pb-local-pb-f07 header .rf-persistent-search{display:block!important;position:static!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:transparent!important;color:inherit!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html body.aen-pb-local-pb-f07 header .rf-persistent-search>label{position:absolute!important;width:1px;height:1px;padding:0!important;margin:-1px!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html body.aen-pb-local-pb-f07 header .rf-persistent-search>div{display:flex!important;gap:0!important;width:100%}
html body.aen-pb-local-pb-f07 header .rf-persistent-search input[type=search]{width:100%!important;min-width:0!important;height:44px!important;padding:9px 12px!important;border:1px solid var(--rf-line)!important;background:var(--rf-paper)!important;color:var(--rf-ink)!important;font-size:14px!important;border-radius:4px 0 0 4px}
html body.aen-pb-local-pb-f07 header .rf-persistent-search button{min-height:44px!important;padding:8px 12px!important;border:1px solid var(--rf-accent);border-radius:0 4px 4px 0;background:var(--rf-accent);color:var(--rf-paper);font-size:14px}

@media(max-width:1100px){
 html body.aen-pb-local-pb-f07 .wp-site-blocks .rf-header-inner{grid-template-columns:minmax(0,1fr) 44px!important;flex-wrap:wrap!important;max-height:none!important;gap:12px!important;padding-block:16px!important}
 html body.aen-pb-local-pb-f07 .rf-header-inner>.aen-vd-nav{grid-column:2;grid-row:1;justify-content:flex-end!important}
 html body.aen-pb-local-pb-f07 .rf-header-inner>.rf-persistent-search{grid-column:1/-1;grid-row:2}
}
/* Center the complete pagination group, without auto margins separating its controls. */
html body.aen-pb-local-pb-f07 .rf-query .wp-block-query-pagination{width:100%;justify-content:center!important;align-items:center;gap:8px!important}
html body.aen-pb-local-pb-f07 .rf-query .wp-block-query-pagination>*{margin:0!important;flex:0 1 auto}
html body.aen-pb-local-pb-f07 .rf-query .wp-block-query-pagination-numbers{justify-content:center!important;gap:8px!important}
/* Suppress presentation dates only. Stored post dates and machine datetime attributes remain intact. */
html body.aen-pb-local-pb-f07 :is(.rf-date,.wp-block-post-date,.rf-small-story time,.rf-related time,.aen-pb-related-list time),
html body.aen-pb-local-pb-f07 .rf-meta-author>span[aria-hidden=true]{display:none!important}
html body.aen-pb-local-pb-f07.single-post h1.wp-block-post-title{text-align:center!important;margin-inline:auto!important}
/* A single title treatment for normal pages, Contact Us and Sitemap. */
html body.aen-pb-local-pb-f07.page .rf-page{width:100%!important;max-width:none!important;min-width:0}
html body.aen-pb-local-pb-f07.page .vd-page-heading{background:#f6f2ec!important;border:0!important;border-top:4px solid var(--rf-accent)!important;padding:24px clamp(20px,3vw,40px)!important;margin:0 0 28px!important;text-align:center!important}
html body.aen-pb-local-pb-f07.page .vd-page-heading h1.wp-block-post-title{font-family:var(--vd-heading)!important;font-size:clamp(2rem,1.5rem + 1.3vw,2.625rem)!important;font-weight:700!important;line-height:1.2!important;letter-spacing:-.02em!important;color:var(--rf-ink)!important;text-align:center!important;margin:0!important}
html body.aen-pb-local-pb-f07.page .rf-page>.wp-block-post-content{box-sizing:border-box!important;padding-inline:clamp(20px,3vw,40px)!important}
/* Contact copy and the existing contact panel become two calm, aligned reading columns. */
html body.aen-pb-local-pb-f07.page .rf-page>.rf-contact-layout{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)!important;gap:clamp(28px,4vw,60px)!important;align-items:start}
html body.aen-pb-local-pb-f07 .rf-contact-copy{min-width:0;max-width:68ch}
html body.aen-pb-local-pb-f07 .rf-contact-copy p{margin:0 0 1.25em!important}
html body.aen-pb-local-pb-f07 .rf-contact-copy p:last-child{margin-bottom:0!important}
html body.aen-pb-local-pb-f07 .rf-contact-methods{width:100%!important;max-width:none!important;min-width:0;margin:0!important;padding:24px!important;border:1px solid var(--rf-line);background:#f6f2ec}
html body.aen-pb-local-pb-f07 .rf-contact-methods h2{padding:0!important;margin:0 0 20px!important;background:none!important;color:var(--rf-ink)!important;font-size:18px!important;line-height:1.4!important;letter-spacing:0!important;text-transform:none!important}
html body.aen-pb-local-pb-f07 .rf-contact-methods dl>div{display:block!important;border:0!important;border-top:1px solid var(--rf-line)!important;padding:14px 0!important}
html body.aen-pb-local-pb-f07 .rf-contact-methods dt{margin-bottom:6px;font-size:13px!important;color:var(--rf-muted);font-weight:600}
html body.aen-pb-local-pb-f07 .rf-contact-methods dd{font-size:15px!important;line-height:1.65}
html body.aen-pb-local-pb-f07 footer .aen-share-links{display:flex;justify-content:flex-start;flex-wrap:wrap;gap:8px}
@media(max-width:767px){
 html body.aen-pb-local-pb-f07.page .rf-page>.rf-contact-layout{grid-template-columns:minmax(0,1fr)!important;gap:28px!important}
 html body.aen-pb-local-pb-f07.page .rf-page>.wp-block-post-content{padding-inline:16px!important}
 html body.aen-pb-local-pb-f07 .rf-contact-methods{padding:20px!important}
 html body.aen-pb-local-pb-f07 .rf-query .wp-block-query-pagination{gap:6px!important}
}
