/* Glossary term pages only (templates/term.html links this after site.css). The quote that supports the definition is
   drawn as a quote: an accent rule beside it, larger type, and its source under it. */

.article.term-page > .term { max-width: 62ch; }
.term-page .term-definition { font-size: 1.1rem; line-height: 1.55; }
.term-page .term-quote { margin: 1.4rem 0 1.6rem; padding: 0.2rem 0 0.2rem 1.1rem; border-left: 3px solid var(--accent); }
.term-page .term-quote blockquote { margin: 0; padding: 0; }
.term-page .term-quote blockquote p { margin: 0; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.45; color: var(--ink); }
.term-page .term-quote blockquote p::before { content: "\201C"; }
.term-page .term-quote blockquote p::after { content: "\201D"; }
.term-page .term-quote figcaption { margin-top: 0.5rem; color: var(--mute); font-size: 0.9rem; line-height: 1.5; }

/* Wide screens (#3637 lens 3): the definition and its quote sit on the left with Related terms beside them, and the long
   "Pages that use this term" list runs under both in columns (two from 1100px, three from 1700px), so no half of the page
   is left empty and the list is a third of the height it was. Pages with no list keep the single column. */
@media (min-width: 1100px) {
  .article.term-page:has(.graph-defines) { grid-template-columns: minmax(0, 36rem) minmax(0, 28rem); column-gap: 4.5rem; align-content: start; }
  .article.term-page:has(.graph-defines) > .graph { display: contents; }
  .article.term-page:has(.graph-defines) > :is(h1, .lede, .byline, .article-foot) { grid-column: 1 / -1; }
  .article.term-page:has(.graph-defines) .graph-defines { grid-column: 1 / -1; }
  .article.term-page:has(.graph-defines) > .term { grid-column: 1; grid-row: 4; }
  .article.term-page:has(.graph-defines) .graph-related-terms { grid-column: 2; grid-row: 4; }
  .article.term-page:has(.graph-defines) .graph-related-terms > h2 { margin-top: 0; }
  .article.term-page:has(.graph-defines) .graph-defines { grid-row: 5; }
  .article.term-page:has(.graph-defines) .graph-defines ul { max-width: none; columns: 2; column-gap: 4.5rem; }
  .article.term-page:has(.graph-defines) .graph-defines li { break-inside: avoid; margin-bottom: 0.5rem; }
}
@media (min-width: 1700px) {
  .article.term-page:has(.graph-defines) { grid-template-columns: minmax(0, 44rem) minmax(0, 36rem); max-width: 96rem; }
  .article.term-page:has(.graph-defines) .graph-defines ul { columns: 3; }
}
