/* Layout for the current English article. */
html.article-page h1 { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.2; }
html.article-page p { text-align: left; }
html.article-page .revision-blue,
html.article-page .revision-blue a { color: #1d4ed8; }
html.article-page .comparison-label { letter-spacing: 0; text-transform: none; }
html.article-page #policy-intro #model-title { font-size: 28px; }
html.article-page #scaling-data,
html.article-page #scaling-data th,
html.article-page #scaling-data td { font-size: var(--body-font-size); }
html.article-page #scaling-data th,
html.article-page #scaling-data td { padding: 12px 10px; }
html.article-page #scaling-data thead th:not(:first-child),
html.article-page #scaling-data td:not(.trend-cell) { text-align: center; }
html.article-page #scaling-data .nodes-column { border-left: 1px solid #e1e1e1; border-right: 1px solid #e1e1e1; }
html.article-page #scaling-data .average-column { position: relative; min-width: 6em; padding-left: 36px; }
html.article-page #scaling-data .average-column::before { content: ""; position: absolute; top: 0; bottom: 0; left: 24px; width: 1px; background: #e1e1e1; }
html.article-page #scaling-data .method-group th { text-align: left; font-weight: 600; border-top: 2px solid var(--line); padding-top: 16px; padding-bottom: 16px; }
html.article-page #scaling-data tbody tr:not(.method-group) > th,
html.article-page #scaling-data tbody tr:not(.method-group) > td { border-bottom: 0; }
html.article-page #scaling-data tbody tr:last-child > th,
html.article-page #scaling-data tbody tr:last-child > td,
html.article-page #scaling-data tbody tr > td.trend-cell { border-bottom: 1px solid #e1e1e1; }
html.article-page #scaling-data .baseline-reference th,
html.article-page #scaling-data .baseline-reference td:not(.trend-cell) { color: #aaa; }
html.article-page #scaling-data .baseline-reference th { white-space: nowrap; }
html.article-page #scaling-data .trend-cell,
html.article-page #scaling-data .trend-heading { position: relative; min-width: 6em; padding: 0; }
html.article-page .budget-growth { position: absolute; top: 18px; bottom: 18px; right: 12px; width: 5em; display: flex; align-items: center; justify-content: center; text-align: center; padding-right: 18px; white-space: nowrap; color: #1d4ed8; }
html.article-page .budget-growth::before { content: ""; position: absolute; top: 0; bottom: 5px; right: 5px; width: 2px; background: currentColor; }
html.article-page .budget-growth::after { content: ""; position: absolute; right: 1px; bottom: 0; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 10px solid currentColor; }
html.article-page .performance-growth { left: auto; right: 2px; width: calc(4em + 18px); padding-left: 18px; padding-right: 0; }
html.article-page .performance-growth::before { left: 5px; right: auto; }
html.article-page .performance-growth::after { left: 1.5px; right: auto; }

/* Use the supplied table image on phones; retain the HTML table on larger screens. */
html.article-page .mobile-results-table { display: none; }
@media screen and (max-width: 767px) {
  html.article-page .mobile-results-table { display: block; width: 100%; margin: 18px 0 28px; }
  html.article-page .mobile-results-table figcaption { padding: 0 0 12px; color: var(--muted); }
  html.article-page .mobile-results-table a { display: block; }
  html.article-page .mobile-results-table img { display: block; width: 100%; height: auto; }
  html.article-page .mobile-results-table + .table-scroll { display: none; }
}
