/* ============================================================
   ON THE ROAD (OTR) v5.0 - Driving Guides Blog Stylesheet
   100% Solid Orange / White / Black / Grey (Zero rgba/hsla)
   ============================================================ */

.blog-hero {
  background-color: var(--bg-canvas);
  border-bottom: 1px solid var(--border-solid);
  padding: clamp(40px, 5.5vw, 70px) 0 clamp(30px, 4vw, 46px);
}
.blog-hero .container { max-width: 1140px; }
.blog-hero h1 {
  font-size: clamp(30px, 4vw, 46px); font-weight: 800; line-height: 1.08;
  letter-spacing: -0.03em; color: var(--ink-primary); margin: 14px 0 14px; max-width: 820px;
}
.blog-hero .standfirst,
.blog-hero .lead { font-size: clamp(16px, 1.25vw, 18px); color: var(--ink-body); line-height: 1.65; max-width: 64ch; }

.post-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border-solid);
  color: var(--ink-muted); font-size: 13px; font-weight: 600;
}
.post-author b { display: block; font-family: var(--font-display); font-size: 14px; color: var(--ink-primary); }
.post-author span { font-size: 12px; color: var(--ink-muted); }

.article-wrap {
  background-color: var(--bg-surface);
  padding: clamp(32px, 5vw, 56px) 0 clamp(46px, 7vw, 74px);
}
.article-wrap .container { max-width: 860px; }
.article {
  background-color: var(--bg-canvas); color: var(--ink-primary);
  border: 1px solid var(--border-solid); border-radius: var(--r-bento);
  padding: clamp(22px, 4.5vw, 48px);
}
.article-cover {
  margin: 0 0 26px; border-radius: var(--r-card); overflow: hidden;
  border: 1px solid var(--border-solid); aspect-ratio: 16 / 9; background-color: var(--bg-grey);
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

.article p { font-size: 16.5px; line-height: 1.75; color: var(--ink-body); margin-bottom: 18px; }
.article .lead-p { font-size: 17.5px; line-height: 1.68; color: var(--ink-primary); font-weight: 600; margin-bottom: 20px; }
.article h2 {
  font-size: clamp(21px, 2.2vw, 26px); font-weight: 800; color: var(--ink-primary);
  line-height: 1.22; margin: 32px 0 12px; padding-top: 16px; border-top: 1px solid var(--border-solid);
}
.article h3 { font-size: 18px; font-weight: 700; color: var(--ink-primary); margin: 20px 0 10px; }
.article a:not(.btn):not(.pill-link) { color: var(--ink-primary); font-weight: 700; text-decoration: underline; text-decoration-color: var(--brand-orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.article ul, .article ol { margin: 0 0 18px 20px; display: grid; gap: 8px; color: var(--ink-body); font-size: 16px; }
.article li strong { color: var(--ink-primary); }

.callout { margin: 22px 0; padding: 18px 20px; border-radius: 18px; background-color: #FFFFFF; }
.callout h4 { font-size: 15px; font-weight: 800; color: var(--ink-primary); margin-bottom: 6px; }
.callout p { margin: 0; font-size: 15px; color: var(--ink-body); line-height: 1.6; }

.stat-band {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border-solid); border-radius: var(--r-md); overflow: hidden;
  margin: 0 0 24px; background-color: var(--bg-surface);
}
.stat-band div { padding: 15px; text-align: center; }
.stat-band div:last-child { border-right: none; }
.stat-band b { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--brand-orange); }
.stat-band span { font-size: 12.5px; font-weight: 600; color: var(--ink-muted); }

.post-faq-list { display: grid; gap: 10px; margin-top: 16px; }
.post-faq-item { background-color: #FFFFFF; border: 0; border-radius: 16px; overflow: hidden; }
.post-faq-item summary {
  list-style: none; cursor: pointer; padding: 16px 40px 16px 18px;
  font-family: var(--font-display); font-size: 15.5px; font-weight: 700; color: var(--ink-primary); position: relative;
}
.post-faq-item summary::-webkit-details-marker { display: none; }
.post-faq-item summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background-color: var(--bg-canvas); color: var(--ink-primary); font-size: 18px; font-weight: 600; transition: transform .3s var(--ease); }
.post-faq-item[open] summary::after { content: "+"; transform: translateY(-50%) rotate(45deg); background-color: var(--bg-dark); color: #FFFFFF; }
.post-faq-item p { padding: 0 18px 16px; margin: 0; font-size: 14.5px; color: var(--ink-body); }

.post-cta {
  margin-top: 26px; padding: 26px; border-radius: var(--r-card);
  background-color: var(--bg-dark); color: #FFFFFF;
}
.post-cta h3 { color: #FFFFFF; font-size: clamp(20px, 2.2vw, 24px); margin: 10px 0 8px; }
.post-cta p { color: #D4D4D8; margin-bottom: 18px; }
.post-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.blog-main { background-color: var(--bg-surface); padding: clamp(32px, 5vw, 56px) 0; }
.blog-main .container { max-width: 1180px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filter-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background-color: var(--bg-canvas); font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--ink-primary); transition: background-color .2s ease, color .2s ease; }
.filter-btn.active { background-color: var(--bg-dark); color: #FFFFFF; border-color: var(--bg-dark); }

.featured-card {
  display: grid; grid-template-columns: 1.08fr 1fr; background-color: var(--bg-canvas);
  border: 1px solid var(--border-solid); border-radius: var(--r-bento); overflow: hidden; margin-bottom: 28px;
}
.featured-media { position: relative; min-height: 290px; overflow: hidden; background-color: var(--bg-grey); }
.featured-media img { width: 100%; height: 100%; object-fit: cover; }
.featured-body { padding: 28px; display: flex; flex-direction: column; gap: 11px; justify-content: center; }
.featured-body h2 { font-size: clamp(22px, 2.3vw, 28px); color: var(--ink-primary); }
.featured-body p { font-size: 15px; color: var(--ink-body); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background-color: #FFFFFF; box-shadow: 0 1px 2px rgba(11, 12, 14, 0.05), 0 14px 34px -20px rgba(11, 12, 14, 0.22); transition: transform .3s var(--ease); }
.post-card:hover { transform: translateY(-4px); }
.post-card-media { aspect-ratio: 16 / 10; overflow: hidden; background-color: var(--bg-grey); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.post-card h3 { font-size: 17.5px; color: var(--ink-primary); }
.post-card p { font-size: 14px; color: var(--ink-body); flex: 1; }
.post-card-foot { padding-top: 10px; display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--ink-primary); }

.related-sec { background-color: var(--bg-canvas); padding: clamp(48px, 6vw, 80px) 0; }
.related-sec .container { max-width: 1140px; }
.related-sec h2 { margin-bottom: 20px; }

@media (max-width: 960px) { .featured-card, .post-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .stat-band { grid-template-columns: 1fr; } .stat-band div { border-right: none; border-bottom: 1px solid var(--border-solid); } }
