/* RoadReturn brand layer over GeneratePress. Tokens first; components below. */
:root {
  --rr-ink: #1B2430;
  --rr-ink-2: #3A4552;
  --rr-muted: #5B6670;
  --rr-paper: #F7F8F5;
  --rr-white: #FFFFFF;
  --rr-green: #0B4F3C;
  --rr-green-tint: #E3F0EA;
  --rr-amber: #F2B705;
  --rr-red: #B3261E;
  --rr-link: #1456A0;
  --rr-link-hover: #0B3F78;
  --rr-rule: #D5DAD6;
  --rr-rule-2: #C9D0CB;
  --rr-sans: Archivo, Arial, sans-serif;
  --rr-serif: "Source Serif 4", Georgia, serif;
}

body { background: var(--rr-paper); color: var(--rr-ink); font-family: var(--rr-serif); font-size: 18px; line-height: 1.65; }
a { color: var(--rr-link); }
a:hover, a:focus { color: var(--rr-link-hover); }
h1, h2, h3, h4, .main-navigation, .site-title, button, input, select, table, .rr-byline { font-family: var(--rr-sans); }
h1 { font-weight: 800; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-weight: 700; font-size: 28px; line-height: 1.2; margin-top: 1.6em; text-wrap: balance; }
h3 { font-weight: 700; font-size: 21px; line-height: 1.3; }
.separate-containers .inside-article, .one-container .container { background: transparent; }

/* Home: the H1 lives in the content, hide the page title "Home" */
.home .entry-header { display: none; }
.rr-home-title { margin-top: 0; }
.rr-lead { font-size: 20px; color: var(--rr-ink-2); max-width: 680px; }

/* Header */
.site-header { background: var(--rr-white); border-bottom: 1px solid var(--rr-rule); }
.site-title { font-weight: 800; font-size: 23px; letter-spacing: -0.02em; }
.site-title a.rr-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--rr-green); text-decoration: none; }
.main-navigation, .main-navigation ul ul { background: transparent; }
.main-navigation .main-nav ul li a { color: var(--rr-ink); font-weight: 600; font-size: 15px; }
.main-navigation .main-nav ul li a:hover { color: var(--rr-green); }
.rr-strip { background: var(--rr-green); color: var(--rr-green-tint); font-family: var(--rr-sans); font-size: 13px; }
.rr-strip__in { max-width: 1120px; margin: 0 auto; padding: 7px max(16px, env(safe-area-inset-right, 0px)) 7px max(16px, env(safe-area-inset-left, 0px)); display: flex; flex-wrap: wrap; gap: 4px 18px; justify-content: space-between; }
.rr-strip a { color: var(--rr-white); }

/* Byline, breadcrumbs */
.rank-math-breadcrumb { font-family: var(--rr-sans); font-size: 14px; color: var(--rr-muted); margin-bottom: 10px; }
.rr-byline { font-size: 14px; color: var(--rr-muted); margin: 8px 0 0; }

/* Road Facts */
.rr-facts { background: var(--rr-white); border: 1px solid var(--rr-rule-2); border-top: 4px solid var(--rr-green); border-radius: 3px; padding: 22px 24px; margin: 1.5em 0; font-family: var(--rr-sans); font-size: 16px; line-height: 1.5; }
.rr-facts__head { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.rr-facts h2 { margin: 0; font-size: 20px; font-weight: 800; color: var(--rr-green); }
.rr-facts dl { margin: 0; }
.rr-facts dl > div { display: flex; flex-wrap: wrap; gap: 4px 20px; padding: 11px 0; border-top: 1px solid #E1E5E2; }
.rr-facts dt { flex: 0 0 200px; font-weight: 700; }
.rr-facts dd { margin: 0; flex: 1 1 280px; min-width: 0; }
.rr-facts__note { margin: 10px 0 0; font-size: 13px; color: var(--rr-muted); }
.rr-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--rr-green); border-radius: 3px; font-size: 12px; font-weight: 700; color: var(--rr-green); letter-spacing: 0.02em; }

