/* MyAutoRecalls — self-hosted fonts (no Google Fonts request).
   IBM Plex Sans ships as ONE variable font (wght 100–700); Plex Mono as
   three static weights. Latin subsets only. The generator hash-renames
   these files; the /assets/fonts/ URLs below are rewritten at build time. */

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-var.e2291e842cf5.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-400.08949f728dc5.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-500.01d285447409.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-600.0d1f0b8d0722.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* MyAutoRecalls — recall detail page styles.
   Cream document page. Vermilion reserved for alerts + primary actions.
   IBM Plex Sans for display, Plex Mono for micro-labels. No dark mode. */

:root {
  --cream: #FFF8F0;
  --espresso: #221A12;
  --vermilion: #F04A1D;
  /* Darker vermilion, same hue — AA contrast (5.03:1 on cream, 5.30:1 white-on-it).
     Normal-sized text + button backgrounds. Bright #F04A1D stays for large elements. */
  --vermilion-deep: #C43A10;
  --hairline: #E4DACA;
  --muted: #6E5F4C;
  --card: #FFFDF9;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--cream); color: var(--espresso);
  font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  font-size: 17px; line-height: 1.55;
  color-scheme: light;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: "IBM Plex Mono", ui-monospace, monospace; }

/* ---------- header: logo on cream, breadcrumb, VIN button ---------- */
.page-head { padding: 36px 24px 0; max-width: 1080px; margin: 0 auto; }
.head-logo { display: block; width: 220px; height: auto; }
.head-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: 22px; padding-bottom: 18px;
}
.crumb { font-family: "IBM Plex Mono", monospace; font-size: 0.95rem; color: var(--muted); }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--vermilion-deep); }
.crumb .sep { margin: 0 6px; }
.crumb .here { color: var(--espresso); font-weight: 600; }
.btn-vin {
  font-family: "IBM Plex Sans", sans-serif; font-size: 0.98rem; font-weight: 600;
  color: #fff; background: var(--vermilion-deep); text-decoration: none;
  border-radius: 8px; padding: 11px 22px; white-space: nowrap;
  box-shadow: 0 3px 0 #8F2A0C;
}
.btn-vin:hover { transform: translateY(-1px); }

/* ---------- urgency banner ---------- */
.urgency {
  background: var(--vermilion); color: #fff;
  margin-top: 6px;
}
.urgency-inner {
  max-width: 1080px; margin: 0 auto; padding: 20px 24px;
  display: flex; gap: 16px; align-items: flex-start;
}
.urgency-icon {
  flex: none; width: 34px; height: 34px;
  border: 2px solid #fff; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.2rem;
}
.urgency p { font-size: 1.08rem; line-height: 1.5; }
.urgency strong { font-weight: 700; }

/* ---------- title block ---------- */
.title-block { padding: 48px 0 8px; }
h1.recall-title {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 700; line-height: 1.05; letter-spacing: -0.02em;
  max-width: 20ch;
}
.meta-line {
  margin-top: 14px;
  font-family: "IBM Plex Mono", monospace; font-size: 0.85rem; color: var(--muted);
}

/* ---------- key facts ---------- */
.key-facts {
  display: grid; grid-template-columns: 1fr 1fr;
  margin-top: 36px; border-top: 2px solid var(--espresso);
}
.fact { padding: 18px 18px 18px 0; border-bottom: 1px solid var(--hairline); }
.fact:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--hairline); }
.fact-k { font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 6px; }
.fact-v { font-weight: 600; font-size: 1.02rem; }
.fact-v.free { color: var(--vermilion-deep); font-size: 1.25rem; }
@media (min-width: 760px) {
  .key-facts { grid-template-columns: 2fr 1fr 1.4fr 0.6fr; }
  .fact:nth-child(even) { padding-left: 0; border-left: none; }
  .fact + .fact { padding-left: 22px; border-left: 1px solid var(--hairline); }
}

/* ---------- short version ---------- */
.short-version { margin-top: 56px; }
.short-version h2 { font-size: 2rem; font-weight: 700; letter-spacing: -0.01em; }
.lead { margin-top: 10px; font-size: 1.3rem; line-height: 1.5; max-width: 34em; }

