/* The method page (M3) as an article: one reading column, running headings,
   figures in the flow of the text. Loaded after intel-report.css (which gives
   the tokens on .fr-page) and intel-figures.css (the charts); this file sets
   the article's own measure and type and never touches the chart classes.
   Rendered by lib/method-render.mjs. */

.ma-page { font-size: 16px; line-height: 1.65; }
.ma-page main { padding: 40px 20px 72px; }
.ma { max-width: 660px; margin: 0 auto; }
.ma p, .ma h1, .ma h2, .ma h3, .ma ul, .ma ol, .ma table { margin: 0; }
.ma a { color: var(--accent); text-decoration-color: var(--accent-soft); text-underline-offset: 2px; }
.ma a:hover { text-decoration-color: var(--accent); }
.ma strong { color: var(--ink); font-weight: 600; }
.ma sup { font-size: .68em; line-height: 0; }
.ma sup a.cite { text-decoration: none; padding: 0 1px; }

/* Head: kicker, title, dek. */
.ma-head { padding-bottom: 22px; border-bottom: 1.5px solid var(--ink); margin-bottom: 26px; }
.ma .ma-kicker { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.ma-kicker .ma-sep { color: var(--rule); padding: 0 3px; }
.ma-head h1 { font-size: 34px; line-height: 1.12; font-weight: 700; color: var(--ink); letter-spacing: -0.018em; text-wrap: balance; }
.ma .ma-dek { margin-top: 16px; font-size: 18px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }

/* The opening paragraphs, a size above the body. */
.ma-lede p { font-size: 17.5px; line-height: 1.6; color: var(--ink); }
.ma-lede p + p { margin-top: 1em; }
.ma-lede p:first-child::first-letter { font-size: 2.9em; line-height: .82; float: left; padding: 4px 8px 0 0; font-weight: 600; color: var(--ink); }

/* Sections: a heading, a one-line standfirst, the lead, then the body. */
.ma-sec { margin-top: 46px; scroll-margin-top: 72px; }
.ma .ma-sec > * + * { margin-top: 1em; }
.ma .shead { display: flex; gap: 12px; align-items: baseline; font-size: 24px; line-height: 1.2; font-weight: 700; color: var(--ink); letter-spacing: -0.012em; text-wrap: balance; }
.ma .shead .num { font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--accent); flex: none; position: relative; top: -3px; }
.ma-stand { font-size: 17px; line-height: 1.5; color: var(--muted); margin-top: 8px !important; padding-bottom: 14px; border-bottom: 1px solid var(--hair); }
.ma-lead { color: var(--ink); }
.ma-note { font-size: 14px; color: var(--muted); }

/* Lists: a run of short paragraphs with a bold lead, a thin rule between. */
.ma-list { list-style: none; padding: 0; border-top: 1px solid var(--hair); }
.ma-list li { padding: 12px 0; border-bottom: 1px solid var(--hair); }
.ma-list li strong { display: block; margin-bottom: 2px; }

/* Tables, when a section needs one. */
.ma-tbl { overflow-x: auto; }
.ma-tbl table { border-collapse: collapse; width: 100%; font-size: 14.5px; line-height: 1.5; }
.ma-tbl th { text-align: left; font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); font-weight: 500; padding: 0 12px 8px 0; border-bottom: 1px solid var(--rule); }
.ma-tbl td { vertical-align: top; padding: 9px 12px 9px 0; border-bottom: 1px solid var(--hair); }

/* Figures ride the intel figure classes; the article gives them room. */
.ma figure.ma-fig { margin: 22px 0 24px; padding-top: 12px; }
.ma .fig2 .fh h3 { font-size: 15px; }
.ma .fig2 .sub { font-size: 13.5px; }
.ma .fig2 .src { font-size: 10.5px; }

/* Sources: small, numbered. */
.ma-sources ol { padding-left: 1.6em; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.ma-sources li { padding: 4px 0; }
.ma-sources li a { color: var(--ink); }
.ma-sources li:target { background: var(--well); }

@media (max-width: 600px) {
  .ma-page { font-size: 15.5px; }
  .ma-page main { padding: 24px 16px 56px; }
  .ma-head h1 { font-size: 27px; }
  .ma-dek { font-size: 16.5px; }
  .ma-lede p { font-size: 16px; }
  .ma .shead { font-size: 21px; }
  .ma-stand { font-size: 16px; }
  .ma-sec { margin-top: 36px; }
}
@media print {
  .ma-page main { padding: 0; }
}
