/*
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.7.11
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}