.qa-block { margin-top: 26px; padding: 20px 0; border-top: 1px solid var(--hairline); }
.qa-k { font-family: "IBM Plex Mono", monospace; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 6px; }
.qa-block p { font-size: 1.08rem; max-width: 44em; }

.qa-action {
  margin-top: 26px; padding: 28px;
  background: var(--espresso); color: var(--cream); border-radius: 10px;
}
.qa-action .qa-k { color: var(--vermilion-deep); }
.qa-action p { font-size: 1.15rem; line-height: 1.55; }

/* ---------- affected vehicles ---------- */
.vehicles { margin-top: 64px; }
.vehicles h2 { font-size: 2rem; font-weight: 700; letter-spacing: -0.01em; }
.vehicles .sub { color: var(--muted); margin: 6px 0 18px; font-size: 0.98rem; }
.veh-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--espresso); }
.veh-table th {
  text-align: left; font-family: "IBM Plex Mono", monospace; font-size: 0.72rem;
  font-weight: 600; letter-spacing: 0.08em; color: var(--muted);
  padding: 12px 8px 12px 0;
}
.veh-table td { padding: 13px 8px 13px 0; border-bottom: 1px solid var(--hairline); font-size: 1.02rem; }
.veh-table td.yr { font-family: "IBM Plex Mono", monospace; font-size: 0.9rem; white-space: nowrap; }
.veh-table td.mdl { font-weight: 600; }

/* ---------- what changed ---------- */
.changed { margin-top: 64px; padding: 48px 0; background: #F7F0E2; }
.changed-head { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline; justify-content: space-between; }
.changed h2 { font-size: 2.4rem; font-weight: 700; letter-spacing: -0.02em; }
.changed .sub { color: var(--muted); font-size: 0.95rem; max-width: 300px; }
.timeline { list-style: none; margin-top: 24px; border-top: 2px solid var(--espresso); }
.timeline li {
  display: flex; gap: 18px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--hairline);
}
.timeline time { font-family: "IBM Plex Mono", monospace; font-size: 0.82rem; color: var(--vermilion-deep); font-weight: 600; white-space: nowrap; min-width: 104px; }
.timeline .tl-text { font-weight: 600; font-size: 1.05rem; flex: 1; }
.timeline .tl-latest { font-family: "IBM Plex Mono", monospace; font-size: 0.7rem; color: var(--muted); letter-spacing: 0.08em; }

/* ---------- VIN CTA band ---------- */
.cta-band { background: var(--vermilion); color: #fff; }
.cta-inner {
  max-width: 1080px; margin: 0 auto; padding: 56px 24px;
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
}
.cta-inner h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; letter-spacing: -0.01em; max-width: 22ch; line-height: 1.15; }
.btn-cream {
  font-family: "IBM Plex Sans", sans-serif; font-size: 1.05rem; font-weight: 600;
  color: var(--espresso); background: var(--cream); text-decoration: none;
  border-radius: 8px; padding: 15px 32px; white-space: nowrap;
  box-shadow: 0 3px 0 rgba(0,0,0,0.25);
}
.btn-cream:hover { transform: translateY(-1px); }

/* ---------- limits ---------- */
.limits { padding: 48px 0 56px; }
.limits-grid { display: grid; grid-template-columns: 1fr; gap: 24px; border-top: 1px solid var(--hairline); padding-top: 24px; }
.limits h2 { font-size: 1rem; font-weight: 700; }
.limits p { color: var(--muted); font-size: 0.92rem; margin-top: 6px; max-width: 40em; }
@media (min-width: 760px) { .limits-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--vermilion); color: var(--cream); }
.footer-inner { padding: 44px 24px 36px; }
.footer-logo { display: block; width: 170px; height: auto; }
.footer-tag { margin-top: 14px; font-size: 1.05rem; font-weight: 500; }
.footer-fine { margin-top: 8px; font-family: "IBM Plex Mono", monospace; font-size: 0.78rem; opacity: 0.85; }
.footer-nav { margin-top: 20px; font-family: "IBM Plex Mono", monospace; font-size: 0.85rem; }
.footer-nav a { color: var(--cream); text-decoration: none; border-bottom: 1px solid rgba(255,248,240,0.45); }
.footer-nav a:hover { border-bottom-color: var(--cream); }
.footer-nav .footer-sep { margin: 0 10px; opacity: 0.6; }

