/* news.css: styles used only by this part of the site, loaded after site.css (inc/layout.php). Split from site.css in v61.
   Tokens, base and shared parts stay in site.css. DESIGN.md describes them. */
/* News: the picture beside the text on wide screens, above it on phones */
.news-list { display: grid; grid-template-columns: minmax(0, 1fr); }
.news-entry { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3) var(--space-5); padding-block: var(--space-4); border-top: var(--line) solid currentColor; }
.news-list > .news-entry:last-child { border-bottom: var(--line) solid currentColor; }
/* Since v51: six items per page. Since v75 the pager itself stands in site.css, because Studies uses it too. */
.news-count { margin-bottom: var(--space-4); color: var(--muted-on-night); }
.on-paper .news-count { color: var(--muted-on-paper); }
.news-text { display: grid; align-content: start; gap: var(--space-2); max-width: var(--measure); min-width: 0; }
.news-text a:not([class]) { font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 0.15em; }
@media (min-width: 780px) { .news-entry:not(.is-plain) { grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); align-items: start; } }
/* A news item's own page */
.news-page-shot { max-width: 48rem; }
.on-night .item-list .strip-link, .on-night-2 .item-list .strip-link { color: var(--white); }
