/* 2026-11: scoped common layout repairs, preserving each site's design. */
html body .aen-article-toc ol{counter-reset:aen-review-toc;list-style:none!important;padding-inline-start:2.25em!important}
html body .aen-article-toc ol>li{counter-increment:aen-review-toc;display:list-item!important;position:static!important;padding-inline-start:.35em!important}
html body .aen-article-toc ol>li::before{content:none!important;display:none!important}
html body .aen-article-toc ol>li::marker{content:counter(aen-review-toc) '. ';font-variant-numeric:tabular-nums}
html body .aen-article-toc li>a{display:inline!important;white-space:normal;overflow-wrap:anywhere}
html body .aen-r3-info{display:flex;flex-direction:column;align-items:flex-start;gap:.5rem}
html body .aen-r3-info>p{display:flex;flex-direction:column;align-items:flex-start;gap:.5rem;margin:0!important}
html body .aen-r3-info a{display:block;max-width:100%;min-height:36px;padding-block:.3rem;line-height:1.5;overflow-wrap:anywhere}
html body header .wp-block-site-title,html body header .wp-block-site-title a,html body header .vd-brand>span,html body header .aen-brand-text{white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;min-width:0}
html body header .wp-block-site-title a{display:inline-block;line-height:1.2}
html body.single-post main h1.wp-block-post-title{width:100%!important;max-width:100%!important;min-width:0!important;font-size:clamp(26px,2.5vw,36px)!important;line-height:1.2!important;overflow-wrap:normal;word-break:normal}
html body.single-post .aen-common-wide-heading{width:100%;max-width:none;margin:0 0 28px}
html body.single-post .aen-common-wide-heading>:first-child{max-width:100%!important;width:100%!important;margin-inline:0!important}
html body.single-post main .wp-block-post-content{box-sizing:border-box}
html body.single-post main .wp-block-post-content>:is(p,ul,ol,blockquote,h2,h3,h4){max-width:100%;box-sizing:border-box}
html body footer .aen-r5-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;gap:24px!important;align-items:start!important}
html body footer .aen-r5-grid>*{min-width:0;max-width:100%;margin-top:0!important;align-self:start}
html body footer .aen-r5-links{margin:0!important;padding:0!important;list-style:none}
html body footer .aen-r5-links li{margin:0 0 8px!important}
html body footer .aen-r5-links a{line-height:1.5;display:inline-block;padding-block:4px}
html body footer .aen-common-footer-brand .aen-footer-brandline{display:block!important;margin-top:12px!important;max-width:44ch;line-height:1.65}
html body footer :is(.aen-r5-grid,.aen-r5-bottom){min-height:0!important}
html body footer .aen-r5-bottom{display:flex;flex-wrap:wrap;align-items:center;gap:16px 24px;margin-top:24px!important;padding-block:20px!important}
html body footer .aen-r5-inline .aen-r5-links{display:flex;flex-wrap:wrap;gap:8px 20px}
html body footer .aen-r5-inline .aen-r5-links li{margin:0!important}
html body footer .aen-common-footer-brand>.wp-block-site-title{margin-top:0!important}
html body footer :is(.dp-footer-mark,.ot-footer-mark){width:64px!important;max-width:64px!important;margin:0 0 12px!important}
html body footer :is(.dp-footer-mark,.ot-footer-mark) img{width:64px!important;height:64px!important;object-fit:contain}
html body footer :is(.dp-colophon,.ot-bibliography,.lt-bottom){padding-block:32px!important;min-height:0!important}
html body footer .aen-c{max-width:100%;padding:20px!important;margin:0!important}
@media(min-width:1100px){
 html body footer .df-footer-content{display:grid!important;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)!important;gap:48px!important;padding-block:32px!important}
 html body footer .df-footer-content>.aen-r5-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html body footer .df-footer-content>.aen-r5-grid .tb-footer-brand{display:none!important}
 html body footer .df-footer-content>.aen-social{grid-column:1/-1;margin:0!important;padding:0!important;min-height:0!important}
}
@media(max-width:1100px){
 html body .wp-block-navigation__responsive-container.is-menu-open{position:fixed!important;inset:0!important;width:100vw!important;max-width:none!important;height:100dvh!important;max-height:100dvh!important;overflow-y:auto!important;z-index:100000!important;box-sizing:border-box}
 html body .aen-vd-overlay:not([hidden]){position:fixed!important;inset:0!important;z-index:100000!important}
 html body .aen-vd-drawer{max-height:100dvh!important;overflow-y:auto!important;box-sizing:border-box}
}
@media(max-width:781px){
 html body footer .aen-r5-grid{grid-template-columns:minmax(0,1fr)!important;gap:24px!important}
 html body footer .aen-r5-bottom{align-items:flex-start}
 html body.single-post main h1.wp-block-post-title{font-size:26px!important;line-height:1.25!important}
}

