/* Layout 04 only. Accent inherits the theme's one-click color palette. */
.adh4-root{--adh4-accent:var(--ml-accent,#e21b25);--adh4-bg:#090e15;--adh4-panel:#111c27;--adh4-line:#26323e;background:var(--adh4-bg);color:#fff;font-family:Arial,Helvetica,sans-serif;min-height:100vh}.adh4-root *{box-sizing:border-box}.adh4-root a{text-decoration:none;color:inherit}.adh4-root img{display:block;width:100%;height:100%;object-fit:cover}.adh4-header{background:#0b1018;border-bottom:1px solid #24303b}.adh4-header-inner{max-width:1360px;margin:auto;min-height:75px;padding:8px 24px;display:flex;align-items:center;gap:32px}.adh4-logo{display:flex;flex-direction:column;position:relative;min-width:200px;padding-top:6px}.adh4-logo-symbol{height:24px;width:90px;color:#fff;position:absolute;top:-14px;left:16px;transform:scaleX(1.1)}.adh4-logo-symbol svg{width:100%;height:100%}.adh4-logo-name{font-size:25px;font-weight:950;font-style:italic;letter-spacing:-1.3px;white-space:nowrap}.adh4-logo-name::first-letter{color:var(--adh4-accent)}.adh4-logo small{font-size:9px;letter-spacing:.2px;color:#c8d0da}.adh4-header nav{display:flex;align-items:center;gap:7px;flex:1}.adh4-header nav a{font-size:13px;font-weight:750;padding:10px 13px;border-radius:7px}.adh4-header nav a.active,.adh4-header nav a:hover{background:var(--adh4-accent)}.adh4-header form{display:flex;height:34px;max-width:270px;background:#242932;border-radius:8px;overflow:hidden}.adh4-header input{width:205px;min-width:0;padding:0 12px;border:0;background:transparent;color:white;font-size:12px}.adh4-header button{background:var(--adh4-accent);color:white;border:0;padding:0 15px;font-size:23px;cursor:pointer}.adh4-hero{height:390px;position:relative;overflow:hidden;background:#141c27}.adh4-hero-image,.adh4-hero-shade{position:absolute;inset:0}.adh4-hero-image img{object-position:center 46%}.adh4-hero-shade{background:linear-gradient(90deg,rgba(4,9,15,.96),rgba(4,9,15,.77) 32%,rgba(4,9,15,.06) 72%),linear-gradient(0deg,rgba(5,10,16,.65),transparent 40%)}.adh4-hero-copy{position:relative;z-index:1;max-width:1360px;margin:auto;padding:68px 30px;width:100%}.adh4-hero-copy h1{font-size:clamp(30px,3.1vw,49px);line-height:1.08;letter-spacing:-1px;max-width:500px;margin:10px 0}.adh4-hero-copy p{font-size:14px;line-height:1.55;max-width:440px;color:#e1e5ec}.adh4-label{display:inline-block;background:var(--adh4-accent);font-size:11px;font-weight:900;padding:5px 11px;border-radius:4px}.adh4-button,.adh4-compare-btn{display:inline-block;background:var(--adh4-accent);border-radius:5px;padding:11px 19px;font-weight:800;font-size:12px;margin-top:12px}.adh4-hero-dots{position:absolute;bottom:14px;left:50%;display:flex;gap:8px}.adh4-hero-dots>*{height:8px;width:8px;background:#d8e0e8;border-radius:50%}.adh4-hero-dots b{background:var(--adh4-accent);width:20px;border-radius:6px}.adh4-container{max-width:1360px;margin:auto;padding:0 24px}.adh4-section{margin:28px 0}.adh4-section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.adh4-section-title h2{font-size:22px;font-weight:850;margin:0;padding-left:15px;position:relative;line-height:1.2}.adh4-section-title h2:before{content:'';position:absolute;left:0;top:2px;bottom:1px;width:6px;background:var(--adh4-accent);transform:skew(-23deg)}.adh4-section-title>a{font-size:12px;font-weight:700;color:#e5eaf0}.adh4-featured-grid,.adh4-three-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.adh4-post{min-width:0}.adh4-image{display:block;overflow:hidden;border-radius:8px;background:#1c2833}.adh4-featured .adh4-image{height:164px}.adh4-post-copy h3{font-size:15px;line-height:1.3;margin:8px 0 6px;font-weight:800}.adh4-post-copy time{font-size:11px;color:#b4c1d0}.adh4-featured{position:relative;overflow:hidden;border-radius:9px}.adh4-featured .adh4-image{height:190px}.adh4-featured .adh4-post-copy{position:absolute;inset:auto 0 0;padding:38px 14px 12px;background:linear-gradient(transparent,rgba(0,0,0,.9))}.adh4-featured h3{font-size:16px}.adh4-categories{display:flex;align-items:center;gap:25px;padding:12px 20px;border:1px solid var(--adh4-line);border-radius:12px;background:var(--adh4-panel);margin:22px 0 26px}.adh4-categories h2{font-size:16px;line-height:1.15;margin:0;min-width:140px;border-right:1px solid var(--adh4-line);padding-right:18px}.adh4-category-list{display:flex;justify-content:space-around;flex:1;gap:10px;flex-wrap:wrap}.adh4-category-list a{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:68px;font-size:11px;font-weight:800}.adh4-car-icon{width:62px;height:45px;color:#f4f7fc;filter:drop-shadow(0 1px 1px #718094)}.adh4-main-side{display:grid;grid-template-columns:minmax(0,2.05fr) minmax(270px,.92fr);gap:22px}.adh4-editorial-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.85fr);gap:12px}.adh4-lead{position:relative;min-height:260px;border-radius:10px;overflow:hidden}.adh4-lead .adh4-image{position:absolute;inset:0;border-radius:0}.adh4-lead .adh4-post-copy{position:absolute;bottom:0;left:0;right:0;padding:60px 16px 15px;background:linear-gradient(transparent,rgba(0,0,0,.92))}.adh4-lead h3{font-size:21px}.adh4-editorial-list{display:flex;flex-direction:column;gap:12px}.adh4-mini{display:grid;grid-template-columns:112px minmax(0,1fr);gap:11px;align-items:center}.adh4-mini .adh4-image{height:88px}.adh4-mini h3{font-size:13px;line-height:1.25;margin:0 0 8px}.adh4-mini time{font-size:10px}.adh4-editorial-list .adh4-mini{flex:1}.adh4-three-grid{margin-top:13px}.adh4-tile{border:1px solid var(--adh4-line);border-radius:9px;overflow:hidden;background:#101b26}.adh4-tile .adh4-image{height:145px;border-radius:0}.adh4-tile .adh4-post-copy{padding:0 12px 12px}.adh4-side-panel{background:var(--adh4-panel);border:1px solid var(--adh4-line);border-radius:10px;padding:16px}.adh4-side-panel .adh4-section-title h2{font-size:17px;padding-left:0}.adh4-side-panel .adh4-section-title h2:before{display:none}.adh4-side-panel .adh4-mini{grid-template-columns:93px minmax(0,1fr);border-bottom:1px solid var(--adh4-line);padding:10px 0}.adh4-side-panel .adh4-mini .adh4-image{height:69px}.adh4-side-panel .adh4-mini h3{font-size:12px}.adh4-compare{display:block;position:relative;overflow:hidden;background:linear-gradient(135deg,#192331,#0a111b 55%,#37151a);border:1px solid #5b3940;border-radius:9px;padding:16px;color:#fff!important}.adh4-side-panel .adh4-compare{margin-top:16px}.adh4-compare-content{position:relative;z-index:2}.adh4-compare h3{font-size:20px;line-height:1.12;margin:4px 0}.adh4-compare p{font-size:12px;max-width:320px;color:#dbe1e8}.adh4-scale{font-size:27px}.adh4-compare-banner{border-radius:0;margin-top:25px;padding:25px 20px;min-height:190px;text-align:center;background:linear-gradient(110deg,#152336,#07101b 50%,#28131b)}.adh4-compare-banner .adh4-compare-content{max-width:430px;margin:auto}.adh4-compare-banner h3{font-size:27px}.adh4-compare-cars{position:absolute;inset:0;display:flex;justify-content:space-between;pointer-events:none}.adh4-compare-cars span{width:30%;height:100%;opacity:.8}.adh4-compare-cars span:first-child img{mask-image:linear-gradient(90deg,#000,transparent)}.adh4-compare-cars span:last-child img{mask-image:linear-gradient(270deg,#000,transparent)}.adh4-reviews{margin-top:25px}.adh4-footer{background:#0c141d;border-top:1px solid var(--adh4-line)}.adh4-footer-columns{max-width:1360px;margin:auto;padding:28px 24px;display:grid;grid-template-columns:2fr repeat(4,1fr);gap:24px}.adh4-footer-columns h3{font-size:13px;margin:0 0 12px}.adh4-footer-columns>div:not(:first-child) a{display:block;color:#bac5d0;font-size:12px;margin:8px 0}.adh4-copyright{text-align:center;border-top:1px solid var(--adh4-line);padding:13px;color:#b2bdc9;font-size:11px}
@media(max-width:1000px){.adh4-header-inner{flex-wrap:wrap;gap:10px}.adh4-header nav{order:3;flex-basis:100%;justify-content:center}.adh4-header form{margin-left:auto}.adh4-main-side{grid-template-columns:1fr}.adh4-aside{max-width:none}.adh4-side-panel{display:block}.adh4-categories{align-items:flex-start}.adh4-footer-columns{grid-template-columns:repeat(3,1fr)}}
@media(max-width:650px){.adh4-header-inner{padding:15px}.adh4-header nav{overflow-x:auto;flex-wrap:nowrap;justify-content:flex-start}.adh4-header nav a{white-space:nowrap;padding:8px}.adh4-header form{max-width:100%;width:100%}.adh4-header input{flex:1;width:auto}.adh4-hero{height:390px}.adh4-hero-copy{padding:75px 20px}.adh4-hero-copy h1{font-size:31px}.adh4-container{padding:0 14px}.adh4-featured-grid,.adh4-three-grid{grid-template-columns:1fr 1fr}.adh4-editorial-grid{grid-template-columns:1fr}.adh4-editorial-list{display:grid;grid-template-columns:1fr 1fr}.adh4-editorial-list .adh4-mini{grid-template-columns:1fr}.adh4-categories{flex-direction:column;gap:8px}.adh4-categories h2{border:0;min-width:0}.adh4-category-list{width:100%;justify-content:flex-start}.adh4-footer-columns{grid-template-columns:repeat(2,1fr)}.adh4-footer-columns>div:first-child{grid-column:span 2}}
@media(max-width:430px){.adh4-featured-grid,.adh4-three-grid{grid-template-columns:1fr}.adh4-editorial-list{grid-template-columns:1fr}.adh4-editorial-list .adh4-mini{grid-template-columns:110px 1fr}.adh4-categories{padding:12px}.adh4-category-list a{min-width:64px}}
/* Reference's default crimson; user-selected palette remains available. */
body.adh-selected-layout-4.adh-layout-default-palette .adh4-root{--adh4-accent:#df1524}
body.adh-selected-layout-4:not(.adh-layout-default-palette) .adh4-root{--adh4-accent:var(--adh-accent,#df1524)}
/* Hide the inherited footer only for this opt-in homepage. */
body.adh-selected-layout-4>.adh-simple-footer{display:none}

/* Layout 04 v1.8.4: compact matching wordmark in both header and footer. */
.adh4-root .adh4-logo{display:inline-flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0;width:max-content;max-width:100%;padding:0 0 0 1px;line-height:1;flex-shrink:0}
.adh4-root .adh4-logo-mark{position:relative;display:block;width:125px;height:27px;margin:0 0 -4px 22px;color:#f7f9fc;transform:none}
.adh4-root .adh4-logo-mark svg{display:block;width:100%;height:100%}
.adh4-root .adh4-logo-name{font-family:Arial,Helvetica,sans-serif;font-size:clamp(18px,1.8vw,27px);font-weight:900;font-style:italic;letter-spacing:-1.3px;line-height:1.04;white-space:nowrap;color:#f7f9fc;text-shadow:0 1px 1px #000}
.adh4-root .adh4-logo-name::first-letter{color:var(--adh4-accent)}
.adh4-root .adh4-logo small{display:block;font-size:9px;line-height:1.2;letter-spacing:.1px;color:#cbd2dc;max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:3px}
.adh4-root .adh4-footer .adh4-logo-mark{width:125px;height:27px}
.adh4-root .adh4-footer .adh4-logo-name{font-size:25px}
/* Fixed-size, wrapping category cells: 3 categories remain compact; 12 wrap naturally. */
.adh4-root .adh4-category-list{display:flex;flex:1 1 auto;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:12px 20px;min-width:0}
.adh4-root .adh4-category-list>a{flex:0 0 82px;min-width:0;max-width:82px;min-height:69px;display:flex;justify-content:center;align-items:center;gap:3px;text-align:center}
.adh4-root .adh4-category-list .adh4-car-icon{flex:none;width:58px;height:41px}
.adh4-root .adh4-categories{align-items:center}
@media(max-width:650px){.adh4-root .adh4-categories{align-items:flex-start}.adh4-root .adh4-category-list{gap:10px 12px}.adh4-root .adh4-category-list>a{flex-basis:76px;max-width:76px}.adh4-root .adh4-logo-name{font-size:22px}}

/* v1.8.5 — isolated Layout 04 logo and configurable navigation/footer */
.adh4-root .adh4-logo{display:inline-flex;flex-direction:column;justify-content:center;align-items:flex-start;flex:0 0 auto;min-width:210px;max-width:310px;padding:0;line-height:1.05}
.adh4-root .adh4-logo-mark{position:relative;display:block;width:125px;height:26px;margin:0 0 -2px 14px;color:#fff}
.adh4-root .adh4-logo-mark svg{display:block;width:100%;height:100%}
.adh4-root .adh4-logo-name{display:block;font-size:clamp(19px,1.9vw,27px);font-style:italic;font-weight:900;letter-spacing:-1.1px;line-height:1.06;white-space:normal;overflow-wrap:anywhere}
.adh4-root .adh4-logo-name::first-letter{color:var(--adh4-accent)}
.adh4-root .adh4-logo small{display:block;font-size:9px;line-height:1.25;letter-spacing:.15px;color:#cdd3dc;max-width:280px}
.adh4-root .adh4-header nav .adh4-menu-list{list-style:none;margin:0;padding:0;display:flex;align-items:center;flex-wrap:wrap;gap:5px}
.adh4-root .adh4-header nav .adh4-menu-list li{margin:0;padding:0}
.adh4-root .adh4-header nav .adh4-menu-list a{display:block}
.adh4-root .adh4-header nav .current-menu-item>a,.adh4-root .adh4-header nav .current_page_item>a{background:var(--adh4-accent)}
.adh4-root .adh4-footer{background:#080d14}
.adh4-root .adh4-footer .adh4-logo-mark{width:130px}
.adh4-root .adh4-footer .adh4-logo-name{font-size:24px}
.adh4-root .adh4-footer .adh4-logo small{font-size:8px}
.adh4-root .adh4-footer .adh4-menu-list{list-style:none;margin:0;padding:0}
.adh4-root .adh4-footer .adh4-menu-list li{margin:0 0 7px;padding:0}
.adh4-root .adh4-footer .adh4-menu-list a{display:inline;color:#d2d8e1;font-size:12px}
.adh4-root .adh4-footer .adh4-menu-list a:hover{color:#fff}
.adh4-root .adh4-social-icons{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.adh4-root .adh4-social-icons a{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:white;font-weight:800;font-size:14px;background:#26313e}
.adh4-root .adh4-social-youtube{background:#f11!important}.adh4-root .adh4-social-facebook{background:#1877f2!important}.adh4-root .adh4-social-instagram{background:#d62976!important}
@media(max-width:900px){.adh4-root .adh4-header-inner{flex-wrap:wrap}.adh4-root .adh4-header nav{order:3;flex-basis:100%}.adh4-root .adh4-header nav .adh4-menu-list{justify-content:center}}
@media(max-width:620px){.adh4-root .adh4-header nav .adh4-menu-list a{font-size:12px;padding:8px}.adh4-root .adh4-logo-name{font-size:21px}}
.adh4-root .adh4-footer-columns{grid-template-columns:minmax(190px,2fr) repeat(4,minmax(95px,1fr)) minmax(110px,1fr);gap:18px}
.adh4-root .adh4-footer-columns:not(:has(.adh4-social)){grid-template-columns:minmax(190px,2fr) repeat(4,minmax(95px,1fr))}
@media(max-width:1050px){.adh4-root .adh4-footer-columns{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:620px){.adh4-root .adh4-footer-columns{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* v1.8.6: only Layout 04 branding and social icon corrections. */
.adh4-root .adh4-logo-mark{width:115px;height:25px;margin:0 0 -5px 12px}
.adh4-root .adh4-footer .adh4-logo-mark{width:115px;height:25px}
.adh4-root .adh4-logo-name{font-size:clamp(18px,1.65vw,25px);letter-spacing:-1.2px}
.adh4-root .adh4-social-icons a{display:inline-flex!important;width:30px;height:30px;min-width:30px;padding:0!important;margin:0!important;align-items:center;justify-content:center;line-height:1}
.adh4-root .adh4-social-icons a svg{display:block;flex:none;width:17px;height:17px;color:#fff}
.adh4-root .adh4-social-x{background:#202936!important}

/* v1.8.7: Layout 04 brand mark only; keep all other layout styling intact. */
.adh4-root .adh4-logo-mark,.adh4-root .adh4-footer .adh4-logo-mark{width:170px;height:36px;margin:0 0 -9px 4px}
.adh4-root .adh4-logo-mark svg{width:100%;height:100%;overflow:visible}

/* v1.8.8: logo shape follows supplied red silhouette; text retains existing theme color. */
.adh4-root .adh4-logo-mark,.adh4-root .adh4-footer .adh4-logo-mark{width:165px;height:39px;margin:0 0 -9px 0;color:var(--adh4-accent)}
.adh4-root .adh4-logo-mark svg{display:block;width:100%;height:100%}
.adh4-root .adh4-logo-name::first-letter{color:inherit}

/* Keep the silhouette distinct from the wordmark. */
.adh4-root .adh4-logo-mark,.adh4-root .adh4-footer .adh4-logo-mark{width:160px;height:40px;margin:0 0 8px 10px}
.adh4-root .adh4-logo-name{letter-spacing:-.8px}

/* v1.8.10 Layout 04: isolate visual corrections, no other layout selectors. */
.adh4-root .adh4-logo-mark{display:block;width:185px;height:46px;margin:0 0 7px 0;overflow:visible}
.adh4-root .adh4-logo-mark svg{display:block;width:100%;height:100%;overflow:visible}
.adh4-root .adh4-logo{padding-top:0;gap:0}
.adh4-root .adh4-main-side{align-items:stretch}
.adh4-root .adh4-primary{min-width:0}
.adh4-root .adh4-aside{min-width:0;margin-top:28px;display:flex}
.adh4-root .adh4-side-panel{width:100%;height:100%;display:flex;flex-direction:column}
.adh4-root .adh4-side-panel .adh4-compare{margin-top:auto}
@media(max-width:1000px){.adh4-root .adh4-aside{margin-top:0}.adh4-root .adh4-side-panel{height:auto}}

/* v1.8.11: no car logo; red initial and white remainder, including footer. */
.adh4-root .adh4-logo-mark,.adh4-root .adh-shared-brand-mark{display:none!important}
.adh4-root .adh4-logo{padding-top:0!important}
.adh4-root .adh4-logo-name::first-letter{color:inherit!important}
.adh4-root .adh4-wordmark-accent,.adh4-root .adh-brand-accent{color:var(--adh4-accent)!important}
.adh4-root .adh-shared-footer-brand strong{color:#f7f9fc;font-weight:900;font-style:italic}

/* v1.8.13: Layout 04 only — matched editorial/aside edges and functioning hero carousel. */
.adh4-root .adh4-main-side{margin:28px 0;align-items:stretch}
.adh4-root .adh4-main-side .adh4-primary>.adh4-section{margin:0}
.adh4-root .adh4-main-side .adh4-aside{margin:0;align-self:stretch}
.adh4-root .adh4-main-side .adh4-side-panel{height:100%;min-height:0}
.adh4-root .adh4-logo-name,.adh4-root .adh-shared-footer-brand strong{color:#fff!important}
.adh4-root .adh4-logo-name .adh4-wordmark-accent,.adh4-root .adh-shared-footer-brand .adh-brand-accent{color:var(--adh4-accent,#e21b25)!important}
.adh4-root .adh4-hero-slides,.adh4-root .adh4-hero-slide{position:absolute;inset:0}
.adh4-root .adh4-hero-slide{opacity:0;visibility:hidden;transition:opacity .45s ease,visibility .45s ease;pointer-events:none}
.adh4-root .adh4-hero-slide.is-active{opacity:1;visibility:visible;pointer-events:auto}
.adh4-root .adh4-hero-dots{z-index:5;transform:translateX(-50%);align-items:center}
.adh4-root .adh4-hero-dot{appearance:none;display:block;width:9px;height:9px;min-width:9px;padding:0;border:0;border-radius:50%;background:#e2e8f0;cursor:pointer}
.adh4-root .adh4-hero-dot.is-active{width:23px;background:var(--adh4-accent,#e21b25);border-radius:8px}
.adh4-root .adh4-hero-dot:focus-visible{outline:2px solid white;outline-offset:4px}
@media(prefers-reduced-motion:reduce){.adh4-root .adh4-hero-slide{transition:none}}

/* v1.8.14 — Layout 04 only: compact sidebar and linked hero. */
.adh4-root .adh4-hero-slide .adh4-hero-image{pointer-events:none}
.adh4-root .adh4-hero-slide .adh4-hero-copy{pointer-events:none}
.adh4-root .adh4-hero-slide .adh4-hero-copy a{pointer-events:auto;position:relative;z-index:3}
.adh4-root .adh4-hero-slide .adh4-hero-full-link{position:absolute;inset:0;display:block;z-index:1}
.adh4-root .adh4-hero-dots{z-index:6}
@media(min-width:1001px){
.adh4-root .adh4-main-side{align-items:stretch}
.adh4-root .adh4-aside{min-height:0}
.adh4-root .adh4-side-panel{display:flex;flex-direction:column;justify-content:space-between;min-height:0;padding:13px 16px}
.adh4-root .adh4-side-panel .adh4-mini{padding:6px 0;min-height:0}
.adh4-root .adh4-side-panel .adh4-mini .adh4-image{height:62px}
.adh4-root .adh4-side-panel .adh4-mini h3{font-size:11px;line-height:1.2;margin:0 0 5px}
.adh4-root .adh4-side-panel .adh4-compare{margin-top:8px;padding:12px}
.adh4-root .adh4-side-panel .adh4-compare h3{font-size:18px}
.adh4-root .adh4-side-panel .adh4-compare p{margin:6px 0;font-size:11px}
.adh4-root .adh4-side-panel .adh4-compare-btn{margin-top:6px;padding:9px 12px}
}
/* Single posts inherit Layout 04 header, typography, accents and footer without modifying article markup. */
body.single-post.adh-selected-layout-4{background:#090e15;color:#f4f7fc}
body.single-post.adh-selected-layout-4 .adh4-single-header{min-height:0}
body.single-post.adh-selected-layout-4 #main-content{padding-top:32px;padding-bottom:38px}
body.single-post.adh-selected-layout-4 #main-content>div:first-child>article{background:#111c27;color:#f4f7fc;border:1px solid #26323e;border-radius:12px;padding:clamp(16px,2.5vw,32px)}
body.single-post.adh-selected-layout-4 .entry-title{color:#fff}
body.single-post.adh-selected-layout-4 .post-meta{color:#b9c7d7}
body.single-post.adh-selected-layout-4 .entry-content{color:#e1e7f0}
body.single-post.adh-selected-layout-4 .entry-content h2,body.single-post.adh-selected-layout-4 .entry-content h3{color:#fff}
body.single-post.adh-selected-layout-4 .entry-content a{color:#f16c77}
body.single-post.adh-selected-layout-4 #main-content .widget{background:#111c27;color:#f4f7fc;border-color:#26323e}
body.single-post.adh-selected-layout-4 #main-content .widget a{color:#f4f7fc}
body.single-post.adh-selected-layout-4 .adh-post-navigation{color:#f4f7fc}
body.single-post.adh-selected-layout-4 .adh-shared-footer{background:#080d14;color:#f4f7fc}
body.single-post.adh-selected-layout-4 .adh-shared-footer-brand strong{color:#fff}
body.single-post.adh-selected-layout-4 .adh-shared-footer-brand .adh-brand-accent{color:#df1524}
body.single-post.adh-selected-layout-4 .adh4-single-header .adh4-logo-name{color:#fff}
body.single-post.adh-selected-layout-4 .adh4-single-header .adh4-wordmark-accent{color:#df1524}

/* v1.8.15: readable third-party TOC/FAQ on Layout 04 single posts only.
   No changes to generated content, shortcode output, or plugin logic. */
body.single-post.adh-selected-layout-4 .entry-content :is(#toc_container,.ez-toc-container,.lwptoc_i,.toc_container,.wp-block-table-of-contents){background:#172433!important;color:#edf3fa!important;border:1px solid #35475a!important;border-radius:10px}
body.single-post.adh-selected-layout-4 .entry-content :is(#toc_container,.ez-toc-container,.lwptoc_i,.toc_container,.wp-block-table-of-contents) :is(h2,h3,h4,.toc_title,.ez-toc-title,.lwptoc_title){color:#fff!important;opacity:1!important}
body.single-post.adh-selected-layout-4 .entry-content :is(#toc_container,.ez-toc-container,.lwptoc_i,.toc_container,.wp-block-table-of-contents) :is(a,li,span,p){color:#e3eaf4!important}
body.single-post.adh-selected-layout-4 .entry-content :is(.spfg-faq,.adh-faq-fallback){background:#172433!important;color:#edf3fa!important;border:1px solid #35475a!important;border-radius:14px}
body.single-post.adh-selected-layout-4 .entry-content :is(.spfg-faq,.adh-faq-fallback) :is(h2,h3,h4,.spfg-faq-title,.spfg-section-title){color:#fff!important;opacity:1!important;text-shadow:none!important}
body.single-post.adh-selected-layout-4 .entry-content :is(.spfg-faq,.adh-faq-fallback) :is(p,summary){color:#13233a}
body.single-post.adh-selected-layout-4 .entry-content .spfg-faq :is(.spfg-faq-item,.spfg-faq-question,.spfg-faq-answer){color:#13233a}

/* v1.8.16: TOC wrappers including Easy Table of Contents #ez-toc-container. */
body.single-post.adh-selected-layout-4 :is(#ez-toc-container,#toc_container,.ez-toc-container,.lwptoc,.lwptoc_i,.toc_container,.toc-wrap,.toc-wrapper,.table-of-contents,.wp-block-table-of-contents){background:#172433!important;color:#edf3fa!important;border:1px solid #35475a!important;border-radius:10px!important}
body.single-post.adh-selected-layout-4 :is(#ez-toc-container,#toc_container,.ez-toc-container,.lwptoc,.lwptoc_i,.toc_container,.toc-wrap,.toc-wrapper,.table-of-contents,.wp-block-table-of-contents) :is(.ez-toc-title,.toc_title,.lwptoc_title,.toc-title,h2,h3,h4){color:#f6f9ff!important;opacity:1!important}
body.single-post.adh-selected-layout-4 :is(#ez-toc-container,#toc_container,.ez-toc-container,.lwptoc,.lwptoc_i,.toc_container,.toc-wrap,.toc-wrapper,.table-of-contents,.wp-block-table-of-contents) :is(a,li,span,p){color:#e3eaf4!important}
.adh4-root .adh4-hero-prev,.adh4-root .adh4-hero-next{position:absolute;z-index:8;top:50%;transform:translateY(-50%);width:38px;height:44px;border:1px solid #ffffff55;border-radius:6px;background:#07111caa;color:white;font-size:29px;cursor:pointer}
.adh4-root .adh4-hero-prev{left:12px}.adh4-root .adh4-hero-next{right:12px}
.adh4-root .adh4-hero-prev:hover,.adh4-root .adh4-hero-next:hover{background:#d7192a}

/* v1.8.17 — Layout 04 single-post corrections only. */
body.single-post.adh-selected-layout-4 .adh-post-navigation-heading{
 color:#f5f8ff!important;text-shadow:none!important;
}
body.single-post.adh-selected-layout-4 .adh-post-nav-card{
 background:#152333!important;border-color:#344658!important;color:#f5f8ff!important;
}
body.single-post.adh-selected-layout-4 .adh-post-nav-body,
body.single-post.adh-selected-layout-4 .adh-post-nav-title{color:#f5f8ff!important}
body.single-post.adh-selected-layout-4 .adh-post-nav-label{color:#ff5260!important}
body.single-post.adh-selected-layout-4 .adh-post-nav-date{color:#b7c6d8!important}
body.single-post.adh-selected-layout-4 .adh-post-nav-image{background:#152333!important}
body.single-post.adh-selected-layout-4 .entry-content .spfg-faq :is(.spfg-faq-item,.spfg-faq-question,.spfg-faq-answer){
 background:#192b3d!important;border-color:#3c5064!important;color:#f4f7fc!important;
}
body.single-post.adh-selected-layout-4 .entry-content .spfg-faq :is(.spfg-faq-item,.spfg-faq-question,.spfg-faq-answer) :is(h2,h3,h4,p,span,summary,strong,a){
 color:#f4f7fc!important;
}
body.single-post.adh-selected-layout-4 .entry-content .spfg-faq :is(.spfg-faq-title,.spfg-section-title){
 color:#fff!important;opacity:1!important;
}

/* 1.8.18: Layout 04 static pages, no other layouts affected. */
body.page.adh-selected-layout-4{background:#090e15!important;color:#f4f7fc}
body.page.adh-selected-layout-4 #main-content{padding-top:32px;padding-bottom:42px}
body.page.adh-selected-layout-4 #main-content>div:first-child>article{background:#111c27!important;color:#e1e7f0!important;border:1px solid #26323e;border-radius:12px;padding:clamp(16px,2.5vw,32px)}
body.page.adh-selected-layout-4 :is(.entry-title,.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4){color:#fff!important}
body.page.adh-selected-layout-4 .entry-content{color:#e1e7f0!important}
body.page.adh-selected-layout-4 #main-content .widget{background:#111c27!important;color:#f4f7fc!important;border-color:#26323e!important}
body.page.adh-selected-layout-4 #main-content .widget :is(h2,h3,a){color:#f4f7fc!important}
body.page.adh-selected-layout-4 .entry-content :is(#ez-toc-container,#toc_container,.ez-toc-container,.lwptoc,.lwptoc_i,.toc_container,.wp-block-table-of-contents){background:#172433!important;color:#edf3fa!important;border:1px solid #35475a!important;border-radius:10px!important}
body.page.adh-selected-layout-4 .entry-content :is(#ez-toc-container,#toc_container,.ez-toc-container,.lwptoc,.lwptoc_i,.toc_container,.wp-block-table-of-contents) :is(h2,h3,h4,p,a,li,span){color:#edf3fa!important}
/* The FAQ plugin uses white accordion cards; override cards and expanded answers, not just the outer FAQ container. */
body.single-post.adh-selected-layout-4 :is(.faq-item,.faq-question,.faq-answer,.faq-accordion,.faq-accordion-item,.faq-accordion-content,.faq-accordion-header,.spfg-faq-item,.spfg-faq-question,.spfg-faq-answer,.adh-faq-fallback-item,.adh-faq-fallback-item>div,.wp-block-details,.accordion-item,.accordion-header,.accordion-body){background:#1b2a3b!important;color:#f2f6fc!important;border-color:#3b4e63!important}
body.single-post.adh-selected-layout-4 :is(.faq-item,.faq-question,.faq-answer,.faq-accordion,.faq-accordion-item,.faq-accordion-content,.faq-accordion-header,.spfg-faq-item,.spfg-faq-question,.spfg-faq-answer,.adh-faq-fallback-item,.accordion-item,.accordion-header,.accordion-body) :is(h2,h3,h4,p,span,strong,summary,a){color:#f2f6fc!important}
body.single-post.adh-selected-layout-4 .adh-faq-fallback-item summary{color:#f2f6fc!important}

/* v1.8.19: narrowly scoped Layout 04 page/header and FAQ contrast repair. */
body.page.adh-selected-layout-4 .adh4-single-header{min-height:0!important;height:auto!important}
body.page.adh-selected-layout-4 #main-content{margin-top:0!important;min-height:0!important;align-items:start}
body.page.adh-selected-layout-4 .entry-content :is(p,li,ul,ol,blockquote,dd,dt,td,th){color:#e1e7f0!important}
body.page.adh-selected-layout-4 .entry-content :is(a,a:visited){color:#ff7782!important}
body.page.adh-selected-layout-4 .entry-content :is(.wp-block-group,.wp-block-cover,.wp-block-column){color:inherit}
body.page.adh-selected-layout-4 .entry-content :is(.wp-block-group,.wp-block-cover,.wp-block-column) :is(p,li){color:#e1e7f0!important}
body.page.adh-selected-layout-4 .entry-content :is(.wp-block-quote,.wp-block-pullquote){background:#172433!important;color:#edf3fa!important;border-color:#35475a!important}
/* The third-party FAQ accordion may use details, buttons, or nested card wrappers. */
body.single-post.adh-selected-layout-4 .entry-content :is(.spfg-faq,.adh-faq-fallback,.faq-section,.faq-container,.faq-wrapper,.faq-accordion,.faq-list,.wp-block-faq) :is(details,summary,button,[class*="faq-item"],[class*="faq-question"],[class*="faq-answer"],[class*="accordion-item"],[class*="accordion-header"],[class*="accordion-body"]){background:#1b2a3b!important;color:#f2f6fc!important;border-color:#3b4e63!important}
body.single-post.adh-selected-layout-4 .entry-content :is(.spfg-faq,.adh-faq-fallback,.faq-section,.faq-container,.faq-wrapper,.faq-accordion,.faq-list,.wp-block-faq) :is(details,summary,button,[class*="faq-item"],[class*="faq-question"],[class*="faq-answer"],[class*="accordion-item"],[class*="accordion-header"],[class*="accordion-body"]) :is(h2,h3,h4,p,span,strong,a){color:#f2f6fc!important}

/* v1.8.21 — only selected Layout 04 category, FAQ answer, and page readability. */
body.category.adh-selected-layout-4{background:#090e15!important;color:#eef3fa}
body.category.adh-selected-layout-4 .adh4-single-header{min-height:0!important;height:auto!important}
body.category.adh-selected-layout-4 #main-content{padding-top:32px;padding-bottom:42px;min-height:0!important}
body.category.adh-selected-layout-4 .archive-header{color:#fff}
body.category.adh-selected-layout-4 .archive-header :is(h1,h2,p){color:#f4f7fc!important}
body.category.adh-selected-layout-4 .post-card{background:#111c27!important;border:1px solid #29394a!important;color:#eef3fa!important;overflow:hidden}
body.category.adh-selected-layout-4 .post-card-content :is(h2,h3,p,a){color:#f1f5fb!important}
body.category.adh-selected-layout-4 .post-card-content .post-meta{color:#b5c5d6!important}
body.category.adh-selected-layout-4 .post-card-content a:hover{color:#ff6b77!important}
body.category.adh-selected-layout-4 #main-content .widget{background:#111c27!important;color:#eef3fa!important;border-color:#29394a!important}
body.category.adh-selected-layout-4 #main-content .widget :is(h2,h3,a){color:#f1f5fb!important}
body.category.adh-selected-layout-4 .pagination :is(a,span){color:#f1f5fb}
/* Answer text only: preserve FAQ plugin accordion behavior and question cards. */
body.single-post.adh-selected-layout-4 .entry-content :is(.spfg-faq-answer,.faq-answer,.faq-accordion-content,.accordion-body,.adh-faq-fallback-item>div,[class*="faq-answer"],[class*="accordion-content"]),
body.single-post.adh-selected-layout-4 .entry-content :is(.spfg-faq-answer,.faq-answer,.faq-accordion-content,.accordion-body,.adh-faq-fallback-item>div,[class*="faq-answer"],[class*="accordion-content"]) :is(p,span,div,li,strong,em){color:#f2f6fc!important}
body.page.adh-selected-layout-4 .entry-content :is(p,li,blockquote,dd,dt,td,th,figcaption,small){color:#e1e7f0!important;opacity:1!important}
body.page.adh-selected-layout-4 .entry-content :is(.wp-block-list,.wp-block-paragraph) :is(p,li,span){color:#e1e7f0!important}
body.page.adh-selected-layout-4 .entry-content :is(h1,h2,h3,h4,h5,h6){color:#fff!important}

/* v1.8.22 — Layout 04 only: expanded Smart Post FAQ answer surface and text.
   Do not restyle collapsed question cards or other layouts. */
body.single-post.adh-selected-layout-4 .spfg-faq .spfg-faq-answer,
body.single-post.adh-selected-layout-4 .spfg-faq .spfg-faq-item .spfg-faq-answer,
body.single-post.adh-selected-layout-4 .spfg-faq details[open] > .spfg-faq-answer {
  background-color:#172433!important;
  color:#f2f6fc!important;
  border-color:#35475a!important;
}
body.single-post.adh-selected-layout-4 .spfg-faq .spfg-faq-answer :is(p,div,span,li,strong,em,blockquote),
body.single-post.adh-selected-layout-4 .spfg-faq .spfg-faq-answer > * {
  color:#f2f6fc!important;
  background-color:transparent!important;
}

/* v1.8.23 — FAQ cards/expanded answers ONLY, selected Layout 04 single posts.
   Scope to the Smart Post FAQ section; no global accordion/page/layout rules. */
body.single-post.adh-selected-layout-4 .spfg-faq :is(.spfg-faq-item,.spfg-faq-question,.spfg-faq-answer,details,summary),
body.single-post.adh-selected-layout-4 .adh-faq-fallback :is(details,summary,.adh-faq-fallback-item),
body.single-post.adh-selected-layout-4 .spfg-faq :is(.spfg-faq-item,.spfg-faq-question,.spfg-faq-answer,details,summary) :is(.faq-question,.faq-answer,.accordion-header,.accordion-body){
 background:#192b3d!important;color:#f4f7fc!important;border-color:#3c5064!important;
}
body.single-post.adh-selected-layout-4 .spfg-faq :is(.spfg-faq-item,.spfg-faq-question,.spfg-faq-answer,details,summary) :is(h2,h3,h4,p,span,strong,em,li,div),
body.single-post.adh-selected-layout-4 .adh-faq-fallback :is(details,summary,.adh-faq-fallback-item) :is(p,span,strong,li){color:#f4f7fc!important}


/* v1.8.24: Layout 04 only — match the actual Smart Post FAQ DOM.
   Verified DOM: .spfg-list > .spfg-item > h3.spfg-question-wrap
                 + .spfg-answer > .spfg-answer-inner. */
body.single-post.adh-selected-layout-4 .spfg-list > .spfg-item,
body.single-post.adh-selected-layout-4 .spfg-list > .spfg-item > .spfg-question-wrap,
body.single-post.adh-selected-layout-4 .spfg-list > .spfg-item > .spfg-answer,
body.single-post.adh-selected-layout-4 .spfg-list > .spfg-item > .spfg-answer > .spfg-answer-inner {
  background: #192b3d !important;
  background-color: #192b3d !important;
  color: #f4f7fc !important;
  border-color: #3c5064 !important;
}
body.single-post.adh-selected-layout-4 .spfg-list > .spfg-item > .spfg-question-wrap *,
body.single-post.adh-selected-layout-4 .spfg-list > .spfg-item > .spfg-answer *,
body.single-post.adh-selected-layout-4 .spfg-list > .spfg-item > .spfg-answer > .spfg-answer-inner * {
  color: #f4f7fc !important;
}
body.single-post.adh-selected-layout-4 .spfg-list > .spfg-item > .spfg-answer > .spfg-answer-inner :is(p,div,span) {
  background-color: transparent !important;
}

/* v1.8.25 — FAQ ONLY. Actual SPFG markup: .spfg-list > .spfg-item.
   Layout 04 only. Keep question, answer and nested interactive surfaces dark. */
body.adh-selected-layout-4 .spfg-list > .spfg-item,
body.adh-selected-layout-4 .spfg-list > .spfg-item .spfg-question-wrap,
body.adh-selected-layout-4 .spfg-list > .spfg-item .spfg-question-wrap > *,
body.adh-selected-layout-4 .spfg-list > .spfg-item .spfg-answer,
body.adh-selected-layout-4 .spfg-list > .spfg-item .spfg-answer-inner,
body.adh-selected-layout-4 .spfg-list > .spfg-item .spfg-answer-inner > * {
  background: #172433 !important;
  background-color: #172433 !important;
  color: #f4f7fc !important;
  border-color: #35475a !important;
}
body.adh-selected-layout-4 .spfg-list > .spfg-item .spfg-question-wrap :is(button,a,span,strong,em),
body.adh-selected-layout-4 .spfg-list > .spfg-item .spfg-answer-inner :is(p,span,strong,em,li,a,div) {
  color: #f4f7fc !important;
}
body.adh-selected-layout-4 .spfg-list > .spfg-item .spfg-answer-inner :is(p,span,strong,em,li,a,div) {
  background-color: transparent !important;
}

/* v1.8.26 — Layout 04 Smart Post FAQ color isolation.
   Actual plugin DOM: section > .spfg-list > .spfg-item > h3.spfg-question-wrap
   and .spfg-answer > .spfg-answer-inner. No geometry, layout or behavior changes. */
body.single-post.adh-selected-layout-4 .spfg-list .spfg-item,
body.single-post.adh-selected-layout-4 .spfg-list .spfg-item > h3.spfg-question-wrap,
body.single-post.adh-selected-layout-4 .spfg-list .spfg-item > h3.spfg-question-wrap > *,
body.single-post.adh-selected-layout-4 .spfg-list .spfg-item > .spfg-answer,
body.single-post.adh-selected-layout-4 .spfg-list .spfg-item > .spfg-answer > .spfg-answer-inner {
  background: #172433 !important;
  background-color: #172433 !important;
  color: #f4f7fc !important;
  border-color: #35475a !important;
}
body.single-post.adh-selected-layout-4 .spfg-list .spfg-item > h3.spfg-question-wrap :is(button,a,span,strong,em),
body.single-post.adh-selected-layout-4 .spfg-list .spfg-item > .spfg-answer > .spfg-answer-inner :is(p,div,span,li,strong,em,blockquote,a) {
  color: #f4f7fc !important;
}
body.single-post.adh-selected-layout-4 .spfg-list .spfg-item > .spfg-answer > .spfg-answer-inner :is(p,div,span,li,strong,em,blockquote,a) {
  background-color: transparent !important;
}

/* v1.8.27: Layout 04 static Page ONLY — remove full-viewport header and restore readable content. */
body.page.adh-selected-layout-4 > header.adh4-single-header.adh4-root {
  min-height:0!important;height:auto!important;max-height:none!important;
  display:block!important;margin:0!important;padding:0!important;
}
body.page.adh-selected-layout-4 > header.adh4-single-header .adh4-header {min-height:0!important}
body.page.adh-selected-layout-4 #main-content.content-layout {margin-top:0!important;min-height:0!important;align-items:start!important}
body.page.adh-selected-layout-4 #main-content .entry-content :is(p,li,dd,dt,blockquote,figcaption,small,td,th),
body.page.adh-selected-layout-4 #main-content .entry-content :is(ul,ol) li,
body.page.adh-selected-layout-4 #main-content .entry-content :is(.wp-block-paragraph,.wp-block-list,.wp-block-group) :is(p,li,span) {
  color:#e1e7f0!important;opacity:1!important;
}
body.page.adh-selected-layout-4 #main-content .entry-content :is(h1,h2,h3,h4,h5,h6) {color:#f8fafc!important;opacity:1!important}
body.page.adh-selected-layout-4 #main-content .entry-content :is(a,a:visited) {color:#ff7782!important}

/* v1.8.28 — selected Layout 04 static Pages ONLY.
   Reset the full-viewport homepage root when it is reused as the Page header. */
body.page.adh-selected-layout-4 header.adh4-root.adh4-single-header {
  min-height:0 !important;
  height:auto !important;
  max-height:none !important;
  margin-bottom:0 !important;
}
body.page.adh-selected-layout-4 header.adh4-root.adh4-single-header > .adh4-header {
  min-height:0 !important;
  height:auto !important;
}
body.page.adh-selected-layout-4 #main-content.wrap.content-layout {
  margin-top:0 !important;
  padding-top:32px !important;
}
/* Page copy: override inherited dark-on-light typography without affecting
   headings, TOC, buttons, the sidebar, or other layouts. */
body.page.adh-selected-layout-4 #main-content article .entry-content p,
body.page.adh-selected-layout-4 #main-content article .entry-content li,
body.page.adh-selected-layout-4 #main-content article .entry-content li > :is(span,strong,em),
body.page.adh-selected-layout-4 #main-content article .entry-content :is(dd,dt,blockquote,figcaption,td,th) {
  color:#e1e7f0 !important;
  opacity:1 !important;
  -webkit-text-fill-color:#e1e7f0 !important;
}
body.page.adh-selected-layout-4 #main-content article .entry-content :is(p,li,blockquote) a {
  color:#ff8993 !important;
  -webkit-text-fill-color:#ff8993 !important;
}

/* v1.8.31 — Layout 04 only: page introductory callout panel.
   Target the first content block, including a nested Gutenberg/HTML wrapper.
   Do not style the TOC, headings, page geometry, sidebar or other layouts. */
body.page.adh-selected-layout-4 #main-content article .entry-content > :first-child:not(:is(#toc_container,#ez-toc-container,.ez-toc-container,.lwptoc,.toc_container,.wp-block-table-of-contents)),
body.page.adh-selected-layout-4 #main-content article .entry-content > :first-child:not(:is(#toc_container,#ez-toc-container,.ez-toc-container,.lwptoc,.toc_container,.wp-block-table-of-contents)) > :is(p,div,.wp-block-group) {
  background: #172433 !important;
  background-color: #172433 !important;
  color: #e1e7f0 !important;
  -webkit-text-fill-color: #e1e7f0 !important;
}
body.page.adh-selected-layout-4 #main-content article .entry-content > :first-child:not(:is(#toc_container,#ez-toc-container,.ez-toc-container,.lwptoc,.toc_container,.wp-block-table-of-contents)) :is(p,span,strong,em,a) {
  color: #e1e7f0 !important;
  -webkit-text-fill-color: #e1e7f0 !important;
}
/* TOC links inherit the dark panel's light typography, not generic Page pink. */
body.page.adh-selected-layout-4 #main-content article .entry-content :is(#ez-toc-container,#toc_container,.ez-toc-container,.lwptoc,.lwptoc_i,.toc_container,.wp-block-table-of-contents) :is(a,a:visited,a span,li,li span) {
  color:#edf3fa !important;
  -webkit-text-fill-color:#edf3fa !important;
}

/* v1.8.32 — Layout 04 Page introductory callout: remove blue left accent only. */
body.page.adh-selected-layout-4 #main-content article .entry-content > :first-child:not(:is(#toc_container,#ez-toc-container,.ez-toc-container,.lwptoc,.toc_container,.wp-block-table-of-contents)) {
  border-left-color: #172433 !important;
  border-inline-start-color: #172433 !important;
}

/* v1.8.33 — static Pages on selected Layout 04 only.
   Flat article-like surface; preserve page structure, typography and TOC functionality. */
body.page.adh-selected-layout-4 #main-content article .entry-content > :first-child:not(:is(#toc_container,#ez-toc-container,.ez-toc-container,.lwptoc,.toc_container,.wp-block-table-of-contents)),
body.page.adh-selected-layout-4 #main-content article .entry-content > :first-child:not(:is(#toc_container,#ez-toc-container,.ez-toc-container,.lwptoc,.toc_container,.wp-block-table-of-contents)) > :is(p,div,.wp-block-group) {
  background: #111c27 !important;
  background-color: #111c27 !important;
  border-left: 0 !important;
  border-inline-start: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}
body.page.adh-selected-layout-4 #main-content article .entry-content > :first-child:not(:is(#toc_container,#ez-toc-container,.ez-toc-container,.lwptoc,.toc_container,.wp-block-table-of-contents))::before,
body.page.adh-selected-layout-4 #main-content article .entry-content > :first-child:not(:is(#toc_container,#ez-toc-container,.ez-toc-container,.lwptoc,.toc_container,.wp-block-table-of-contents))::after {
  border-left: 0 !important;
  border-inline-start: 0 !important;
  box-shadow: none !important;
}
body.page.adh-selected-layout-4 #main-content article .entry-content :is(#ez-toc-container,#toc_container,.ez-toc-container,.lwptoc,.lwptoc_i,.toc_container,.wp-block-table-of-contents) {
  background: #111c27 !important;
  background-color: #111c27 !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

/* v1.8.35: undo the broad v1.8.34 first-child border (it encompassed
   the entire Page, including TOC and sections). Only the introduction paragraph
   receives the restored neutral outline. Other page content is untouched. */
body.page.adh-selected-layout-4 #main-content article .entry-content > :first-child:not(:is(#toc_container,#ez-toc-container,.ez-toc-container,.lwptoc,.toc_container,.wp-block-table-of-contents)) {
  border-left: 0 !important;
  border-inline-start: 0 !important;
}
body.page.adh-selected-layout-4 #main-content article .entry-content > p:first-child,
body.page.adh-selected-layout-4 #main-content article .entry-content > :first-child > p:first-child {
  border: 1px solid #cbd5e1 !important;
  border-radius: 14px !important;
  overflow: hidden;
}

/* v1.8.36 — Restore the missing left edge on the introduction PARAGRAPH.
   The earlier first-child reset has higher specificity than the generic
   border shorthand; match that specificity and explicitly restore the edge.
   Never put a border on the page-wide first-child wrapper. */
body.page.adh-selected-layout-4 #main-content article .entry-content > p:first-child:not(:is(#toc_container,#ez-toc-container,.ez-toc-container,.lwptoc,.toc_container,.wp-block-table-of-contents)),
body.page.adh-selected-layout-4 #main-content article .entry-content > :first-child:not(:is(#toc_container,#ez-toc-container,.ez-toc-container,.lwptoc,.toc_container,.wp-block-table-of-contents)) > p:first-child {
  border: 1px solid #cbd5e1 !important;
  border-left: 1px solid #cbd5e1 !important;
  border-inline-start: 1px solid #cbd5e1 !important;
  border-radius: 14px !important;
}
