/* /news (SER-598, boards/News.html). Body class "crl": tokens, page head (.pg-head) and cards
   come from base.css; page-only rules here. */
.news-page { font-size: .45em; color: var(--mu); white-space: nowrap; }
.news-list { padding-top: 40px; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.news-card { display: flex; min-width: 0; }
.news-card > a { display: flex; flex-direction: column; width: 100%; color: var(--tx); text-decoration: none; }
.news-card > a:hover { border-color: var(--accent); color: var(--tx); }
.news-card > a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.news-img { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--s2); }
.news-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.no-image { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--s2), var(--s1)); }
.news-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; min-width: 0; }
.news-body time { font-size: 13px; }
.news-body h2 { margin: 0; font-size: 18px; line-height: 1.35; overflow-wrap: break-word; }
.news-excerpt { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-more { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 700; }
.news-pill { align-self: flex-start; border: 1px solid var(--line); color: var(--mu); }

/* lead story: full row, image left */
.news-lead { grid-column: 1 / -1; }
.news-lead > a { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.news-lead .news-img { aspect-ratio: auto; min-height: 360px; }
.news-lead .news-body { justify-content: flex-end; gap: 12px; padding: 36px; }
.news-lead .news-lead-title { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; }
.news-lead .news-more { margin-top: 0; }

.news-empty { padding: 60px 0; text-align: center; }

/* pagination: 44 px targets */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination .current { display: inline-flex; align-items: center; justify-content: center; min-width: var(--tap); min-height: var(--tap); padding: 0 12px; border: 1px solid var(--line); color: var(--tx); text-decoration: none; font-weight: 700; }
.pagination a:hover { border-color: var(--tx); color: var(--tx); }
.pagination a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pagination .current { background: var(--tx); color: var(--bg); border-color: var(--tx); }
.pagination .btn { padding: 0 18px; }
.pagination .gap { color: var(--mu); padding: 0 4px; }

@media (max-width: 760px) {
  .news-lead > a { grid-template-columns: 1fr; }
  .news-lead .news-img { min-height: 0; aspect-ratio: 16 / 10; }
  .news-lead .news-body { padding: 20px; }
}