html body dialog.vd-menu[open]{position:fixed;inset:0;margin:auto;box-sizing:border-box;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain}

html body footer .df-footer-content:has(>.df-footer-intro) .tb-footer-brand{display:none!important}

/* Full-bleed header clipping must not crop an open menu or search panel. */
html body header:has(.is-menu-open,.aen-vd-overlay:not([hidden]),details[open]),
html body header :has(.is-menu-open,.aen-vd-overlay:not([hidden]),details[open]){clip-path:none!important;overflow:visible!important}
html body header:has(.is-menu-open,.aen-vd-overlay:not([hidden])){position:relative;z-index:100001}
html body footer .tb-copyright{margin:0!important;padding:0!important;border:0!important}
html body footer .df-footer-content{row-gap:24px!important}
html body footer .df-footer-content .aen-share-links{margin:0!important;padding:0!important;justify-content:flex-start}

html body header .aen-common-search{display:none;position:relative;flex:0 0 auto;z-index:30}
html body header .aen-common-search>summary{display:flex!important;align-items:center;justify-content:center;list-style:none;cursor:pointer;min-height:44px;padding:0 10px;font-size:14px;font-weight:600;border:1px solid currentColor;border-radius:4px}
html body header .aen-common-search>summary::-webkit-details-marker{display:none}
html body header .aen-common-search-form{position:absolute;right:0;top:calc(100% + 12px);width:330px;max-width:calc(100vw - 40px);margin:0!important;padding:18px!important;box-sizing:border-box;background:var(--wp--preset--color--base,#fff);color:var(--wp--preset--color--contrast,#172b29);border:1px solid currentColor;border-radius:6px;box-shadow:0 8px 24px #0002;z-index:1000}
html body header .aen-common-search-form label{display:block!important;font-size:14px;margin-bottom:8px}
html body header .aen-common-search-form>div{display:flex;gap:8px;width:100%}
html body header .aen-common-search-form input[type=search]{flex:1 1 auto!important;min-width:0!important;width:100%;height:44px;padding:8px;box-sizing:border-box;background:#fff;color:#172b29;border:1px solid #777}
html body header .aen-common-search-form button{flex:0 0 auto;min-height:44px;padding:8px 12px}
@media(min-width:1101px){html body header .aen-common-search{display:block}html body header .aen-vd-nav{display:flex;align-items:center;gap:16px}}

html body.single-post .aen-common-wide-heading h1.wp-block-post-title{width:100%!important;max-width:100%!important;font-size:clamp(26px,2.5vw,36px)!important;line-height:1.2!important;word-break:normal;overflow-wrap:normal}
html body.single-post :is(.fg-layout,.vb-layout,.sl-letter-3col)>.aen-common-wide-heading{grid-column:1/-1}
html body footer .aen-common-footer-description{display:block!important;max-width:48ch;line-height:1.65!important;margin-block:12px 0!important}
html body footer .aen-common-footer-introduction{min-width:0;max-width:100%}
@media(max-width:781px){html body.single-post .aen-common-wide-heading h1.wp-block-post-title{font-size:26px!important;line-height:1.25!important}}

/* Verified site-specific layout adjustments. */

footer.apk-footer.wp-block-template-part > .wp-block-group.lt-bottom { display:block !important; grid-template-areas:none !important; grid-template-columns:none !important; grid-template-rows:none !important; }
footer.apk-footer.wp-block-template-part > .wp-block-group.lt-bottom > .aen-r5-grid { display:grid !important; grid-template-columns:1fr 1fr !important; grid-template-rows:auto !important; grid-template-areas:none !important; gap:24px !important; align-items:start !important; }
footer.apk-footer.wp-block-template-part > .wp-block-group.lt-bottom > .aen-r5-grid > * { grid-area:auto !important; min-width:0 !important; width:auto !important; margin:0 !important; }
footer.apk-footer.wp-block-template-part > .wp-block-group.lt-bottom > .aen-r5-grid > .lt-footer-contact { display:block !important; }
footer.apk-footer.wp-block-template-part > .wp-block-group.lt-bottom > .aen-r5-grid > .lt-footer-contact > .aen-c { width:100% !important; box-sizing:border-box !important; }
footer.apk-footer.wp-block-template-part > .wp-block-group.lt-bottom > .aen-r5-bottom { display:flex !important; flex-wrap:wrap !important; align-items:center !important; justify-content:space-between !important; gap:16px 24px !important; margin-top:24px !important; padding-top:20px !important; }
footer.apk-footer.wp-block-template-part > .wp-block-group.lt-bottom > .aen-r5-bottom > * { grid-area:auto !important; min-width:0 !important; margin:0 !important; }
@media(max-width:767px) { footer.apk-footer.wp-block-template-part > .wp-block-group.lt-bottom > .aen-r5-grid { grid-template-columns:minmax(0,1fr) !important; } footer.apk-footer.wp-block-template-part > .wp-block-group.lt-bottom > .aen-r5-bottom { align-items:flex-start !important; flex-direction:column !important; } }

/* BD-A06: shared footer, full-width Pages and direct contact. Desktop also serves tablets. */
html body.apk-game-luanti.page .wp-site-blocks main .aen-r3-reading-layout { display:block!important; }
html body.apk-game-luanti.page .wp-site-blocks main .aen-r3-reading-column,
html body.apk-game-luanti.page .wp-site-blocks main .wp-block-post-content { width:100%!important; max-width:none!important; margin-inline:0!important; }
html body.apk-game-luanti.page .wp-site-blocks main .wp-block-post-content>:is(p,ul,ol,blockquote,h2,h3,h4) { max-width:none!important; }
html body.apk-game-luanti footer.apk-footer .lt-bottom { padding-block:40px 24px!important; }
html body.apk-game-luanti footer.apk-footer .lt-bottom>.aen-r5-grid { grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)!important; gap:48px!important; }
html body.apk-game-luanti footer.apk-footer .lt-footer-note .lt-label { margin:0 0 12px!important; }
html body.apk-game-luanti footer.apk-footer .lt-footer-signoff { max-width:55ch; margin:0!important; font-size:15px; line-height:1.75; }
html body.apk-game-luanti footer.apk-footer .lt-footer-contact .aen-c { padding:0!important; margin:0!important; }
html body.apk-game-luanti footer.apk-footer .lt-footer-contact .aen-c h2 { font-size:18px; line-height:1.3; margin:0 0 14px; }
html body.apk-game-luanti footer.apk-footer .aen-c--ledger dl>div { grid-template-columns:80px minmax(0,1fr); gap:14px; padding:10px 0; }
html body.apk-game-luanti footer.apk-footer .aen-c--ledger dd { font-size:15px; }
html body.apk-game-luanti footer.apk-footer .lt-bottom>.aen-r5-bottom { margin-top:28px!important; padding-block:18px 0!important; }
html body.apk-game-luanti footer.apk-footer .aen-r5-bottom>.vf-copyright { border:0!important; padding:0!important; text-align:left!important; }
html body.apk-game-luanti footer.apk-footer .lt-footer-contact:not(:has(.aen-c)) { display:none!important; }
html body.apk-game-luanti footer.apk-footer .aen-r5-grid:not(:has(.aen-c)) { grid-template-columns:minmax(0,1fr)!important; }
html body.apk-game-luanti .lt-contact-page { padding-block:52px 64px; }
html body.apk-game-luanti .lt-contact-page .lt-contact-intro { margin:0 0 42px; }
html body.apk-game-luanti .lt-contact-page .lt-contact-intro .lt-label { margin:0 0 16px; }
html body.apk-game-luanti .lt-contact-page h1 { margin:0 0 20px; font-size:clamp(38px,4.5vw,60px); line-height:1.08; }
html body.apk-game-luanti .lt-contact-page .lt-contact-deck { max-width:700px; margin:0; font-size:20px; line-height:1.65; color:var(--apk-muted); }
html body.apk-game-luanti .lt-contact-page .lt-contact-grid { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(0,1fr); gap:56px; align-items:start; margin:0; }
html body.apk-game-luanti .lt-contact-notes>h2 { margin:0 0 16px; font-size:30px; }
html body.apk-game-luanti .lt-contact-notes>p { margin:0 0 26px; max-width:62ch; color:var(--apk-muted); }
html body.apk-game-luanti .lt-contact-topic { margin:0; padding:22px 0; border-top:1px solid var(--apk-line); }
html body.apk-game-luanti .lt-contact-topic h3 { margin:0 0 10px; font-size:21px; line-height:1.3; }
html body.apk-game-luanti .lt-contact-topic p { max-width:62ch; margin:0; font-size:16px; line-height:1.75; color:var(--apk-muted); }
html body.apk-game-luanti .lt-contact-page .lt-contact-channel { margin:0; padding:30px; border-top:3px solid var(--apk-primary); background:var(--apk-surface); }
html body.apk-game-luanti .lt-contact-channel .aen-c { margin:0; padding:0; max-width:none; }
html body.apk-game-luanti .lt-contact-channel .aen-c h2 { margin:0 0 24px; font-size:26px; }
html body.apk-game-luanti .lt-contact-channel .aen-c dl>div { display:block; padding:16px 0; }
html body.apk-game-luanti .lt-contact-channel .aen-c dt { margin:0 0 8px; }
html body.apk-game-luanti .lt-contact-channel .aen-c dd { font-size:18px; }
html body.apk-game-luanti .lt-contact-channel .lt-contact-privacy { margin:20px 0 0; font-size:14px; line-height:1.75; color:var(--apk-muted); }
html body.apk-game-luanti .lt-contact-channel:not(:has(.aen-c)) { display:none; }
html body.apk-game-luanti .lt-contact-grid:not(:has(.aen-c)) { grid-template-columns:1fr; }
html body.apk-game-luanti .lt-contact-page .lt-contact-scope { border-top:1px solid var(--apk-line); margin:24px 0 0; padding-top:24px; font-size:14px; line-height:1.75; color:var(--apk-muted); }
@media(max-width:767px) {
 html body.apk-game-luanti footer.apk-footer .lt-bottom { padding-block:30px 20px!important; }
 html body.apk-game-luanti footer.apk-footer .lt-bottom>.aen-r5-grid { grid-template-columns:1fr!important; gap:26px!important; }
 html body.apk-game-luanti footer.apk-footer .lt-bottom>.aen-r5-bottom { gap:14px!important; }
 html body.apk-game-luanti footer.apk-footer .aen-r5-inline .aen-r5-links { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px 24px!important; }
 html body.apk-game-luanti footer.apk-footer .aen-r5-inline .aen-r5-links a { min-height:44px; display:flex; align-items:center; }
 html body.apk-game-luanti .lt-contact-page { padding-block:32px 42px; }
 html body.apk-game-luanti .lt-contact-page .lt-contact-intro { margin-bottom:30px; }
 html body.apk-game-luanti .lt-contact-page .lt-contact-deck { font-size:18px; }
 html body.apk-game-luanti .lt-contact-page .lt-contact-grid { display:flex; flex-direction:column; gap:30px; }
 html body.apk-game-luanti .lt-contact-grid>* { width:100%; }
 html body.apk-game-luanti .lt-contact-page .lt-contact-channel { order:-1; padding:24px; }
 html body.apk-game-luanti .lt-contact-notes>h2 { font-size:26px; }
 html body.apk-game-luanti .lt-contact-topic { padding-block:20px; }
}
