@import url("_pages-common.css");
/* Journal article: long-read typography in the site system — Oswald for headings, Golos Text for text, two colours.
   Text column ~68ch at 18px/1.7; contents on the left from 1100px; tables and examples use the shared .pg-table. */
.jr-hero { padding-top: calc(var(--va-header-h) + clamp(40px, 6vw, 110px)); padding-bottom: clamp(44px, 5vw, 88px); }
.jr-hero__title { max-width: 22ch; font-size: clamp(36px, 5.2vw, 92px); }
.jr-hero__lead { max-width: 52ch; margin-top: 26px; color: var(--mute); }
.jr-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: var(--va-fs-small); color: var(--mute); }

.jr-body { padding-block: clamp(56px, 7vw, 120px); }
.jr-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 40px var(--va-col-gap); align-items: start; }
.jr-layout > .jr-prose:only-child { grid-column: 2; }
.jr-toc { position: sticky; top: calc(var(--va-header-h) + 24px); font-size: var(--va-fs-small); }
.jr-toc ol { display: grid; gap: 10px; margin: 16px 0 0; padding: 0 0 0 1.4em; color: var(--mute); }
.jr-toc a { color: var(--fg); text-decoration: none; line-height: 1.35; }
.jr-toc a:hover, .jr-toc a:focus-visible { text-decoration: underline; text-underline-offset: .2em; }

.jr-prose { max-width: 70ch; font-size: 18px; line-height: 1.7; min-width: 0; }
.jr-prose > * + * { margin-top: 1.05em; }
.jr-prose h2 { margin-top: 2.4em; font: 600 clamp(26px, 2.5vw, 42px)/1 var(--va-font-display); text-transform: uppercase; letter-spacing: -.005em; scroll-margin-top: calc(var(--va-header-h) + 24px); text-wrap: balance; }
.jr-prose h2:first-child { margin-top: 0; }
.jr-prose h3 { margin-top: 1.8em; font: 500 clamp(20px, 1.6vw, 26px)/1.1 var(--va-font-display); text-transform: uppercase; letter-spacing: .005em; }
.jr-prose h2 + *, .jr-prose h3 + * { margin-top: .7em; }
.jr-prose p { text-wrap: pretty; }
.jr-prose a:not(.va-btn) { color: var(--fg); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.jr-prose a:not(.va-btn):hover { text-decoration-thickness: 2px; }
.jr-prose b, .jr-prose strong { font-weight: 600; }
.jr-prose ul, .jr-prose ol { padding-left: 1.3em; display: grid; gap: .45em; }
.jr-prose li::marker { color: var(--mute); }
.jr-prose .pg-scroll { margin-top: 1.4em; }
.jr-prose table { font-size: var(--va-fs-small); line-height: 1.45; font-variant-numeric: tabular-nums; }
.jr-prose table td.va-num { white-space: nowrap; }
.jr-prose table th small { display: block; margin-top: 4px; font-weight: 400; color: var(--mute); }
.jr-prose table tfoot th, .jr-prose table tfoot td { border-bottom: 0; padding-top: 18px; font: 500 var(--va-fs-h3)/1.1 var(--va-font-display); color: var(--fg); text-transform: uppercase; }
.jr-prose table tfoot td { text-transform: none; }
.jr-prose .pg-note { margin-top: .6em; }
.jr-prose blockquote, .jr-note { margin-left: 0; padding: 18px 0 18px 22px; border-left: 2px solid var(--fg); color: var(--fg); }
.jr-note b:first-child { display: block; margin-bottom: 4px; font: 600 var(--va-fs-micro)/1.3 var(--va-font-text); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.jr-src { font-size: var(--va-fs-small); color: var(--mute); }
.jr-src a { color: inherit !important; }
.jr-example { margin: 1.8em 0 0; padding: clamp(18px, 2vw, 28px) 0 0; border-top: 2px solid var(--fg); }
.jr-example__cap { display: block; font-size: var(--va-fs-body); line-height: 1.45; }
.jr-example__cap .va-eyebrow { display: block; margin-bottom: 6px; }
.jr-example__spec { color: var(--mute); font-size: var(--va-fs-small); }
.jr-example .pg-scroll { margin-top: 14px; }
.jr-example table td { text-align: right; }
.jr-cars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--va-card-gap); margin-top: 1.6em; font-size: var(--va-fs-body); line-height: 1.5; }
.jr-next { margin-top: 3em; padding-top: 22px; border-top: 1px solid var(--line); font-size: var(--va-fs-body); }
.jr-next .va-eyebrow { margin-bottom: 8px; }

@media (max-width: 1100px) {
	.jr-layout { grid-template-columns: minmax(0, 1fr); }
	.jr-layout > .jr-prose:only-child { grid-column: auto; }
	.jr-toc { position: static; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 700px) {
	.jr-prose { font-size: 17px; line-height: 1.65; }
	.jr-cars { grid-template-columns: minmax(0, 1fr); }
	.jr-hero__meta { gap: 6px 18px; }
}
