/* Guides: one reading column, the short answer first, the questions to ask in the report's own
   dark card, and the registration box at the end. */
.g-page { padding: clamp(1.5rem, 4vw, 3rem) 0 0; }
.g-page article, .g-page > h1, .g-page > .g-lede { max-width: 44rem; }
.g-crumb { font-size: 0.9375rem; color: var(--muted); margin-bottom: 0.9rem; }
.g-crumb a { font-weight: 700; color: var(--ink); }
.g-page h1 { font-size: clamp(2rem, 5.4vw, 3.25rem); }
.g-lede { margin-top: 1rem; font-size: clamp(1.125rem, 2.2vw, 1.3125rem); line-height: 1.45; color: var(--muted); max-width: 40rem; }

.g-short { margin-top: 2rem; background: #fff; border: 1px solid var(--line); border-radius: 0.9rem; padding: 1.25rem 1.4rem 1.4rem; }
.g-short h2 { font-size: 1.0625rem; }
.g-short p { margin-top: 0.6rem; font-size: 1.125rem; line-height: 1.5; max-width: none; }

.g-body h2 { font-size: clamp(1.375rem, 3vw, 1.75rem); margin-top: 2.75rem; }
.g-body h3 { font-size: 1.1875rem; margin-top: 1.75rem; }
.g-body p, .g-body ul, .g-body ol, .g-body dl { margin-top: 0.9rem; max-width: 40rem; font-size: 1.0938rem; line-height: 1.6; }
.g-body ul, .g-body ol { padding-left: 1.25rem; }
.g-body li { margin-top: 0.45rem; }
.g-body a, .g-sources a { font-weight: 600; }
.g-body .table-scroll { overflow-x: auto; margin-top: 1.25rem; }
.g-body table { border-collapse: collapse; width: 100%; min-width: 30rem; font-size: 1rem; }
.g-body th, .g-body td { text-align: left; vertical-align: top; padding: 0.7rem 1rem 0.7rem 0; border-bottom: 1px solid var(--line); }
.g-body thead th { border-bottom: 2px solid var(--ink); }
.g-body tbody th { white-space: nowrap; }

/* The same dark card the report uses for its questions. */
.g-ask { margin-top: 2.75rem; background: var(--ink); color: #fff; border-radius: 0.9rem; padding: 1.4rem 1.5rem 1.6rem; }
.g-ask h2 { font-size: 1.0625rem; color: var(--mint); }
.g-ask ul { list-style: none; margin: 0.4rem 0 0; padding: 0; }
.g-ask li { padding: 0.8rem 0; font-size: 1.1875rem; font-weight: 700; line-height: 1.4; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.g-ask li:last-child { border-bottom: 0; padding-bottom: 0; }

.g-check { margin-top: 2.75rem; border-top: 4px solid var(--ink); padding-top: 1.5rem; }
.g-check h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); }
.g-check > p { margin-top: 0.6rem; color: var(--muted); font-size: 1.0938rem; max-width: 38rem; }
.g-check .check-form { margin-top: 1.5rem; }
.g-check .plate { width: min(100%, 24rem); }
.g-note { color: var(--muted); font-size: 0.9375rem; }

.g-sources { margin-top: 3rem; color: var(--muted); font-size: 0.9688rem; }
.g-sources h2, .g-more h2 { font-size: 1.0625rem; color: var(--ink); }
.g-sources ul { margin: 0.6rem 0 0; padding-left: 1.2rem; }
.g-sources li { margin-top: 0.3rem; }
.g-sources p { margin-top: 0.9rem; max-width: 40rem; }

.g-more { margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 1.5rem; max-width: 44rem; }
.g-more ul { list-style: none; margin: 0.6rem 0 0; padding: 0; display: grid; gap: 0.5rem; }
.g-more a { font-weight: 700; }

/* The list of guides. */
.g-list { list-style: none; margin: 2.25rem 0 0; padding: 0; max-width: 46rem; border-top: 2px solid var(--ink); }
.g-list li { border-bottom: 1px solid var(--line); }
.g-list a { display: grid; gap: 0.3rem; padding: 1.1rem 0; text-decoration: none; }
.g-list strong { font-size: 1.25rem; line-height: 1.25; text-decoration: underline; text-underline-offset: 0.18em; }
.g-list span { color: var(--muted); max-width: 40rem; }
.g-list a:hover strong { text-decoration-thickness: 3px; }

/* Model pages: tables of figures from the MOT data. */
.m-page article { max-width: 48rem; }
.m-table { min-width: 34rem; }
.m-table td, .m-table thead th:not(:first-child) { text-align: right; white-space: nowrap; }
.m-table thead th { font-size: 0.9375rem; white-space: normal; vertical-align: bottom; }
.m-table td.m-note { text-align: left; font-weight: 700; padding-left: 0.5rem; }
.m-table .good, .m-key .good, .m-makes .good { color: #0b6b4a; font-weight: 700; }
.m-table .bad, .m-key .bad, .m-makes .bad { color: var(--flag); font-weight: 700; }
.m-range { display: block; font-size: 0.875rem; color: var(--muted); font-weight: 400; }
.g-body p.m-key { font-size: 0.9375rem; color: var(--muted); }
.g-body ol.m-list { list-style: none; padding: 0; counter-reset: m; border-top: 2px solid var(--ink); }
.m-list li { counter-increment: m; display: grid; grid-template-columns: 1.75rem 1fr auto; gap: 0.75rem; align-items: baseline; margin: 0; padding: 0.65rem 0; border-bottom: 1px solid var(--line); }
.m-list li::before { content: counter(m); color: var(--muted); }
.m-list b { }
.m-links { display: flex !important; flex-wrap: wrap; gap: 0.5rem 1.25rem !important; }
/* Makes flow down columns, so a make with one model doesn't leave a hole beside one with twenty. */
.m-makes { margin-top: 2.5rem; column-gap: 2.5rem; }
.m-makes section { break-inside: avoid; margin-bottom: 2rem; }
@media (min-width: 44rem) { .m-makes { columns: 2; } }
@media (min-width: 68rem) { .m-makes { columns: 3; } }
.m-makes h2 { font-size: 1.25rem; border-bottom: 2px solid var(--ink); padding-bottom: 0.4rem; }
.m-makes ul { list-style: none; margin: 0.5rem 0 0; padding: 0; }
.m-makes li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.35rem 0; border-bottom: 1px solid var(--line); }
.m-makes a { font-weight: 700; }
.m-makes span { font-size: 0.875rem; color: var(--muted); text-align: right; }
