/*
Theme Name: MotorRift — Real Garage
Theme URI: https://motorrift.com/
Author: MotorRift
Description: MotorRift: an independent global car research garage with market-specific vehicle dossiers, buying guides and engineering explainers. Preserves existing Foundation records. Does not create, migrate or publish content.
Version: 1.5.6
Requires at least: 6.2
Requires PHP: 8.1
Text Domain: weraone-realgarage
*/
:root{--bg:#0e1518;--panel:#162228;--ink:#e9ebe7;--muted:#b5c0bd;--paper:#f8f6f1;--light-ink:#202b2c;--accent:#ef7a42;--line:#38474a;--max:1240px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.65 system-ui,-apple-system,'Segoe UI',sans-serif;overflow-x:clip}button,input{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}img{max-width:100%;height:auto}p{margin:0 0 1.1em}h1,h2,h3{margin:0}svg{display:block}.rg-container{width:min(var(--max),calc(100% - 54px));margin-inline:auto}.rg-main{position:relative;z-index:4}.rg-sr,.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.rg-skip{position:absolute;top:-80px;left:18px;padding:12px 18px;background:white;color:black;z-index:10000}.rg-skip:focus{top:10px}.rg-eyebrow{font-size:10px;letter-spacing:.19em;color:#f4a67f;font-weight:900;text-transform:uppercase}.rg-amber-diamond{display:inline-block;width:7px;height:7px;transform:rotate(45deg);background:var(--accent);vertical-align:middle;margin-right:9px}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #f4a67f;outline-offset:3px}
.rg-header{position:relative;z-index:80;background:#111a1e;border-bottom:1px solid #35434a;box-shadow:0 12px 22px rgba(0,0,0,.15)}.rg-header-top{min-height:86px;display:flex;gap:30px;align-items:center;justify-content:space-between}.rg-brand{display:inline-flex;align-items:center;gap:14px;min-width:186px}.rg-mark{width:44px;height:44px;background:#1d272b;border-radius:3px;transform:skew(-8deg);display:flex;align-items:center;justify-content:center;gap:4px}.rg-mark i{height:25px;width:5px;background:var(--accent);transform:skew(-12deg)}.rg-mark i:first-child{height:17px}.rg-mark i:last-child{height:19px}.rg-brand-text{display:flex;flex-direction:column;gap:0}.rg-brand b{color:white;font-size:24px;letter-spacing:-.08em;line-height:1}.rg-brand small{color:var(--accent);font-size:10px;letter-spacing:.23em;font-weight:900;margin-top:5px}.rg-head-tag{font-size:10px;letter-spacing:.23em;font-weight:850;color:#d3b39f;margin-left:auto}.rg-header-search{display:flex;background:#f7f6f2;border-radius:7px;overflow:hidden;width:350px;height:44px;border:1px solid #596167}.rg-header-search input{min-width:0;flex:1;width:100%;border:0;background:transparent;padding:0 15px;color:#20292c;font-size:13px;outline:0}.rg-header-search button{width:46px;background:#202b2f;color:var(--accent);border:4px solid #f7f6f2;display:grid;place-items:center;border-radius:6px}.rg-header-search svg{width:20px;height:20px}.rg-header-nav{border-top:1px solid #34444a;background:#172429}.rg-nav{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:47px}.rg-nav-items{display:flex;align-items:center;gap:clamp(12px,1.65vw,26px);flex-wrap:wrap}.rg-nav a{font-size:11px;color:#e5e7e3;font-weight:730}.rg-nav-aside{margin-left:auto;white-space:nowrap;color:#e3aa89;font-weight:850;font-size:9px;letter-spacing:.16em}.rg-menu-toggle{display:none;border:1px solid #556568;background:transparent;border-radius:7px;color:#fff;padding:8px 12px}
/* Media exhaust deliberately lives below all text and cards, not as an obstructing overlay. */
.rg-exhaust-layer{position:fixed;z-index:1;inset:0;pointer-events:none;overflow:hidden;opacity:.64;transition:opacity .5s;isolation:isolate}.rg-exhaust{position:absolute;width:clamp(210px,25vw,400px);top:62%;transform:translateY(-50%);filter:drop-shadow(0 6px 18px #0009);opacity:.80}.rg-exhaust-left{left:-42px}.rg-exhaust-right{right:-42px;top:73%}.rg-exhaust img{width:100%;max-width:none;display:block}.rg-home-above .rg-exhaust-layer{opacity:0;visibility:hidden}.rg-rev .rg-exhaust-layer{opacity:.95}.rg-header,.rg-footer{position:relative;z-index:6}.rg-footer{background:#0b1114;border-top:1px solid #334046;color:#c8d1cc;padding:45px 0}.rg-footer-inner{display:flex;justify-content:space-between;gap:40px}.rg-footer strong{font-size:22px;color:white;letter-spacing:-.06em}.rg-footer em{font-size:11px;color:var(--accent);letter-spacing:.16em;font-style:normal;margin-left:5px}.rg-footer p{font-size:12px;max-width:480px;color:#a2afaa;margin-top:12px}.rg-footer-right{display:flex;flex-direction:column;align-items:flex-end;gap:7px;font-size:11px}.rg-footer-right span:first-child{color:#dfa47d;font-size:10px;font-weight:850;letter-spacing:.16em}
/* Photo occupies entire hero: not a small framed illustration. */
.rg-hero{position:relative;min-height:560px;isolation:isolate;background:#0b1115;overflow:hidden}.rg-hero-photo{position:absolute;inset:0;z-index:-2;opacity:1}.rg-hero-photo>img{position:absolute;width:76%;height:100%;right:0;top:0;object-fit:cover;object-position:48% 49%;filter:saturate(.91) contrast(1.05) brightness(.81)}.rg-hero-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#0a1115 0%,rgba(10,17,21,.97) 16%,rgba(10,17,21,.83) 32%,rgba(10,17,21,.22) 56%,rgba(10,17,21,.08) 100%),linear-gradient(0deg,#0b1215 0%,transparent 28%,rgba(0,0,0,.11) 100%)}.rg-hero-inner{min-height:510px;display:flex;align-items:center;position:relative}.rg-hero-copy{position:relative;z-index:2;width:min(590px,54%);padding:42px 0 29px}.rg-hero h1{color:#fff;font:700 clamp(48px,5.1vw,77px)/.99 Georgia,'Times New Roman',serif;letter-spacing:-.066em;margin:19px 0 20px;text-wrap:balance;text-shadow:0 3px 24px #000b}.rg-hero h1 em{display:block;color:var(--accent);font-weight:620;font-style:italic}.rg-hero-copy>p{color:#d3d8d5;font-size:16px;line-height:1.68;max-width:450px;text-shadow:0 2px 12px #000a}.rg-hero-links{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:17px}.rg-primary-btn,.rg-text-btn{display:inline-flex;align-items:center;gap:15px;justify-content:center;padding:12px 19px;border-radius:5px;font-size:12px;font-weight:780}.rg-primary-btn{background:var(--accent);color:#101617;box-shadow:0 9px 25px #05090c66}.rg-primary-btn:hover{color:#121615;background:#ff915d}.rg-text-btn{border:1px solid #697477;color:#ecede8;background:#0c1316c9}.rg-text-btn:hover{background:#1d2b30}.rg-ignition{width:min(395px,100%);padding:12px;border:1px solid #7e7067;background:#0a1014dc;border-radius:10px;box-shadow:0 12px 38px #0007;margin:18px 0 4px}.rg-ignition-top{display:flex;gap:10px;align-items:center;margin:0 0 10px;color:#ebcfbc;font-size:10px;letter-spacing:.15em;font-weight:850}.rg-ignition-top b{margin-left:auto;font-size:10px;color:#aebdb7}.rg-ignition-light{width:8px;height:8px;border-radius:50%;background:#727e7e}.rg-engine-on .rg-ignition-light{background:#efad6c;box-shadow:0 0 14px #f5a466}.rg-ignition-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.rg-ignition button{padding:11px 8px;font-weight:850;font-size:11px;letter-spacing:.07em;border-radius:5px}.rg-ignition button:first-child{background:var(--accent);color:#131b1c;border:0}.rg-ignition button:last-child{background:#1d2e35;border:1px solid #c5784d;color:#f6d2b4}.rg-ignition button:disabled{opacity:.42;cursor:not-allowed}.rg-ignition small{color:#b4c2bd;font-size:10px;display:block;margin-top:7px}.rg-hero-readout{position:absolute;bottom:22px;right:3vw;display:flex;gap:18px;z-index:2;background:#070d0fe6;border:1px solid #687175;border-radius:9px;padding:10px 18px;color:#e7eee9}.rg-hero-readout>span{font-size:9px;letter-spacing:.11em;text-transform:uppercase;display:flex;align-items:baseline;gap:8px;color:#e5a57e}.rg-hero-readout strong{font-size:18px;letter-spacing:0;color:#fff}.rg-hero-readout small{font-size:9px;letter-spacing:0;color:#c1d0cc;text-transform:none}.rg-photographic-needle{position:absolute;pointer-events:none;background:linear-gradient(90deg,#f37145 0%,#ffcf9a 70%,transparent);height:3px;width:6%;border-radius:5px;transform-origin:100% 50%;box-shadow:0 0 9px #f45427;opacity:.82;transition:transform .35s ease}.rg-needle-rpm{left:38.9%;top:54%;transform:rotate(-20deg)}.rg-needle-speed{left:69.5%;top:54%;transform:rotate(18deg)}.rg-engine-on .rg-needle-rpm{animation:rg-idle 1.1s ease-in-out infinite alternate}.rg-engine-on .rg-needle-speed{transform:rotate(13deg)}.rg-rev .rg-needle-rpm{animation:rg-revneedle .8s ease-in-out both}.rg-rev .rg-needle-speed{transform:rotate(25deg)}@keyframes rg-idle{from{transform:rotate(-17deg)}to{transform:rotate(-11deg)}}@keyframes rg-revneedle{0%{transform:rotate(-13deg)}45%{transform:rotate(49deg)}100%{transform:rotate(-14deg)}}.rg-hero-rail{background:rgba(17,27,32,.96);border-top:1px solid #435155;border-bottom:1px solid #425154}.rg-hero-rail-inner{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.rg-hero-rail-inner span{padding:17px 20px;font-size:10px;letter-spacing:.11em;font-weight:850;border-right:1px solid #36454a}.rg-hero-rail-inner span:first-child{padding-left:0}.rg-hero-rail-inner span:last-child{border:0}.rg-hero-rail-inner b{color:var(--accent);margin-right:11px}
/* Home sections */
.rg-lanes{padding:60px 0 20px}.rg-block-head{margin-bottom:20px}.rg-block-head h2,.rg-section-top h2{font:690 clamp(27px,3.2vw,43px)/1.12 Georgia,serif;letter-spacing:-.04em;color:white;margin-top:8px}.rg-lanes-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.rg-lanes-grid>a{display:flex;flex-direction:column;background:linear-gradient(145deg,#1c2b30,#142126);border:1px solid #49585a;border-radius:13px;padding:22px;min-height:238px;transition:transform .18s,border-color .18s}.rg-lanes-grid>a:hover{transform:translateY(-3px);border-color:#f1a77d;color:inherit}.rg-lanes-number{font-size:10px;color:#efa67e;font-weight:880;letter-spacing:.17em}.rg-lanes svg{margin:18px 0 8px;width:40px;height:40px;fill:none;stroke:#efb18e;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.rg-lanes h3{font-size:19px;letter-spacing:-.025em;color:#fff}.rg-lanes p{font-size:12px;color:#aebfbb;line-height:1.65;margin:8px 0 18px}.rg-lane-arrow{font-size:10px;letter-spacing:.1em;font-weight:850;margin-top:auto;color:#f0b08d}.rg-home-section{padding:48px 0 42px}.rg-section-top{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:20px}.rg-section-top p{margin-top:10px;font-size:13px;color:#aebdb7}.rg-section-top>a{font-size:12px;color:var(--accent);font-weight:800;white-space:nowrap}.rg-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.rg-card{display:flex;flex-direction:column;min-width:0;padding:22px;background:#f8f7f3;color:#233033;border-radius:9px;border:1px solid #d9dfda;box-shadow:0 7px 20px #0001}.rg-card-top{display:flex;justify-content:space-between;align-items:center;color:#925537;font-size:10px;font-weight:900;letter-spacing:.13em}.rg-dot{height:8px;width:8px;background:#c66b3b;transform:rotate(45deg)}.rg-card-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:15px}.rg-card-tags>span{padding:3px 8px;font-size:10px;background:#e8ebe6;border-radius:4px;font-weight:770}.rg-card h3{margin:16px 0 11px;font:680 clamp(20px,2vw,27px)/1.16 Georgia,serif;letter-spacing:-.04em;color:#1f2829}.rg-card p{font-size:12px;line-height:1.68;color:#556361;flex:1}.rg-card-cta{display:flex;justify-content:space-between;align-items:center;padding-top:14px;border-top:1px solid #d9dfda;font-size:11px;font-weight:850;color:#b45530;margin-top:12px}
/* Archive */
.rg-archive{min-height:60vh}.rg-archive-container{padding:55px 0 90px}.rg-archive-head{border:1px solid #3c5156;background:linear-gradient(135deg,#213339,#111d22);border-radius:15px;padding:36px;margin-bottom:26px}.rg-archive-head h1{font:680 clamp(32px,5vw,59px)/1.08 Georgia,serif;margin:12px 0;color:#fff;letter-spacing:-.045em}.rg-archive-head p{color:#c3d0ca;max-width:720px}.rg-archive-layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:26px}.rg-side-panel{border:1px solid #405356;background:#18272c;border-radius:10px;padding:22px}.rg-side-panel>strong{font-size:12px;color:#f5bb96;letter-spacing:.13em}.rg-side-panel>a{display:flex;justify-content:space-between;border-bottom:1px solid #384b4e;padding:11px 0;font-size:12px;color:#e7e9e5}.rg-side-panel>a:hover{color:var(--accent)}.rg-archive-console{background:#1a292e;border:1px solid #4a5e60;border-radius:11px;padding:19px;display:flex;gap:20px;align-items:center;justify-content:space-between;margin-bottom:16px}.rg-archive-console strong{display:block;font-size:22px;letter-spacing:-.035em;margin-top:4px}.rg-archive-console small{display:block;font-size:11px;color:#b3c1bc;margin-top:4px}.rg-archive-console input{width:290px;max-width:100%;border:1px solid #8d9a99;border-radius:6px;background:#f8f8f4;color:#1b292d;padding:10px 13px;font-size:12px}.rg-archive .rg-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rg-archive-results{min-width:0}.rg-pagination{margin-top:30px;text-align:center}.rg-pagination .nav-links{display:flex;align-items:center;gap:10px;justify-content:center}.rg-pagination a,.rg-pagination span{display:inline-block;padding:8px 12px;border:1px solid #506063;border-radius:5px;font-size:12px}.rg-pagination .current{background:var(--accent);color:#131b1c}.rg-no-results{padding:50px 10px}
/* Single articles and specifications */
.rg-single{min-height:65vh}.rg-single-container{padding:26px 0 85px}.rg-trail{font-size:11px;color:#a9c0b8;display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:6px 0 25px}.rg-story{position:relative;border-radius:15px;background:var(--paper);color:var(--light-ink);padding:clamp(20px,4.6vw,52px);border:1px solid #d3d9d5;box-shadow:0 25px 50px #0002}.rg-story-head{max-width:970px;padding-bottom:22px}.rg-story-class{font-weight:900;letter-spacing:.15em;color:#bc5b34;font-size:10px}.rg-story h1{font:690 clamp(34px,5vw,65px)/1.07 Georgia,serif;letter-spacing:-.055em;margin:14px 0 18px;max-width:22ch;text-wrap:balance}.rg-story .rg-lead{max-width:850px;color:#56645f;font-size:17px;line-height:1.7}.rg-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.rg-tags span{display:inline-block;background:#e6e8e2;border:1px solid #d7ddd7;padding:5px 9px;border-radius:4px;font-size:11px;font-weight:770}.rg-spec-board{background:#142127;color:#fff;border-radius:12px;overflow:hidden;margin:20px 0 38px;border:1px solid #46565b}.rg-board-top{display:flex;justify-content:space-between;gap:15px;padding:13px 20px;font-size:10px;letter-spacing:.16em;color:#efb08d;font-weight:850;border-bottom:1px solid #435055}.rg-spec-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#39494c}.rg-spec-grid>div{padding:17px;background:#1a292f;display:flex;flex-direction:column;gap:7px;min-width:0}.rg-spec-grid span{font-size:10px;color:#e3ac8c;text-transform:uppercase;letter-spacing:.11em;font-weight:800}.rg-spec-grid strong{font-size:clamp(15px,1.8vw,23px);line-height:1.3;overflow-wrap:anywhere}.rg-spec-board>small{display:block;padding:13px 18px;font-size:10px;color:#ccd5d1}.rg-reading-layout{display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:32px}.rg-reading-main{min-width:0}.rg-story-toolbar{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #d9ddda;border-bottom:1px solid #d9ddda;padding:14px 0;color:#a74d2c;font-weight:860;font-size:10px;letter-spacing:.11em;margin-bottom:23px}.rg-article-body{font-size:16px;line-height:1.85;color:#33403e;overflow-wrap:anywhere}.rg-article-body h2{font:680 clamp(23px,3vw,31px)/1.23 Georgia,serif;color:#1b2829;margin:34px 0 12px;letter-spacing:-.025em}.rg-article-body h3{font:700 21px/1.25 Georgia,serif;color:#1b2829;margin:24px 0 10px}.rg-article-body p{margin:0 0 17px}.rg-article-body ul,.rg-article-body ol{padding-left:23px}.rg-article-body li{margin:7px 0}.rg-article-body a{color:#ad4e2b;text-decoration:underline;text-underline-offset:3px}.rg-article-body img{border-radius:7px}.rg-article-body table{max-width:100%;display:block;overflow-x:auto;border-collapse:collapse}.rg-article-body th,.rg-article-body td{border:1px solid #d5ddd7;padding:9px 12px;text-align:left}.rg-reading-side .rg-side-panel{position:sticky;top:20px}.rg-reading-side .rg-side-panel h2{color:white;font:680 25px Georgia,serif;margin:9px 0 10px}.rg-side-info{margin-top:20px;border-top:1px solid #d9ddd7;padding:16px 2px;color:#61706c;font-size:12px}.rg-side-info strong{color:#a24e30;font-size:10px;letter-spacing:.15em}.rg-story-end{border-top:1px solid #d9ddd7;margin-top:45px;padding-top:20px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:11px;letter-spacing:.06em;color:#5c6c69}.rg-story-end a{color:#ae4b28;font-weight:800}
@media(max-width:1100px){.rg-head-tag,.rg-nav-aside{display:none}.rg-nav-items{justify-content:center}.rg-hero-copy{width:56%}.rg-hero h1{font-size:clamp(45px,5.5vw,65px)}.rg-lanes-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rg-hero-photo>img{width:82%}}
@media(max-width:830px){.rg-header-top{min-height:70px}.rg-header-search{max-width:250px}.rg-menu-toggle{display:block}.rg-header-nav .rg-nav{display:none}.rg-header-nav .rg-nav.rg-nav-open{display:flex;padding-top:16px;padding-bottom:18px}.rg-nav-items{display:flex;flex-direction:column;align-items:flex-start;width:100%;gap:12px}.rg-nav a{font-size:13px}.rg-hero{min-height:540px}.rg-hero-copy{width:min(590px,85%)}.rg-hero-photo>img{width:100%;opacity:.75;object-position:60% 50%}.rg-hero-shade{background:linear-gradient(90deg,#0b1418 .5%,#0b1418d9 57%,#0b141856 100%),linear-gradient(0deg,#0b1418,transparent 30%)}.rg-hero-readout{right:20px}.rg-hero-rail-inner{grid-template-columns:repeat(2,1fr)}.rg-reading-layout{grid-template-columns:1fr}.rg-reading-side{display:none}.rg-archive-layout{grid-template-columns:1fr}.rg-archive-sidebar{display:none}}
@media(max-width:620px){.rg-container{width:calc(100% - 32px)}.rg-header-top{gap:10px;flex-wrap:wrap;padding:12px 0}.rg-brand{min-width:155px}.rg-brand b{font-size:20px}.rg-brand small{font-size:9px}.rg-mark{width:37px;height:37px}.rg-header-search{order:3;max-width:none;width:100%;flex-basis:100%;height:40px}.rg-menu-toggle{margin-left:auto}.rg-hero{min-height:0}.rg-hero-inner{min-height:505px;align-items:flex-start}.rg-hero-copy{padding:35px 0 100px;width:100%}.rg-hero h1{font-size:clamp(42px,10vw,59px);max-width:440px}.rg-hero-copy>p{font-size:14px;max-width:350px}.rg-hero-photo>img{width:100%;object-position:53% center;opacity:.42}.rg-hero-shade{background:linear-gradient(90deg,#0a1115d9,#0a1115a8),linear-gradient(0deg,#0a1115,transparent 35%)}.rg-hero-readout{right:auto;left:16px;bottom:11px;gap:12px;padding:8px 10px}.rg-hero-readout strong{font-size:15px}.rg-hero-rail-inner{grid-template-columns:repeat(2,minmax(0,1fr))}.rg-hero-rail-inner span{font-size:9px;padding:12px}.rg-hero-rail-inner span:first-child{padding-left:12px}.rg-lanes{padding-top:38px}.rg-lanes-grid{grid-template-columns:1fr}.rg-lanes-grid>a{min-height:150px;padding:18px}.rg-lanes svg{margin:8px 0;width:32px;height:32px}.rg-card-grid,.rg-archive .rg-card-grid{grid-template-columns:1fr}.rg-section-top{align-items:start}.rg-section-top h2{font-size:30px}.rg-archive-container{padding:26px 0 60px}.rg-archive-head{padding:23px}.rg-archive-console{flex-direction:column;align-items:stretch}.rg-archive-console input{width:100%}.rg-single-container{padding:15px 0 55px}.rg-story{padding:20px}.rg-story h1{font-size:clamp(32px,8.3vw,46px)}.rg-story .rg-lead{font-size:15px}.rg-spec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rg-board-top{font-size:8px;letter-spacing:.1em}.rg-footer-inner{flex-direction:column;gap:18px}.rg-footer-right{align-items:flex-start}.rg-exhaust{width:200px;opacity:.4}.rg-exhaust-left{left:-58px}.rg-exhaust-right{right:-58px}.rg-hero-links{gap:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.rg-exhaust-layer{display:none}.rg-photographic-needle{transition:none!important;animation:none!important}.rg-lanes-grid a{transition:none}}


/* Real Garage v1.1 — photographed workshop atmosphere + legible, compact cockpit. */
body.rg-site{background:#0b1418 url("assets/garage-industrial.webp") center 12%/cover fixed no-repeat;}
body.rg-site::before{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;background:linear-gradient(180deg,rgba(9,17,21,.72),rgba(9,17,21,.81)),radial-gradient(ellipse at 72% 12%,rgba(214,110,68,.08),transparent 56%);}
/* Exhaust animation is photographic media. Visible in page gutters but BEHIND headings, cards and links. */
.rg-exhaust-layer{position:fixed;inset:0;z-index:5;opacity:.76;visibility:visible;transition:opacity .4s,visibility .4s;pointer-events:none;overflow:hidden;}
.rg-exhaust{width:clamp(265px,26vw,465px);top:60%;opacity:.95;filter:drop-shadow(0 9px 14px rgba(0,0,0,.5));}
.rg-exhaust-left{left:-65px;top:57%;}
.rg-exhaust-right{right:-65px;top:69%;}
.rg-main{position:relative;z-index:6;background:transparent;}
.rg-header{position:relative;z-index:12}.rg-footer{position:relative;z-index:8}
body.rg-home-above .rg-exhaust-layer{opacity:0;visibility:hidden;}
body.rg-rev:not(.rg-home-above) .rg-exhaust-layer{opacity:.98;}
/* Industrial space continues into the archive, but content surfaces remain clear. */
.rg-lanes,.rg-home-section,.rg-archive-container,.rg-single-container{position:relative;z-index:1;}
.rg-home-section,.rg-lanes{isolation:isolate;}
/* Hero: background is workshop, cockpit is oversized but NEVER overlaps the primary text. */
.rg-hero{min-height:536px;isolation:isolate;background:#111c21 url("assets/garage-industrial.webp") center 22%/cover no-repeat;overflow:hidden;}
.rg-hero::before{content:"";position:absolute;inset:0;z-index:-3;background:linear-gradient(90deg,rgba(6,11,13,.85),rgba(13,23,29,.31)),linear-gradient(0deg,rgba(2,6,9,.6),transparent 40%);}
.rg-hero-photo{position:absolute;inset:0;z-index:-2;overflow:hidden;opacity:1;}
.rg-cockpit-visual{position:absolute;width:min(1120px,71vw);aspect-ratio:950/555;right:0;top:50%;transform:translateY(-50%);filter:saturate(.95) contrast(1.04);mask-image:linear-gradient(90deg,transparent 0%,#000 13%,#000 94%,transparent 100%);}
.rg-hero-photo .rg-cockpit-visual>img{display:block;width:100%;height:auto;opacity:.92;}
.rg-hero-shade{z-index:-1;background:linear-gradient(90deg,rgba(6,12,15,.98) 0%,rgba(6,12,15,.97) 16%,rgba(6,12,15,.85) 28%,rgba(6,12,15,.60) 37%,rgba(6,12,15,.05) 64%,rgba(6,12,15,.1) 100%),linear-gradient(0deg,rgba(6,12,15,.95) 0%,transparent 18%,rgba(0,0,0,.15) 100%);}
.rg-hero-inner{min-height:484px;align-items:center;}
.rg-hero-copy{width:min(510px,44%);padding:24px 0 17px;}
.rg-hero h1{font-size:clamp(43px,4.0vw,65px);line-height:1.04;letter-spacing:-.05em;max-width:490px;margin:14px 0 18px;text-wrap:balance;}
.rg-hero h1 em{white-space:normal;}
.rg-hero-copy>p{font-size:14px;line-height:1.64;max-width:370px;margin-bottom:13px;color:#e4e6df;}
.rg-ignition{width:min(375px,100%);margin:12px 0 4px;padding:11px 12px;background:rgba(8,16,19,.86);border:1px solid rgba(233,164,117,.38);}
.rg-ignition button{padding:9px 8px;font-size:10px;}
.rg-hero-links{margin-top:10px;}
.rg-primary-btn,.rg-text-btn{padding:10px 15px;font-size:11px;}
.rg-hero-readout{position:absolute;right:2%;bottom:17px;padding:8px 13px;gap:14px;}
.rg-hero-rail{background:rgba(13,23,27,.96);}
.rg-hero-rail-inner span{padding:11px 14px;font-size:9px;}
/* Animated needles attach to photographic dials rather than the entire viewport. */
.rg-photographic-needle{height:2px;width:9%;transform-origin:95% 50%;opacity:.8;box-shadow:0 0 8px rgba(248,107,54,.85);}
.rg-needle-rpm{left:15.5%;top:52.4%;transform:rotate(10deg);}
.rg-needle-speed{left:55.5%;top:52.4%;transform:rotate(-10deg);}
/* subtle engine response; exact RPM/speed are expressly decorative */
.rg-engine-on .rg-needle-rpm{animation:rg-idle 1.4s ease-in-out infinite alternate;}
.rg-rev .rg-needle-rpm{animation:rg-revneedle .8s ease-in-out both;}
.rg-engine-on .rg-needle-speed{transform:rotate(-7deg)}
.rg-rev .rg-needle-speed{transform:rotate(11deg)}
@keyframes rg-idle{from{transform:rotate(6deg)}to{transform:rotate(13deg)}}
@keyframes rg-revneedle{0%{transform:rotate(12deg)}47%{transform:rotate(65deg)}100%{transform:rotate(10deg)}}
@media(max-width:1100px){
 .rg-hero-copy{width:min(485px,49%)}.rg-hero h1{font-size:clamp(42px,4.7vw,57px)}
 .rg-cockpit-visual{width:min(1010px,76vw);right:-5%;}
}
@media(max-width:830px){
 .rg-hero-copy{width:min(520px,78%);}
 .rg-cockpit-visual{width:107%;right:-37%;top:59%;opacity:.6;}
 .rg-hero-shade{background:linear-gradient(90deg,rgba(5,12,16,.98),rgba(5,12,16,.84) 60%,rgba(5,12,16,.29)),linear-gradient(0deg,#061016 0%,transparent 48%);}
 .rg-exhaust{width:240px;opacity:.65;}.rg-exhaust-left{left:-105px}.rg-exhaust-right{right:-105px}
}
@media(max-width:620px){
 .rg-hero{min-height:0}.rg-hero-inner{min-height:495px;align-items:flex-start;}
 .rg-hero-copy{width:100%;padding:32px 0 82px;}
 .rg-hero h1{font-size:clamp(39px,10.4vw,57px);margin:13px 0 16px;max-width:390px;}
 .rg-hero-copy>p{max-width:315px;font-size:13px;}
 .rg-cockpit-visual{width:155%;right:-81%;top:51%;opacity:.36;}
 .rg-hero-shade{background:linear-gradient(90deg,rgba(5,12,16,.98),rgba(5,12,16,.83) 80%,rgba(5,12,16,.7)),linear-gradient(0deg,rgba(5,12,16,.95),transparent 58%);}
 .rg-hero-readout{bottom:9px;right:12px;left:auto;padding:6px 9px;gap:10px;}
 .rg-hero-readout strong{font-size:13px}.rg-hero-readout small{display:none}
 .rg-exhaust{width:170px;opacity:.42}.rg-exhaust-left{left:-92px}.rg-exhaust-right{right:-92px}
 .rg-hero-links{margin-top:10px}
}
@media(prefers-reduced-motion:reduce){.rg-photographic-needle{animation:none!important}.rg-exhaust-layer{display:none!important}}

/* Photographic smoke media drifts behind all content, never over headings or controls. */
.rg-industrial-haze{position:fixed;inset:0;z-index:4;pointer-events:none;overflow:hidden;opacity:.68;}
.rg-industrial-haze img{position:absolute;right:-7vw;bottom:-35px;width:clamp(600px,67vw,1250px);max-width:none;height:auto;opacity:.54;filter:blur(2px);}
body.rg-home-above .rg-industrial-haze{opacity:.21;}
.rg-hero::after{content:"";position:absolute;right:0;bottom:0;left:0;height:15px;background:linear-gradient(180deg,transparent,rgba(1,8,12,.72));pointer-events:none;}
@media(max-width:620px){.rg-industrial-haze img{right:-58vw;bottom:0;width:800px;opacity:.25;}}
@media(prefers-reduced-motion:reduce){.rg-industrial-haze{display:none!important}}


/* Real Garage v1.2 — driver controls with real interaction, accessible motorway-style wayfinding. */
.rg-ignition{width:min(428px,100%)}
.rg-pedal-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:13px 0 7px;color:#e5b79b;letter-spacing:.15em;font-size:9px;font-weight:850}
.rg-pedal-head button#rg-audio-toggle{border:1px solid #6d7e80!important;background:#1d2a2e!important;color:#f6efe8!important;border-radius:6px;padding:6px 9px;font-size:9px;line-height:1.3;letter-spacing:.07em}
.rg-pedal-head button#rg-audio-toggle[aria-pressed="false"]{color:#a5b4b2!important}
.rg-pedals{display:flex;gap:12px;align-items:stretch}
.rg-ignition .rg-pedals .rg-pedal{min-width:0;display:grid;grid-template-columns:36px 1fr;grid-template-rows:auto auto;align-content:center;align-items:center;gap:0 9px;flex:1;position:relative;overflow:hidden;padding:10px 12px;min-height:60px;background:linear-gradient(145deg,#202d31,#11191c);border:1px solid #6c7774;border-radius:8px;text-align:left;color:#ecede8;touch-action:none;user-select:none;-webkit-user-select:none;cursor:pointer}
.rg-ignition .rg-pedals .rg-pedal:hover:not(:disabled){border-color:#ebb391;background:linear-gradient(145deg,#2d393b,#1c2629)}
.rg-ignition .rg-pedals .rg-pedal:disabled{opacity:.48;cursor:not-allowed}
.rg-ignition .rg-pedals .rg-pedal .rg-pedal-symbol{grid-column:1;grid-row:1/3;display:grid;place-items:center;position:relative;isolation:isolate;background:linear-gradient(#6f7977,#30393a);color:#fff;font-size:22px;line-height:1;width:31px;height:45px;border-radius:8px;border:1px solid #919d9a;box-shadow:inset 0 2px 3px #ffffff2b,inset 0 -3px 4px #0007;transform-origin:50% 100%}
.rg-ignition .rg-pedals .rg-pedal b{grid-column:2;grid-row:1;font-size:13px;letter-spacing:.13em;line-height:1.1}
.rg-ignition .rg-pedals .rg-pedal small{grid-column:2;grid-row:2;margin:1px 0 0;color:#d9aa8d;font-size:9px;letter-spacing:.18em}
.rg-ignition .rg-pedals .rg-pedal-gas{border-color:#aa735a;background:linear-gradient(145deg,#322823,#1e2020)}
.rg-ignition .rg-pedals .rg-pedal:active:not(:disabled),.rg-ignition .rg-pedals .rg-pedal.rg-held{transform:translateY(2px);border-color:#f29a64;box-shadow:inset 0 0 19px #ef7a4222}
.rg-ignition .rg-pedals .rg-pedal.rg-held .rg-pedal-symbol{transform:perspective(80px) rotateX(-17deg);box-shadow:inset 0 0 14px #0009,0 0 14px #c3785040}
.rg-ignition-feedback{font-weight:800;letter-spacing:.12em;font-size:10px;min-height:17px;margin-top:10px;color:#e4ad86}
.rg-skid .rg-ignition-feedback{color:#ffc39a;text-shadow:0 0 9px #ef834963}
.rg-ignition .rg-ignition-actions button{min-height:39px}
.rg-hero-readout{gap:15px}.rg-hero-readout>span{white-space:nowrap}
/* Replace CSS needle keyframes with actual JS position for current pedal input. */
body.rg-site .rg-photographic-needle,body.rg-site.rg-engine-on .rg-photographic-needle,body.rg-site.rg-rev .rg-photographic-needle{animation:none!important;transition:transform .09s linear}
body.rg-site.rg-engine-on .rg-ignition-light{animation:rg-engine-led 2s ease-in-out infinite alternate}
@keyframes rg-engine-led{from{opacity:.7}to{opacity:1}}
/* A route between real links; roads always behind interactive cards. */
.rg-road-intro{max-width:660px;color:#abbcb8;font-size:13px;margin:11px 0 0}
.rg-road-legend{display:inline-flex;align-items:center;gap:10px;padding:7px 12px;border-radius:999px;border:1px solid #596464;background:#1a272b;color:#ebaf87;font-size:10px;font-weight:850;letter-spacing:.13em;margin:2px 0 24px}
.rg-road-legend-mark{width:34px;height:5px;background:repeating-linear-gradient(90deg,#ebb587 0 8px,transparent 8px 13px);border-radius:5px}
.rg-lanes-grid{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:100px 130px;isolation:isolate;padding:20px 35px 26px}
.rg-lanes-grid>a{position:relative;z-index:2;min-height:204px;border-radius:16px;padding:21px 24px 20px 54px;box-shadow:0 18px 38px rgba(0,0,0,.22);background:linear-gradient(130deg,rgba(32,47,50,.98),rgba(17,31,35,.98))}
.rg-lanes-grid>a:nth-of-type(3){grid-column:2;grid-row:2}
.rg-lanes-grid>a:nth-of-type(4){grid-column:1;grid-row:2}
.rg-lanes-grid>a::before{content:attr(data-rg-stop);position:absolute;left:-21px;top:24px;background:#1a2326;border:3px solid #e9925d;color:#ffcca8;box-shadow:0 0 0 7px rgba(233,146,93,.09),0 0 20px rgba(0,0,0,.5);width:48px;height:48px;border-radius:50%;display:grid;place-items:center;font-size:15px;letter-spacing:.03em;font-weight:900}
.rg-lanes-grid>a:hover::before,.rg-lanes-grid>a:focus-visible::before{background:#ec8246;color:#152125}
.rg-lanes-grid>a svg{margin:10px 0 3px;width:32px;height:32px}
.rg-lanes-grid>a h3{margin-top:7px}
.rg-lanes-grid>a p{margin-bottom:12px}
.rg-lanes-grid .rg-route-svg{position:absolute;inset:0;z-index:0;pointer-events:none;width:100%;height:100%;overflow:visible}
.rg-lanes-grid .rg-route-svg .rg-route-asphalt{fill:none;stroke:#343c3e;stroke-width:26;stroke-linecap:round;stroke-linejoin:round}
.rg-lanes-grid .rg-route-svg .rg-route-edge{fill:none;stroke:#778280;stroke-width:29;stroke-linecap:round;stroke-linejoin:round;opacity:.32}
.rg-lanes-grid .rg-route-svg .rg-route-dash{fill:none;stroke:#f4b47c;stroke-width:2.5;stroke-linecap:round;stroke-dasharray:10 18;opacity:.93}
.rg-lanes-grid .rg-route-svg .rg-route-light{fill:none;stroke:#fa9c6a;stroke-width:4;stroke-linecap:round;stroke-dasharray:1 150;opacity:.85;filter:drop-shadow(0 0 7px #fd956b)}
.rg-route-active{outline:1px solid rgba(243,172,111,.4)}
@media(max-width:1050px){.rg-lanes-grid{gap:85px 90px;padding:20px 25px 26px}}
@media(max-width:830px){.rg-lanes-grid{grid-template-columns:1fr;gap:58px;padding:18px 25px}.rg-lanes-grid>a:nth-of-type(3),.rg-lanes-grid>a:nth-of-type(4){grid-column:auto;grid-row:auto}.rg-lanes-grid>a{min-height:158px}.rg-ignition{max-width:100%}}
@media(max-width:620px){.rg-lanes-grid{gap:44px;padding:20px 19px}.rg-lanes-grid>a{padding:18px 16px 18px 41px}.rg-lanes-grid>a::before{left:-20px;width:42px;height:42px}.rg-ignition{width:100%}.rg-ignition .rg-pedals .rg-pedal{padding:9px;gap:0 6px}.rg-ignition .rg-pedals .rg-pedal b{font-size:11px}.rg-hero-copy{padding-bottom:100px}.rg-road-legend{font-size:9px}.rg-lanes h3{font-size:19px}}
@media(prefers-reduced-motion:reduce){.rg-engine-on .rg-ignition-light{animation:none!important}.rg-lanes-grid .rg-route-svg .rg-route-light{display:none}}

/* Real Garage v1.3: single live dial face per gauge, covering the static photo needles. */
.rg-cockpit-visual .rg-live-dial{position:absolute;top:32.25%;width:22.55%;aspect-ratio:1;z-index:5;border-radius:50%;background-color:#05090c;background-position:center;background-repeat:no-repeat;background-size:100% 100%;box-shadow:inset 0 0 18px #000b,0 0 12px #0008;pointer-events:none;overflow:hidden;}
.rg-cockpit-visual .rg-live-dial-rpm{left:12.65%;background-image:url("assets/live-dial-rpm.svg")}
.rg-cockpit-visual .rg-live-dial-speed{left:54.55%;background-image:url("assets/live-dial-speed.svg")}
.rg-live-dial-needle{position:absolute;z-index:2;left:50%;top:50%;width:40%;height:3px;border-radius:999px;background:linear-gradient(90deg,#ffcf95 0%,#ff6541 35%,#b31c12 92%);box-shadow:0 0 8px #ff5e36,0 0 3px #ffab70;transform-origin:0 50%;transform:rotate(140deg);will-change:transform;}
.rg-live-dial-needle::before{content:"";position:absolute;width:13px;height:13px;left:-6px;top:-5px;border-radius:50%;background:radial-gradient(circle,#ab1816 0 20%,#261012 50%,#05090c 80%);border:1px solid #6e3431;}
.rg-live-dial-hub{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);height:13px;width:13px;background:#100e10;border:1px solid #84342b;border-radius:50%;z-index:3;box-shadow:0 0 5px #ff5e3659;}
.rg-engine-on .rg-live-dial-rpm{box-shadow:0 0 18px #ed7b2c1b,inset 0 0 10px #0009;}
body.rg-site .rg-photographic-needle{display:none!important}
.rg-hero-readout{gap:12px!important;}
.rg-hero-readout>span{white-space:nowrap;}
.rg-hero-readout>span:nth-child(2) strong{color:#ffad7e;}
.rg-ignition-feedback{font-variant-numeric:tabular-nums;}
@media(max-width:620px){.rg-hero-readout{gap:7px!important;}.rg-hero-readout>span{font-size:8px;gap:4px}.rg-hero-readout strong{font-size:12px!important;}}
@media(prefers-reduced-motion:reduce){.rg-live-dial-needle{transition:none!important;}}

/* v1.4: user-driven RPM and speed needles must update even with reduced-motion preference. */
.rg-cockpit-visual .rg-live-dial-needle{transition:transform 75ms linear;transform-origin:0 50%;}
@media(prefers-reduced-motion:reduce){.rg-cockpit-visual .rg-live-dial-needle{transition:none!important;}}


/* ================================================================
  REAL GARAGE 1.5 — FINAL PREMIUM SURFACE SYSTEM
  Warm mineral stone replaces all near-white editorial surfaces.
  Presentation only: no post content, URLs, game controls or data touched.
================================================================ */
:root {
  --bg:#10191d;
  --panel:#1a292e;
  --ink:#e9e4db;
  --muted:#c3c9c4;
  --paper:#e9e2d6;
  --rg-stone:#e7dfd2;
  --rg-stone-2:#ddd4c6;
  --rg-stone-soft:#f0e9dd;
  --rg-sand-line:#c7baaa;
  --rg-ink:#253035;
  --rg-ink-muted:#4b595c;
  --rg-copper:#bb633b;
  --rg-copper-deep:#914423;
  --rg-ambient-shadow:0 15px 32px rgba(0,0,0,.17);
  --light-ink:var(--rg-ink);
  --line:#435356;
}
body.rg-site {background-color:var(--bg)}
/* Distinct but quiet visual depth behind the card grid. */
.rg-main:not(.rg-home){background:radial-gradient(ellipse at 54% 0%,rgba(120,111,99,.09),transparent 64%)}
/* Premium warm mineral dossier cards in home, category and search archives. */
body.rg-site .rg-card {
  position:relative;
  background:linear-gradient(155deg,#ede6da 0%,#e5ddcf 65%,#ded5c7 100%);
  color:var(--rg-ink);border:1px solid var(--rg-sand-line);
  border-radius:13px;padding:24px;
  box-shadow:0 10px 26px rgba(0,0,0,.13),inset 0 1px rgba(255,255,255,.3);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
body.rg-site .rg-card:hover,body.rg-site .rg-card:focus-within {
  transform:translateY(-3px);border-color:#aa896f;
  box-shadow:0 20px 39px rgba(0,0,0,.21),inset 0 1px rgba(255,255,255,.36);
}
body.rg-site .rg-card::before {
  content:"";position:absolute;inset:0 0 auto;height:3px;border-radius:13px 13px 0 0;
  background:linear-gradient(90deg,#935137 0%,#d48a5e 45%,transparent 100%);opacity:.55;
}
body.rg-site .rg-card-top {color:#865138}
body.rg-site .rg-card h3,body.rg-site .rg-card h3 a {color:#253034}
body.rg-site .rg-card h3 a:hover,body.rg-site .rg-card h3 a:focus-visible {color:#92502e}
body.rg-site .rg-card p {color:#4b595c;line-height:1.75}
body.rg-site .rg-card-tags>span {
  background:#d7cdbd;border:1px solid #c3b7a8;color:#29383a;
  padding:4px 9px;border-radius:5px;
}
body.rg-site .rg-card-cta {border-color:#c6baaa;color:#95502f}
body.rg-site .rg-card-cta:hover {color:#6f331c}
/* Individual vehicle, guide and comparison surfaces share the same editorial identity. */
body.rg-site .rg-story {
  background:linear-gradient(155deg,#ede6db 0%,#e7dfd2 58%,#e3dacd 100%);
  color:var(--rg-ink);border:1px solid #bfb4a6;
  border-radius:17px;
  box-shadow:0 23px 55px rgba(0,0,0,.2),inset 0 1px rgba(255,255,255,.35);
}
body.rg-site .rg-story h1 {color:#202c30;letter-spacing:-.053em}
body.rg-site .rg-story .rg-lead {color:#4b5b5d;line-height:1.77}
body.rg-site .rg-story-class {color:#9e4e2b}
body.rg-site .rg-tags span {
  background:#d6cbbc;border:1px solid #bfb3a4;color:#2c393b;
  border-radius:5px;padding:6px 10px;
}
body.rg-site .rg-story-toolbar {
  border-color:#c2b7a8;color:#9b4b29;
}
body.rg-site .rg-story-end {border-color:#c5b9aa;color:#59676a}
body.rg-site .rg-story-end a {color:#954728}
body.rg-site .rg-article-body {color:#344347;line-height:1.85}
body.rg-site .rg-article-body h2,body.rg-site .rg-article-body h3,
body.rg-site .rg-article-body h4 {color:#233035}
body.rg-site .rg-article-body a {color:#99502c;text-decoration-thickness:1px;text-underline-offset:3px}
body.rg-site .rg-article-body a:hover {color:#753417}
body.rg-site .rg-article-body blockquote,
body.rg-site .rg-article-body .wp-block-quote {
  margin:22px 0;padding:18px 22px;background:#d9d0c1;
  border-left:4px solid #bb734a;color:#344246;border-radius:0 9px 9px 0;
}
body.rg-site .rg-article-body :is(pre,code):not(pre *) {background:#d8d1c6;border-radius:5px}
body.rg-site .rg-article-body pre {padding:16px;overflow-x:auto}
body.rg-site .rg-article-body table {background:#e6ded1;border:1px solid #c0b5a5;border-radius:5px}
body.rg-site .rg-article-body th,body.rg-site .rg-article-body td {border-color:#bfb4a5}
body.rg-site .rg-article-body th {background:#d6cbbc;color:#26343a}
body.rg-site .rg-article-body tr:nth-child(even) td {background:#e1d9cd}
body.rg-site .rg-article-body :is(hr,.wp-block-separator) {border-color:#c3b7a7}
body.rg-site .rg-article-body :is(.wp-block-table,.wp-block-image) {max-width:100%}
/* Retain dark steel stats, soften borders and improve labels/values. */
body.rg-site .rg-spec-board {
  border:1px solid #536367;background:linear-gradient(145deg,#182930,#152329);
  border-radius:13px;box-shadow:0 14px 30px rgba(0,0,0,.12);
}
body.rg-site .rg-board-top {border-bottom-color:#435459;color:#e8ad87}
body.rg-site .rg-spec-grid {background:#405156}
body.rg-site .rg-spec-grid>div {background:#1d3036;padding:19px}
body.rg-site .rg-spec-grid>div:nth-child(even) {background:#1a2a30}
body.rg-site .rg-spec-grid span {color:#f1b18c}
body.rg-site .rg-spec-grid strong {color:#f2ede5}
body.rg-site .rg-spec-board>small {color:#c5d0ca}
/* The archive control area is intentional, not another white default search field. */
body.rg-site .rg-archive-head {
  background:linear-gradient(130deg,#24363b,#16262c);
  border:1px solid #526064;box-shadow:var(--rg-ambient-shadow);
}
body.rg-site .rg-archive-console {
  background:linear-gradient(125deg,#22343a,#19292f);
  border:1px solid #4e6365;
  border-radius:13px;box-shadow:0 10px 30px rgba(0,0,0,.12);
}
body.rg-site .rg-archive-console input {
  color:#263336;background:#ddd6c9;border:1px solid #b4ab9d;
  border-radius:7px;padding:12px 14px;
}
body.rg-site .rg-archive-console input::placeholder {color:#626e6b;opacity:1}
body.rg-site .rg-archive-console input:focus {background:#e9e2d6;outline:2px solid #df9768;outline-offset:1px}
body.rg-site .rg-header-search {background:#ded7cb;border-color:#8d948c}
body.rg-site .rg-header-search input {color:#253234}
body.rg-site .rg-header-search button {border-color:#ded7cb}
body.rg-site .rg-side-panel {background:#1d2c32;border-color:#4e6265;border-radius:12px}
body.rg-site .rg-side-panel>a {border-color:#44585a}
body.rg-site .rg-side-info {border-color:#bfb4a5;color:#526063}
body.rg-site .rg-side-info strong {color:#97512e}
/* Keep the journey road, controls, animations, and animations unchanged. */
body.rg-site .rg-primary-btn {background:#db8653;color:#131b1b}
body.rg-site .rg-primary-btn:hover {background:#ed9963}
body.rg-site .rg-text-btn {border-color:#756b64;color:#f0e9de}
body.rg-site .rg-pagination a,body.rg-site .rg-pagination span {border-color:#58686a;background:#1a2b31;color:#f1ebe3}
body.rg-site .rg-pagination .current {background:#d88957;border-color:#d88957;color:#182125}
/* No bright white flash on mobile. */
@media(max-width:830px) {
  body.rg-site .rg-card {padding:21px}
  body.rg-site .rg-story {padding:clamp(20px,4vw,29px)}
  body.rg-site .rg-spec-grid>div {padding:15px}
}
@media(max-width:620px) {
  body.rg-site .rg-card {padding:20px;border-radius:11px}
  body.rg-site .rg-story {border-radius:12px}
  body.rg-site .rg-archive-head {padding:24px}
  body.rg-site .rg-article-body {font-size:15.5px}
  body.rg-site .rg-card:hover {transform:none}
}
@media(prefers-reduced-motion:reduce) {
  body.rg-site .rg-card {transition:none}
}

/* Real Garage v1.5.1: prevent the retired Visual Reader plugin from displaying
   a second imported spec board. Actual editorial content is never hidden. */
body.rg-site .wa-vu-quick { display:none !important; }
/* Guard against long values overflowing should a separate plugin inject a panel. */
body.rg-site .rg-spec-grid strong { overflow-wrap:anywhere; word-break:normal; }


/* ================================================================
   REAL GARAGE 1.5.2 — READABILITY, DUPLICATE-UI & EDITORIAL POLISH
   Non-destructive: does not change saved articles, IDs or specifications.
================================================================ */
body.rg-site .rg-story {
  background:linear-gradient(160deg,#ece5d9 0%,#e8e0d4 62%,#e4dbce 100%);
}
body.rg-site .rg-reading-main {min-width:0;}
body.rg-site .rg-article-body {
  color:#1f2d31;
  font-size:17.5px;
  font-weight:460;
  line-height:1.81;
  letter-spacing:.002em;
  -webkit-font-smoothing:auto;
  max-width:73ch;
}
body.rg-site .rg-article-body :is(p,li,dd,dt) {
  color:#243337;
  opacity:1;
  font-weight:460;
}
body.rg-site .rg-article-body p {margin:0 0 1.32em;}
body.rg-site .rg-article-body h2 {
  font-size:clamp(24px,2.5vw,31px);
  color:#1b282d;
  line-height:1.24;
  margin:2em 0 .55em;
  letter-spacing:-.025em;
}
body.rg-site .rg-article-body h3 {color:#1e2e31;margin:1.65em 0 .5em;}
body.rg-site .rg-article-body :is(ul,ol) {padding-left:1.45em;margin:.5em 0 1.45em;}
body.rg-site .rg-article-body li {padding-left:.15em; margin:.45em 0;}
body.rg-site .rg-article-body a,
body.rg-site .rg-article-body a:visited {
  color:#874020;
  font-weight:650;
  text-decoration:underline;
  text-decoration-thickness:1.5px;
  text-underline-offset:3px;
  overflow-wrap:anywhere;
}
body.rg-site .rg-article-body a:hover {color:#5e2a13;}
body.rg-site .rg-article-body :is(strong,b) {color:#18262a; font-weight:750;}
body.rg-site .rg-article-body :is(small,figcaption,.wp-block-caption) {
  color:#405154;font-size:.84em;line-height:1.55;
}
body.rg-site .rg-article-body :is(table,pre) {max-width:100%;}
body.rg-site .rg-article-body th,
body.rg-site .rg-article-body td {
  font-size:15px;line-height:1.55;color:#202d32;
}
body.rg-site .rg-article-body th {font-weight:800;}
body.rg-site .rg-story .rg-lead {
  color:#2d3e43;
  font-size:clamp(16px,1.45vw,19px);
  font-weight:460;
  line-height:1.7;
  max-width:66ch;
}
body.rg-site .rg-card p {color:#29393d;font-size:13px;line-height:1.7;font-weight:450;}
body.rg-site .rg-story-toolbar {color:#844020;border-color:#baad9f;}
body.rg-site .rg-side-info {color:#3c4d51;}
body.rg-site .rg-side-info strong {color:#874021;}
body.rg-site .rg-trail a {text-decoration:underline;text-decoration-color:rgba(255,255,255,.35);text-underline-offset:3px;}
body.rg-site .rg-article-body :is(a,button):focus-visible {outline:3px solid #a95326;outline-offset:4px;}
/* Old Visual Reader content should not be rendered; these are defensive
   fallbacks if a cached legacy fragment is temporarily displayed. */
body.rg-site :is(.wa-vu-quick,.wa-vu-next,.wa-vu-toc,.wa-cp-dock,.wa-cp-briefing) {display:none!important;}
/* Keep research shortcuts reachable on mobile instead of hiding them. */
@media(max-width:830px){
  body.rg-site .rg-reading-layout{grid-template-columns:1fr;gap:24px;}
  body.rg-site .rg-reading-side{display:block;}
  body.rg-site .rg-reading-side .rg-side-panel{position:static;top:auto;}
  body.rg-site .rg-reading-side .rg-side-info{margin-top:12px;}
}
@media(max-width:620px){
  body.rg-site .rg-article-body {font-size:16.3px;line-height:1.75;max-width:none;}
  body.rg-site .rg-article-body h2 {font-size:24px;}
  body.rg-site .rg-story .rg-lead {font-size:16.3px;line-height:1.65;}
  body.rg-site .rg-card p {font-size:13px;}
}


/* =================================================================
   Real Garage 1.5.3 — Calm Editorial Reading Finish
   More substantial but unbolded text, shorter lines and mineral-neutral
   sheet; safe for vehicle dossiers, buying guides and comparisons.
   No changes to source, published records or vehicle specs.
   ================================================================= */
body.rg-site .rg-story {
  background:linear-gradient(160deg,#ece9e2 0%,#e8e4dc 63%,#e6e1d8 100%);
  border:1px solid #c8bfb3;
  box-shadow:0 20px 48px rgba(0,0,0,.16);
}
body.rg-site .rg-story-head {padding-bottom:26px;}
body.rg-site .rg-story h1 {color:#19282d;}
body.rg-site .rg-story .rg-lead {
  color:#293c40;
  font-size:clamp(17px,1.4vw,19px);
  font-weight:500;
  line-height:1.7;
  letter-spacing:0;
  max-width:65ch;
}
body.rg-site .rg-reading-main{max-width:100%;}
body.rg-site .rg-article-body {
  color:#1c2a2d;
  font-family:system-ui,-apple-system,'Segoe UI',sans-serif;
  font-size:18px;
  font-weight:500;
  line-height:1.76;
  letter-spacing:0;
  max-width:66ch;
  text-wrap:pretty;
  -webkit-font-smoothing:antialiased;
}
body.rg-site .rg-article-body :is(p,li,dd,dt) {
  color:#1c2a2d;
  font-weight:500;
  opacity:1;
}
body.rg-site .rg-article-body p {margin-bottom:1.28em;}
body.rg-site .rg-article-body h2 {
  font:700 clamp(25px,2.35vw,30px)/1.28 Georgia,'Times New Roman',serif;
  color:#18292d;
  letter-spacing:-.024em;
  margin:1.8em 0 .65em;
  padding-left:15px;
  border-left:3px solid #b87753;
}
body.rg-site .rg-article-body h3 {
  color:#253136;
  font-weight:700;
  margin:1.65em 0 .6em;
}
body.rg-site .rg-story-toolbar {
  color:#8b482c;
  border-color:#c6beb3;
  margin-bottom:28px;
}
body.rg-site .rg-article-body :is(a,a:visited) {
  color:#813c20;
  text-decoration-color:#a45a39;
  text-decoration-thickness:1.35px;
  text-underline-offset:3px;
}
body.rg-site .rg-article-body a:hover {color:#642e18;}
body.rg-site .rg-article-body :is(blockquote,.wp-block-quote) {
  border-left-color:#b87753;
  background:rgba(247,243,235,.32);
}
body.rg-site .rg-story .rg-side-info {color:#3e5053;}
body.rg-site .rg-tags span {background:#dcd7cf;border-color:#c7c0b5;color:#243238;}
@media(max-width:1050px) {
  body.rg-site .rg-article-body{max-width:68ch;}
}
@media(max-width:830px) {
  body.rg-site .rg-article-body{max-width:100%;font-size:17.3px;line-height:1.75;}
  body.rg-site .rg-article-body h2{padding-left:12px;}
}
@media(max-width:620px) {
  body.rg-site .rg-story{background:#e9e5de;}
  body.rg-site .rg-article-body{font-size:16.8px;line-height:1.75;}
  body.rg-site .rg-story .rg-lead{font-size:16.8px;line-height:1.65;}
  body.rg-site .rg-article-body h2{font-size:23px;line-height:1.3;margin-top:1.65em;}
}

/* MotorRift v1.5.4 identity layer — no changes to data/reading layout. */
.rg-brand{min-width:211px;gap:12px}
.rg-brand b{font-family:Impact,'Arial Narrow','Franklin Gothic Medium',system-ui,sans-serif;font-size:28px;font-weight:900;letter-spacing:.015em;white-space:nowrap}
.rg-brand b span{color:var(--accent)}
.rg-brand small{font-size:8px;letter-spacing:.175em;color:#bdc8c5;white-space:nowrap;margin-top:5px}
.rg-mark{background:linear-gradient(145deg,#283238,#141e22);border:1px solid #566066;border-radius:7px;transform:skew(-9deg)}
.rg-mark i{transform:skew(-13deg);border-radius:1px;box-shadow:0 0 12px #ef7a4240}
.rg-footer strong{font-family:Impact,'Arial Narrow','Franklin Gothic Medium',system-ui,sans-serif;letter-spacing:.025em}
.rg-footer strong em{font-style:normal;letter-spacing:.025em;font-size:inherit;margin-left:0}
@media(max-width:520px){.rg-brand{min-width:0;gap:8px}.rg-brand b{font-size:24px}.rg-brand small{font-size:7px;letter-spacing:.08em}}


/* MotorRift 1.5.5 — touch-safe pedals and an actually VISIBLE mobile cockpit.
   Desktop cockpit is unchanged. Foundation records / routes untouched. */
.rg-mobile-cockpit{display:none}
.rg-hero-photo,.rg-hero-photo img,.rg-cockpit-visual,.rg-cockpit-visual img{pointer-events:none;-webkit-user-drag:none}
.rg-ignition .rg-pedal,.rg-ignition #rg-rev-engine{
  touch-action:none!important;-webkit-touch-callout:none!important;
  -webkit-user-select:none!important;user-select:none!important;
  -webkit-tap-highlight-color:transparent;overscroll-behavior:contain;
}
.rg-ignition .rg-pedal *,.rg-ignition #rg-rev-engine *{
  -webkit-touch-callout:none!important;
  -webkit-user-select:none!important;user-select:none!important;
  pointer-events:none;
}
@media(max-width:830px){
  body.rg-site .rg-hero-photo{display:none!important}
  body.rg-site .rg-hero-shade{pointer-events:none;background:linear-gradient(180deg,rgba(8,17,21,.43),rgba(8,17,21,.9))}
  body.rg-site .rg-hero-inner{display:block;min-height:0}
  body.rg-site .rg-hero-copy{width:100%;max-width:none;padding:30px 0 20px}
  body.rg-site .rg-mobile-cockpit{display:block;width:min(100%,660px);margin:19px 0 15px;position:relative;aspect-ratio:950/555;
    border:1px solid rgba(221,153,103,.65);border-radius:13px;overflow:hidden;
    background:#081014;box-shadow:0 11px 31px rgba(0,0,0,.48)}
  body.rg-site .rg-mobile-cockpit .rg-cockpit-visual{
    position:relative!important;top:auto!important;right:auto!important;left:auto!important;transform:none!important;
    width:100%!important;aspect-ratio:950/555;opacity:1!important;filter:contrast(1.05) saturate(1.07);
    -webkit-mask-image:none;mask-image:none;overflow:hidden;
  }
  body.rg-site .rg-mobile-cockpit .rg-cockpit-visual>img{width:100%;height:100%;display:block;object-fit:cover;opacity:1!important}
  body.rg-site .rg-mobile-cockpit .rg-live-dial{box-shadow:0 0 14px #030608, inset 0 0 8px #0007}
  body.rg-site .rg-mobile-readout{position:absolute;inset:auto 8px 7px;display:flex;justify-content:center;align-items:center;gap:clamp(7px,3vw,22px);
    width:auto;max-width:calc(100% - 16px);padding:7px 9px;border-radius:7px;border:1px solid #566269;
    background:rgba(6,14,19,.91);box-shadow:0 3px 10px #000a;color:#e0a47f;
    font-size:clamp(8px,1.9vw,11px);font-weight:750;letter-spacing:.07em;white-space:nowrap}
  body.rg-site .rg-mobile-readout span{display:inline-flex;align-items:baseline;gap:5px}
  body.rg-site .rg-mobile-readout strong{color:#fff;font-size:clamp(13px,3vw,18px);font-variant-numeric:tabular-nums}
  body.rg-site .rg-mobile-readout small{color:#d7ddd9;font-size:9px}
  body.rg-site .rg-hero-inner>.rg-hero-readout{display:none!important}
  body.rg-site .rg-hero-links{margin-top:13px}
  body.rg-site .rg-ignition{position:relative;z-index:2}
}
@media(max-width:620px){
  body.rg-site .rg-hero-copy{padding:27px 0 20px}
  body.rg-site .rg-hero h1{font-size:clamp(36px,9.5vw,52px)}
  body.rg-site .rg-mobile-cockpit{margin:17px 0 13px}
  body.rg-site .rg-ignition{margin-top:12px}
}


/* MotorRift v1.5.6: real WordPress Page template, not the journal index. */
body.rg-site .rg-static-container {max-width:1040px;padding-top:36px;padding-bottom:90px;}
body.rg-site .rg-static-article {min-height:320px;}
body.rg-site .rg-static-heading {max-width:none;border-bottom:1px solid #d5d8d2;margin-bottom:22px;padding-bottom:18px;}
body.rg-site .rg-static-heading h1 {max-width:none;margin-bottom:0;overflow-wrap:break-word;}
body.rg-site .rg-static-content {max-width:75ch;margin:0 auto;min-height:110px;}
body.rg-site .rg-static-content > :first-child {margin-top:0;}
body.rg-site .rg-static-content :is(h2,h3,h4,h5,h6) {scroll-margin-top:35px;}
body.rg-site .rg-static-content :is(ul,ol) {margin-bottom:1.5em;}
body.rg-site .rg-static-content :is(.wp-block-columns,.wp-block-group,.wp-block-cover) {max-width:100%;}
body.rg-site .rg-static-content :is(a,button):focus-visible {outline:3px solid #a95326;outline-offset:4px;}
body.rg-site .rg-page-links {border-top:1px solid #c4bcb0;padding-top:10px;margin-top:25px;}
body.rg-site .rg-footer-legal {display:flex;gap:10px 18px;flex-wrap:wrap;margin-top:14px;}
body.rg-site .rg-footer-legal a {color:#e4c6b4;font-size:12px;text-decoration:underline;text-underline-offset:3px;}
body.rg-site .rg-footer-legal a:hover {color:#ff9b63;}
@media(max-width:620px){
  body.rg-site .rg-static-container {padding-top:20px;padding-bottom:60px;}
  body.rg-site .rg-static-article {padding:22px 19px;}
  body.rg-site .rg-static-heading h1 {font-size:clamp(31px,8vw,42px);}
  body.rg-site .rg-static-content {font-size:16px;line-height:1.72;}
}
