/* Daily news (overview, item pages, home teaser). Builds on style.css variables and the ch-* look of challenge.css. */
.nw-cards{display:grid;gap:16px;margin-top:28px;padding:0;list-style:none;}
.nw-card{padding:20px 22px;border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface);box-shadow:var(--shadow-1);}
.nw-card h2,.nw-card h3{margin:6px 0 0;font-size:20px;line-height:1.25;font-weight:800;color:var(--navy-900);max-width:none;}
.nw-card h2 a,.nw-card h3 a{color:inherit;text-decoration:none;}
.nw-card h2 a:hover,.nw-card h2 a:focus-visible,.nw-card h3 a:hover,.nw-card h3 a:focus-visible{text-decoration:underline;}
.nw-card p{margin-top:8px;line-height:1.55;}
.nw-card .nw-meta{margin-top:0;}
.nw-meta{font-size:14px;font-weight:600;color:var(--text-3);}
.nw-more{display:inline-flex;align-items:center;gap:6px;margin-top:12px;font-weight:700;color:var(--blue-700);text-decoration:none;}
.nw-more:hover,.nw-more:focus-visible{text-decoration:underline;}
.nw-more svg{width:16px;height:16px;}
.nw-source{margin-top:28px;padding-top:16px;border-top:1px solid var(--line);font-size:15px;color:var(--text-2);}
.nw-source a{color:var(--blue-700);text-decoration:underline;overflow-wrap:anywhere;}
.nw-ai{margin-top:8px;font-size:14px;color:var(--text-3);}
.nw-topic{margin-top:16px;}
.nw-topic a,.nw-back a,.nw-feed a{color:var(--blue-700);font-weight:600;}
.nw-back{margin-top:24px;}
.nw-feed{margin-top:20px;}
.nw-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:28px;font-weight:600;}
.nw-pager a{color:var(--blue-700);text-decoration:none;}
.nw-pager a:hover,.nw-pager a:focus-visible{text-decoration:underline;}
.nw-pager span{flex:1;text-align:center;color:var(--text-2);}
.nw-teaser{padding:56px 0;background:var(--bg-alt);}
.nw-teaser h2{font-size:clamp(24px,3.2vw,32px);line-height:1.15;font-weight:800;color:var(--navy-900);}
.nw-all{margin-top:20px;text-align:center;}
.nw-teaser .nw-cards{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));}
@media (max-width:640px){.nw-card{padding:16px;}}
/* Review page (one-time mailed link): hidden parts, titles and the action buttons. */
.nw-review [hidden]{display:none!important;}
.nw-review-titles{margin:20px 0;}
.nw-review-titles dt{margin-top:14px;font-size:14px;font-weight:600;color:var(--text-3);}
.nw-review-titles dd{margin:4px 0 0;font-size:18px;font-weight:700;line-height:1.35;color:var(--navy-900);overflow-wrap:anywhere;}
.nw-review-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0;}
.nw-review-actions .btn[disabled]{opacity:.6;cursor:not-allowed;}
.nw-review [data-nw-status]{margin-top:12px;font-weight:600;color:var(--text-2);}
