/* PB-F01: compact two-column homepage with the existing Roamfield palette and card treatment. */
@media(min-width:1100px){
 html body.aen-pb-local-pb-f01.home .rf-layout{grid-template-columns:minmax(0,1fr) 300px!important;gap:32px!important}
}
@media(min-width:768px){
 html body.aen-pb-local-pb-f01.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-f01.home .rf-query .wp-block-post-template>li{padding:0!important;min-width:0}
 html body.aen-pb-local-pb-f01.home .rf-story{grid-template-columns:36% minmax(0,1fr);gap:16px;height:100%;padding-bottom:22px}
 html body.aen-pb-local-pb-f01.home .rf-story .wp-block-post-title{font-size:18px;line-height:1.35}
 html body.aen-pb-local-pb-f01.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-f01.home .rf-story .rf-meta{font-size:11px}
}
@media(min-width:768px) and (max-width:1099px){
 html body.aen-pb-local-pb-f01.home .rf-layout{display:block!important}
 html body.aen-pb-local-pb-f01.home .rf-sidebar{margin-top:36px!important}
 html body.aen-pb-local-pb-f01.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-f01.home .rf-small-story{margin:0}
}
html body.aen-pb-local-pb-f01 .rf-footer-inner>section: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:#e0e9e6}
/* TOC sits above recommendations in the existing left rail. */
html body.aen-pb-local-pb-f01 .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:#f7f1e9;border:1px solid var(--rf-line);border-radius:4px}
html body.aen-pb-local-pb-f01 .rf-toc.rf-sidebar-toc h2{font-size:18px;line-height:1.4;margin:0 0 12px}
html body.aen-pb-local-pb-f01 .rf-toc.rf-sidebar-toc ol{margin:0;padding-inline-start:22px!important}
html body.aen-pb-local-pb-f01 .rf-toc.rf-sidebar-toc li{font-size:14px;line-height:1.6;margin-block:8px!important}
html body.aen-pb-local-pb-f01 .rf-toc.rf-sidebar-toc .rf-toc-toggle{display:none}
@media(min-width:768px){
 html body.aen-pb-local-pb-f01 .rf-toc.rf-sidebar-toc .aen-toc-more{display:list-item!important}
}
@media(max-width:767px){
 html body.aen-pb-local-pb-f01 .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-f01 .rf-toc.rf-sidebar-toc.rf-toc-compact li:nth-child(n+4){display:none!important}
 html body.aen-pb-local-pb-f01 .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-f01.single-post .aen-pb-reading-body .wp-block-post-content{margin-block-start:0!important}
 html body.aen-pb-local-pb-f01.single-post .wp-block-post-content>.rf-leading-spacer{display:none!important}
 html body.aen-pb-local-pb-f01.single-post .wp-block-post-content>.rf-content-start{margin-block-start:0!important}
}
@media(min-width:768px){
 html body.aen-pb-local-pb-f01.single-post .aen-pb-reading-layout>.aen-pb-reading-aside{padding-block-start:0!important;border-block-start:0!important}
}