/* Return Route */
.rr-route h2 { color: var(--rr-green); font-weight: 800; }
.rr-route ol { list-style: none; margin: 0; padding: 0; }
.rr-route li { display: flex; gap: 16px; position: relative; padding-bottom: 18px; }
.rr-route li:not(:last-child)::before { content: ""; position: absolute; left: 16px; top: 44px; bottom: 4px; border-left: 3px dashed #A7B0AA; }
.rr-route__n { flex: 0 0 36px; width: 36px; height: 36px; margin-top: 2px; border-radius: 4px; background: var(--rr-amber); transform: rotate(45deg); display: flex; align-items: center; justify-content: center; }
.rr-route__n span { transform: rotate(-45deg); font-family: var(--rr-sans); font-weight: 800; font-size: 16px; color: var(--rr-ink); }
.rr-route li p { margin: 0; font-size: 17px; color: var(--rr-ink-2); }
.rr-route .rr-route__t { font-family: var(--rr-sans); font-weight: 700; font-size: 18px; color: var(--rr-ink); }

/* Tables */
.rr-table, .entry-content .wp-block-table { overflow-x: auto; border-top: 2px solid var(--rr-ink); margin: 1.2em 0; }
.entry-content table { width: 100%; min-width: 480px; border-collapse: collapse; border: 0; font-family: var(--rr-sans); font-size: 15px; font-variant-numeric: tabular-nums; }
.entry-content th, .entry-content td { text-align: left; padding: 10px 12px; border: 0; border-bottom: 1px solid var(--rr-rule); }
.entry-content thead th { border-bottom: 1px solid var(--rr-ink); }
.entry-content caption { caption-side: bottom; text-align: left; padding-top: 10px; color: var(--rr-muted); font-size: 13px; }

/* Map */
.rr-map { margin: 0; }
.rr-map svg { width: 100%; height: auto; display: block; font-family: var(--rr-sans); }
.rr-map__states path { stroke: #FFFFFF; stroke-width: 1; stroke-linejoin: round; }
.rr-map__states a path:hover, .rr-map__states a:focus path { fill: var(--rr-amber); }
.rr-map__labels { pointer-events: none; font-size: 13px; font-weight: 700; text-anchor: middle; }
.rr-map figcaption { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; font-family: var(--rr-sans); font-size: 14px; color: var(--rr-ink-2); }
.rr-map__legend { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.rr-map__legend span { display: inline-flex; align-items: center; gap: 8px; }
.rr-map__legend i { width: 16px; height: 16px; border-radius: 2px; border: 1px solid var(--rr-rule-2); }

/* Home situations */
.rr-sits { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 40px; }
.rr-sit { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--rr-rule); text-decoration: none; color: var(--rr-ink); }
.rr-sit__i { flex: 0 0 44px; height: 44px; border-radius: 6px; background: var(--rr-green-tint); color: var(--rr-green); display: flex; align-items: center; justify-content: center; }
.rr-sit__t { display: block; font-family: var(--rr-sans); font-weight: 700; font-size: 19px; color: var(--rr-link); }
.rr-sit__d { display: block; font-size: 16px; color: var(--rr-ink-2); line-height: 1.5; }

/* Ads: reserved height, labelled, never inside tables */
.rr-ad { margin: 1.8em 0; min-height: 280px; text-align: center; }
.rr-ad--sidebar { min-height: 600px; }
.rr-ad__label { display: block; font-family: var(--rr-sans); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rr-muted); margin-bottom: 4px; }

/* Author, report */
.rr-report { font-family: var(--rr-sans); font-size: 14px; }
.rr-author { display: flex; gap: 16px; align-items: flex-start; padding: 20px; margin-top: 2em; background: var(--rr-green-tint); border-radius: 3px; font-family: var(--rr-sans); font-size: 15px; line-height: 1.5; }
.rr-author__img { border-radius: 50%; flex: 0 0 64px; }
.rr-author p { margin: 0; }
.rr-author__name { font-weight: 700; font-size: 17px; }

/* Footer */
.site-info { background: var(--rr-ink); color: #D5DAD6; font-family: var(--rr-sans); font-size: 14px; text-align: left; }
.site-info a, .rr-cc-open { color: var(--rr-white); }
.rr-cc-open { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; }
.rr-foot-note { max-width: 760px; }
.rr-foot-copy { color: #A7B0AA; }

/* Consent banner */
.rr-cc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 99999; background: var(--rr-white); color: var(--rr-ink); border-top: 1px solid var(--rr-rule); box-shadow: 0 -4px 16px rgba(0,0,0,.08); font: 14px/1.5 var(--rr-sans); padding: 16px max(16px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.rr-cc[hidden] { display: none; }
.rr-cc__in { max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.rr-cc p { margin: 0; flex: 1 1 420px; }
.rr-cc a { color: var(--rr-ink); }
.rr-cc__btns { display: flex; gap: 10px; }
.rr-cc button { cursor: pointer; border-radius: 6px; padding: 10px 20px; font: 600 14px var(--rr-sans); border: 1px solid var(--rr-green); background: var(--rr-green); color: var(--rr-white); min-height: 44px; }
.rr-cc .rr-cc__no { background: var(--rr-white); color: var(--rr-ink); border-color: #6B7280; }
@media (max-width: 640px) { .rr-cc__btns { width: 100%; } .rr-cc button { flex: 1; } .rr-facts dt { flex-basis: 100%; } }