/* ---------- trust pages (Privacy / About / Contact / Methodology) ---------- */
.trust-page { padding: 12px 0 64px; }
.trust-page h2 { font-size: 1.6rem; font-weight: 700; margin: 40px 0 10px; letter-spacing: -0.01em; }
.trust-page p { font-size: 1.05rem; line-height: 1.6; max-width: 44em; margin-bottom: 12px; }
.trust-page ul { margin: 8px 0 16px 20px; font-size: 1.05rem; line-height: 1.6; max-width: 44em; }
.trust-page li { margin-bottom: 6px; }
.trust-page a { color: var(--vermilion-deep); font-weight: 600; }
.trust-note { background: #F7F0E2; border-left: 3px solid var(--vermilion-deep); padding: 16px 20px; margin: 20px 0; max-width: 44em; }
.trust-note p { margin-bottom: 0; }

/* ---------- 404 ---------- */
.not-found-wrap { padding: 64px 24px; }
.not-found-lead { margin-top: 12px; }
.not-found-link { color: var(--vermilion-deep); font-weight: 600; }
.not-found-trust { margin-top: 32px; font-size: 0.95rem; color: var(--muted); }
.not-found-trust a { color: var(--vermilion-deep); font-weight: 600; }

/* ---------- archive / hub list pages ---------- */
.list-intro { color: var(--muted); font-size: 1.02rem; margin: 12px 0 24px; max-width: 40em; }
.list-intro a { color: var(--vermilion-deep); font-weight: 600; }
.list-entries { list-style: none; border-top: 2px solid var(--espresso); }
.list-entry { border-bottom: 1px solid var(--hairline); }
.list-entry a { display: block; padding: 16px 0; text-decoration: none; color: var(--espresso); }
.list-entry a:hover .le-title { color: var(--vermilion-deep); }
.le-title { display: block; font-weight: 700; font-size: 1.12rem; line-height: 1.35; }
.le-veh { display: block; color: var(--muted); font-size: 0.95rem; margin-top: 2px; }
.le-meta { font-family: "IBM Plex Mono", monospace; font-size: 0.82rem; color: var(--muted); }
.badge {
  display: inline-block; margin-left: 8px; padding: 2px 7px;
  font-family: "IBM Plex Mono", monospace; font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.06em; color: var(--vermilion-deep);
  border: 1px solid var(--vermilion-deep); border-radius: 4px; vertical-align: middle;
}

/* ---------- pagination ---------- */
.pagination { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 32px; }
.pagination a, .pagination .pg-here, .pagination .pg-gap {
  padding: 8px 12px; border-radius: 6px; text-decoration: none;
  font-family: "IBM Plex Mono", monospace; font-size: 0.9rem;
}
.pagination a { color: var(--espresso); border: 1px solid var(--hairline); }
.pagination a:hover { border-color: var(--vermilion-deep); color: var(--vermilion-deep); }
.pagination .pg-here { background: var(--espresso); color: var(--cream); font-weight: 600; }
.pagination .pg-gap { color: var(--muted); }

/* ---------- hub model directory / makes A–Z ---------- */
.hub-sub { font-size: 1.4rem; font-weight: 700; margin: 32px 0 12px; }
.model-dir { list-style: none; columns: 2; column-gap: 32px; }
@media (min-width: 760px) { .model-dir { columns: 3; } }
.model-dir li { break-inside: avoid; padding: 5px 0; border-bottom: 1px solid var(--hairline); }
.model-dir a { color: var(--espresso); text-decoration: none; font-weight: 600; }
.model-dir a:hover { color: var(--vermilion-deep); }
.hub-count { font-family: "IBM Plex Mono", monospace; font-size: 0.8rem; color: var(--muted); font-weight: 400; }

/* ---------- cross-links on recall pages ---------- */
.cross-links { margin-top: 64px; padding: 40px 0; background: #F7F0E2; }
.cross-links h2 { font-size: 2rem; font-weight: 700; letter-spacing: -0.01em; }
.cross-links .sub { color: var(--muted); margin: 6px 0 18px; font-size: 0.98rem; }
.cross-list { list-style: none; border-top: 2px solid var(--espresso); }
.cross-list li { border-bottom: 1px solid var(--hairline); }
.cross-list a { display: block; padding: 13px 0; text-decoration: none; color: var(--espresso); }
.cross-list a:hover .xl-title { color: var(--vermilion-deep); }
.xl-title { font-weight: 600; font-size: 1.02rem; }
.xl-meta { font-family: "IBM Plex Mono", monospace; font-size: 0.82rem; color: var(--muted); margin-left: 8px; }
.hub-links { margin-top: 18px; font-size: 0.98rem; }
.hub-links a { color: var(--vermilion-deep); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---------- Recall News (Workstream N) — responsive redesign ----------
   Scoped to body.news-page wherever a rule could touch recall pages.
   Unscoped rules at the bottom are the shared polish block (kept verbatim
   so recall pages keep their current mobile behavior).
   Layout: DOM order IS mobile order (text → facts → VIN → image → rest).
   Desktop (≥1100px) re-orders via grid: hero text overlaps the image's
   baked cream panel/fade; facts + VIN check follow; body is main + aside. */

body.news-page {
  --news-h1: clamp(2rem, 6vw, 2.8rem);
  --news-h2: clamp(1.45rem, 3.2vw, 2.05rem);
  --news-h3: clamp(1.1rem, 2vw, 1.3rem);
  --news-body: clamp(1.02rem, 1.2vw, 1.1rem);
  --news-section-gap: clamp(2.5rem, 5vw, 4rem);
  --news-measure: 44em;
}

.draft-banner {
  background: var(--vermilion-deep); color: #fff;
  font-size: 1rem; line-height: 1.5;
}
.draft-banner { max-width: 1080px; margin: 18px auto 0; padding: 14px 24px; border-radius: 0; }
.draft-banner strong { letter-spacing: 0.06em; }
.draft-chip {
  display: inline-block; font-family: "IBM Plex Mono", monospace; font-size: 0.7rem;
  font-weight: 600; letter-spacing: 0.08em; color: #fff; background: var(--vermilion-deep);
  border-radius: 0; padding: 2px 7px; vertical-align: middle; margin-left: 6px;
}

/* ---------- hero text + media (siblings; DOM order = mobile order) ---------- */
.news-eyebrow {
  font-family: "IBM Plex Mono", monospace; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
.event-chip {
  color: var(--espresso); border: 1px solid var(--hairline); border-radius: 0;
  padding: 2px 7px;
}
.hero-text {
  max-width: 1080px; margin: 0 auto; padding: 32px 24px 0;
}
.hero-text h1.recall-title {
  font-size: var(--news-h1); max-width: none;
}
.hero-text .meta-line { margin-top: 12px; }
.news-deck { margin-top: 16px; font-size: 1.2rem; line-height: 1.5; max-width: 34em; }
.hero-text-standalone { padding-bottom: 0; }
.hero-media { margin: 28px 0 0; max-width: 100%; }
.hero-media picture { display: block; }
.hero-media img {
  display: block; width: 100%; max-width: 100%;
  height: clamp(160px, 42vw, 260px); object-fit: cover;
}
.photo-credit {
  max-width: 1080px; margin: 8px auto 0; padding: 0 24px;
  font-family: "IBM Plex Mono", monospace; font-size: 0.75rem; color: var(--muted);
}
@media (min-width: 1100px) {
  /* Article grid: centered 1080px column between two flexible gutters.
     Hero text (col 2) overlaps the full-bleed image (col 1/-1) in row 1.
     The text panel is TRANSPARENT — the cream sits in the image itself
     (solid panel on press heroes, soft fade on the RAV4 composite). */
  .news-article {
    display: grid;
    grid-template-columns: 1fr minmax(0, 1080px) 1fr;
  }
  .hero-text {
    grid-column: 2; grid-row: 1; align-self: stretch;
    position: relative; z-index: 1; justify-self: start;
    display: flex; flex-direction: column; justify-content: center;
    margin: 0; padding: 40px 24px; max-width: none;
  }
  .hero-text.text-w-38 { width: 38%; }
  .hero-text.text-w-45 { width: 45%; }
  .hero-text.text-w-48 { width: 48%; }
  .hero-text:not(.hero-text-standalone) h1.recall-title {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  }
  .hero-text:not(.hero-text-standalone) .news-deck {
    font-size: 1.1rem; max-width: none; margin-top: 14px;
  }
  .hero-text-standalone {
    grid-column: 2; grid-row: 1; width: auto; display: block;
    padding: 32px 24px 0;
  }
  .hero-media {
    grid-column: 1 / -1; grid-row: 1; align-self: start; z-index: 0;
    margin: 0;
  }
  .hero-media img { height: auto; object-fit: none; }
  .photo-credit { grid-column: 2; grid-row: 2; margin: 8px 0 0; }
  .wrap-facts { grid-column: 2; grid-row: 3; }
  .wrap-layout { grid-column: 2; grid-row: 4; }
  .news-article > .cta-band { grid-column: 1 / -1; grid-row: 5; }
  .news-article > .limits { grid-column: 1 / -1; grid-row: 6; }
}

/* ---------- key facts ---------- */
body.news-page .key-facts.news-tiles { margin-top: 28px; }
body.news-page .key-facts.news-tiles .fact-v { font-size: var(--news-body); }
.key-facts.news-tiles { grid-template-columns: 1fr; align-items: stretch; }
.key-facts.news-tiles .fact { padding-left: 0; border-left: none; }
@media (min-width: 600px) {
  .key-facts.news-tiles { grid-template-columns: 1fr 1fr; }
  .key-facts.news-tiles .fact:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--hairline); }
}
@media (min-width: 600px) and (max-width: 999px) {
  .key-facts.news-tiles .fact:nth-child(odd) { padding-left: 0; border-left: none; }
}
@media (min-width: 1000px) {
  .key-facts.news-tiles { grid-template-columns: repeat(4, 1fr); }
  .key-facts.news-tiles .fact:nth-child(even) { padding-left: 0; border-left: none; }
  .key-facts.news-tiles .fact + .fact { padding-left: 22px; border-left: 1px solid var(--hairline); }
}

/* ---------- VIN check panel (primary) ---------- */
.check-panel {
  margin-top: 40px; padding: 28px 24px; background: #F7F0E2; border-radius: 0;
}
.check-panel h2 { font-size: clamp(1.35rem, 3vw, 1.6rem); font-weight: 700; letter-spacing: -0.01em; }
.check-cards { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 18px; }
.check-card {
  background: var(--card); border: 1px solid var(--hairline); border-radius: 0; padding: 20px;
}
.check-card-primary { border-top: 3px solid var(--vermilion-deep); }
.check-card h3 { font-size: var(--news-h3); font-weight: 700; }
.check-card p { color: var(--muted); font-size: 0.98rem; margin-top: 6px; }
.check-card .btn-check-link { color: var(--vermilion-deep); font-weight: 600; }
.check-card .btn-check-link:visited { color: var(--vermilion-deep); }
.btn-vin-solid {
  display: inline-block; margin-top: 14px; font: inherit; font-weight: 600;
  color: #fff; background: var(--vermilion-deep); text-decoration: none;
  border: 0; border-radius: 0; padding: 12px 22px; min-height: 44px;
  line-height: 1.4; cursor: pointer;
}
.btn-vin-solid:hover { transform: translateY(-1px); }
.btn-vin-solid:visited { color: #fff; }
.applicability {
  margin-top: 18px; font-size: 0.95rem; color: var(--muted);
  border-left: 3px solid var(--vermilion-deep); padding-left: 14px; max-width: 44em;
}
@media (min-width: 1000px) {
  .check-cards { grid-template-columns: 1fr 1fr; }
}

/* ---------- article layout: main + aside ---------- */
.article-layout { min-width: 0; }
.article-main { min-width: 0; }
.article-aside { margin-top: 48px; }
.article-aside > * + * { margin-top: 24px; }
@media (min-width: 1100px) {
  .article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 48px; align-items: start;
  }
  .article-aside {
    margin-top: var(--news-section-gap);
    position: sticky; top: 24px;
    display: flex; flex-direction: column; gap: 24px;
  }
  .article-aside > * + * { margin-top: 0; }
}

/* ---------- aside: compact VIN card ---------- */
.vin-compact { background: #F7F0E2; padding: 20px; border-radius: 0; }
.vin-compact h2 { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; }
.vin-compact p { margin-top: 6px; font-size: 0.95rem; color: var(--muted); }
.vin-compact .btn-vin-solid { display: block; text-align: center; width: 100%; }

/* ---------- aside: compact timeline ---------- */
.timeline-compact { background: var(--card); border: 1px solid var(--hairline); padding: 20px; border-radius: 0; }
.timeline-compact h2 { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; }
.timeline-sub { margin-top: 4px; font-size: 0.9rem; color: var(--muted); }
.mini-timeline { list-style: none; margin-top: 12px; border-top: 2px solid var(--espresso); }
.mini-timeline li { padding: 10px 0; border-bottom: 1px solid var(--hairline); font-size: 0.92rem; }
.mini-timeline time {
  display: block; font-family: "IBM Plex Mono", monospace; font-size: 0.78rem;
  color: var(--vermilion-deep); font-weight: 600;
}
.mini-timeline .tl-text { display: block; font-weight: 600; margin-top: 2px; }
.mini-timeline .tl-latest {
  font-family: "IBM Plex Mono", monospace; font-size: 0.7rem;
  color: var(--muted); letter-spacing: 0.08em;
}
.timeline-compact .hub-links { margin-top: 12px; font-size: 0.9rem; }
.timeline-compact .hub-links a:visited { color: var(--vermilion-deep); }

/* ---------- aside: Stay Informed waitlist (secondary) ---------- */
.waitlist { padding: 20px; background: #F7F0E2; border-radius: 0; }
.waitlist h2 { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; }
.waitlist p { margin-top: 8px; font-size: 0.95rem; }
.waitlist-form { margin-top: 14px; }
.waitlist-form label { display: block; font-family: "IBM Plex Mono", monospace; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 6px; }
.waitlist-form input[type="email"] {
  width: 100%; max-width: none; padding: 12px 14px; font: inherit;
  border: 1px solid var(--hairline); border-radius: 0; background: #fff; color: var(--espresso);
}
.waitlist-form button {
  margin-top: 10px; display: block; width: 100%; font: inherit; font-weight: 600; color: #fff;
  background: var(--vermilion-deep); border: 0; border-radius: 0; padding: 12px 22px;
  min-height: 44px; cursor: pointer;
}
.waitlist-form button:disabled { opacity: 0.6; cursor: default; }
.waitlist-status { margin-top: 12px; font-size: 0.95rem; }
.waitlist-status.error { color: var(--vermilion-deep); font-weight: 600; }
.waitlist-status.success { font-weight: 600; }
.waitlist-reassurance { margin-top: 12px; font-size: 0.88rem; color: var(--muted); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- body sections ---------- */
.action-guide { margin-top: var(--news-section-gap); }
.action-guide h2 { font-size: var(--news-h2); font-weight: 700; letter-spacing: -0.01em; }
.action-guide ol { margin-top: 18px; padding-left: 0; list-style: none; counter-reset: step; }
.action-guide li {
  counter-increment: step; padding: 14px 0 14px 44px; position: relative;
  border-top: 1px solid var(--hairline); font-size: var(--news-body);
  line-height: 1.65; max-width: var(--news-measure);
}
.action-guide li::before {
  content: counter(step); position: absolute; left: 0; top: 12px;
  width: 30px; height: 30px; border-radius: 50%; background: var(--espresso); color: var(--cream);
  font-family: "IBM Plex Mono", monospace; font-size: 0.85rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.news-section { margin-top: var(--news-section-gap); }
.news-section h2 { font-size: var(--news-h2); font-weight: 700; letter-spacing: -0.01em; }
.news-para { margin-top: 14px; font-size: var(--news-body); line-height: 1.65; max-width: var(--news-measure); }
.vehicles { margin-top: var(--news-section-gap); }
.vehicles h2 { font-size: var(--news-h2); }
.veh-total { margin-top: 14px; font-size: 1.02rem; }
.veh-note { color: var(--muted); font-size: 0.92rem; }
.safety-panel {
  margin-top: 18px; border-left: 3px solid var(--vermilion); padding: 4px 0 4px 18px;
}
.safety-eyebrow {
  font-family: "IBM Plex Mono", monospace; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--vermilion-deep);
}
.safety-panel .news-para { margin-top: 12px; }
.safety-panel .news-para:first-child { margin-top: 0; }
.remedy-strip {
  display: grid; grid-template-columns: 1fr 1fr; margin: 18px 0 0;
  border-top: 2px solid var(--espresso); border-bottom: 1px solid var(--hairline);
}
.remedy-strip div { padding: 14px 0; }
.remedy-strip div + div { padding-left: 18px; border-left: 1px solid var(--hairline); }
.remedy-strip dt {
  font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.remedy-strip dd { font-weight: 600; font-size: 1.05rem; margin-top: 4px; }
.sources ul { margin: 14px 0 0 20px; font-size: var(--news-body); line-height: 1.6; max-width: var(--news-measure); }
.sources li { margin-bottom: 6px; }
.sources a { color: var(--vermilion-deep); font-weight: 600; }
.sources a:visited { color: var(--vermilion-deep); }
.verified-note { margin-top: 16px; font-size: 0.95rem; color: var(--muted); max-width: 44em; }
.verified-note a { color: var(--vermilion-deep); font-weight: 600; }
.verified-note a:visited { color: var(--vermilion-deep); }

/* ---------- news content links: brand, never browser-default ---------- */
body.news-page .limits a,
body.news-page .veh-table td a,
body.news-page .hub-links a {
  color: var(--vermilion-deep); font-weight: 600;
}
body.news-page .limits a:visited,
body.news-page .veh-table td a:visited,
body.news-page .hub-links a:visited {
  color: var(--vermilion-deep);
}
body.news-page .limits a:hover,
body.news-page .veh-table td a:hover,
body.news-page .hub-links a:hover {
  text-decoration: underline;
}
body.news-page .crumb a:visited { color: var(--muted); }
body.news-page .btn-vin:visited { color: #fff; }
body.news-page .btn-cream:visited { color: var(--espresso); }

/* ---------- CTA band (slim on news pages) ---------- */
body.news-page .cta-band .cta-inner { padding: 28px 24px; }
body.news-page .cta-band h2 { font-size: clamp(1.25rem, 3vw, 1.6rem); max-width: 28ch; }
body.news-page .cta-band .btn-cream { padding: 12px 24px; font-size: 1rem; }

/* ---------- limits (news: smaller legal text, 4-col desktop) ---------- */
body.news-page .limits { padding: 32px 0 40px; }
body.news-page .limits h2 { font-size: 0.95rem; }
body.news-page .limits p { font-size: 0.88rem; }
@media (min-width: 1100px) {
  body.news-page .limits-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- footer (news): wrap BETWEEN links, never within a word ---------- */
body.news-page .footer-nav { display: flex; flex-wrap: wrap; }
body.news-page .footer-nav a { white-space: nowrap; }
body.news-page .footer-nav a:visited { color: var(--cream); }

/* ---------- keyboard focus (news pages) ---------- */
body.news-page a:focus-visible,
body.news-page button:focus-visible {
  outline: 3px solid var(--vermilion-deep); outline-offset: 2px;
}
body.news-page .site-footer a:focus-visible,
body.news-page .cta-band a:focus-visible {
  outline-color: var(--cream);
}

/* ---------- News pages: square corners (match the article mockup) ----------
   Scoped to body.news-page so recall pages, hubs, and the homepage keep their
   existing radii. !important beats every non-!important border-radius in this
   file (none of them use !important). The numbered step badges stay round: the
   re-round rule below is more specific, so it wins among !important rules. */
body.news-page,
body.news-page *,
body.news-page *::before,
body.news-page *::after {
  border-radius: 0 !important;
}
body.news-page .action-guide li::before {
  border-radius: 50% !important;
}

/* ---------- Responsive polish: no horizontal overflow at any width ----------
   Shared polish block, kept verbatim (unscoped) so recall pages keep their
   current mobile behavior. Fixes (from the live Genesis screenshots): the
   header row could overflow (nowrap VIN button + long breadcrumb), the
   details table's nowrap label column forced the table wider than the
   viewport, and the 4-col tile grid squeezed the 4th tile at tablet width.
   Every grid/table below has an explicit mobile reflow. The body overflow-x
   rule is a safety net only. */
body { overflow-x: hidden; overflow-wrap: break-word; }

/* Header: let the breadcrumb + button wrap instead of forcing the page wide. */
.head-row { flex-wrap: wrap; }
.crumb { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .btn-vin { padding: 10px 16px; font-size: 0.9rem; }
  /* News pages: header VIN button is 42px tall at the shared padding —
     bump to 44px+ touch target without touching recall pages. */
  body.news-page .btn-vin { padding: 12px 16px; }
}

/* Tables: on mobile, rows stack label-above-value so nothing forces width.
   The empty NOTES column collapses (zero height); non-empty notes show as a
   third line. Desktop/tablet keep the real table layout. */
@media (max-width: 640px) {
  .veh-table, .veh-table thead, .veh-table tbody, .veh-table tr, .veh-table th, .veh-table td { display: block; }
  .veh-table thead { display: none; }
  .veh-table tr { padding: 12px 0; border-bottom: 1px solid var(--hairline); }
  .veh-table td { padding: 2px 0; border-bottom: none; }
  .veh-table td.yr {
    white-space: normal; font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.08em; color: var(--muted);
  }
  .veh-table td.veh-note:empty { display: none; }
}

/* CTA band: stack on mobile, button full width. */
@media (max-width: 640px) {
  .cta-inner { flex-direction: column; align-items: stretch; gap: 20px; }
  .cta-inner .btn-cream { text-align: center; }
}

/* Footer: let nav + fine print wrap cleanly. */
.footer-nav, .footer-fine { overflow-wrap: anywhere; }
.footer-nav { line-height: 2; }

/* Waitlist: full-width button on mobile for an easy tap target. */
@media (max-width: 640px) {
  .waitlist-form button { width: 100%; }
}

/* Timeline: date + text stack on mobile; LATEST marker rides along. */
@media (max-width: 640px) {
  .timeline li { flex-direction: column; gap: 4px; }
  .timeline time { min-width: 0; }
}

/* Long links (source URLs) break instead of forcing width. */
.sources a { overflow-wrap: anywhere; }

/* ============ JP handback 2026-10-18 — article hero fixes ============
   Fixes the news-article hero at >=1100px. Tested on the Genesis G80 page.
   Bug 1 (viewport > 2000px): img used object-fit:none, so the 2000px file sat centered
   at native size, stopping short of the right edge. Bug 2 (~1100-1700px): img was
   height:auto and align-self:start, so the photo ended above the bottom of the hero row.
   The baked cream panel is the left half of the image; object-position:center keeps the
   photo starting at 50% of the box at any scale, so text-w-* (ending ~50%) stay on panel. */
@media (min-width: 1100px) {
  .hero-media { align-self: stretch; background: var(--cream); max-height: 640px; }
  .hero-media picture { height: 100%; }
  .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
}
