/* Model pages /vehicles/<slug> and /vehicles/<slug>/<state>[/<city>] (SER-596, boards/Vehicle.html).
   Page-only rules on the base.css tokens; shared classes (.wrap, .disp, .btn, .tbl, .hbar, .tile,
   .mrow, .prose…) come from base.css under .crl. One gold accent per block: the lowest price in the
   stats strip + the "Compare" button above the fold; the range bars in the offers table. */

.mo-page :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.mo-page h1, .mo-page h2, .mo-page h3, .mo-page p, .mo-page dl, .mo-page dd, .mo-page figure { margin: 0; }
.mo-page .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---- hero: big photo + name + stats */
.mo-top { padding-top: 32px; }
.mo-crumbs { font-size: 14px; color: var(--mu); }
.mo-crumbs a { color: var(--mu); }
.mo-crumbs a:hover { color: var(--tx); }
.mo-hero { display: flex; flex-wrap: wrap; gap: 48px; margin-top: 24px; align-items: stretch; }
.mo-photo { flex: 999 1 560px; min-width: 0; background: var(--s1); border: 1px solid var(--line); }
.mo-photo img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--s1); }
.mo-photo figcaption { padding: 10px 16px; font-size: 13px; border-top: 1px solid var(--line); }
.mo-photo-none { aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center; color: var(--line-strong); }
.mo-side { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; }
.mo-side h1 { margin-top: 12px; font-family: var(--font-display); font-stretch: 125%; font-weight: 650; text-transform: uppercase; line-height: var(--lh-display); font-size: clamp(28px, 2.5vw, 40px); overflow-wrap: break-word; }
.mo-side .subtitle { font-size: 17px; }
.mo-updated { font-size: 14px; color: var(--mu); }
.mo-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mo-stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; min-width: 0; padding: 18px 0; }
.mo-stat dt { font-size: 14px; }
.mo-stat dd { font-size: clamp(20px, 2vw, 28px); white-space: nowrap; }
.mo-stat .mo-gold { color: var(--accent); }
.mo-stat .mo-none { font-family: var(--font-body); font-size: 16px; font-weight: 700; color: var(--mu); }
.mo-cta { min-height: 52px; font-size: 16px; }

/* ---- sections */
.mo-sec { padding-top: 88px; }
.mo-sec-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 20px; }
.mo-h2 { font-size: clamp(26px, 3.6vw, 40px); }
.mo-scale { font-size: 14px; }
.mo-prose { margin-top: 18px; max-width: 820px; }
.mo-prose p + p, .mo-prose ul, .mo-prose h3 { margin-top: 14px; }
.mo-spec-stats { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin-top: 24px; }
.mo-note { margin-top: 16px; font-size: 14px; max-width: 820px; }

/* ---- offers table */
.mo-tbl-wrap { overflow-x: auto; }
.mo-tbl td { vertical-align: middle; }
.mo-tbl tbody tr:last-child td { border-bottom: 1px solid var(--line); }
.mo-co { min-width: 200px; }
.mo-co .company-name { display: inline-block; color: var(--tx); font-weight: 700; font-size: 17px; text-decoration: none; padding: 4px 0; }
.mo-co .company-name:hover { color: var(--accent); }
.mo-co .company-phone { display: block; color: var(--mu); font-size: 14px; }
.mo-co a.company-phone { color: var(--link); display: inline-block; min-height: 32px; }
.mo-lines { list-style: none; margin: 6px 0 0; padding: 0; }
.mo-price { width: 34%; min-width: 180px; }
.mo-price .price { font-size: 18px; }
.mo-bar { margin-top: 8px; }
.mo-bar > i { position: absolute; top: 0; bottom: 0; background: var(--line-strong); }
.mo-act { text-align: right; white-space: nowrap; }
.mo-act .company-inquiry { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 16px; border: 1px solid var(--ghost-border); border-radius: var(--radius); color: var(--tx); font-weight: 700; font-size: 14px; text-decoration: none; }
.mo-act .company-inquiry:hover { border-color: var(--tx); }
.mo-site { display: inline-flex; align-items: center; min-height: var(--tap); margin-left: 16px; font-weight: 700; font-size: 14px; }
.mo-video td { border-top: 0; padding-top: 0; }
.mo-video iframe { display: block; width: 100%; max-width: 560px; aspect-ratio: 16 / 9; border: 0; }

/* ---- family pages (SER-623): a variant nav, one offers table per variant, the linked one
   (/vehicles/<family>#<variant>, :target) marked with a gold rule; no script */
.mo-variants { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; font-size: 15px; }
.mo-variants a { color: var(--link); }
.mo-variant { margin-top: 36px; padding-left: 16px; border-left: 2px solid transparent; scroll-margin-top: 24px; }
.mo-variant .mo-variant-h { font-size: 20px; margin-bottom: 12px; }
.mo-variant:target { border-left-color: var(--accent); }
.mo-variant:target .mo-variant-h { color: var(--accent); }

/* ---- also in this class / more pages */
.mo-also { padding-bottom: 96px; }
.mo-also-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 40px; margin-top: 16px; }
.mo-col-wide { grid-column: 1 / -1; }
.mo-col h3 { font-size: 20px; margin-bottom: 14px; }
.mo-col p { margin-bottom: 14px; }
.mo-col .mo-h3-gap { margin-top: 32px; }
.mo-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.mo-tiles .tile { min-height: 132px; }
.mo-tiles .tile:hover .make-mark { color: var(--accent); }
.mo-tiles .related-make, .mo-tiles .related-count { display: block; font-size: 13px; }
.mo-tiles .related-model { display: block; font-weight: 700; font-size: 17px; }
.mo-also .related-vehicles .mrow { min-height: var(--tap); align-items: center; gap: 12px; }
.mo-also .related-vehicles .mrow:last-child { border-bottom: 1px solid var(--line); }

@media (max-width: 760px) {
  .mo-tbl thead { display: none; }
  .mo-tbl, .mo-tbl tbody, .mo-tbl tr, .mo-tbl td { display: block; width: auto; min-width: 0; }
  .mo-tbl tr { border-top: 1px solid var(--line); padding: 14px 0; }
  .mo-tbl td { border: 0; padding: 4px 0; }
  .mo-tbl tbody tr:last-child td { border-bottom: 0; }
  .mo-tbl tbody tr:last-child { border-bottom: 1px solid var(--line); }
  .mo-tbl .mo-loc { font-size: 14px; }
  .mo-act { text-align: left; white-space: normal; display: flex !important; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-top: 8px !important; }
  .mo-site { margin-left: 0; }
  .mo-video { border-top: 0 !important; padding-top: 0 !important; }
}
@media (max-width: 600px) {
  .mo-hero { gap: 24px; }
  .mo-sec { padding-top: 56px; }
  .mo-stats { column-gap: 10px; }
  .mo-stat dd { font-size: 20px; }
  .mo-stat dt { font-size: 13px; }
  .mo-cta { width: 100%; box-sizing: border-box; white-space: normal; }
  .mo-also { padding-bottom: 56px; }
}
