/* Footnotes at the end of the text: after a short rule, in smaller type, each number hanging and linking back to its reference.
   <section class="c-footnotes" aria-label="Notes"><ol class="c-footnotes__list"><li id="fn-id"><a class="c-footnotes__number"
   href="#fnref-id">1</a> text</li></ol></section> */

.c-footnotes { margin-top: calc(var(--line) * 2); font-size: 0.84em; }
.c-footnotes::before { content: ''; display: block; width: 7em; margin-bottom: var(--line); border-top: var(--stroke-hair) solid var(--color-rule); }
/* Qualified by .c-footnotes so they win over c-markdown's list rules (06-components/_markdown.css loads later). */
.c-footnotes .c-footnotes__list { margin: 0; padding: 0; list-style: none; }
/* No text-align: a note is set like the text around it, justified by c-markdown's li rule and flush left on a phone. */
.c-footnotes .c-footnotes__list > li { margin: 0 0 0.45em; padding-left: 1.8em; text-indent: -1.8em; }
.c-footnotes .c-footnotes__list > li:target { background: var(--color-target); }
.c-footnotes__number { display: inline-block; width: 1.8em; text-indent: 0; color: var(--color-ink-muted); text-decoration: none; }
