/*
Theme Name: RideByLaw
Theme URI: https://ridebylaw.com/
Author: RideByLaw
Author URI: https://ridebylaw.com/
Description: State-by-state vehicle law, titles and registration — e-bikes, golf carts, UTVs, boats and trailers. Built for the 5-hub plan: homepage with a clickable US map, hub / state / topic / tool templates, and a single state data model (inc/state-data.php) that the map, tables and tools all read from.
Version: 1.5.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ridebylaw
Tags: custom-menu, featured-images, translation-ready
*/
:root{--ink:#12243b;--navy:#0d2036;--navy2:#183954;--amber:#f2a532;--orange:#f6b247;--paper:#fbfaf7;--muted:#5a6979;--line:#dce3e7;--teal:#2b6979;--white:#fff;--shadow:0 18px 46px rgba(17,39,58,.12)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper);font:16px/1.6 ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit}a:focus-visible,button:focus-visible,select:focus-visible{outline:3px solid #1f83b4;outline-offset:4px}button,select{font:inherit}.wrap{max-width:1200px;margin:auto;padding:0 32px}.tiny{font-size:12px;letter-spacing:.13em;font-weight:800;text-transform:uppercase}.muted{color:var(--muted)}.skip{position:absolute;top:-100px;left:12px;z-index:20;background:white;padding:10px}.skip:focus{top:10px}.top{background:var(--navy);color:white}.mini-banner{background:#f6e7bf;color:#503d12;padding:7px 16px;text-align:center;font-size:12px;font-weight:700}.nav{display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:84px;border-bottom:1px solid rgba(255,255,255,.14)}.logo{font-size:27px;font-weight:900;letter-spacing:-.07em;text-decoration:none;white-space:nowrap}.logo b{color:var(--amber)}.links{display:flex;align-items:center;gap:24px}.links a{text-decoration:none;font-size:13px;font-weight:700;color:#e5ecf2}.links a:hover{text-decoration:underline}.nav-cta{border:1px solid rgba(255,255,255,.4);border-radius:10px;padding:10px 14px;font-size:13px;white-space:nowrap;text-decoration:none;font-weight:700}.hero{display:grid;grid-template-columns:1fr .85fr;align-items:center;gap:7%;padding-top:74px;padding-bottom:90px;position:relative}.eyebrow{font-size:12px;letter-spacing:.2em;font-weight:800;color:#ffd388}.hero h1{font-size:clamp(44px,5.1vw,72px);letter-spacing:-.065em;line-height:1.07;margin:18px 0 20px;font-weight:850;max-width:690px}.hero h1 em{color:var(--amber);font-style:normal}.hero .lead{font-size:19px;color:#d1dee8;max-width:575px;line-height:1.65}.hero-notes{display:flex;flex-wrap:wrap;gap:18px;margin-top:35px}.hero-notes span{font-size:12px;color:#c7d6df;font-weight:700}.hero-notes i{color:var(--amber);font-style:normal;margin-right:7px}.selector{padding:25px;background:#fff;color:var(--ink);border-radius:18px;box-shadow:0 24px 65px rgba(0,0,0,.24);position:relative}.selector:before{content:"";position:absolute;left:25px;right:25px;top:0;height:5px;background:var(--amber);border-radius:0 0 6px 6px}.selector h2{margin:4px 0 3px;font-size:21px;letter-spacing:-.04em}.selector p{font-size:13px;margin:0 0 22px;color:var(--muted)}.selector label{display:block;margin:15px 0 7px;font-size:13px;font-weight:800}.selector select{width:100%;background:#fbfcfc;border:1px solid #c6d0d7;border-radius:10px;padding:14px 12px;min-height:50px;color:var(--ink)}.primary{border:0;background:var(--amber);color:#14283e;font-weight:900;border-radius:10px;padding:15px 17px;width:100%;margin-top:20px;cursor:pointer}.primary:hover{background:#ffc36c}.result{margin-top:15px;background:#f5f8fa;border:1px solid #dbe5ec;padding:12px;border-radius:9px;font-size:13px;display:none}.result.show{display:block}.result strong{display:block}.selector small{display:block;color:#677786;margin-top:11px;font-size:11px;line-height:1.4}.section{padding:82px 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:28px}.section h2{font-size:clamp(30px,3.5vw,46px);line-height:1.14;letter-spacing:-.055em;margin:8px 0 11px}.section-head p{max-width:530px;margin:0;color:var(--muted)}.kicker{color:#8c5c14}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.card{padding:24px;border-radius:17px;background:white;border:1px solid var(--line);min-height:275px;transition:transform .2s,box-shadow .2s}.card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.card .symbol{height:55px;width:55px;border-radius:14px;background:#edf3f5;display:flex;align-items:center;justify-content:center;color:var(--navy);margin-bottom:28px}.card .symbol svg{width:30px;height:30px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}.card h3{font-size:19px;letter-spacing:-.035em;line-height:1.25;margin:0 0 8px}.card p{font-size:13px;line-height:1.65;color:var(--muted);margin:0 0 20px}.card a{color:#1b5066;font-size:13px;font-weight:850;text-decoration:none}.card a:hover{text-decoration:underline}.split{background:#eaf0f1}.split-inner{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}.state-panel{border-radius:22px;padding:32px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow)}.state-panel .pills{display:flex;gap:9px;flex-wrap:wrap}.state-panel .pills a{font-size:13px;font-weight:700;color:#2b5368;text-decoration:none;border:1px solid #d3e0e4;padding:9px 12px;border-radius:10px}.state-panel .pills a:hover{background:#eaf3f3}.state-panel .pills .disabled{font-size:13px;color:#667684;border:1px dashed #b9c7cf;padding:9px 12px;border-radius:10px}.split p{color:#526473}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.step{border-top:2px solid var(--line);padding-top:22px}.step .num{width:40px;height:40px;border-radius:100%;background:var(--navy);color:var(--amber);font-size:19px;font-weight:900;display:flex;align-items:center;justify-content:center}.step h3{font-size:20px;letter-spacing:-.04em;margin:16px 0 8px}.step p{color:var(--muted);font-size:14px}.resources{background:#12243b;color:#fff}.resource-grid{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}.resources .tiny{color:#ffc374}.resources h2{max-width:550px}.resources p{color:#c3d1db;max-width:590px}.resource-grid .panel{border:1px solid #426078;border-radius:18px;padding:25px;background:#18334d}.panel h3{margin-top:0;color:#fff;font-size:20px}.panel li{padding:10px 0;color:#dbe4ea;border-bottom:1px solid #375067;font-size:14px}.panel li:last-child{border:0}.note{background:#f7edda;border:1px solid #edd09c;border-radius:11px;padding:15px 18px;font-size:13px;color:#614721;margin-top:24px}.trust{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}.trustlist{display:grid;grid-template-columns:1fr 1fr;gap:13px}.trustlist div{border:1px solid var(--line);background:white;padding:20px;border-radius:13px}.trustlist strong{display:block;font-size:15px}.trustlist span{display:block;color:var(--muted);font-size:12px;margin-top:7px}.trust p{color:var(--muted)}.faqs{max-width:850px}.faqs details{background:#fff;border:1px solid var(--line);border-radius:12px;padding:17px 22px;margin:10px 0}.faqs summary{cursor:pointer;font-weight:800}.faqs p{margin:12px 0 1px;color:var(--muted);font-size:14px}.footer{background:var(--navy);color:#e4ebf1;padding:48px 0 25px}.footer-inner{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:35px}.footer p{font-size:13px;color:#b9c8d3}.footer h3{font-size:14px;color:#fff}.footer a{display:block;color:#d0dbe3;font-size:13px;text-decoration:none;margin:9px 0}.footer a:hover{text-decoration:underline}.footnote{border-top:1px solid #2b4055;margin-top:35px;padding-top:20px;font-size:12px;color:#b9c8d3}.btn-link{display:inline-flex;border-radius:9px;padding:12px 16px;background:var(--navy);color:white!important;text-decoration:none;font-size:14px;font-weight:800}.disclosure{display:inline-block;color:#7a5213;font-size:12px;border-radius:6px;background:#fff3d7;padding:5px 8px;font-weight:800}.only-verified{padding:12px;background:#f9f4e8;border-left:3px solid #db9a26;color:#66512e;font-size:13px}.ready-link{font-weight:800}.mobile-nav{display:none}
@media(max-width:1020px){.links{gap:12px}.links a{font-size:12px}.hero{gap:34px}.cards{grid-template-columns:repeat(2,1fr)}.split-inner,.resource-grid,.trust{gap:30px}}
@media(max-width:720px){.wrap{padding:0 20px}.nav{min-height:72px}.links{display:none}.mobile-nav{display:inline-flex;color:#fff;font-size:14px;text-decoration:none;border:1px solid rgba(255,255,255,.3);padding:7px 10px;border-radius:8px}.logo{font-size:25px}.hero{grid-template-columns:1fr;padding-top:45px;padding-bottom:56px}.hero h1{font-size:48px}.hero .lead{font-size:16px}.hero-notes{gap:13px}.selector{padding:22px}.section{padding:54px 0}.section-head{display:block}.cards{grid-template-columns:1fr 1fr;gap:10px}.card{padding:17px;min-height:260px}.card h3{font-size:17px}.card p{font-size:12px}.card .symbol{margin-bottom:22px}.split-inner,.resource-grid,.trust{grid-template-columns:1fr}.steps{grid-template-columns:1fr;gap:20px}.trustlist{grid-template-columns:1fr 1fr}.footer-inner{grid-template-columns:1fr 1fr}.footer-inner>div:first-child{grid-column:1/-1}.section h2{font-size:33px}}
@media(max-width:395px){.cards,.trustlist{grid-template-columns:1fr}.card{min-height:0}.hero h1{font-size:42px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.card{transition:none}}

/* hero (white, separate from the nav bar so header.php stays valid) */
.hero-section{background:var(--navy);color:#fff}
/* map */
.map-section{background:#fff}
.map-grid{display:grid;grid-template-columns:1.65fr 1fr;gap:32px;align-items:start}
.map-svg{background:#fbfaf7;border:1px solid var(--line);border-radius:18px;padding:14px;position:relative}
.map-svg svg{width:100%;height:auto;display:block}
.map-svg .state{fill:#dbe5ec;stroke:#fff;stroke-width:1.2;cursor:pointer;transition:fill .15s}
.map-svg .state.live{fill:var(--amber)}
.map-svg .state.next{fill:var(--teal)}
.map-svg .state:hover,.map-svg .state:focus-visible{fill:#12243b;outline:none}
.map-svg .state.selected{stroke:var(--navy);stroke-width:2.5}
.map-svg .state-label{font:700 14px ui-sans-serif,system-ui,sans-serif;fill:#12243b;pointer-events:none;paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round;text-anchor:middle}
.map-tip{position:fixed;z-index:30;pointer-events:none;background:var(--navy);color:#fff;font-size:13px;font-weight:700;padding:7px 11px;border-radius:8px;box-shadow:0 8px 22px rgba(0,0,0,.25);white-space:nowrap}
.state-card{border:1px solid var(--line);border-radius:18px;padding:26px;background:#fff;box-shadow:var(--shadow);position:sticky;top:24px}
.state-card h3{font-size:26px;letter-spacing:-.04em;margin:6px 0 8px}
.state-card p{color:var(--muted);font-size:14px;margin:0 0 16px}
.state-card .links a{display:block;font-weight:800;color:#1b5066;text-decoration:none;font-size:14px;margin:8px 0}
.state-card .links a:hover{text-decoration:underline}
.legend{display:flex;gap:24px;flex-wrap:wrap;margin-top:20px;font-size:13px;color:var(--muted)}
.legend i{display:inline-block;width:14px;height:14px;border-radius:4px;margin-right:7px;vertical-align:-2px}
.state-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;margin-top:28px}
.state-list .sl{text-align:left;font-size:13px;font-weight:700;color:#2b5368;background:#fff;border:1px solid #d3e0e4;padding:9px 12px;border-radius:10px;cursor:pointer;text-decoration:none;display:flex;justify-content:space-between;align-items:center;gap:6px}
.state-list .sl:hover{background:#eaf3f3}
.state-list .sl span{font-size:11px;font-weight:800;color:#8c5c14}
.state-list .sl.live{border-color:var(--amber);background:#fdf3dc}
/* tools */
.tool-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.tool{padding:24px;border-radius:17px;background:#fff;border:1px solid var(--line);transition:transform .2s,box-shadow .2s}
.tool:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.tool h3{font-size:19px;letter-spacing:-.035em;margin:10px 0 8px}
.tool p{font-size:13px;line-height:1.65;color:var(--muted);margin:0 0 18px}
.tool a{color:#1b5066;font-size:13px;font-weight:850;text-decoration:none}
.tool a:hover{text-decoration:underline}
/* law changes */
.changes{border-top:1px solid var(--line)}
.change{display:flex;gap:18px;padding:16px 0;border-bottom:1px solid var(--line);align-items:baseline}
.change .when{flex:0 0 64px;font-weight:800;font-size:13px;color:#8c5c14}
.change p{margin:0;font-size:15px}
.change p b{font-weight:800}
/* inner pages: state / hub / topic / tool */
.crumbs{font-size:13px;color:var(--muted);padding:22px 0 0}
.crumbs a{color:#1b5066;text-decoration:none;font-weight:700}
.page-head h1{font-size:clamp(34px,4vw,50px);letter-spacing:-.05em;line-height:1.1;margin:14px 0 8px}
.page-head .updated{color:var(--muted);font-size:14px;margin:0}
.verified{border:1px solid var(--line);border-left:4px solid var(--amber);border-radius:8px;background:#fff;padding:14px 18px;font-size:14px;color:var(--muted);margin:24px 0}
.answer{font-size:19px;line-height:1.65;max-width:780px}
.sec{font-size:clamp(24px,2.6vw,32px);letter-spacing:-.04em;line-height:1.2;margin:44px 0 12px}
.sec-sub{color:var(--muted);max-width:640px;margin:0 0 18px}
table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;font-size:15px}
th,td{text-align:left;padding:13px 16px;border-bottom:1px solid var(--line);vertical-align:top}
th{background:#f5f8fa;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
tr:last-child td{border-bottom:0}
ol.steps{counter-reset:step;list-style:none;padding:0;max-width:780px}
ol.steps li{counter-increment:step;padding:16px 0 16px 52px;border-bottom:1px solid var(--line);position:relative}
ol.steps li::before{content:counter(step,decimal-leading-zero);position:absolute;left:0;top:14px;width:36px;height:36px;border-radius:100%;background:var(--navy);color:var(--amber);font-weight:900;font-size:14px;display:flex;align-items:center;justify-content:center}
ol.steps li b{font-weight:800}
.faq details{background:#fff;border:1px solid var(--line);border-radius:12px;padding:17px 22px;margin:10px 0}
.faq summary{cursor:pointer;font-weight:800}
.faq p{margin:12px 0 1px;color:var(--muted);font-size:14px}
.sources{color:var(--muted);font-size:14px;line-height:1.8}
.checked{border:1px solid var(--line);border-radius:8px;padding:14px 18px;background:#f5f8fa;font-size:14px;color:var(--muted);margin:28px 0}
.next-links{display:flex;flex-wrap:wrap;gap:10px;margin:28px 0 8px}
.next-links a{font-size:13px;font-weight:700;color:#2b5368;text-decoration:none;border:1px solid #d3e0e4;padding:9px 12px;border-radius:10px;background:#fff}
.next-links a:hover{background:#eaf3f3}
.next-links span{font-size:13px;color:var(--muted);border:1px dashed #b9c7cf;padding:9px 12px;border-radius:10px}
.state-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;margin-top:18px}
.state-grid .state{display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:700;color:#2b5368;background:#fff;border:1px solid #d3e0e4;padding:9px 12px;border-radius:10px;text-decoration:none}
.state-grid .state.live{border-color:var(--amber);background:#fdf3dc}
.state-grid .state .tag{font-size:11px;font-weight:800;color:#8c5c14}
.state-grid .state.soon{color:#667684;border-style:dashed}
/* quiz */
.quiz{border:1px solid var(--line);border-radius:18px;padding:28px;background:#fff;box-shadow:var(--shadow);max-width:720px}
.quiz h3{font-size:22px;letter-spacing:-.04em;margin:0 0 6px}
.quiz .q{font-weight:800;font-size:17px;margin:18px 0 12px}
.quiz .opts{display:flex;flex-wrap:wrap;gap:10px}
.quiz .opt{border:1px solid #c6d0d7;background:#fbfcfc;border-radius:10px;padding:12px 16px;font-weight:700;cursor:pointer;color:var(--ink)}
.quiz .opt:hover{background:#eaf3f3;border-color:var(--teal)}
.quiz .result h4{font-size:20px;margin:18px 0 8px}
.quiz .result p{color:var(--muted)}
.quiz .back{margin-top:14px;border:0;background:var(--navy);color:#fff;font-weight:800;border-radius:9px;padding:11px 16px;cursor:pointer}
/* method + scope (homepage) */
.method{background:#f5f8fa;border:1px solid var(--line);border-radius:10px;padding:28px 32px}
.method h2,.scope h2{margin-bottom:10px}
.method p,.scope p{color:var(--muted);max-width:780px}
.method ol{margin:14px 0 0 22px;color:var(--muted)}
.method li{margin-bottom:8px}
.scope ul{margin:14px 0 0 22px;color:var(--muted)}
.scope li{margin-bottom:8px}
@media(max-width:1020px){.map-grid{grid-template-columns:1fr}.state-card{position:static}.tool-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.tool-grid{grid-template-columns:1fr}.map-svg{padding:6px}}

/* ================= RideByLaw v1.1.0 ================= */
/* Pills: Live / Month 2 / Month 4 status labels (were unstyled plain text). */
.pill{display:inline-block;font-size:12px;font-weight:800;letter-spacing:.02em;padding:4px 10px;border-radius:999px;margin-bottom:12px}
.pill.live{background:#e6f4ea;color:#14532d;border:1px solid #b7dfc2}
.pill.soon{background:#eef2f4;color:#5b6b7c;border:1px solid #d3dee3}
/* Header menu: no bullets on the primary nav list. */
ul.links{list-style:none;margin:0;padding:0}
.links li{list-style:none}
/* Mobile menu button + panel (replaces the off-screen "Explore" link). */
.menu-toggle{display:none}
.mobile-menu{display:none}
@media(max-width:720px){
  .nav-cta{display:none}
  .menu-toggle{display:inline-flex;align-items:center;gap:8px;color:#fff;font-size:14px;font-weight:800;background:transparent;border:1px solid rgba(255,255,255,.3);padding:8px 12px;border-radius:8px;cursor:pointer;white-space:nowrap}
  .mobile-menu{display:block;background:#0d2036;border-top:1px solid rgba(255,255,255,.14);padding:8px 20px 16px}
  .mobile-menu[hidden]{display:none}
  .mobile-menu a{display:block;color:#e5ecf2;font-size:15px;font-weight:700;text-decoration:none;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.1)}
  .mobile-menu a:last-child{border-bottom:0}
  .mobile-menu .mobile-cta{color:var(--amber)}
  /* Map labels are unreadable at phone width; the tooltip and the state list carry navigation. */
  .us-map .state-label{display:none}
  .map-hint{display:block}
}
/* Map: labels slightly larger on desktop; a tap hint on mobile. */
.state-label{font-size:15px}
.map-hint{display:none;font-size:13px;color:var(--muted);margin-top:10px}
/* Hub card photos. */
.card .photo{height:150px;margin:-24px -24px 20px;border-radius:17px 17px 0 0;overflow:hidden;background:#edf3f5}
.card .photo img{width:100%;height:100%;object-fit:cover;display:block}
@media(max-width:720px){.card .photo{height:120px;margin:-17px -17px 16px}}
/* Trust section photo. */
.trust-photo{border-radius:18px;overflow:hidden;margin:24px 0 0}
.trust-photo img{width:100%;height:auto;display:block}

/* ================= RideByLaw v1.2.0 ================= */
/* State-page photo (Texas guides now carry a real photo below the answer). */
.state-photo{border-radius:18px;overflow:hidden;margin:28px 0 0}
.state-photo img{width:100%;height:auto;display:block}

/* ================= RideByLaw v1.3.0 ================= */
/* Homepage redesign: large white background, clean light header, and a
   dark navy selector card as the single contrast anchor. Palette: navy
   text on white (best contrast), amber kept for accents and the CTA,
   with a darker amber for text on white. */
:root{--amber-dark:#96650e}
body{background:#fff}
.top{background:#fff;color:var(--ink);border-bottom:1px solid #e5e9ec}
.nav{border-bottom:0}
.top .logo{color:var(--navy)}
.top .logo b{color:var(--amber-dark)}
.links a{color:var(--navy)}
.nav-cta{background:var(--amber);color:#14283e;border:0}
.hero-section{background:#fff;color:var(--ink)}
.hero{padding-top:96px;padding-bottom:110px}
.eyebrow{color:var(--amber-dark)}
.hero h1{color:var(--navy)}
.hero h1 em{color:var(--amber-dark)}
.hero .lead{color:var(--muted)}
.hero-notes span{color:var(--muted)}
.hero-notes i{color:var(--amber-dark)}
.selector{background:var(--navy);color:#fff;box-shadow:0 24px 65px rgba(13,32,54,.22)}
.selector p{color:#c7d6df}
.selector label{color:#fff}
.selector small{color:#c7d6df}
.result{background:#18334d;border:1px solid #426078;color:#fff}
.result a{color:var(--amber);font-weight:800}
.map-svg{background:#fff}
@media(max-width:720px){
  .menu-toggle{color:var(--navy);border:1px solid rgba(13,32,54,.25)}
  .mobile-menu{background:#fff;border-top:0;border-bottom:1px solid #e5e9ec}
  .mobile-menu a{color:var(--navy);border-bottom:1px solid #e5e9ec}
  .mobile-menu .mobile-cta{background:var(--amber);color:#14283e;border:0;border-radius:8px;padding:12px 14px;text-align:center;margin-top:8px}
  .hero{padding-top:56px;padding-bottom:64px}
}

/* ================= RideByLaw v1.3.1 ================= */
/* Mobile map labels: the v1.1.0 rule used the selector ".us-map
   .state-label", but the <svg> carries no "us-map" class, so it never
   matched — and the base ".map-hint{display:none}" rule sits after the
   720px block, so it overrode the hint too. Re-applied here with the
   correct selector (".map-svg .state-label", the wrapper the labels
   actually sit in) and after the base rule, so both win at phone width. */
@media(max-width:720px){
  .map-svg .state-label{display:none}
  .map-hint{display:block}
}

/* ================= RideByLaw v1.4.0 ================= */
/* Best-not-settled-below round: (1) hub and tool cards pin their link to
   the bottom (flex column + margin-top:auto), so the "dead space" the
   visual audit found reads as intentional breathing room instead of an
   unfinished card. (2) Hero bottom padding 110px -> 80px, so the ~190px
   of empty white below the hero on desktop shrinks while the page stays
   airy. (3) Header/footer now use logo-mark.png — the amber sign with
   the road stripe, no tiny text — because the full F sign's "RIDE BY
   LAW" text is ~4px and illegible at header size; the wordmark next to
   it already says RideByLaw. The full F sign (logo-f.png) stays in the
   theme for large displays. */
.card{display:flex;flex-direction:column}
.card a{margin-top:auto}
.tool{display:flex;flex-direction:column}
.tool a{margin-top:auto}
.hero{padding-bottom:80px}


/* ---------- v1.6.0: homepage rebuild ---------- */
.faqs summary .faq-q{display:inline;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;letter-spacing:inherit}
.steps-list{padding-left:22px;max-width:860px}.steps-list li{margin:10px 0}
.trustlist strong{display:block}

.hub-body{max-width:860px}.hub-body ul{padding-left:22px}.hub-body li{margin:8px 0}.hub-body table{margin:14px 0}
.table-wrap{overflow-x:auto}
.faq summary .faq-q{display:inline;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;letter-spacing:inherit}
.quiz-links{font-size:14px;margin-top:10px}


/* ---------- v1.7.0: editor (Gutenberg) content in the theme design ---------- */
.rbl-content .wp-block-group__inner-container{display:contents}
.rbl-content figure.wp-block-table{margin:14px 0;overflow-x:auto}
.rbl-content figure.wp-block-table table{margin:0}
.rbl-content .wp-block-image{margin:0}
.rbl-content .card{display:flex;flex-direction:column}
.rbl-content .card .photo{overflow:hidden}
.rbl-content .card .card-link{margin:auto 0 0}
.rbl-content .hero-notes{display:flex;flex-wrap:wrap;gap:18px;margin-top:35px}
.rbl-content .trustlist .wp-block-group p{margin:0}
.rbl-content .trustlist .wp-block-group p+p{color:var(--muted);font-size:12px;margin-top:7px}
.rbl-content .tool p:last-child{margin-bottom:0}
.rbl-content .entry-wrap{padding-bottom:64px}
.rbl-content .page-head + .answer{margin-top:10px}
.rbl-content .wp-block-heading.sec{font-size:clamp(24px,2.6vw,32px);letter-spacing:-.04em;line-height:1.2;margin:48px 0 12px}
.rbl-content .wp-block-list{padding-left:22px;max-width:860px}
.rbl-content .wp-block-list li{margin:8px 0}
.rbl-faq h3{font-size:18px;letter-spacing:-.02em;line-height:1.35;margin:28px 0 6px}
.rbl-faq p{color:var(--muted);margin:0 0 6px;max-width:820px}

.rbl-content .section.pt0{padding-top:0}
.rbl-content .hero-copy p.lead{margin:0}

.rbl-content .card figure.photo{height:150px;margin:-24px -24px 20px;border-radius:17px 17px 0 0;overflow:hidden;background:#edf3f5}
.rbl-content .card figure.photo img{width:100%;height:100%;object-fit:cover;display:block;border-radius:0}
.rbl-content .trust-photo img{width:100%;height:auto;display:block}
@media(max-width:720px){.rbl-content .card figure.photo{height:120px;margin:-17px -17px 16px}}

.rbl-content .toc-inline{font-size:14px;line-height:1.9;color:var(--muted);background:#f6f9fb;border:1px solid var(--line);border-radius:12px;padding:12px 18px;max-width:860px;margin:22px 0 8px}
.rbl-content .toc-inline a{color:#1b5066;font-weight:700;text-decoration:none}
.rbl-content .toc-inline a:hover{text-decoration:underline}

/* rbl-tablet-nav: six-item menu wraps below 1180px, so use the mobile menu from 721px to 1180px */
@media (min-width:721px) and (max-width:1180px){
header.nav .links{display:none}header.nav .nav-cta{margin-left:auto}#wpadminbar li#wp-admin-bar-command-palette, #wpadminbar li#wp-admin-bar-comments, #wpadminbar li#wp-admin-bar-customize, #wpadminbar li#wp-admin-bar-edit, #wpadminbar li#wp-admin-bar-menu-toggle, #wpadminbar li#wp-admin-bar-my-account, #wpadminbar li#wp-admin-bar-my-sites, #wpadminbar li#wp-admin-bar-new-content, #wpadminbar li#wp-admin-bar-site-editor, #wpadminbar li#wp-admin-bar-site-name, #wpadminbar li#wp-admin-bar-updates, #wpadminbar li#wp-admin-bar-wp-logo { display: block; }.menu-toggle { display: inline-flex; align-items: center; gap: 8px; color: rgb(255, 255, 255); font-size: 14px; font-weight: 800; background: transparent; border: 1px solid rgba(255, 255, 255, 0.3); padding: 8px 12px; border-radius: 8px; cursor: pointer; white-space: nowrap; }.mobile-menu { display: block; background: rgb(13, 32, 54); border-top: 1px solid rgba(255, 255, 255, 0.14); padding: 8px 20px 16px; }.mobile-menu[hidden] { display: none; }.mobile-menu a { display: block; color: rgb(229, 236, 242); font-size: 15px; font-weight: 700; text-decoration: none; padding: 12px 0px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }.mobile-menu a:last-child { border-bottom: 0px; }.mobile-menu .mobile-cta { color: var(--amber); }.menu-toggle { color: var(--navy); border: 1px solid rgba(13, 32, 54, 0.25); }.mobile-menu { background: rgb(255, 255, 255); border-top: 0px; border-bottom: 1px solid rgb(229, 233, 236); }.mobile-menu a { color: var(--navy); border-bottom: 1px solid rgb(229, 233, 236); }.mobile-menu .mobile-cta { background: var(--amber); color: rgb(20, 40, 62); border: 0px; border-radius: 8px; padding: 12px 14px; text-align: center; margin-top: 8px; }}

/* rbl-facts: key-fact cards under the answer paragraph */
.rbl-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:1.25rem 0 1.75rem;padding:0}
.rbl-fact{background:#eef0ff;border:1px solid #c9ccfd;border-top:4px solid #242ef7;border-radius:8px;padding:12px 14px;margin:0}
.rbl-fact dt{font:600 11px/1.35 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.08em;text-transform:uppercase;color:#1a22c4;margin:0 0 6px}
.rbl-fact dd{margin:0}
.rbl-fact .v{font-weight:800;font-size:1.12rem;line-height:1.25;color:#0B2566;margin:0 0 6px}
.rbl-fact .s{font-size:.84rem;line-height:1.45;color:#3b4660}
.rbl-fact .s a{color:#1a22c4;text-decoration:underline;text-underline-offset:2px}
@media (max-width:900px){.rbl-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:480px){.rbl-facts{grid-template-columns:1fr}}

/* rbl-sticky-header: inner-page header stays visible while reading */
body > .top{position:sticky;top:0;z-index:100;background:#fff}
body.admin-bar > .top{top:32px}
html{scroll-padding-top:100px}
body{--rbl-side-top:100px}
body.admin-bar{--rbl-side-top:132px}
body > .top .mobile-menu{max-height:calc(100vh - 100px);overflow-y:auto}
@media (max-width:782px){body.admin-bar > .top{top:46px}}
@media (max-width:600px){body.admin-bar > .top{top:0}}


/* Conversion layer */
.rbl-picker{margin:18px 0 6px;padding:16px 18px;background:#fff;border:1px solid var(--line);border-left:4px solid var(--amber);border-radius:10px}
.rbl-picker label{display:block;font-weight:700;margin-bottom:8px}
.rbl-picker-row{display:flex;gap:10px;flex-wrap:wrap}
.rbl-picker select{flex:1 1 220px;padding:11px 12px;border:1px solid var(--line);border-radius:8px;background:#fff}
.rbl-picker button,.rbl-btn{display:inline-block;padding:11px 18px;border:0;border-radius:8px;background:var(--amber);color:var(--navy);font-weight:800;text-decoration:none;cursor:pointer}
.rbl-picker button:hover,.rbl-btn:hover{background:var(--orange)}
.rbl-next{margin:36px 0;padding:22px 24px;background:var(--navy);color:#fff;border-radius:12px;box-shadow:var(--shadow)}
.rbl-next p{margin:0 0 10px;color:#dbe5ee}
.rbl-next .rbl-next-kicker{font-size:12px;letter-spacing:.13em;font-weight:800;text-transform:uppercase;color:var(--amber)}
.rbl-next .rbl-next-title{font-size:21px;font-weight:800;color:#fff}
.rbl-neighbors{margin:28px 0;padding:14px 18px;background:#fff;border:1px solid var(--line);border-radius:10px}
.rbl-report{margin:0 0 22px;padding:12px 16px;border:1px solid rgba(255,255,255,.18);border-radius:8px;color:#e4ebf1}
.rbl-report a{color:var(--amber);font-weight:700}
.rbl-bar{display:none}
@media (max-width:760px){
 .rbl-bar{display:flex;align-items:center;position:fixed;left:0;right:0;bottom:0;z-index:999;background:var(--navy);padding:10px 12px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -6px 20px rgba(0,0,0,.18)}
 .rbl-bar a{flex:1;text-align:center;padding:12px;border-radius:8px;background:var(--amber);color:var(--navy);font-weight:800;text-decoration:none}
 .rbl-bar button{margin-left:8px;width:40px;height:40px;border:0;border-radius:8px;background:transparent;color:#fff;font-size:24px;line-height:1;cursor:pointer}
 body.has-rbl-bar{padding-bottom:76px}
}

aside.rbl-next{background:var(--navy)!important;color:#fff!important;border:0!important;max-width:none}
aside.rbl-next p{color:#dbe5ee!important}
aside.rbl-next .rbl-next-kicker{color:var(--amber)!important}
aside.rbl-next .rbl-next-title{color:#fff!important;font-size:21px!important}
a.rbl-btn,.rbl-picker button,.rbl-bar a{background:var(--amber)!important;color:var(--navy)!important;text-decoration:none!important}
.rbl-picker button:hover,a.rbl-btn:hover{background:var(--orange)!important}

/* Conversion layer: royal blue */
.rbl-picker{border-left-color:#242ef7!important}
.rbl-bar a,a.rbl-btn,.rbl-picker button{background:#242ef7!important;color:#fff!important}
.rbl-picker button:hover,a.rbl-btn:hover,.rbl-bar a:hover{background:#1a22c4!important}
aside.rbl-next .rbl-next-kicker{color:#aab4ff!important}
.rbl-report a{color:#fff!important;text-decoration:underline!important}

/* Law alert signup */
.rbl-alert{margin:30px 0!important;padding:22px 24px!important;background:#fff;border:1px solid #d7dcf5;border-left:5px solid #242ef7;border-radius:12px;box-shadow:0 10px 30px rgba(17,39,58,.08)}
.rbl-alert p{margin:0 0 6px!important}
.rbl-alert .rbl-alert-title{font-size:21px!important;font-weight:800!important;line-height:1.3;color:#12243b}
.rbl-alert .rbl-alert-sub{color:#5a6979!important;font-size:15px!important;margin-bottom:14px!important}
.rbl-alert .hostinger-reach-block-subscription-form-wrapper{margin:0!important;padding:0!important;background:none!important;border:0!important}
.rbl-alert .hostinger-reach-block-form-fields{display:flex!important;flex-wrap:wrap;gap:10px;align-items:stretch}
.rbl-alert .hostinger-reach-block-form-field{flex:1 1 240px;margin:0!important}
.rbl-alert .hostinger-reach-block-form-field label{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.rbl-alert input[type=email]{width:100%;height:48px;padding:0 14px;font-size:16px!important;border:1px solid #c9d0e8!important;border-radius:8px!important;background:#fff!important}
.rbl-alert input[type=email]:focus{outline:3px solid #aab4ff;border-color:#242ef7!important}
.rbl-alert .hostinger-reach-block-submit{height:48px;padding:0 20px!important;border:0!important;border-radius:8px!important;background:#242ef7!important;color:#fff!important;font-weight:800!important;font-size:16px!important;cursor:pointer}
.rbl-alert .hostinger-reach-block-submit:hover{background:#1a22c4!important}


/* Narrow article header: keep the logo and menu inside the viewport. */
@media(max-width:480px){body>.top header.nav{gap:8px;min-width:0}body>.top header.nav .logo{font-size:22px;min-width:0;gap:7px}body>.top header.nav .logo .rbl-seal{width:32px;height:32px;flex:0 0 32px}body>.top header.nav .menu-toggle{flex:0 0 auto;padding:10px 9px;min-height:44px;font-size:13px}body>.top .mobile-menu a{min-height:44px}}
