/* Car pages (/cars/...): server-rendered pages for search engines.
   Uses the site's tokens, header, footer and buttons from styles.css. */
.page { padding-top: 16px; padding-bottom: 56px; }
.crumbs { font-size: 13px; color: var(--muted); margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--text); font-weight: 500; }

.pg-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px; align-items: start; margin-bottom: 24px; }
.pg-head-plain { grid-template-columns: 1fr; }
.pg-head h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.12; margin: 6px 0 12px; }
.lede { font-size: 17px; line-height: 1.55; margin: 0 0 12px; max-width: 62ch; }
.pg-photo { margin: 0; }
.pg-photo img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); background: var(--surface-2); display: block; }
.pg-photo figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; }
.pg-photo figcaption a { color: var(--muted); }
.pg-verdict { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.pg-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.seo-page .pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; background: var(--surface-2); color: var(--text); }
.seo-page .tone-great, .seo-page .tone-good { background: #dcf3e4; color: #0f5c2e; }
.seo-page .tone-neutral { background: var(--surface-2); color: var(--text); }
.seo-page .tone-fair, .seo-page .tone-warn { background: #fdf0d5; color: #8a4a06; }
.seo-page .tone-poor, .seo-page .tone-bad { background: #fde2e1; color: #9b1c1c; }

.pg-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 0 0 16px; }
.pg-stats > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.pg-num { font: 600 26px/1.15 var(--serif); margin: 4px 0 2px; }
.pg-num small { font: 500 14px var(--sans); color: var(--muted); }
.pg-disclaimer { display: block; margin-bottom: 8px; }

.pg-section { margin-top: 36px; max-width: 820px; }
.pg-section h2 { font-size: 24px; margin: 0 0 12px; }

.pg-bars { display: grid; gap: 10px; }
.pg-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; font-size: 15px; }
.pg-bar i { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.pg-bar s { display: block; height: 100%; background: var(--brand); border-radius: 99px; }

.pg-recalls { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 8px; }
.pg-recalls details, .pg-faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.pg-recalls summary, .pg-faq summary { cursor: pointer; }
.pg-recalls summary b { display: block; }
.pg-recalls summary span { font-size: 13px; color: var(--muted); }
.pg-recalls p, .pg-faq p { margin: 10px 0 0; font-size: 15px; }
.pg-faq { margin-bottom: 8px; }
.pg-faq summary { font-weight: 600; }

.pg-partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.pg-partner { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); text-decoration: none; color: var(--text); }
.pg-partner:hover { border-color: var(--brand); }
.pg-partner b { color: var(--brand); }
.pg-partner span { font-size: 14px; color: var(--muted); }
.disclosure { margin-top: 8px; }

.pg-scroll { overflow-x: auto; }
.pg-table, .pg-years { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.pg-table th, .pg-table td, .pg-years th, .pg-years td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.pg-table thead th, .pg-years thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: var(--surface-2); }
.pg-years { max-width: 420px; }
.pg-years tr[aria-current] { background: var(--brand-soft); }

.pg-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.pg-list li { display: grid; gap: 6px; align-content: start; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.pg-list li a { display: grid; text-decoration: none; color: var(--text); }
.pg-list li a b { color: var(--brand); }
.pg-list li a span { font-size: 13px; color: var(--muted); }
.pg-list .pill { justify-self: start; }

@media (max-width: 760px) {
  .pg-head { grid-template-columns: 1fr; gap: 16px; }
  .pg-ctas .btn { flex: 1 1 auto; }
  .seo-page .site-header nav .nav-link { display: none; }
}

/* Model pages: the answer up top, and the years to avoid / best years lists */
.pg-answer { font-size: 18px; border-left: 4px solid var(--brand); padding-left: 14px; }
.pg-years-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pg-years-list li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.pg-years-list h3 { margin: 0 0 4px; font-size: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pg-years-list p { margin: 0; font-size: 15px; }
.pg-table .num { font-variant-numeric: tabular-nums; }
