/**
 * @info How to nominate — the orange heading, the steps
 * @path assets/css/templates/nominate.css
 * @template site/templates/nominate.php
 *
 * Everything at the letter's size but the note. Headings bold with room
 * above; the steps numbered, the lists set off by a dash.
 */

/* the heading in orange: here it is a call, not a question (and selects in
   it; not currentColor, which inside ::selection is the selection's own white) */
main h1 { color: var(--color-orange); }
main h1::selection { background: var(--color-orange); }

[data-note] {
  max-inline-size: 30em;
  margin-block-start: 1em;
  font-size: var(--size-text);
  line-height: 1.25;
}

[data-text] {
  & h2 {
    font-weight: 700;
    margin-block-start: 2.5em;
  }

  & :is(h2 + *) { margin-block-start: 0; }

  & :is(ol, ul) { margin-block-start: 1.25em; padding-inline-start: 1.5em; }
  & ol { list-style: decimal; }
  & ul { list-style: "– "; }
  & li + li { margin-block-start: .5em; }
  & :is(ol, ul) + p { margin-block-start: 1.25em; }
}
