/* News index only; homepage news and article content keep their own styles. */
.xdigit-news-page { overflow-wrap:break-word; }
.news-index-header { padding:4rem 0 3rem; background:#fff; }
.news-index-header h1 { font-size:clamp(2.5rem,4vw,3.75rem); line-height:1.08; }
.news-index-header p { max-width:52ch; margin-top:1.25rem; color:#4b5563; font-size:1.125rem; line-height:1.7; }
.news-index-content { padding:3rem 0 5rem; background:var(--color-xdigit-gray-light); }
.news-index-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2rem; }
.news-index-card { display:flex; flex-direction:column; min-width:0; border:1px solid #d1d5db; background:#fff; }
.news-index-image { display:block; overflow:hidden; aspect-ratio:16 / 9; background:#e0e8ef; }
.news-index-thumbnail { display:block; width:100%; height:100%; object-fit:cover; }
.news-index-image-placeholder { display:flex; align-items:center; justify-content:center; width:100%; height:100%; color:var(--color-xdigit-link); }
.news-index-card-body { display:flex; flex-direction:column; flex:1; min-width:0; padding:2rem; }
.news-index-card time { display:block; margin-bottom:1rem; color:#4b5563; font-size:.875rem; }
.news-index-card h2 { margin:0; color:var(--color-xdigit-blue); font-family:var(--font-display); font-size:1.5rem; font-weight:700; line-height:1.25; }
.news-index-card h2 a { text-decoration:none; }
.news-index-card h2 a:hover { text-decoration:underline; text-underline-offset:.2em; }
.news-index-card-body p { margin:1rem 0 1.5rem; color:#4b5563; font-size:1rem; line-height:1.7; }
.news-index-read { display:inline-flex; align-items:center; gap:.5rem; align-self:flex-start; min-height:44px; margin-top:auto; color:var(--color-xdigit-link); font-weight:600; text-decoration:none; }
.news-index-read:hover { color:var(--color-xdigit-blue); text-decoration:underline; text-underline-offset:.25em; }
.news-index-read svg { flex-shrink:0; }
.news-index-card--featured { grid-column:1 / -1; display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); }
.news-index-card--featured .news-index-image { min-height:22rem; height:100%; aspect-ratio:auto; }
.news-index-card--featured .news-index-card-body { align-self:center; padding:clamp(2rem,3vw,3rem); }
.news-index-card--featured h2 { font-size:clamp(1.5rem,2.3vw,2.25rem); }
.news-index-pagination { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:.5rem; margin-top:3rem; }
.news-index-pagination .page-numbers { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; padding:.75rem; border:1px solid #b8c7d4; color:var(--color-xdigit-blue); background:#fff; font-size:.875rem; font-weight:600; line-height:1.4; text-decoration:none; }
.news-index-pagination a:hover,.news-index-pagination .current { border-color:var(--color-xdigit-cta); background:var(--color-xdigit-cta); }
.news-index-pagination .dots { border-color:transparent; background:transparent; }
.news-index-empty { padding:3rem 1.5rem; border:1px solid #d1d5db; background:#fff; color:var(--color-xdigit-blue); text-align:center; }
.news-index-empty span { display:inline-flex; margin-bottom:1rem; color:var(--color-xdigit-link); }
@media(max-width:1023px) { .news-index-grid { gap:1.5rem; } .news-index-card-body { padding:1.5rem; } .news-index-card--featured .news-index-card-body { padding:1.5rem; } }
@media(max-width:767px) {
    .news-index-header { padding:3rem 0 2rem; }
    .news-index-header p { font-size:1rem; }
    .news-index-content { padding:2rem 0 3rem; }
    .news-index-grid,.news-index-card--featured { grid-template-columns:minmax(0,1fr); }
    .news-index-card--featured .news-index-image { min-height:0; height:auto; aspect-ratio:16 / 9; }
    .news-index-card h2,.news-index-card--featured h2 { font-size:1.375rem; }
}
