/* Reading and navigation layer */
:focus-visible{outline:2px solid currentColor;outline-offset:3px}
/* Article body */
body.single-post .wp-block-post-content{line-height:1.65}
body.single-post .wp-block-post-content>p,body.single-post .wp-block-post-content>ul>li,body.single-post .wp-block-post-content>ol>li,body.single-post .wp-block-post-content>blockquote p{font-size:18px;line-height:1.65}
body.single-post .wp-block-post-content p a:not([class*=button]):not([class*=btn]),body.single-post .wp-block-post-content li a:not([class*=button]):not([class*=btn]){text-decoration-line:underline;text-decoration-thickness:1px;text-underline-offset:3px}
body.single-post .wp-block-post-content p a:hover,body.single-post .wp-block-post-content li a:hover{text-decoration-thickness:2px}
@media (max-width:767px){
 body.single-post .wp-block-post-content>p,body.single-post .wp-block-post-content>ul>li,body.single-post .wp-block-post-content>ol>li,body.single-post .wp-block-post-content>blockquote p{font-size:17px}
 body.single-post .wp-block-post-content>h2,body.single-post .wp-block-post-content>.wp-block-heading:where(h2){font-size:23px;line-height:1.3}
 body.single-post .wp-block-post-content>h3{font-size:20px;line-height:1.35}
}
/* Tables scroll inside their own box on small screens */
.vf-table-scroll,.wp-block-post-content .wp-block-table{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.vf-table-scroll{margin-block:1.5em}
.vf-table-scroll>table{margin:0}
@media (max-width:767px){.vf-table-scroll>table,.wp-block-post-content .wp-block-table>table{min-width:520px}}
/* Table of contents: sub-items are not numbered as top-level items */
ol[id^="aen-toc-list"]{counter-reset:vf-toc;list-style:none;padding-inline-start:0}
ol[id^="aen-toc-list"]>li{counter-increment:vf-toc;position:relative;padding-inline-start:1.9em}
ol[id^="aen-toc-list"]>li::before{content:counter(vf-toc) ".";position:absolute;inset-inline-start:0;font-variant-numeric:tabular-nums;opacity:.75}
ol[id^="aen-toc-list"]>li:is(.aen-toc-level-3,.sl-outline-sub,[class*="level-3"],[class*="-sub"]){counter-increment:none;padding-inline-start:3.1em}
ol[id^="aen-toc-list"]>li:is(.aen-toc-level-3,.sl-outline-sub,[class*="level-3"],[class*="-sub"])::before{content:"–";inset-inline-start:1.9em}
ol[id^="aen-toc-list"]>li::marker{content:none}
/* Header navigation: visible hover and current states */
header.wp-block-template-part nav a:not([class*=button]):not([class*=btn]):not(.custom-logo-link):hover,
header.wp-block-template-part nav a:not([class*=button]):not([class*=btn]):not(.custom-logo-link):focus-visible,
header.wp-block-template-part nav a[aria-current="page"]:not([class*=button]):not([class*=btn]){text-decoration-line:underline;text-decoration-thickness:2px;text-underline-offset:6px}
/* Menu toggles are comfortable touch targets */
header.wp-block-template-part .wp-block-navigation__responsive-container-open,
header.wp-block-template-part .wp-block-navigation__responsive-container-close,
header.wp-block-template-part button[class*="menu-toggle"],header.wp-block-template-part button[class*="nav-toggle"],header.wp-block-template-part button[aria-controls]{min-width:44px;min-height:44px}
/* Footer information links and copyright row */
footer.wp-block-template-part .aen-r5-links{display:flex;flex-wrap:wrap;gap:8px 20px}
footer.wp-block-template-part .aen-r5-column .aen-r5-links{display:block}
footer.wp-block-template-part .aen-r5-column .aen-r5-links li+li{margin-top:8px}
footer.wp-block-template-part .aen-r5-bottom p{margin-inline-start:0;padding-inline-start:0;text-indent:0}
/* Related reading */
.vf-related{margin-block:3rem 1rem;padding-top:1.5rem;border-top:1px solid color-mix(in srgb,currentColor 18%,transparent);font-size:16px}
.vf-related h2{font-size:1.4rem;margin:0 0 1rem}
.vf-related-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:20px}
.vf-related-list li{margin:0;padding:0}
.vf-related-list li::before{content:none}
.vf-related-list a{display:block;text-decoration:none;color:inherit}
.vf-related-list img,.vf-related-ph{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:4px;margin-bottom:.6rem;background:color-mix(in srgb,currentColor 8%,transparent)}
.vf-related-t{display:block;font-weight:600;line-height:1.35}
.vf-related-list a:hover .vf-related-t{text-decoration:underline}
.vf-related-list time{display:block;margin-top:.35rem;font-size:14px}
.vf-dateline{font-size:15px;margin:0 0 1.25rem}
