/*
 * The memorial line (`shared/_memorial`): ink across the whole top of the
 * window, and the words in the note's serif italic, centred under it. Thicker
 * than the heavy rule, which would read as another section's top. A pixel of
 * paper above the ink parts it from a dark browser's own bar.
 */
@layer components {
  .memorial {
    /* The screen reader's words are positioned. */
    position: relative;
    padding-block-start: 1px;
    color: var(--color-ink-muted);
    font-family: var(--font-prose);
    font-size: var(--text-note);
    font-style: italic;
    line-height: var(--leading-note);
    text-align: center;

    &::before {
      display: block;
      block-size: 6px;
      margin-block-end: var(--space-2xs);
      background: var(--color-ink);
      content: "";
    }
  }
}
