/* Theme Name: Auto Review Modern
Author: ChechenAuto.com
Version: 1.4.0
*/
:root{--bg:#f5f7fb;--surface:#fff;--surface-2:#eef2f7;--text:#111827;--muted:#5b6475;--primary:#2563eb;--radius:22px;--display:'Space Grotesk',system-ui,sans-serif}html[data-theme='dark']{--bg:#0b1220;--surface:#111827;--surface-2:#172033;--text:#e5e7eb;--muted:#9aa6b8;--primary:#60a5fa}*{box-sizing:border-box}body{margin:0;font-family:'Inter',system-ui,sans-serif;background:var(--bg);color:var(--text);line-height:1.65}.container{width:min(1180px,calc(100% - 2rem));margin:auto}.topbar{background:transparent}.topbar-inner{display:flex;justify-content:flex-end;gap:.5rem;padding:.75rem 0}.theme-toggle,.menu-toggle{border:1px solid color-mix(in srgb,var(--text) 12%,transparent);background:var(--surface);color:var(--text);border-radius:999px;min-width:44px;min-height:44px}.site-header,.site-footer{background:var(--surface)}.header-inner{display:flex;align-items:center;justify-content:space-between;min-height:72px;gap:1rem}.brand a{font:700 1.2rem var(--display);text-decoration:none;color:var(--text)}.nav-shell ul{display:flex;gap:1rem;list-style:none;padding:0;margin:0;flex-wrap:wrap}.nav-shell a{color:var(--text);text-decoration:none;font-weight:600}.hero{padding:2rem 0}.hero-grid,.main-grid{display:grid;gap:1rem}.hero-grid{grid-template-columns:1.35fr .9fr}.main-grid{grid-template-columns:1.55fr .8fr;padding-bottom:3rem}.panel,.article-card,.sidebar-card,.single-card{background:var(--surface);border:1px solid color-mix(in srgb,var(--text) 10%,transparent);border-radius:var(--radius);overflow:hidden}.hero-copy,.card-body,.sidebar-card,.single-card{padding:1.25rem}.hero h1,.entry-title,.section-title{font-family:var(--display);letter-spacing:-.04em;line-height:1.05}.hero h1{font-size:clamp(2rem,1.1rem + 2vw,3.2rem);margin:.6rem 0}.eyebrow{display:inline-flex;padding:.4rem .75rem;border-radius:999px;background:color-mix(in srgb,var(--primary) 16%,transparent);color:var(--primary);font-weight:700;font-size:.78rem;text-transform:uppercase;letter-spacing:.12em}.hero-media,.thumb{aspect-ratio:16/10;background:linear-gradient(135deg,#1f2937,#3b82f6)}.h-scroll{display:flex;gap:1rem;overflow-x:auto;padding-bottom:.5rem;scroll-snap-type:x proximity}.h-scroll > .article-card{min-width:280px;flex:0 0 280px;scroll-snap-align:start}.thumb{width:100%}.card-title{margin:.4rem 0;font-size:1.05rem}.card-title a{text-decoration:none;color:inherit}.card-text,.post-meta,.pagination-wrap,.breadcrumbs{color:var(--muted);font-size:.95rem}.breadcrumbs{margin-bottom:1rem}.breadcrumbs a{text-decoration:none;color:inherit}.sidebar{display:flex;flex-direction:column;gap:1rem;position:sticky;top:1rem;height:max-content}.site-footer{border-top:1px solid color-mix(in srgb,var(--text) 10%,transparent);padding:1.5rem 0}.footer-grid{display:flex;justify-content:space-between;gap:1rem;align-items:center}.content-area{padding:1.5rem 0 3rem}.post-cover{width:100%;aspect-ratio:16/8;object-fit:cover;border-radius:var(--radius);margin-bottom:1rem}.entry-content{max-width:72ch}.related-posts{margin-top:2rem;padding-top:1rem;border-top:1px solid color-mix(in srgb,var(--text) 10%,transparent)}.comments-area{margin-top:1.25rem;padding:1.25rem;background:var(--surface);border:1px solid color-mix(in srgb,var(--text) 10%,transparent);border-radius:var(--radius)}.pagination-wrap{margin-top:1rem}.pagination .page-numbers{display:inline-flex;min-width:38px;min-height:38px;align-items:center;justify-content:center;margin:.15rem;padding:.4rem .65rem;border-radius:10px;background:var(--surface);text-decoration:none;color:var(--text)}@media (max-width:900px){.hero-grid,.main-grid{grid-template-columns:1fr}.sidebar{position:static}.header-inner,.footer-grid{flex-direction:column;align-items:flex-start}.nav-shell ul{justify-content:flex-start}}

/* v1.1.2 adjustments */
.nav-shell ul{display:flex;gap:1rem;flex-wrap:wrap}
.h-scroll{display:flex;gap:1rem;overflow-x:auto;padding-bottom:.5rem;scroll-snap-type:x proximity}
.h-scroll > .article-card{min-width:280px;flex:0 0 280px;scroll-snap-align:start}
a, a:visited{text-decoration:none}
.card-title a, .brand a, .nav-shell a, .breadcrumbs a{text-decoration:none}


/* v1.1.3 adjustments */
a, a:visited{color:#2563eb;text-decoration:none}
.primary-nav a{color:#2563eb}
.breadcrumbs a{color:#2563eb}
.card-title a{color:#111827}
.card-text a, .entry-content a{color:#2563eb}


/* v1.1.4 adjustments */
.section-title{color:var(--text)}
html[data-theme='dark'] .section-title{color:#f3f4f6}
.archive-grid{display:grid;grid-template-columns:1fr;gap:1rem}
.archive-grid > .article-card{width:100%}
a, a:visited{color:#d8c49a;text-decoration:none}
.primary-nav a, .breadcrumbs a{color:#d8c49a}
.card-title a{color:var(--text)}
html[data-theme='dark'] .card-title a{color:#f3f4f6}
.entry-content a, .card-text a{color:#d8c49a}


/* v1.4.0 fixes */
.breadcrumbs{display:flex;gap:.35rem;flex-wrap:wrap;color:var(--muted)}
.breadcrumbs a{text-decoration:none;color:inherit}
.archive-grid{display:grid;grid-template-columns:1fr;gap:1rem}
.archive-grid > .article-card{width:100%}
.h-scroll{display:grid;gap:1rem;overflow:visible;padding-bottom:0;scroll-snap-type:none}
.h-scroll > .article-card{min-width:0;flex:unset;scroll-snap-align:unset}
html[data-theme='dark'] .section-title{color:#f3f4f6}
.section-title{color:var(--text)}
a, a:visited{color:#d8c49a;text-decoration:none}
.entry-content a, .card-text a{color:#d8c49a}
.card-title a{color:var(--text)}
html[data-theme='dark'] .card-title a{color:#f3f4f6}


/* v1.4.0 adjustments */
.home-widget-wrap{margin:1rem auto 2rem}
.latest-news-wrap{margin-top:2.5rem}
.latest-news-wrap .section-head{margin-bottom:1rem}
.archive-grid{display:grid;grid-template-columns:1fr;gap:1rem}
.section-title{color:var(--text)}
html[data-theme='dark'] .section-title{color:#f3f4f6}
.breadcrumbs, .breadcrumbs a, .entry-content a, .card-text a, .nav-shell a, .primary-nav a{color:#d8c49a;text-decoration:none}
.card-title a{color:var(--text)}
html[data-theme='dark'] .card-title a{color:#f3f4f6}


/* v1.4.0 adjustments */
.latest-news-wrap{margin-top:3.5rem}
.article-card .thumb{aspect-ratio:16/9}
.article-card .card-body{padding:1rem}
.article-card .card-text{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.breadcrumbs, .breadcrumbs a{color:#9ca3af}
a, a:visited{color:#9ca3af;text-decoration:none}
.entry-content a, .card-text a, .nav-shell a, .primary-nav a{color:#9ca3af}
.card-title a{color:var(--text)}
html[data-theme='dark'] .card-title a{color:#f3f4f6}


/* v1.4.0 compact cards */
.article-card{display:flex;flex-direction:row;align-items:stretch;gap:0;min-height:150px}
.article-card .thumb{width:160px;flex:0 0 160px;aspect-ratio:auto;height:auto;object-fit:cover}
.article-card .card-body{padding:.85rem .95rem;display:flex;flex-direction:column;justify-content:center}
.article-card .card-title{margin:.2rem 0 .35rem;font-size:1rem;line-height:1.2}
.article-card .card-text{font-size:.88rem;line-height:1.45}
.latest-news-wrap{margin-top:4rem}
.archive-grid{display:grid;grid-template-columns:1fr;gap:.9rem}
@media (max-width:700px){.article-card{flex-direction:column;min-height:unset}.article-card .thumb{width:100%;flex:0 0 auto}}

a, a:visited{color:#9ca3af;text-decoration:none}
.entry-content a, .card-text a, .nav-shell a, .primary-nav a{color:#9ca3af}
.breadcrumbs, .breadcrumbs a{color:#9ca3af}


/* v1.4.0 widget styling */
.home-widget-wrap{margin:1rem auto 2.25rem}
.home-widget{padding:1rem 1.1rem;border:1px solid color-mix(in srgb,var(--text) 10%,transparent);background:var(--surface);border-radius:var(--radius)}
.home-widget .section-title{margin-top:0;margin-bottom:.75rem}
.home-widget p{margin:.35rem 0;color:var(--muted)}
.latest-news-wrap{margin-top:3rem}
.article-card .thumb{background:transparent;overflow:hidden}
.article-card .thumb:empty{display:none}
.article-card{background:var(--surface);border:1px solid color-mix(in srgb,var(--text) 10%,transparent)}
.archive-grid{display:grid;grid-template-columns:1fr;gap:.9rem}
.breadcrumbs, .breadcrumbs a, .entry-content a, .card-text a, .nav-shell a, .primary-nav a{color:#9ca3af;text-decoration:none}
.card-title a{color:var(--text)}
html[data-theme='dark'] .card-title a{color:#f3f4f6}


/* v1.4.0 home sidebar */
.main-grid{display:grid;grid-template-columns:1.55fr .8fr;gap:1rem;align-items:start;padding-bottom:3rem}
.latest-news-wrap{margin-top:2.5rem}
.article-card{min-height:132px}
.sidebar{position:sticky;top:1rem}
.breadcrumbs, .breadcrumbs a, .entry-content a, .card-text a, .nav-shell a, .primary-nav a{color:#9ca3af;text-decoration:none}


/* v1.4.0 sidebar and excerpt */
.sidebar{position:sticky;top:1rem;align-self:start;padding:1rem;border:1px solid color-mix(in srgb,var(--text) 10%,transparent);border-radius:var(--radius);background:var(--surface);box-shadow:0 10px 30px rgba(0,0,0,.04)}
.sidebar-card{padding:1rem;background:color-mix(in srgb,var(--surface) 96%,var(--bg));border:1px solid color-mix(in srgb,var(--text) 8%,transparent);border-radius:18px}
.sidebar-card + .sidebar-card{margin-top:.9rem}
.article-card{min-height:148px}
.article-card .card-text{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;max-width:100%}
.breadcrumbs, .breadcrumbs a, .entry-content a, .card-text a, .nav-shell a, .primary-nav a{color:#9ca3af;text-decoration:none}


/* v1.4.0 sidebar visibility and images */
.main-grid{align-items:start}
.sidebar{position:sticky;top:1rem;align-self:start;display:flex;flex-direction:column;gap:1rem;padding:1.15rem;background:var(--surface);border:1px solid rgba(148,163,184,.28);border-radius:24px;box-shadow:0 18px 45px rgba(15,23,42,.12);backdrop-filter:saturate(1.05)}
.sidebar-card{background:var(--surface);border:1px solid rgba(148,163,184,.18);border-radius:18px;padding:1rem;box-shadow:inset 0 1px 0 rgba(255,255,255,.35)}
.sidebar .section-title{margin:.05rem 0 .7rem}
.article-card{display:flex;flex-direction:row;align-items:stretch;overflow:hidden;min-height:152px}
.article-card a img, .article-card img{display:block;width:160px;min-width:160px;max-width:160px;height:100%;object-fit:cover;flex:0 0 160px}
.article-card .thumb{width:160px;min-width:160px;flex:0 0 160px;aspect-ratio:unset;background:linear-gradient(135deg,#1f2937,#3b82f6)}
.article-card .card-body{flex:1;min-width:0;padding:.85rem .95rem}
.article-card .card-text{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
@media (max-width:700px){.article-card{flex-direction:column;min-height:unset}.article-card a img, .article-card img, .article-card .thumb{width:100%;min-width:0;max-width:none;flex:0 0 auto}}


/* v1.4.0 mobile polish */
@media (max-width:900px){.main-grid{grid-template-columns:1fr}.sidebar{position:static;padding:1rem;box-shadow:0 10px 28px rgba(15,23,42,.08)}.article-card{min-height:unset}.article-card a img,.article-card img,.article-card .thumb{width:118px;min-width:118px;max-width:118px}}
@media (max-width:700px){.hero-grid{gap:.85rem}.hero-copy,.single-card,.sidebar-card{padding:1rem}.sidebar{padding:.85rem}.article-card{gap:.85rem;border-radius:18px}.article-card a img,.article-card img,.article-card .thumb{width:100%;min-width:0;max-width:none;height:auto;aspect-ratio:16/9}.article-card .card-body{padding:.8rem .85rem}.article-card .card-title{font-size:.98rem}.article-card .card-text{font-size:.86rem}}


/* v1.4.0 mobile refinement */
@media (max-width:700px){.site-main{overflow-x:hidden}.container{width:min(100% - 1rem,1180px)}.hero{padding:1.25rem 0}.main-grid{gap:.85rem;padding-bottom:2rem}.article-card{border-radius:16px;overflow:hidden}.article-card .card-body{padding:.75rem .8rem}.article-card .post-meta{font-size:.82rem}.article-card .card-title{font-size:.96rem;line-height:1.18}.article-card .card-text{font-size:.85rem;line-height:1.45;-webkit-line-clamp:3}.sidebar{padding:.8rem;margin-top:.25rem}.sidebar-card{padding:.85rem}.comments-area{padding:1rem}.single-card{padding:1rem}.entry-title{font-size:clamp(1.3rem,4.3vw,1.8rem)} }


/* v1.4.0 breadcrumb and sidebar fix */
.breadcrumbs{display:flex;gap:.35rem;flex-wrap:wrap;color:#9ca3af;margin-bottom:1rem}.breadcrumbs a,.breadcrumbs span{color:#9ca3af;text-decoration:none}
.sidebar{position:sticky;top:1rem;align-self:start;display:flex;flex-direction:column;gap:1rem;padding:1.15rem;background:var(--surface);border:1px solid rgba(148,163,184,.32);border-radius:24px;box-shadow:0 18px 45px rgba(15,23,42,.12)}
.sidebar-card{background:var(--surface);border:1px solid rgba(148,163,184,.18);border-radius:18px;padding:1rem}
.main-grid{display:grid;grid-template-columns:1.55fr .8fr;gap:1rem;align-items:start;padding-bottom:3rem}
.archive-grid{display:grid;grid-template-columns:1fr;gap:.9rem}
.article-card{display:flex;flex-direction:row;align-items:stretch;min-height:152px;overflow:hidden}
.article-card .thumb,.article-card img{width:160px;min-width:160px;max-width:160px;object-fit:cover;flex:0 0 160px}
.article-card .card-body{flex:1;min-width:0;padding:.85rem .95rem}
.article-card .card-text{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
@media (max-width:900px){.sidebar{position:static;box-shadow:0 10px 28px rgba(15,23,42,.08)}.main-grid{grid-template-columns:1fr}.article-card .thumb,.article-card img{width:118px;min-width:118px;max-width:118px}}
@media (max-width:700px){.article-card{flex-direction:column;min-height:unset}.article-card .thumb,.article-card img{width:100%;min-width:0;max-width:none;aspect-ratio:16/9}.article-card .card-body{padding:.8rem .85rem}}


/* v1.4.0 magazine polish */
.section-head{display:flex;flex-direction:column;gap:.55rem;margin:0 0 1rem}.section-head .breadcrumbs{margin:0}.section-head .section-title,.archive-header .section-title{margin:0;padding:0;line-height:1.04}.archive-header{margin:0 0 1rem}.archive-grid{margin-top:0}.sidebar{transition:box-shadow .2s ease,transform .2s ease}.sidebar:hover{box-shadow:0 20px 50px rgba(15,23,42,.14)}
@media (max-width:900px){.section-head{gap:.4rem;margin-bottom:.85rem}.archive-header{margin-bottom:.85rem}}
@media (max-width:700px){.section-head{gap:.35rem;margin-bottom:.8rem}.section-title{font-size:clamp(1.25rem,4.2vw,1.65rem)}}


/* v1.4.0 breadcrumb cleanup */
.breadcrumbs{display:flex;gap:.35rem;flex-wrap:wrap;color:#9ca3af;margin:0 0 1rem}.breadcrumbs .crumb-home{color:#9ca3af}.archive-header{margin:0 0 1rem}.archive-header .section-title{margin-top:0}


/* v1.4.0 sidebar stronger */
.main-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(320px,.82fr);gap:1.25rem;align-items:start;padding-bottom:3rem}
.sidebar{position:sticky;top:1rem;align-self:start;display:flex;flex-direction:column;gap:1rem;padding:1.2rem;background:linear-gradient(180deg,var(--surface),color-mix(in srgb,var(--surface) 94%,var(--bg)));border:1px solid rgba(148,163,184,.42);border-radius:26px;box-shadow:0 20px 55px rgba(15,23,42,.14), inset 0 1px 0 rgba(255,255,255,.35)}
.sidebar::before{content:'';display:block;height:4px;border-radius:999px;background:linear-gradient(90deg,#d8c49a,#c4b28a);margin-bottom:.25rem}
.sidebar-card{background:var(--surface);border:1px solid rgba(148,163,184,.2);border-radius:18px;padding:1rem;box-shadow:0 8px 18px rgba(15,23,42,.04)}
.sidebar-card .section-title{margin-top:0;margin-bottom:.7rem}
.sidebar-card ul{margin:.3rem 0 0;padding-left:1.1rem}
.sidebar-card li{margin:.35rem 0}
@media (max-width:900px){.main-grid{grid-template-columns:1fr}.sidebar{position:static;box-shadow:0 10px 28px rgba(15,23,42,.08);padding:1rem}}


/* v1.4.0 breadcrumb hard fix */
.breadcrumbs{display:block;margin:0 0 1rem;color:#9ca3af}.breadcrumbs span{color:#9ca3af}.archive-header{margin:0 0 1rem}.archive-header .section-title{margin:0}


/* v1.4.0 comments and widgets */
.comments-area{margin-top:1.5rem;padding:1.25rem;background:var(--surface);border:1px solid rgba(148,163,184,.24);border-radius:24px;box-shadow:0 12px 30px rgba(15,23,42,.06)}
.comments-area .comment-list{list-style:none;padding:0;margin:0 0 1rem}.comments-area .comment{padding:1rem 0;border-bottom:1px solid rgba(148,163,184,.18)}
.comments-area .comment:last-child{border-bottom:0}
.comments-area .comment-body{padding:.25rem 0}.comments-area .comment-author{font-weight:700}.comments-area .comment-meta{font-size:.85rem;color:var(--muted)}
.comments-area .comment-content{margin-top:.5rem;color:var(--text)}
.comments-area .comment-respond{margin-top:1rem;padding-top:1rem;border-top:1px solid rgba(148,163,184,.18)}
.comments-area input[type='text'],.comments-area input[type='email'],.comments-area input[type='url'],.comments-area textarea,.sidebar input[type='search'],.sidebar input[type='text']{width:100%;padding:.8rem .9rem;border:1px solid rgba(148,163,184,.28);border-radius:14px;background:var(--surface);color:var(--text)}
.comments-area .submit,.sidebar button,.sidebar input[type='submit']{padding:.75rem 1rem;border:0;border-radius:14px;background:#d8c49a;color:#111827;font-weight:700;cursor:pointer}
.sidebar-card{padding:1.05rem;background:linear-gradient(180deg,var(--surface),color-mix(in srgb,var(--surface) 96%,var(--bg)));border:1px solid rgba(148,163,184,.2);border-radius:20px;box-shadow:0 10px 22px rgba(15,23,42,.04)}
.sidebar-card + .sidebar-card{margin-top:1rem}
.sidebar .widget, .sidebar .widget_block{margin:0}
.sidebar .widget-title, .sidebar .section-title{margin:0 0 .8rem;line-height:1.1}
.sidebar ul{margin:.2rem 0 0;padding-left:1.1rem}
.sidebar li{margin:.35rem 0}
@media (max-width:700px){.comments-area{padding:1rem;border-radius:18px}.sidebar-card{padding:.95rem;border-radius:18px}}


/* v1.4.0 sidebar widget unification */
.sidebar .widget, .sidebar .widget_block, .sidebar-card{background:var(--surface);border:1px solid rgba(148,163,184,.22);border-radius:18px;padding:1rem;box-shadow:0 8px 18px rgba(15,23,42,.04)}
.sidebar .widget + .widget, .sidebar .widget_block + .widget_block, .sidebar-card + .sidebar-card{margin-top:1rem}
.sidebar .widget-title, .sidebar .section-title{font-size:1rem;margin:0 0 .8rem;line-height:1.1}
.sidebar a{color:#9ca3af;text-decoration:none}


/* v1.4.0 header and polish */
.topbar{background:linear-gradient(180deg,color-mix(in srgb,var(--surface) 92%,var(--bg)),transparent)}
.topbar-inner{display:flex;justify-content:flex-end;gap:.5rem;padding:.6rem 0}.theme-toggle,.menu-toggle{border:1px solid rgba(148,163,184,.26);background:var(--surface);color:var(--text);border-radius:999px;min-width:42px;min-height:42px;box-shadow:0 6px 16px rgba(15,23,42,.04)}
.site-header{border-bottom:1px solid rgba(148,163,184,.16);background:var(--surface);position:sticky;top:0;z-index:40}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:74px}.brand-wrap{display:flex;flex-direction:column;gap:.15rem}.brand a{font:800 1.25rem var(--display);letter-spacing:-.03em;text-decoration:none;color:var(--text)}.brand-tag{font-size:.82rem;color:var(--muted);line-height:1}.nav-shell ul{display:flex;gap:1rem;list-style:none;padding:0;margin:0;flex-wrap:wrap}.nav-shell a{color:#9ca3af;text-decoration:none;font-weight:600}.section-head{display:flex;flex-direction:column;gap:.45rem;margin:0 0 .95rem}.section-title{margin:0;line-height:1.08}.latest-news-wrap{margin-top:3rem}.article-card{border:1px solid rgba(148,163,184,.22)}.comments-area,.sidebar{transition:box-shadow .2s ease}.comments-area:hover,.sidebar:hover{box-shadow:0 18px 45px rgba(15,23,42,.08)}
@media (max-width:900px){.header-inner{flex-direction:column;align-items:flex-start;padding:.8rem 0}.nav-shell ul{justify-content:flex-start}.site-header{position:static}.section-head{gap:.35rem}.latest-news-wrap{margin-top:2rem}}
@media (max-width:700px){.brand a{font-size:1.12rem}.brand-tag{font-size:.78rem}.article-card{border-radius:18px}.article-card .card-body{padding:.78rem .84rem}.sidebar,.comments-area{border-radius:18px}}


/* v1.4.0 mobile header compactness */
@media (max-width:700px){.topbar-inner{padding:.45rem 0;gap:.35rem}.theme-toggle,.menu-toggle{min-width:38px;min-height:38px;font-size:.95rem}.site-header{position:static}.header-inner{gap:.55rem;min-height:unset;padding:.65rem 0 .8rem}.brand-wrap{gap:.08rem}.brand a{font-size:1.02rem;line-height:1.05}.brand-tag{font-size:.72rem}.nav-shell ul{gap:.65rem}.nav-shell a{font-size:.92rem;line-height:1.1}.site-main{padding-top:.2rem}}


/* v1.4.0 mobile header actions */
.header-actions{display:none;align-items:center;gap:.45rem}.header-toggle{min-width:38px;min-height:38px;border:1px solid rgba(148,163,184,.26);background:var(--surface);border-radius:999px;box-shadow:0 6px 16px rgba(15,23,42,.04)}
@media (max-width:700px){.topbar{display:none}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:.6rem;min-height:unset;padding:.6rem 0 .7rem}.brand-wrap{flex:1 1 auto}.header-actions{display:flex;flex:0 0 auto}.header-toggle{min-width:36px;min-height:36px}.brand a{font-size:1rem}.brand-tag{font-size:.7rem;line-height:1}.nav-shell{width:100%}.nav-shell ul{gap:.55rem;justify-content:flex-start;flex-wrap:wrap}.nav-shell a{font-size:.9rem}.site-header{position:static}}


/* v1.4.0 desktop parity and iPhone alignment */
.header-actions{display:flex;align-items:center;gap:.45rem}.header-toggle{min-width:38px;min-height:38px;border:1px solid rgba(148,163,184,.26);background:var(--surface);border-radius:999px;box-shadow:0 6px 16px rgba(15,23,42,.04)}
.topbar{display:none}
@media (min-width:701px){.header-inner{min-height:78px;padding:.15rem 0}.brand-wrap{gap:.1rem}.brand a{font-size:1.22rem}.brand-tag{font-size:.82rem}.nav-shell ul{gap:.9rem}.site-header{position:sticky;top:0;z-index:40}}
@media (max-width:700px){.header-inner{gap:.55rem;min-height:unset;padding:.55rem 0 .7rem;transform:translateY(1px)}.header-actions{gap:.35rem}.header-toggle{min-width:36px;min-height:36px}.brand a{font-size:1rem}.brand-tag{font-size:.7rem;line-height:1}.nav-shell{width:100%}.nav-shell ul{gap:.55rem;justify-content:flex-start;flex-wrap:wrap}.nav-shell a{font-size:.9rem}.site-header{position:static}}
.site-footer{padding:1.05rem 0}
@media (max-width:700px){.site-footer{padding:.95rem 0;transform:translateY(-1px)}}


/* v1.4.0 toggle fix and footer link */
.theme-toggle,.menu-toggle{cursor:pointer}.footer-brand{color:#9ca3af;text-decoration:none}.footer-brand:hover{color:#d8c49a}.nav-shell.open{display:block}
@media (max-width:700px){.footer-grid{gap:.4rem}.footer-brand{font-size:.92rem}}


/* v1.4.0 mobile nav conflict fix */
@media (max-width:700px){.nav-shell{display:none}.nav-shell.open{display:block}}
