/*
Theme Name: AutoDriveHub Premium
Theme URI: https://wordpress.org/themes/
Author: Independent Theme Design
Description: Original automotive editorial WordPress theme with a responsive research hub, custom hero, article layouts and accessible navigation.
Version: 1.8.18
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: autodrivehub
*/
:root{--navy:#062c67;--navy2:#081f48;--blue:#0767e8;--purple:#6337d8;--ink:#101a32;--muted:#596780;--line:#e5eaf2;--soft:#f3f7fd;--shadow:0 4px 20px rgba(12,35,72,.07)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,Helvetica,sans-serif;color:var(--ink);background:#fff;font-size:15px;line-height:1.55}a{color:inherit;text-decoration:none}a:hover{color:var(--blue)}img{max-width:100%;height:auto}button,input{font:inherit}button{cursor:pointer}.wrap{max-width:1440px;margin:auto;padding:0 34px}.site-header{background:linear-gradient(95deg,#082e69,#004bb1);color:white;position:relative;z-index:10}.header-inner{display:flex;align-items:center;justify-content:space-between;min-height:72px;gap:24px}.brand{display:flex;align-items:center;gap:11px;color:white;min-width:225px}.brand:hover{color:white}.brand-symbol{font-size:37px;line-height:1}.brand strong{font-size:27px;letter-spacing:-1px;line-height:1}.brand strong span{color:#50c9ff}.brand small{display:block;font-size:11px;letter-spacing:.05px;opacity:.9}.site-header .custom-logo{max-width:210px;max-height:55px;width:auto}.nav-main ul{list-style:none;display:flex;align-items:center;gap:25px;margin:0;padding:0}.nav-main a{font-size:14px;font-weight:750;color:white;white-space:nowrap}.nav-main a:hover{color:#cceaff}.header-actions{display:flex;align-items:center;gap:15px}.ai-pill,.primary-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:24px;color:white;background:linear-gradient(110deg,#006dff,#6632cf);padding:11px 18px;font-weight:800;white-space:nowrap}.ai-pill em{font-size:10px;background:#fff;color:#5932bd;border-radius:5px;padding:2px 5px;margin-left:7px;font-style:normal}.header-search{font-size:23px}.menu-toggle{display:none;background:none;color:white;border:1px solid #ffffff50;border-radius:8px;padding:7px 10px;font-size:21px}.hero{background:linear-gradient(110deg,#0b68c2 0%,#0b89e0 45%,#0066d3 100%);position:relative;color:#fff;min-height:260px;overflow:hidden}.hero:before,.hero:after{content:'';position:absolute;bottom:0;top:0;width:31%;background-size:cover;background-position:center;pointer-events:none}.hero:before{left:0;background-image:linear-gradient(90deg,transparent,#0677d488),url('assets/images/hero-left.webp')}.hero:after{right:0;background-image:linear-gradient(270deg,transparent,#0774ce55),url('assets/images/hero-right.webp');background-position:right center}.hero-inner{position:relative;z-index:1;text-align:center;padding-top:14px;padding-bottom:29px}.hero h1{font-size:clamp(30px,4vw,53px);line-height:1.12;letter-spacing:-1.8px;margin:0 0 4px;font-weight:850;text-shadow:0 1px 5px #17477c35}.hero-sub{font-size:17px;margin:0 0 15px}.hero-search{max-width:880px;margin:auto;display:flex;align-items:center;gap:14px;background:#fff;border-radius:38px;padding:7px 8px 7px 19px;box-shadow:0 6px 20px #102c6670}.hero-search span{font-size:25px;color:#6837e4}.hero-search input{flex:1;border:0;outline:0;min-width:0;color:#26334e;padding:8px 0}.hero-search button{border:0;border-radius:25px;background:linear-gradient(110deg,#006dff,#6330c7);color:white;font-weight:800;padding:11px 27px}.hero-links{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:16px}.hero-links a{background:#f9fcffed;color:#152341;border-radius:25px;padding:8px 17px;font-weight:750;font-size:13px;box-shadow:0 2px 6px #14467a26}.hero-links a:hover{background:#e8f2ff}.section{padding-top:30px;padding-bottom:16px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.section-heading h2,.side-box h2{font-size:25px;letter-spacing:-.7px;line-height:1.2;margin:0}.section-heading>a,.side-heading>a{color:#005fe1;font-size:13px;font-weight:800}.category-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:9px}.category-card{display:flex;align-items:center;flex-direction:column;justify-content:flex-end;background:linear-gradient(#f5faff,#e7f4ff);border-radius:12px;padding:5px 3px 10px;min-height:96px;transition:transform .2s,box-shadow .2s}.category-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.category-card img{width:100%;height:62px;object-fit:contain}.category-card strong{font-size:13px;font-weight:800}.editorial-grid{display:grid;grid-template-columns:minmax(0,2.15fr) minmax(315px,1fr);gap:30px;padding-top:12px}.top-stories{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.9fr);gap:18px}.featured-story{position:relative;overflow:hidden;min-height:322px;border-radius:13px;background:#0e2942}.featured-story img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.featured-story:after{content:'';position:absolute;inset:25% 0 0;background:linear-gradient(transparent,#000c)}.featured-copy{position:absolute;bottom:20px;left:20px;right:20px;z-index:1;color:white}.featured-copy h3{font-size:25px;line-height:1.16;margin:8px 0;letter-spacing:-.6px}.featured-copy small{opacity:.94}.tag{position:absolute;top:13px;left:13px;background:#0069e8;color:white;padding:4px 9px;border-radius:6px;font-size:11px;font-weight:850;z-index:1}.mini-stories{display:flex;flex-direction:column;gap:14px}.mini-story{display:grid;grid-template-columns:42% 1fr;gap:12px;min-height:95px;border-bottom:1px solid var(--line);padding-bottom:11px}.mini-story:last-child{border:0}.mini-story img{width:100%;height:84px;object-fit:cover;border-radius:9px}.mini-story h3{font-size:14px;line-height:1.33;margin:0 0 8px;font-weight:850}.mini-story small,.post-meta{color:#64718a;font-size:12px}.side-box{border:1px solid #e3e9f2;box-shadow:var(--shadow);border-radius:12px;padding:16px 17px;margin-bottom:17px}.side-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:13px}.side-box h2{font-size:23px}.side-story{display:grid;grid-template-columns:41% 1fr;gap:13px;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid var(--line)}.side-story:last-child{margin-bottom:0;padding-bottom:0;border:0}.side-story img{width:100%;height:93px;object-fit:cover;border-radius:8px}.side-story h3{font-size:13px;line-height:1.4;margin:0 0 7px}.compare-banner{margin-top:18px;border-radius:12px;background:linear-gradient(110deg,#eaf2ff,#eff0fc);display:flex;align-items:center;gap:20px;padding:12px}.compare-banner img{width:33%;height:95px;object-fit:cover;border-radius:9px}.compare-banner h3{margin:0;font-size:20px}.compare-banner p{margin:2px 0 0;font-size:13px}.compare-banner .primary-btn{margin-left:auto;font-size:12px}.more-posts{padding-top:22px;padding-bottom:50px}.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.post-card{border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:var(--shadow)}.post-card img{width:100%;height:180px;object-fit:cover}.post-card-content{padding:16px}.post-card h3{margin:4px 0 9px;font-size:17px;line-height:1.35}.post-card p{font-size:13px;color:var(--muted)}.site-footer{background:#08244f;color:#d7e6fc;padding:36px 0}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px}.site-footer h3{color:white}.site-footer a{color:#d7e6fc}.footer-bottom{margin-top:26px;border-top:1px solid #ffffff35;padding-top:15px;font-size:12px}.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:40px;padding-top:35px;padding-bottom:60px}.entry-title{font-size:clamp(30px,3.3vw,48px);line-height:1.14;letter-spacing:-1.2px;margin:0 0 12px}.entry-content{font-size:17px;line-height:1.85;overflow-wrap:anywhere}.entry-content img{border-radius:12px}.entry-content h2{font-size:29px;line-height:1.3}.entry-content a{color:#0068e6;text-decoration:underline}.entry-content table{display:block;overflow-x:auto}.article-image{width:100%;max-height:480px;object-fit:cover;border-radius:13px;margin:20px 0}.archive-header{padding:32px 0 8px}.archive-header h1{font-size:34px;margin:0}.pagination{margin:30px 0}.pagination .page-numbers{display:inline-block;padding:8px 13px;border:1px solid var(--line);border-radius:6px}.pagination .current{background:var(--blue);color:#fff}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}.screen-reader-text:focus{position:static;width:auto;height:auto;clip:auto}.widget{margin-bottom:25px}.wp-block-image img{height:auto}@media(max-width:1200px){.nav-main ul{gap:13px}.nav-main a{font-size:12px}.category-grid{grid-template-columns:repeat(5,1fr)}.brand{min-width:auto}.brand strong{font-size:23px}}@media(max-width:900px){.wrap{padding:0 20px}.menu-toggle{display:block}.nav-main{display:none;position:absolute;top:72px;left:0;right:0;background:#082d65;padding:18px 25px;box-shadow:0 10px 20px #0003}.nav-main.is-open{display:block}.nav-main ul{display:block}.nav-main li{margin:10px 0}.nav-main a{font-size:15px}.header-actions .ai-pill{display:none}.editorial-grid,.content-layout{grid-template-columns:1fr}.sidebar{display:grid;grid-template-columns:1fr 1fr;gap:16px}.side-box{margin:0}.hero:before,.hero:after{opacity:.6}.footer-grid{grid-template-columns:1fr 1fr}}@media(max-width:620px){.wrap{padding:0 15px}.brand strong{font-size:20px}.brand small{font-size:9px}.brand-symbol{font-size:27px}.header-search{display:none}.hero-inner{padding:31px 0}.hero h1{letter-spacing:-.8px}.hero-sub{font-size:13px}.hero-search{padding:6px 6px 6px 11px}.hero-search input{font-size:12px}.hero-search button{padding:10px 13px;font-size:12px}.hero-links{gap:7px}.hero-links a{font-size:11px;padding:7px 11px}.category-grid{grid-template-columns:repeat(3,1fr)}.category-card{min-height:90px}.section-heading h2{font-size:22px}.top-stories{grid-template-columns:1fr}.featured-story{min-height:310px}.mini-stories{display:grid;grid-template-columns:1fr}.sidebar{display:block}.side-box{margin-bottom:16px}.compare-banner{flex-wrap:wrap}.compare-banner img{width:100%}.compare-banner .primary-btn{margin-left:0}.post-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.entry-content{font-size:16px}}

/* v1.1: article images must originate from each WordPress post */
.adh-image-placeholder{background:linear-gradient(135deg,#e7edf6,#cfdcec);color:#41536d;min-height:95px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:12px;font-weight:700;width:100%;height:100%}.featured-story>.adh-image-placeholder,.featured-image-link .adh-image-placeholder{position:absolute;inset:0}.featured-image-link img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.compare-page,.category-directory{padding-top:42px;padding-bottom:80px;min-height:65vh}.compare-page h1,.category-directory h1{font-size:clamp(28px,3.5vw,44px);margin:0 0 12px}.compare-form{display:flex;flex-wrap:wrap;align-items:end;gap:18px;padding:22px;background:#eef4fd;border-radius:16px;margin:25px 0}.compare-form label{flex:1;min-width:230px;font-weight:700}.compare-form select{display:block;width:100%;padding:13px;border:1px solid #cad5e7;border-radius:9px;background:white;margin-top:7px}.comparison-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.comparison-card{border:1px solid #dbe4f0;border-radius:16px;padding:20px;overflow:hidden}.comparison-card>a:first-child{display:block;height:260px;overflow:hidden;border-radius:10px}.comparison-card>a:first-child img{width:100%;height:100%;object-fit:cover}.comparison-card dl{display:grid;grid-template-columns:1fr 1.4fr;border-top:1px solid #dbe4f0}.comparison-card dt,.comparison-card dd{padding:12px 5px;border-bottom:1px solid #e8edf4;margin:0}.comparison-card dt{font-weight:750}.category-directory-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.directory-card{padding:25px;border:1px solid #dbe4f0;border-radius:12px;display:flex;flex-direction:column;gap:8px}.directory-card small{color:#63728c}@media(max-width:700px){.comparison-grid{grid-template-columns:1fr}.category-directory-grid{grid-template-columns:repeat(2,1fr)}}

/* v1.2 — domain-native branding, no emoji and no shopping CTA row */
.brand-mark{display:flex;align-items:center;justify-content:center;flex:0 0 auto}.brand-wordmark{min-width:0;display:block}.brand-wordmark strong{display:block;font-size:clamp(18px,2vw,27px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:270px}.brand-wordmark small{max-width:270px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hero-inner{padding-bottom:38px}.header-actions .ai-pill{display:inline-flex}.brand{min-width:0}@media(max-width:900px){.header-actions .ai-pill{display:inline-flex;font-size:12px;padding:8px 12px}}@media(max-width:620px){.brand-wordmark strong{max-width:160px;font-size:17px}.brand-wordmark small{max-width:160px;font-size:9px}.brand-mark svg{width:32px;height:32px}.header-actions .ai-pill{font-size:11px;padding:7px 9px}}

/* v1.3: prominent comparison and conditional category cards */
.compare-spotlight{background:linear-gradient(115deg,#ffca46,#ff9d25)!important;color:#15203c!important;box-shadow:0 3px 0 #a76810,0 0 0 3px #ffffff22;font-weight:900!important;gap:7px}
.compare-spotlight:hover{color:#091e46!important;filter:brightness(1.07);transform:translateY(-1px)}
.compare-new{font-size:9px;font-weight:900;letter-spacing:.5px;border-radius:5px;padding:3px 5px;background:#132d5d;color:#fff}
.hero-compare-link{display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;margin:17px auto 0;padding:11px 20px;border:2px solid #ffffffb0;border-radius:999px;background:#ffffffee;color:#0b3472;font-size:14px;box-shadow:0 4px 14px #001b4766}
.hero-compare-link strong{font-weight:900}.hero-compare-link span:last-child{color:#075bd0;font-weight:800}.hero-compare-link:hover{color:#075bd0;background:#fff}
.adh-monogram svg{filter:drop-shadow(0 2px 4px #0002)}
@media(max-width:620px){.header-actions .compare-spotlight{display:inline-flex!important;font-size:11px;padding:7px 9px}.compare-new{display:none}.hero-compare-link{font-size:12px;padding:9px 12px;gap:6px}}

/* v1.4: readable article/sidebar/search/compare layouts */
body{overflow-x:hidden}
.wrap{width:100%;max-width:1440px}
.header-inner{min-width:0;gap:18px}
.brand{min-width:0;flex:0 1 auto;max-width:390px}
.brand-wordmark{min-width:0;display:block}
.brand-wordmark strong{font-size:clamp(18px,2vw,27px);overflow-wrap:anywhere;letter-spacing:-.65px}
.brand-wordmark small{font-size:12px;line-height:1.3;opacity:.85}
.nav-main{min-width:0}
.nav-main ul{gap:clamp(9px,1.25vw,21px)}
.nav-main a{font-size:clamp(12px,.95vw,14px)}
.header-actions{flex-shrink:0}
.content-layout{grid-template-columns:minmax(0,1fr) minmax(270px,315px);gap:clamp(22px,3vw,45px)}
.content-layout>div:first-child,.comparison-card,.side-story-body{min-width:0}
.archive-header{padding:34px 0 12px}
.archive-header h1{font-size:clamp(27px,3vw,39px);overflow-wrap:anywhere}
.archive-header .hero-search{margin:20px 0 0;max-width:720px;border:1px solid #dbe5f2;box-shadow:0 5px 17px #193a6820}
.article-sidebar .side-box{padding:21px;border-radius:15px;background:#fff}
.article-sidebar .side-heading h2{font-size:21px}
.article-sidebar .side-story{grid-template-columns:104px minmax(0,1fr);gap:12px;align-items:start;padding:14px 0;margin:0}
.article-sidebar .side-story:first-of-type{padding-top:2px}
.article-sidebar .side-story-image{display:block;min-width:0;aspect-ratio:4/3;overflow:hidden;border-radius:9px;background:#eaf1fa}
.article-sidebar .side-story-image img,.article-sidebar .side-story-image .adh-image-placeholder{width:100%;height:100%;object-fit:cover;min-height:0}
.article-sidebar .side-story h3{font-size:14px;line-height:1.42;font-weight:750;margin:0 0 7px;overflow-wrap:break-word}
.article-sidebar .side-story small{font-size:11px;color:#6a778b}
.article-sidebar .widget{border:1px solid #e3e9f2;border-radius:15px;padding:20px;background:#fff;margin-bottom:17px}
.article-sidebar .widget h3{font-size:20px;margin:0 0 12px}
.article-sidebar .widget ul{list-style:none;padding:0;margin:0}
.article-sidebar .widget li{border-bottom:1px solid #e9edf4;padding:9px 0;line-height:1.45}
.article-sidebar .widget li:last-child{border-bottom:0}
.article-sidebar input[type=search],.article-sidebar input[type=text]{max-width:100%;width:100%;border:1px solid #d8e1ef;border-radius:9px;padding:11px}
.article-sidebar button,.article-sidebar input[type=submit]{background:#075fe2;color:white;border:0;border-radius:9px;padding:10px 16px;margin-top:8px}
.comparison-card{padding:clamp(15px,2vw,24px)}
.comparison-card h2{font-size:clamp(20px,2vw,26px);line-height:1.3;overflow-wrap:anywhere}
.comparison-card dl{grid-template-columns:minmax(100px,.8fr) minmax(0,1.2fr)}
.comparison-card dd{overflow-wrap:anywhere}
.compare-note{font-size:14px;background:#eef5ff;color:#345075;padding:13px;border-radius:9px}
.adh-unavailable{color:#7a8798;font-style:italic}
@media(max-width:1100px){.brand{max-width:290px}.brand-wordmark strong{font-size:19px}.nav-main ul{gap:10px}.header-inner{gap:11px}}
@media(max-width:900px){.content-layout{grid-template-columns:minmax(0,1fr)}.article-sidebar{display:block}.article-sidebar .side-box{margin:0}.brand{max-width:min(60vw,390px)}.nav-main{min-width:auto}}
@media(max-width:620px){.brand-wordmark strong{font-size:18px}.brand-wordmark small{font-size:10px}.archive-header .hero-search{margin-top:15px}.comparison-card dl{grid-template-columns:minmax(85px,.85fr) minmax(0,1.15fr)}.comparison-card dt,.comparison-card dd{font-size:13px;padding:10px 5px}.article-sidebar .side-story{grid-template-columns:100px minmax(0,1fr)}}

/* v1.5 minimalist domain-aware footer and native automotive mark */
.adh-simple-footer{padding:22px 0;text-align:center;background:#09244e;color:#e5eefc}
.adh-simple-footer p{margin:0;font-size:13px;letter-spacing:.1px}
.adh-auto-logo{display:inline-flex;flex:none;align-items:center;justify-content:center}
.adh-auto-logo svg{display:block}

.adh-ford-photo{display:flex;align-items:center;justify-content:center;overflow:hidden;border:0;background:transparent;flex-shrink:0;width:72px;height:56px}.adh-ford-photo img{display:block;width:72px;height:56px;object-fit:cover;object-position:center;background:transparent;border-radius:5px}

/* v1.6.1: accessible, responsive next/previous article cards */
.adh-post-navigation{margin:44px 0 30px;clear:both}
.adh-post-navigation-heading{font-size:clamp(21px,2vw,27px);line-height:1.3;margin:0 0 18px;color:#102548;font-weight:800}
.adh-post-navigation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.adh-post-nav-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #dce6f3;border-radius:16px;background:#fff;text-decoration:none!important;color:#102548!important;box-shadow:0 4px 16px rgba(17,49,95,.06);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.adh-post-nav-card:hover,.adh-post-nav-card:focus-visible{transform:translateY(-2px);border-color:#0d64df;box-shadow:0 10px 24px rgba(17,49,95,.13)}
.adh-post-nav-card:focus-visible{outline:3px solid #ffc244;outline-offset:2px}
.adh-post-nav-image{display:block;height:158px;background:#edf3fa;overflow:hidden}
.adh-post-nav-image img,.adh-post-nav-image .adh-image-placeholder{display:block;width:100%;height:100%;object-fit:cover;min-height:0}
.adh-post-nav-body{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:17px 18px 19px;min-width:0}
.adh-post-nav-label{display:inline-flex;align-items:center;font-size:11px;letter-spacing:.065em;text-transform:uppercase;font-weight:850;color:#075fd8}
.adh-post-nav-title{font-size:clamp(15px,1.4vw,18px);font-weight:800;line-height:1.42;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.adh-post-nav-date{font-size:12px;color:#677892}
@media(max-width:650px){.adh-post-navigation{margin-top:30px}.adh-post-navigation-grid{grid-template-columns:1fr;gap:12px}.adh-post-nav-card{flex-direction:row;align-items:stretch}.adh-post-nav-image{height:auto;min-height:112px;flex:0 0 116px}.adh-post-nav-body{padding:12px;gap:5px}.adh-post-nav-title{font-size:14px;-webkit-line-clamp:3}}
@media(prefers-reduced-motion:reduce){.adh-post-nav-card{transition:none}.adh-post-nav-card:hover{transform:none}}


/* v1.6.4: restore full-width 3-column stories; tighten sidebar instead */
.editorial-grid .sidebar{align-self:start;min-width:0}
.editorial-grid .sidebar .side-box{padding:13px 14px;margin-bottom:11px}
.editorial-grid .sidebar .side-heading{padding-bottom:9px;margin-bottom:9px}
.editorial-grid .sidebar .side-heading h2{font-size:19px;line-height:1.2}
.editorial-grid .sidebar .side-story{grid-template-columns:96px minmax(0,1fr);gap:10px;padding:8px 0;margin:0;align-items:start}
.editorial-grid .sidebar .side-story img{height:70px;object-fit:cover}
.editorial-grid .sidebar .side-story h3{font-size:12.5px;line-height:1.35;margin:0 0 5px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.editorial-grid .sidebar .side-story small{font-size:11px}
.more-posts .post-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:900px){.editorial-grid .sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
@media(max-width:620px){.editorial-grid .sidebar{display:block}.more-posts .post-grid{grid-template-columns:1fr}}

/* v1.6.5: make sidebar genuinely shorter, not just smaller text */
@media(min-width:901px){
.editorial-grid{align-items:start}
.editorial-grid .sidebar{align-self:start;display:flex;flex-direction:column;gap:10px}
.editorial-grid .sidebar .side-box{padding:12px 14px;margin:0}
.editorial-grid .sidebar .side-heading{margin-bottom:8px;padding-bottom:8px}
.editorial-grid .sidebar .side-heading h2{font-size:18px}
.editorial-grid .sidebar .side-story{grid-template-columns:86px minmax(0,1fr);gap:10px;padding:0;border:0;margin:0;min-height:64px}
.editorial-grid .sidebar .side-story img{height:64px;border-radius:7px}
.editorial-grid .sidebar .side-story h3{font-size:12px;line-height:1.3;-webkit-line-clamp:2;margin-bottom:4px}
.editorial-grid .sidebar .side-story small{font-size:10px}
}


/* v1.7.3: clean background asset only; all text and controls are live WordPress HTML. */
body.home .hero{
  background-image:linear-gradient(90deg,rgba(0,19,45,.32),rgba(0,22,49,.14) 55%,rgba(0,0,0,.04)),url('assets/images/hero-river-clean.webp');
  background-color:#075388;background-position:center center;background-size:cover;
  min-height:490px;display:flex;align-items:center;
}
body.home .hero::before,body.home .hero::after{content:none!important;display:none!important}
body.home .hero-inner{position:relative;z-index:1;width:100%;max-width:1440px;margin:0 auto;padding:48px 32px 52px;text-align:center}
body.home .hero h1{position:static;visibility:visible;pointer-events:auto;font-size:clamp(34px,4.1vw,68px);line-height:1.12;letter-spacing:-1.5px;margin:0 auto 12px;text-shadow:0 2px 12px #001a36a8}
body.home .hero-sub{position:static;visibility:visible;pointer-events:auto;font-size:clamp(14px,1.55vw,22px);margin:0 auto 30px;text-shadow:0 2px 9px #001a36c0}
body.home .hero-search{position:relative;inset:auto;width:min(100%,1100px);max-width:1100px;height:auto;min-height:76px;margin:0 auto;padding:9px 10px 9px 24px;display:flex;align-items:center;gap:16px;background:#fff;border:0;border-radius:999px;box-shadow:0 8px 25px #001f4766;overflow:hidden}
body.home .hero-search span{font-size:27px;flex:none}
body.home .hero-search input{min-width:0;flex:1;height:48px;padding:5px 0;font-size:clamp(14px,1.25vw,19px);background:transparent}
body.home .hero-search button{position:static;flex:none;height:56px;min-width:145px;padding:0 22px;border-radius:999px;font-size:19px;white-space:nowrap}
body.home .hero-compare-link{position:relative;inset:auto;width:fit-content;max-width:100%;height:auto;min-height:58px;margin:22px auto 0;padding:12px 24px;display:inline-flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;white-space:normal;border:1px solid #fff8;background:#fffffff2;color:#0b3472;border-radius:999px;box-shadow:0 6px 19px #001f4760;font-size:clamp(13px,1.1vw,17px)}
body.home .hero-compare-link strong,body.home .hero-compare-link span{white-space:normal}
@media(max-width:900px){
 body.home .hero{min-height:420px;background-position:64% center}
 body.home .hero-inner{padding:52px 20px 45px}
 body.home .hero h1{font-size:clamp(30px,5vw,49px)}
 body.home .hero-search{min-height:66px;padding:7px 8px 7px 17px;gap:9px}
 body.home .hero-search button{height:50px;min-width:112px;font-size:15px}
 body.home .hero-sub{margin-bottom:25px}
}
@media(max-width:620px){
 body.home .hero{min-height:410px;background-position:69% center}
 body.home .hero-inner{padding:43px 15px 39px}
 body.home .hero h1{font-size:clamp(29px,8vw,42px);letter-spacing:-.7px}
 body.home .hero-sub{font-size:13px;margin-bottom:22px}
 body.home .hero-search{width:100%;min-height:56px;padding:5px 5px 5px 12px;gap:7px}
 body.home .hero-search span{font-size:21px}
 body.home .hero-search input{height:42px;font-size:12px}
 body.home .hero-search button{height:45px;min-width:76px;padding:0 10px;font-size:12px}
 body.home .hero-compare-link{margin-top:18px;padding:11px 14px;font-size:12px;gap:6px;min-height:48px}
}

/* v1.7.4: populate the existing homepage sidebar with real posts; no fake filler. */
.editorial-grid .sidebar .side-story{grid-template-columns:94px minmax(0,1fr);gap:11px;min-height:72px;padding:10px 0;border-bottom:1px solid var(--line)}
.editorial-grid .sidebar .side-story:last-child{border-bottom:0;padding-bottom:0}
.editorial-grid .sidebar .side-story img{height:72px;width:94px;object-fit:cover}
.editorial-grid .sidebar .side-story h3{font-size:12.5px;line-height:1.35;-webkit-line-clamp:3}
.editorial-grid .sidebar .side-box{padding:15px 16px}
@media(max-width:900px){.editorial-grid .sidebar .side-story{grid-template-columns:90px minmax(0,1fr)}}

/* v1.7.5: retain WordPress post tags but hide them on the article page. */
.single-post .adh-hidden-post-tags{display:none!important}

/* Saved Smart Post FAQ fallback; scoped to single articles only. */
.single-post .adh-faq-fallback{margin:36px 0;padding:22px;border:1px solid #dce6f3;border-radius:14px;background:#fff}
.single-post .adh-faq-fallback h2{margin:0 0 18px;font-size:clamp(22px,2vw,29px)}
.single-post .adh-faq-fallback-item{border-top:1px solid #e2e8f0;padding:14px 0}
.single-post .adh-faq-fallback-item summary{cursor:pointer;font-weight:750;line-height:1.45;color:#102548}
.single-post .adh-faq-fallback-item>div{padding:12px 0 0;color:#334155}

/* Compare-only: compact aligned table, preserves the existing theme elsewhere. */
/* Compare Cars v1.7.14: scoped, responsive, aligned specification matrix. */
.adh-compare-v14 .adh-compare-head{display:grid;grid-template-columns:minmax(140px,.8fr) repeat(2,minmax(0,1fr));gap:14px;align-items:end;margin-top:24px}
.adh-compare-v14 .adh-compare-label{font-weight:800;padding:12px}
.adh-compare-v14 .adh-compare-vehicle{min-width:0;border:1px solid #dbe4f0;border-radius:13px;padding:12px}
.adh-compare-v14 .adh-compare-photo{display:block;height:180px;overflow:hidden;border-radius:9px;background:#eef4fd}
.adh-compare-v14 .adh-compare-photo img{width:100%;height:100%;object-fit:cover}
.adh-compare-v14 .adh-compare-vehicle h2{font-size:clamp(17px,1.7vw,24px);line-height:1.3;margin:12px 0 7px;overflow-wrap:anywhere}
.adh-compare-v14 .adh-compare-original{font-size:14px;font-weight:650}
.adh-compare-v14 .adh-compare-summary{background:#eef4fd;border-radius:10px;padding:15px;margin:18px 0}
.adh-compare-v14 .adh-compare-table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:15px}
.adh-compare-v14 .adh-compare-table th,.adh-compare-v14 .adh-compare-table td{width:36%;text-align:left;padding:14px 12px;vertical-align:top;border-bottom:1px solid #dce4f0;overflow-wrap:anywhere}
.adh-compare-v14 .adh-compare-table th:first-child{width:28%}
.adh-compare-v14 .adh-compare-table thead{background:#eaf1fb}
.adh-compare-v14 .adh-compare-table tbody tr:nth-child(even){background:#f6f8fc}
.adh-compare-v14 .adh-compare-table tbody tr.adh-compare-different{background:#fff8eb}
.adh-compare-v14 .adh-compare-table td small{display:block;color:#61718a;font-size:12px;margin-top:4px}
.adh-compare-v14 .adh-compare-flag{display:block;font-size:11px;font-weight:700;color:#66788f;margin-top:5px}
.adh-compare-v14 .adh-compare-missing{color:#6b7890;font-style:italic}
.adh-compare-v14 .adh-compare-disclaimer{font-size:13px;color:#61718a;line-height:1.6;margin-top:16px}
@media(max-width:650px){.adh-compare-v14 .adh-compare-head{grid-template-columns:repeat(2,minmax(0,1fr))}.adh-compare-v14 .adh-compare-label{display:none}.adh-compare-v14 .adh-compare-photo{height:115px}.adh-compare-v14 .adh-compare-table{font-size:12px}.adh-compare-v14 .adh-compare-table th,.adh-compare-v14 .adh-compare-table td{padding:10px 6px}.adh-compare-v14 .adh-compare-vehicle{padding:8px}}


/* v1.7.23: only homepage; use former Compare Cars empty space for existing latest posts. */
body.home .editorial-grid > div:first-child{min-width:0}
body.home .adh-home-inline-latest{margin-top:26px;padding:0}
body.home .adh-home-inline-latest .post-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
body.home .adh-home-inline-latest .section-heading{margin-bottom:15px}
@media(max-width:620px){
 body.home .adh-home-inline-latest .post-grid{grid-template-columns:1fr}
}

/* v1.7.24: homepage sidebar alignment is measured against real content, desktop only. */
@media(min-width:901px){body.home .editorial-grid > aside.sidebar{margin-top:0;position:relative;top:0}body.home .editorial-grid > aside.sidebar > .side-box:nth-child(2){margin-top:0}}
/* Theme color tokens: unchanged blue default; preset colors override only UI accents. */
body{--adh-accent:var(--blue);--adh-accent-dark:var(--navy);--adh-accent-soft:#eaf2ff;--adh-accent-bright:#50c9ff}
.site-header{background:linear-gradient(95deg,var(--adh-accent-dark),var(--adh-accent))}
.brand strong span{color:var(--adh-accent-bright)}
.ai-pill,.primary-btn,.hero-search button{background:linear-gradient(110deg,var(--adh-accent),var(--adh-accent-dark))}
.hero{background:linear-gradient(110deg,var(--adh-accent-dark),var(--adh-accent) 65%,var(--adh-accent-dark))}
.hero:before{background-image:linear-gradient(90deg,transparent,var(--adh-accent-dark)),url('assets/images/hero-left.webp')}
.hero:after{background-image:linear-gradient(270deg,transparent,var(--adh-accent-dark)),url('assets/images/hero-right.webp')}
.tag,.pagination .current{background:var(--adh-accent)}
.section-heading>a,.side-heading>a,.entry-content a{color:var(--adh-accent)}
.hero-search span{color:var(--adh-accent)}
.compare-banner{background:var(--adh-accent-soft)}
@media(max-width:900px){.nav-main{background:var(--adh-accent-dark)}}

/* v1.7.25: coherent one-click palette, limited to UI chrome; original Blue remains unchanged. */
body{--adh-accent:var(--blue);--adh-accent-dark:var(--navy);--adh-accent-soft:#eaf2ff;--adh-accent-bright:#50c9ff}
.site-header{background:linear-gradient(95deg,var(--adh-accent-dark),var(--adh-accent))}
.nav-main a:hover,.nav-main a:focus-visible{color:var(--adh-accent-bright)}
.ai-pill,.primary-btn,.hero-search button{background:linear-gradient(110deg,var(--adh-accent),var(--adh-accent-dark))}
.tag,.pagination .current{background:var(--adh-accent)}
.section-heading>a,.side-heading>a,.entry-content a,.hero-compare-link span:last-child,.hero-compare-link:hover{color:var(--adh-accent)}
.hero-search span{color:var(--adh-accent)}
.compare-banner{background:var(--adh-accent-soft)}
.adh-simple-footer,.site-footer{background:var(--adh-accent-dark)}
.article-sidebar button,.article-sidebar input[type=submit]{background:var(--adh-accent)}
.adh-post-nav-label{color:var(--adh-accent)}
.adh-post-nav-card:hover,.adh-post-nav-card:focus-visible{border-color:var(--adh-accent)}
@media(max-width:900px){.nav-main{background:var(--adh-accent-dark)}}
/* Do not recolor photos, editorial headings, article content backgrounds, or hero photo. */

/* v1.7.28: Category images have transparent backgrounds; remove the fixed blue category tile only. */
.category-card{background:transparent}

/* v1.7.29: ensure category tiles do not retain stale fixed blue backgrounds. */
.category-grid .category-card{background:#fff!important;background-image:none!important;box-shadow:none}
.category-grid .category-card img{background:transparent!important;background-image:none!important}

/* v1.7.30: only the built-in Recent Posts widget in article sidebar. */
.article-sidebar .widget:has(> .adh-recent-posts-cards){padding:20px 21px}
.article-sidebar .adh-recent-posts-cards .side-heading{margin-bottom:12px;padding-bottom:12px}
.article-sidebar .adh-recent-posts-cards .side-heading h2{font-size:21px;line-height:1.25;margin:0}
.article-sidebar .adh-recent-posts-cards .side-story{display:grid;grid-template-columns:104px minmax(0,1fr);gap:13px;align-items:start;padding:14px 0;margin:0;border-bottom:1px solid var(--line)}
.article-sidebar .adh-recent-posts-cards .side-story:first-of-type{padding-top:2px}
.article-sidebar .adh-recent-posts-cards .side-story:last-child{border-bottom:0;padding-bottom:0}
.article-sidebar .adh-recent-posts-cards .side-story-image{display:block;aspect-ratio:4/3;overflow:hidden;border-radius:9px;background:#f3f5f8}
.article-sidebar .adh-recent-posts-cards .side-story-image img{display:block;width:100%;height:100%;object-fit:cover}
.article-sidebar .adh-recent-posts-cards .side-story h3{font-size:14px;line-height:1.4;font-weight:750;margin:0 0 8px}
.article-sidebar .adh-recent-posts-cards .side-story small{font-size:11px;color:#6a778b}
.article-sidebar .adh-recent-image-empty{display:block;width:100%;height:100%;background:#f3f5f8}
@media(max-width:620px){.article-sidebar .adh-recent-posts-cards .side-story{grid-template-columns:100px minmax(0,1fr)}}

/* v1.7.31: isolated AutoDriveHub — Recent Articles widget only. */
.article-sidebar .widget:has(> .adh-custom-recent){padding:20px 21px}
.article-sidebar .adh-custom-recent .side-heading{margin-bottom:12px;padding-bottom:12px}
.article-sidebar .adh-custom-recent .side-heading h2{font-size:21px;line-height:1.25;margin:0}
.article-sidebar .adh-custom-recent .side-story{display:grid;grid-template-columns:104px minmax(0,1fr);gap:13px;align-items:start;padding:14px 0;margin:0;border-bottom:1px solid var(--line)}
.article-sidebar .adh-custom-recent .side-story:first-of-type{padding-top:2px}
.article-sidebar .adh-custom-recent .side-story:last-child{border-bottom:0;padding-bottom:0}
.article-sidebar .adh-custom-recent .side-story-image{display:block;aspect-ratio:4/3;overflow:hidden;border-radius:9px;background:#f3f5f8}
.article-sidebar .adh-custom-recent .side-story-image img{display:block;width:100%;height:100%;object-fit:cover}
.article-sidebar .adh-custom-recent .side-story h3{font-size:14px;line-height:1.4;font-weight:750;margin:0 0 8px}
.article-sidebar .adh-custom-recent .side-story small{font-size:11px;color:#6a778b}
.article-sidebar .adh-custom-recent-empty{display:block;width:100%;height:100%;background:#f3f5f8}
@media(max-width:620px){.article-sidebar .adh-custom-recent .side-story{grid-template-columns:100px minmax(0,1fr)}}

/* v1.7.32: compact ONLY the opt-in Recent Articles widget; no global sidebar changes. */
.article-sidebar .adh-custom-recent .side-story-body{min-width:0}
.article-sidebar .adh-custom-recent .side-story-body h3{font-size:15px;line-height:1.34;font-weight:700;letter-spacing:0;margin:0 0 5px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;overflow-wrap:anywhere}
.article-sidebar .adh-custom-recent .side-story-body h3 a{font:inherit;line-height:inherit;letter-spacing:inherit}
.article-sidebar .adh-custom-recent .side-story-body small{display:block;font-size:11px;line-height:1.4;margin:0;color:#6a778b}
.article-sidebar .adh-custom-recent .side-story{align-items:start;gap:13px;padding:12px 0}

/* v1.8.0 opt-in multi-layout styling; layout 1 selectors remain untouched. */
.ml-root{--ml-ink:#10213c;--ml-paper:#fff;--ml-panel:#f5f8fc;--ml-line:#e1e8f1;color:var(--ml-ink);background:var(--ml-paper);padding-top:24px}.ml-root *{box-sizing:border-box}.ml-root .wrap{max-width:1440px}.ml-root a{text-decoration:none}.ml-root .ml-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:24px 0 13px}.ml-root .ml-heading h2{font-size:clamp(20px,2vw,29px);line-height:1.2;margin:0;font-weight:850}.ml-root .ml-heading>a{font-size:13px;color:var(--adh-accent);font-weight:800}.ml-hero{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(270px,1fr);gap:18px;min-height:340px}.ml-hero>.ml-feature{position:relative;min-height:340px;border-radius:14px;overflow:hidden;background:#15243a;color:#fff}.ml-hero>.ml-feature .ml-photo{position:absolute;inset:0}.ml-hero>.ml-feature .ml-photo img{width:100%;height:100%;object-fit:cover}.ml-hero>.ml-feature .ml-article-body{position:absolute;bottom:0;left:0;right:0;padding:55px 25px 24px;background:linear-gradient(transparent,#07101ce8)}.ml-hero>.ml-feature h3{font-size:clamp(24px,3vw,38px);line-height:1.12;margin:0 0 10px}.ml-hero>.ml-feature a{color:#fff}.ml-hero>.ml-feature p{max-width:650px;font-size:14px}.ml-hero>.ml-feature time{color:#e0e9f8;font-size:12px}.ml-hero-rail{display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:12px}.ml-article{min-width:0}.ml-article .ml-photo{display:block;overflow:hidden;border-radius:10px;background:var(--ml-panel)}.ml-article .ml-photo img{width:100%;height:100%;object-fit:cover;display:block}.ml-article h3{font-size:17px;line-height:1.3;margin:8px 0}.ml-article h3 a{color:inherit}.ml-article time{font-size:12px;color:#71809b}.ml-compact{display:grid;grid-template-columns:36% 1fr;gap:12px;align-items:start;border-bottom:1px solid var(--ml-line);padding:0 0 11px}.ml-compact:last-child{border-bottom:0}.ml-compact .ml-photo{height:100px}.ml-compact h3{font-size:14px;margin:0 0 8px}.ml-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.ml-grid>.ml-article{border:1px solid var(--ml-line);border-radius:12px;overflow:hidden;background:var(--ml-paper)}.ml-grid .ml-photo{height:185px;border-radius:0}.ml-grid .ml-article-body{padding:13px}.ml-grid .ml-article h3{font-size:16px}.ml-section{margin-bottom:25px}.ml-category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:12px;margin-bottom:20px}.ml-category{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:12px 8px;border-radius:12px;border:1px solid var(--ml-line);background:var(--ml-panel);color:var(--ml-ink);font-size:14px}.ml-category img{width:100%;height:70px;object-fit:contain}.ml-main-side{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(280px,1fr);gap:22px;align-items:start}.ml-main-side>div,.ml-main-side>aside{min-width:0}.ml-panel{padding:18px;border:1px solid var(--ml-line);border-radius:13px;margin:22px 0;background:var(--ml-paper)}.ml-panel .ml-heading{margin-top:0;border-bottom:1px solid var(--ml-line);padding-bottom:12px}.ml-panel .ml-compact{margin-bottom:12px}.ml-compare{border-radius:13px;background:linear-gradient(125deg,var(--adh-accent-dark),var(--adh-accent));color:white;padding:30px;margin:23px 0}.ml-compare h2{font-size:26px;margin:0 0 7px}.ml-compare p{font-size:14px}.ml-btn{display:inline-block;border-radius:8px;background:var(--adh-accent);color:#fff!important;padding:11px 17px;font-size:13px;font-weight:800}.ml-compare .ml-btn{background:#fff;color:var(--adh-accent-dark)!important}.ml-brand-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:12px;margin:15px 0 24px}.ml-brand-grid a{padding:17px 8px;text-align:center;border:1px solid var(--ml-line);border-radius:12px;font-weight:800;color:var(--ml-ink);background:var(--ml-panel)}.ml-ticker{display:flex;gap:18px;align-items:center;background:var(--ml-panel);border-radius:9px;margin-bottom:16px;overflow:hidden;white-space:nowrap;font-size:13px}.ml-ticker strong{background:var(--adh-accent);color:#fff;padding:10px 15px}.ml-ticker span{overflow:hidden;text-overflow:ellipsis}.ml-footer{margin-top:32px;background:#0b1e35;color:#dce6f3;padding:28px 0}.ml-footer-inner{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px}.ml-footer strong{color:white}.ml-footer a{color:#dce6f3}.ml-footer p{font-size:13px}.ml-empty{padding:70px 0}.ml-layout-3{--ml-panel:#fff;--ml-line:#e8ecf1}.ml-layout-3 .ml-grid>.ml-article{box-shadow:0 6px 22px #0a234b0b}.ml-layout-3 .ml-horizontal{display:grid;grid-template-columns:38% 1fr;gap:15px;align-items:center}.ml-layout-3 .ml-horizontal .ml-photo{height:150px}.ml-layout-3 .ml-horizontal .ml-article-body{padding:10px}.ml-layout-3 .ml-section:has(.ml-horizontal) .ml-grid{grid-template-columns:1fr}.ml-layout-4{--ml-ink:#f5f7fa;--ml-paper:#080e17;--ml-panel:#121e2b;--ml-line:#283443;background:#080e17}.ml-layout-4 .ml-article time{color:#b5c1cf}.ml-layout-4 .ml-heading>a{color:var(--adh-accent-bright)}.ml-layout-4 .ml-compare{border:1px solid var(--adh-accent)}.ml-layout-4 .ml-hero{grid-template-columns:1fr;min-height:430px}.ml-layout-4 .ml-hero>.ml-feature{min-height:430px}.ml-layout-4 .ml-hero>.ml-feature .ml-article-body{max-width:75%}.ml-layout-4 .ml-category{color:var(--ml-ink)}.ml-layout-5 .ml-hero{min-height:380px}.ml-layout-5 .ml-hero>.ml-feature{min-height:380px}.ml-layout-5 .ml-category-grid{grid-template-columns:repeat(8,minmax(0,1fr))}.ml-layout-6{--ml-panel:#f2f5fa}.ml-layout-6 .ml-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.ml-layout-6 .ml-grid .ml-photo{height:145px}.ml-layout-6 .ml-grid .ml-article h3{font-size:14px}.ml-layout-6 .ml-heading h2{border-left:5px solid var(--adh-accent);padding-left:10px}.ml-layout-6 .ml-panel{padding:13px}.ml-root .adh-image-placeholder{min-height:100px}
@media(max-width:900px){.ml-hero,.ml-main-side{grid-template-columns:1fr}.ml-hero-rail{grid-template-columns:repeat(3,1fr);grid-template-rows:auto}.ml-hero-rail .ml-compact{display:block}.ml-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ml-layout-5 .ml-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:600px){.ml-root{padding-top:14px}.ml-hero>.ml-feature{min-height:300px}.ml-hero-rail{grid-template-columns:1fr}.ml-hero-rail .ml-compact{display:grid}.ml-grid,.ml-layout-6 .ml-grid{grid-template-columns:1fr}.ml-category-grid,.ml-layout-5 .ml-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ml-footer-inner{grid-template-columns:1fr}.ml-layout-4 .ml-hero>.ml-feature .ml-article-body{max-width:100%}.ml-hero>.ml-feature h3{font-size:25px}}

/* Hide the original minimal footer only on opt-in layouts; Layout 1 unchanged. */
.adh-selected-layout-2 .adh-simple-footer{display:none}
.adh-selected-layout-3 .adh-simple-footer{display:none}
.adh-selected-layout-4 .adh-simple-footer{display:none}
.adh-selected-layout-5 .adh-simple-footer{display:none}
.adh-selected-layout-6 .adh-simple-footer{display:none}

/* v1.8.1 isolated mockup alignment for layouts 2-6; Layout 1 is not modified. */
body.adh-selected-layout-2,body.adh-selected-layout-3,body.adh-selected-layout-4,body.adh-selected-layout-5,body.adh-selected-layout-6{--ml-accent:var(--adh-accent);--ml-accent-dark:var(--adh-accent-dark)}
body.adh-selected-layout-3.adh-layout-default-palette,body.adh-selected-layout-6.adh-layout-default-palette{--ml-accent:#ef202c;--ml-accent-dark:#073c81}
body.adh-selected-layout-4.adh-layout-default-palette{--ml-accent:#df1524;--ml-accent-dark:#171b22}
.ml-root{--ml-accent:var(--adh-accent);--ml-accent-dark:var(--adh-accent-dark);--ml-ink:#101c34;--ml-paper:#fff;--ml-panel:#f5f8fc;--ml-line:#e4eaf3}
.adh-selected-layout-3.adh-layout-default-palette .ml-root,.adh-selected-layout-6.adh-layout-default-palette .ml-root,.adh-selected-layout-4.adh-layout-default-palette .ml-root{--ml-accent:inherit;--ml-accent-dark:inherit}
.adh-selected-layout-3.adh-layout-default-palette .ml-root,.adh-selected-layout-6.adh-layout-default-palette .ml-root{--ml-accent:#ef202c;--ml-accent-dark:#073c81}
.adh-selected-layout-4.adh-layout-default-palette .ml-root{--ml-accent:#df1524;--ml-accent-dark:#171b22}
.ml-root .ml-topbar{background:linear-gradient(115deg,var(--ml-accent-dark),#123d74);color:white}
.ml-root.ml-layout-2 .ml-topbar,.ml-root.ml-layout-3 .ml-topbar{background:#fff;color:#10203b}
.ml-root.ml-layout-4 .ml-topbar{background:#0b1017;color:white}
.ml-root .ml-topbar-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:67px}
.ml-root .ml-identity{display:flex;flex-direction:column;line-height:1.1;min-width:0}
.ml-root .ml-identity-name{font-size:clamp(19px,2.3vw,28px);font-style:italic;font-weight:900;letter-spacing:-1.2px;color:inherit}
.ml-root .ml-car-mark{font-style:normal;color:var(--ml-accent);font-size:30px;margin-right:8px}
.ml-root .ml-identity small{font-size:10px;opacity:.8;margin-top:5px}
.ml-root .ml-search{display:flex;max-width:410px;flex:1;min-width:140px;background:#fff;border:1px solid #dce4ee;border-radius:8px;overflow:hidden}
.ml-root .ml-search input{border:0;outline:0;min-width:0;flex:1;padding:10px 12px;font-size:12px;color:#18283d}
.ml-root .ml-search button{border:0;background:var(--ml-accent);color:white;font-size:22px;min-width:44px}
.ml-root .ml-nav{background:var(--ml-accent-dark);color:white}
.ml-root.ml-layout-2 .ml-nav,.ml-root.ml-layout-3 .ml-nav{background:white;color:#15233c;border-bottom:2px solid var(--ml-accent)}
.ml-root .ml-nav .wrap{display:flex;align-items:center;gap:0;flex-wrap:wrap}
.ml-root .ml-nav a{padding:11px 17px;font-weight:800;font-size:12px;color:inherit}
.ml-root .ml-nav a:first-child,.ml-root .ml-nav a:hover{background:var(--ml-accent);color:white}
.ml-root .ml-page{padding-top:20px}
.ml-root .ml-heading h2{border-left:5px solid var(--ml-accent);padding-left:10px}
.ml-root .ml-heading>a,.ml-root .ml-article a:hover{color:var(--ml-accent)}
.ml-root .ml-category-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,112px),1fr));gap:9px}
.ml-root .ml-category{min-width:0;padding:7px 5px 8px;border-radius:9px;min-height:93px}
.ml-root .ml-category img{height:52px;max-width:140px}
.ml-root .ml-category strong{font-size:12px}
.ml-root .ml-section .ml-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.ml-root .ml-section .ml-grid:has(> :last-child:nth-child(3n + 1)):not(:has(> :nth-child(8))) > :last-child{grid-column:auto}
.ml-root .ml-section .ml-grid:has(> :last-child:nth-child(3n + 1)) > :last-child:nth-child(n+4){grid-column:span 2}
.ml-root .ml-section .ml-grid:has(> :last-child:nth-child(3n + 2)) > :nth-last-child(-n+2){grid-column:auto}
.ml-root .ml-section .ml-grid:has(> :last-child:nth-child(3n + 2)) > :last-child{grid-column:span 2}
.ml-root .ml-grid .ml-article{min-width:0}
.ml-root .ml-compare{position:relative;overflow:hidden;background:linear-gradient(120deg,var(--ml-accent-dark),#0a2850 75%,var(--ml-accent));display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px;color:white}
.ml-root .ml-compare-copy{position:relative;z-index:1;min-width:0;flex:1}
.ml-root .ml-compare h2{font-size:20px}
.ml-root .ml-compare-icon{font-size:24px;display:inline-block;margin-bottom:4px}
.ml-root .ml-compare .ml-btn{background:var(--ml-accent);color:#fff!important}
.ml-root .ml-vs-art{display:flex;align-items:center;justify-content:center;gap:0;flex:1;min-width:0}
.ml-root .ml-vs-photo{width:43%;min-width:0;height:100px;overflow:hidden;border-radius:9px;transform:skew(-3deg)}
.ml-root .ml-vs-photo img{width:100%;height:100%;object-fit:cover}
.ml-root .ml-vs-symbol{background:var(--ml-accent);color:#fff;font-size:21px;font-weight:950;padding:8px 10px;transform:skew(-8deg);z-index:2;margin:0 -7px}
.ml-root .ml-compare-side{display:block;padding:18px 15px}
.ml-root .ml-compare-side .ml-vs-art{margin-top:14px}
.ml-root .ml-compare-side .ml-vs-photo{height:90px}
.ml-root .ml-panel{margin:0 0 18px}
.ml-root .ml-ranked .ml-rank{display:flex;align-items:flex-start;gap:10px;padding:10px 0;border-bottom:1px solid var(--ml-line);font-size:12px;font-weight:800}
.ml-root .ml-ranked .ml-rank:last-child{border:0}
.ml-root .ml-rank b{background:var(--ml-accent);color:white;padding:1px 8px;border-radius:5px}
.ml-root .ml-tools a{display:flex;gap:10px;padding:12px 0;border-bottom:1px solid var(--ml-line);font-weight:750;font-size:13px}
.ml-root .ml-tools a span{color:var(--ml-accent)}
.ml-root .ml-topic-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ml-root .ml-topic-grid a{padding:16px 12px;border:1px solid var(--ml-line);border-radius:10px;display:flex;gap:9px;align-items:center;font-size:12px}
.ml-root .ml-topic-grid span{color:var(--ml-accent);font-size:24px}
.ml-root .ml-newsletter .ml-btn{background:var(--ml-accent)}
.ml-root.ml-layout-4{--ml-ink:#f4f6fb;--ml-paper:#0b121c;--ml-panel:#111c29;--ml-line:#273544;background:#090f18;color:#f4f6fb}
.ml-root.ml-layout-4 .ml-article h3,.ml-root.ml-layout-4 .ml-heading h2{color:#f4f6fb}
.ml-root.ml-layout-4 .ml-category{background:#121e2b;color:white}
.ml-root.ml-layout-4 .ml-panel{background:#101b28}
.ml-root.ml-layout-4 .ml-hero>.ml-feature{min-height:420px}
.ml-root.ml-layout-6 .ml-ticker strong{background:var(--ml-accent)}
.ml-root.ml-layout-6 .ml-heading h2{border-left:0;padding-left:12px;position:relative}
.ml-root.ml-layout-6 .ml-heading h2:before{content:'//';color:var(--ml-accent);position:absolute;left:0;transform:translateX(-3px)}
.ml-root .ml-footer{background:#0b1b2d}
@media(max-width:900px){.ml-root .ml-main-side{grid-template-columns:1fr}.ml-root .ml-section .ml-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ml-root .ml-section .ml-grid> :last-child{grid-column:auto!important}.ml-root .ml-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.ml-root .ml-topbar-inner{flex-wrap:wrap;padding-top:12px;padding-bottom:12px}.ml-root .ml-search{flex-basis:100%;max-width:none}.ml-root .ml-nav a{padding:9px;font-size:11px}.ml-root .ml-section .ml-grid{grid-template-columns:1fr}.ml-root .ml-compare{flex-direction:column;align-items:stretch}.ml-root .ml-vs-art{width:100%}.ml-root .ml-topic-grid{grid-template-columns:1fr 1fr}.ml-root .ml-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* The original header belongs exclusively to Layout 1. */
body[class*="adh-selected-layout-"]:not(.adh-selected-layout-1) > .site-header{display:none}
/* Fill final grid rows rather than leaving a stranded single card. */
@media(min-width:901px){
.ml-root .ml-section .ml-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
.ml-root .ml-section .ml-grid>.ml-article{grid-column:span 2}
.ml-root .ml-section .ml-grid:has(> :last-child:nth-child(3n + 1)) > :last-child:nth-child(n+4){grid-column:span 6}
.ml-root .ml-section .ml-grid:has(> :last-child:nth-child(3n + 2)) > :nth-last-child(2){grid-column:span 3}
.ml-root .ml-section .ml-grid:has(> :last-child:nth-child(3n + 2)) > :last-child{grid-column:span 3}
.ml-root.ml-layout-3 .ml-section:has(.ml-horizontal) .ml-grid{grid-template-columns:1fr}
.ml-root.ml-layout-3 .ml-section:has(.ml-horizontal) .ml-grid>.ml-article{grid-column:auto}
}

/* v1.8.4: category-only visual correction for layouts 2-6.
   Reuse the exact category image assets from Layout 1; never alter Layout 1 selectors. */
.ml-root .ml-category-grid,
.ml-root.ml-layout-5 .ml-category-grid {
  display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,148px));
  justify-content:start;align-items:stretch;gap:12px;
}
.ml-root .ml-category {
  width:100%;min-width:0;min-height:105px;padding:8px 6px 10px;
  overflow:hidden;justify-content:flex-end;gap:3px;
}
.ml-root .ml-category img {
  display:block;width:100%;max-width:140px;height:68px;
  object-fit:contain;object-position:center;background:transparent;
  image-rendering:auto;flex:none;
}
.ml-root .ml-category strong {font-size:12px;line-height:1.25;text-align:center}
@media(max-width:600px){
 .ml-root .ml-category-grid,.ml-root.ml-layout-5 .ml-category-grid{
   grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:8px;
 }
 .ml-root .ml-category img{height:58px}
}

/* v1.8.10 shared footer and navigation; palette-driven accent only. */
.adh-shared-footer{background:#080e17;color:#f4f7fb;border-top:1px solid #293545;font-family:Arial,sans-serif}
.adh-shared-footer-grid{max-width:1360px;margin:auto;padding:30px 24px;display:grid;grid-template-columns:minmax(170px,2fr) repeat(4,minmax(100px,1fr)) minmax(110px,1fr);gap:22px}
.adh-shared-footer h3{font-size:14px;color:#fff;margin:0 0 12px}.adh-shared-footer-brand strong{display:block;font-size:23px;font-weight:900}.adh-shared-footer-brand small{display:block;color:#bac7d5;font-size:11px;margin-top:5px}.adh-shared-menu{list-style:none;margin:0;padding:0}.adh-shared-menu li{margin:0 0 9px}.adh-shared-footer a{color:#c5d0dd;text-decoration:none;font-size:12px}.adh-shared-footer a:hover{color:var(--adh-accent,#0767e8)}.adh-shared-social a{display:block;margin:0 0 8px}.adh-shared-copy{text-align:center;border-top:1px solid #263443;padding:13px;font-size:11px;color:#bdc9d7}
.site-header .adh-shared-menu,.ml-nav .adh-shared-menu{display:flex;flex-wrap:wrap;gap:14px;align-items:center}.site-header .adh-shared-menu a,.ml-nav .adh-shared-menu a{font:inherit}
@media(max-width:1000px){.adh-shared-footer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.adh-shared-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}

/* Global footer accent follows one-click palette, structure stays fixed. */
.adh-shared-footer{border-top-color:var(--adh-accent,#0767e8)}.adh-shared-footer a:hover{color:var(--adh-accent,#0767e8)}

/* v1.8.10 shared footer logo, independent of homepage layout. */
.adh-shared-footer-brand .adh-shared-brand-mark{display:block;width:145px;height:40px;margin:0 0 5px}
.adh-shared-footer-brand .adh-shared-brand-mark svg{display:block;width:100%;height:100%}

/* v1.8.12: shared footer social icons only; isolated from layout-specific icons. */
.adh-shared-footer .adh-shared-social-icons{display:flex;flex-wrap:wrap;align-items:center;gap:9px}
.adh-shared-footer .adh-shared-social-icons a{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;min-width:34px;margin:0;padding:0;border-radius:50%;color:#fff;background:#26313e;line-height:1;transition:filter .15s ease}
.adh-shared-footer .adh-shared-social-icons a:hover{color:#fff;filter:brightness(1.15)}
.adh-shared-footer .adh-shared-social-icons svg{display:block;width:18px;height:18px;flex:none}
.adh-shared-footer .adh-shared-social-youtube{background:#ff0000!important}
.adh-shared-footer .adh-shared-social-facebook{background:#1877f2!important}
.adh-shared-footer .adh-shared-social-x{background:#202936!important}
.adh-shared-footer .adh-shared-social-instagram{background:#d62976!important}

/* v1.8.15: global visibility switches, independent of selected homepage design. */
body.adh-header-hidden .site-header,body.adh-header-hidden .adh4-header,body.adh-header-hidden .ml-topbar,body.adh-header-hidden .ml-nav{display:none!important}
body.adh-footer-hidden .adh-shared-footer,body.adh-footer-hidden .adh4-footer,body.adh-footer-hidden .ml-footer,body.adh-footer-hidden .site-footer{display:none!important}

/* v1.8.16: copyright remains visible when footer content is off. */
body.adh-footer-hidden .adh-shared-footer{display:block!important}
body.adh-footer-hidden .adh-shared-footer-grid{display:none!important}
body.adh-footer-hidden .adh-shared-copy{display:block!important}
/* Layout 01 retains its own blue footer palette. */
body.adh-selected-layout-1 .adh-shared-footer{background:linear-gradient(110deg,#092b4d,#0b1e35)!important;border-top-color:#2462a8!important}
body.adh-selected-layout-1 .adh-shared-copy{border-top-color:#254968!important}

/* v1.8.20 — Layout 01 footer uses the same live palette as its header. */
body.adh-selected-layout-1 .adh-shared-footer{
  background:linear-gradient(95deg,var(--adh-accent-dark,#082e69),var(--adh-accent,#004bb1))!important;
 border-top-color:rgba(255,255,255,.25)!important;
}
body.adh-selected-layout-1 .adh-shared-copy{border-top-color:rgba(255,255,255,.25)!important}
