/* Research standard additions (October 27, 2026): key takeaways, numbered exhibits,
   formulas and structured citations. Loads last on the research index and article pages. */

/* Key takeaways: the essay's answer, directly under the masthead */
.page-article .article > .article-takeaways { max-width: 700px; margin: 0 auto 22px 0; padding: 20px 22px 18px; border-top: 2px solid #725423; background: #ebe6dc; }
.page-article .article-takeaways h2 { margin: 0 0 12px; color: #725423; font: 700 .75rem/1.3 Arial, Helvetica, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.page-article .article-takeaways ol { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: takeaway; }
.page-article .article-takeaways li { position: relative; padding-left: 36px; color: #182638; font-size: 1.0625rem; line-height: 1.6; counter-increment: takeaway; }
.page-article .article-takeaways li::before { content: counter(takeaway, decimal-leading-zero); position: absolute; top: 0; left: 0; color: #725423; font: 400 1.0625rem/1.6 Georgia, 'Times New Roman', serif; }

/* Numbered exhibits */
.page-article .article-exhibit { margin: 30px 0 34px; padding: 16px 0 0; border-top: 2px solid #101b2b; }
.page-article .article-exhibit figcaption { display: grid; gap: 4px; margin: 0 0 14px; }
.page-article .exhibit-label { color: #725423; font: 700 .75rem/1.3 Arial, Helvetica, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.page-article .exhibit-title { color: #101b2b; font: 400 1.3125rem/1.32 Georgia, 'Times New Roman', serif; }
.page-article .exhibit-table-wrap { width: 100%; overflow-x: auto; }
.page-article .exhibit-table { width: 100%; border-collapse: collapse; color: #182638; font-size: .9375rem; line-height: 1.45; font-variant-numeric: tabular-nums; }
.page-article .exhibit-table th,
.page-article .exhibit-table td { padding: 9px 10px; border-bottom: 1px solid #d3cec4; text-align: left; vertical-align: top; }
.page-article .exhibit-table thead th { border-bottom: 1px solid #101b2b; color: #101b2b; font-size: .8125rem; font-weight: 700; line-height: 1.35; }
.page-article .exhibit-table tbody th { font-weight: 700; }
.page-article .exhibit-table .num { text-align: right; }
.page-article .exhibit-table td.num { white-space: nowrap; }
.page-article .exhibit-table tr.exhibit-total th,
.page-article .exhibit-table tr.exhibit-total td { border-top: 1px solid #101b2b; border-bottom: 0; font-weight: 700; }
.page-article .article-section .exhibit-source,
.page-article .article-section .exhibit-note { max-width: none; margin: 10px 0 0; color: #566474; font-size: .8125rem; line-height: 1.5; }
.page-article .article-section .exhibit-note + .exhibit-source { margin-top: 6px; }
.page-article .exhibit-chart { display: block; width: 100%; height: auto; max-width: 560px; overflow: visible; }
.page-article .exhibit-chart .chart-grid { stroke: #d3cec4; stroke-width: 1; }
.page-article .exhibit-chart .chart-axis { stroke: #566474; stroke-width: 1; }
.page-article .exhibit-chart .chart-line-a { fill: none; stroke: #101b2b; stroke-width: 2.5; }
.page-article .exhibit-chart .chart-line-b { fill: none; stroke: #725423; stroke-width: 2.5; stroke-dasharray: 7 5; }
.page-article .exhibit-chart text { fill: #566474; font: 400 14px/1 Arial, Helvetica, sans-serif; }
.page-article .exhibit-chart .chart-label-a { fill: #101b2b; font-weight: 700; }
.page-article .exhibit-chart .chart-label-b { fill: #725423; font-weight: 700; }

/* Formulas set apart from prose */
.page-article .article-section .exhibit-formula { max-width: none; margin: 18px 0 22px; padding: 14px 16px; border-left: 2px solid #725423; background: #f8f5ee; color: #101b2b; font: 400 1.0625rem/1.6 Georgia, 'Times New Roman', serif; overflow-wrap: anywhere; }

/* Structured citations */
.page-article .references .ref-meta { color: #566474; }

@media (max-width: 760px) {
  .page-article .article > .article-takeaways { padding: 16px 16px 14px; }
  .page-article .article-takeaways li { padding-left: 32px; font-size: 1rem; }
  .page-article .exhibit-title { font-size: 1.15rem; }
  .page-article .exhibit-chart text { font-size: 17px; }
  .page-article .exhibit-table { font-size: .8125rem; }
  .page-article .exhibit-table thead th { font-size: .75rem; }
  .page-article .exhibit-table th,
  .page-article .exhibit-table td { padding: 7px 5px; }
  .page-article .exhibit-table th:first-child,
  .page-article .exhibit-table td:first-child { padding-left: 0; }
  .page-article .exhibit-table th:last-child,
  .page-article .exhibit-table td:last-child { padding-right: 0; }
  /* Wide comparison tables become labelled stacks on phones */
  .page-article .exhibit-table--stacked,
  .page-article .exhibit-table--stacked tbody,
  .page-article .exhibit-table--stacked tr,
  .page-article .exhibit-table--stacked th,
  .page-article .exhibit-table--stacked td { display: block; width: 100%; }
  .page-article .exhibit-table--stacked thead { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .page-article .exhibit-table--stacked tbody tr { padding: 10px 0; border-bottom: 1px solid #d3cec4; }
  .page-article .exhibit-table--stacked tbody th,
  .page-article .exhibit-table--stacked td { padding: 3px 0; border: 0; }
  .page-article .exhibit-table--stacked tbody th { color: #101b2b; font-size: 1rem; }
  .page-article .exhibit-table--stacked td::before { display: block; margin-bottom: 2px; color: #725423; font-size: .75rem; font-weight: 700; letter-spacing: .04em; content: attr(data-label); }
}

@media print {
  .page-article .article-takeaways,
  .page-article .article-exhibit,
  .page-article .exhibit-formula { break-inside: avoid; }
}
