/**
 * @info A year's question — the date, the nav, the sections under the letter
 * @path assets/css/templates/question.css
 * @template site/templates/question.php
 *
 * The title and the letter's text are site/base.css. Links, Chronik and
 * Dank: each behind a full-width rule, its heading in the narrow column, the
 * list in the wide one (snippets/sections.css).
 */

[data-date] { margin-block-start: clamp(1.25rem, 2.5vw, 2rem); }


/*----------  The call to nominate (2025: a child page "nominate")  ----------*/

[data-nominate] {
  inline-size: fit-content;
  margin-block-start: clamp(1.25rem, 2.5vw, 2rem);
  padding: .4em .75em;
  background: var(--color-orange);
  color: var(--color-white);   /* 3.3 : 1, enough for large bold type */
  outline: 1px solid transparent;   /* forced colours drop the tint: a frame instead */
  font-size: var(--size-text);
  font-weight: 700;
  line-height: 1.25;
}

/*----------  The AI-translation note (ES, FR, KO, AR)  ----------*/

[data-ai] {
  max-inline-size: 36em;
  margin-block-start: 2rem;
  padding: .75em 1em;
  background: var(--color-tint);
  outline: 1px solid transparent;   /* forced colours drop the tint: a frame instead */
  font-size: var(--size-ui);
}

[data-chronicle] {
  & li { padding-block-end: .5rem; }
  & li + li { padding-block-start: .5rem; border-block-start: var(--rule); }
}

[data-chronicle] li {
  display: grid;
  grid-template-columns: 8em minmax(0, 1fr);
  gap: var(--space-gap);

  & b { font-weight: 400; }
}

[data-notes] p + p { margin-block-start: .5em; }
