/* Exam news: the landing page (updates.html) and the story pages (news/*.html), made by Build tools/build_news.py.
   Colours come from style.css (--bg, --surface, --ink, --muted, --line, --accent, --good, --bad, --note …) so light and
   dark both work; exam colours (.t-cet, .t-jee … → --c / --cf) come from updates.css. Phone first, wider screens below. */

.nw-body { --nw-r: 20px; --nw-card: var(--surface); --nw-edge: var(--line); --nw-shadow: 0 1px 2px rgba(20, 16, 40, .04), 0 8px 24px rgba(20, 16, 40, .05); }
:root[data-theme="dark"] .nw-body { --nw-shadow: none; }
.t-other { --c: #3f51b5; --cf: #3f51b5; }
.t-sci { --c: #6a3fd1; --cf: #6a3fd1; }
.t-all { --c: var(--accent); --cf: var(--accent-fill); }
:root[data-theme="dark"] .t-other { --c: #9aa8ff; }
:root[data-theme="dark"] .t-sci { --c: #b9a3ff; }

.nw-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px 40px; }
.nw-h { margin: 0; font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; }
.nw-fine { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.nw-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin: 0 0 12px; }
.nw-sec-head .nw-fine { margin: 0; }

/* ---------- meta line, tag, buttons ---------- */
.nw-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.nw-meta .up-tag { font-size: 11.5px; padding: 2px 9px; border-radius: 980px; letter-spacing: .02em; }
.nw-dot::before { content: "·"; margin-right: 10px; }
.nw-new { padding: 1px 7px; border-radius: 980px; background: var(--bad-soft); color: var(--bad); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.nw-new[hidden] { display: none; }
.nw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 980px;
  background: var(--accent-fill); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; border: 0; cursor: pointer; text-align: center; }
.nw-btn:hover { filter: brightness(1.08); }
.nw-btn.ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.nw-btn svg, .nw-act svg, .nw-save svg, .nw-ext svg, .nw-src svg, .nw-chips svg, .nw-checked svg, .nw-checked-line svg {
  width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nw-save { display: inline-grid; place-items: center; position: relative; z-index: 2; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%;
  background: var(--surface); color: var(--muted); cursor: pointer; }
.nw-save span:empty { display: none; }
.nw-save:hover { color: var(--accent); border-color: var(--accent); }
.nw-save[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.nw-save[aria-pressed="true"] svg { fill: currentColor; }
.nw-save.big { display: inline-flex; gap: 8px; width: auto; height: 44px; padding: 0 18px; border-radius: 980px; font: 600 15px/1 var(--sys); color: var(--ink); }
.nw-save.big[aria-pressed="true"] { color: var(--accent); }
.nw-ext { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 14px; font-weight: 600; text-decoration: none; }
.nw-ext:hover { text-decoration: underline; }
.nw-ext svg { width: 15px; height: 15px; }

/* ---------- page head: newspaper masthead "Physics Circle Times" (logo + serif wordmark, dateline, thick + thin rule).
   The wordmark uses the system serif only (no web font); everything else stays Inter. ---------- */
.nw-head { padding: 22px 0 8px; }
.nw-live { display: inline-flex; align-items: center; gap: 6px; color: var(--up-live-ink, #c4302b); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.nw-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--up-live, #e5484d); animation: up-pulse 1.6s ease-in-out infinite; }
.nw-paper { margin: 14px 0 0; text-align: center; }
.nw-paper::after { content: ""; display: block; height: 3px; margin-top: 0; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink); }
.nw-mh { display: flex; align-items: center; justify-content: center; gap: .26em; margin: 0; font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(22px, 6.5vw, 74px); font-weight: 700; line-height: 1; letter-spacing: -0.012em; color: var(--ink); white-space: nowrap; }
.nw-mh-logo { flex: none; width: auto; height: 1.02em; }
.nw-mh-logo.is-dark, :root[data-theme="dark"] .nw-mh-logo.is-light { display: none; }
:root[data-theme="dark"] .nw-mh-logo.is-dark { display: block; }
.nw-lead { margin: 12px auto 0; max-width: 640px; color: var(--muted); font-size: 15px; line-height: 1.5; text-wrap: balance; }
.nw-dl { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 14px 0 0; padding: 8px 0 9px; border-top: 1px solid var(--ink);
  color: var(--ink); font-size: 13px; line-height: 1.5; }
.nw-dl-i { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 8px; }
.nw-dl-i > * { white-space: nowrap; }
.nw-dl-date:empty { display: none; }
.nw-dl .ist-clock { gap: 5px; }
.nw-dl .ist-clock :is(svg, .ck-date) { display: none; }
.nw-dl .ist-clock .ck-time { font-weight: 600; }
.nw-checked { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.nw-checked svg { width: 16px; height: 16px; color: var(--good); }
.nw-checked b { color: var(--ink); }
/* wide screens: one line, items split by thin vertical rules; narrower screens: one item per line, no rules
   (so a line never starts with a rule) */
@media (min-width: 1000px) {
  .nw-dl { flex-direction: row; justify-content: center; gap: 0; }
  .nw-dl-i { flex-wrap: nowrap; padding: 0 16px; white-space: nowrap; }
  .nw-dl-i + .nw-dl-i { border-left: 1px solid var(--line-strong); }
}

/* ---------- top story ---------- */
.nw-top { position: relative; display: grid; margin: 18px 0 28px; overflow: hidden; border: 1px solid var(--nw-edge); border-radius: 24px; background: var(--nw-card); box-shadow: var(--nw-shadow); }
.nw-top-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg); }
.nw-top-img img, .nw-card-img img, .nw-lead-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nw-top-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 20px; }
.nw-top-k { margin: 0; color: var(--accent); font-size: 14px; font-weight: 700; }
.nw-top h2 { margin: 0; font-size: clamp(23px, 4.6vw, 32px); line-height: 1.15; letter-spacing: -0.025em; }
.nw-top h2 a { color: var(--ink); text-decoration: none; }
.nw-top h2 a:hover { color: var(--accent); }
.nw-top .nw-sum { display: block; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; -webkit-line-clamp: none; }
.nw-top-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 4px; }

/* ---------- countdown + important dates (landing): one row per date, the .nt-due look from updates.css (same as the homepage tile) ---------- */
.nw-rows { display: grid; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.nw-rows .nw-date + .nw-date { border-top: 0; }
.nw-cd[hidden], .nw-rows .nw-date[hidden] { display: none; }
.nt-due-n.is-tent { color: var(--note); }
.nt-due-n.is-na { color: var(--muted); font-weight: 600; }
.nw-rows .nw-badge { flex: none; align-self: center; margin: 0; padding: 0; background: none; color: var(--ink); font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.nw-rows .nw-badge:is(.soon, .near, .later, .now) { background: none; color: var(--ink); }
.nw-rows .nw-badge.nw-badge.soon { color: var(--bad); }
.nw-rows .nw-badge.nw-badge.now { color: var(--good); }
.nw-tick { display: flex; align-items: baseline; gap: 8px; }
.nw-tick span { display: inline-flex; align-items: baseline; gap: 1px; }
.nw-tick b { font-size: 28px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.nw-tick small { color: var(--muted); font-size: 12px; font-weight: 700; }
.nw-cd-when { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.nw-st { padding: 0 6px; border-radius: 6px; background: var(--note-soft); color: var(--note); font-size: 11.5px; font-style: normal; font-weight: 700; }

/* ---------- feed + side column ---------- */
.nw-cols { display: grid; gap: 28px; }
.nw-cols > * { min-width: 0; }
.nw-chips { display: flex; gap: 8px; margin: 0 -16px 14px; padding: 2px 16px 6px; overflow-x: auto; scrollbar-width: none; }
.nw-chips::-webkit-scrollbar { display: none; }
.nw-chips button { display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 980px;
  background: var(--surface); color: var(--ink); font: 600 14px/1 var(--sys); cursor: pointer; }
.nw-chips button[class^="t-"]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.nw-chips button svg { width: 15px; height: 15px; }
.nw-chips button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.nw-chips button[aria-pressed="true"]::before { background: currentColor; }
.nw-pref { margin: -4px 0 12px; color: var(--muted); font-size: 13.5px; }
.nw-pref button { padding: 0; border: 0; background: none; color: var(--accent); font: 600 13.5px var(--sys); cursor: pointer; text-decoration: underline; }
.nw-feed { display: grid; gap: 14px; }
.nw-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--nw-edge); border-radius: var(--nw-r); background: var(--nw-card);
  box-shadow: var(--nw-shadow); transition: transform .2s, border-color .2s; }
.nw-card[hidden] { display: none; }
.nw-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.nw-card:focus-within { border-color: var(--accent); }
.nw-card-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg); }
.nw-card-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 14px 16px 14px; }
.nw-card h3 { margin: 0; font-size: 18px; line-height: 1.3; letter-spacing: -0.015em; }
.nw-link { color: var(--ink); text-decoration: none; }
.nw-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.nw-link:focus-visible { outline: none; }
.nw-link:focus-visible::after { outline: 3px solid var(--accent); outline-offset: -3px; border-radius: var(--nw-r); }
.nw-sum { display: -webkit-box; margin: 0; overflow: hidden; color: var(--muted); font-size: 14.5px; line-height: 1.5; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.nw-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; }
.nw-src { display: inline-flex; align-items: center; gap: 5px; min-width: 0; color: var(--muted); font-size: 12.5px; overflow-wrap: anywhere; }
.nw-src svg { width: 14px; height: 14px; color: var(--good); }
.nw-empty { padding: 26px 16px; border: 1px dashed var(--line-strong); border-radius: var(--nw-r); color: var(--muted); text-align: center; }

.nw-side { display: grid; gap: 16px; align-content: start; }
.nw-box { padding: 18px; border: 1px solid var(--nw-edge); border-radius: var(--nw-r); background: var(--nw-card); }
.nw-dates { display: grid; gap: 0; margin: 12px 0 0; padding: 0; list-style: none; }
.nw-date[hidden] { display: none; }
.nw-date + .nw-date { border-top: 1px solid var(--line); }
.nw-date-in { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; color: var(--ink); text-decoration: none; }
a.nw-date-in:hover b { color: var(--accent); }
.nw-cal { display: grid; place-items: center; flex: none; width: 46px; height: 50px; border-radius: 12px; background: var(--bg); color: var(--c, var(--accent)); font-size: 11px; font-weight: 700; text-transform: uppercase; line-height: 1.1; border: 1px solid color-mix(in srgb, var(--c, var(--accent)) 32%, transparent); }
.nw-cal b { font-size: 19px; color: var(--ink); }
.nw-date-txt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.nw-date-txt b { font-size: 14.5px; line-height: 1.3; }
.nw-date-txt small { color: var(--muted); font-size: 12.5px; }
.nw-badge { align-self: flex-start; margin-top: 4px; padding: 3px 9px; border-radius: 980px; font-size: 12px; font-weight: 700; line-height: 1.3; }
.nw-badge:empty { display: none; }
.nw-badge.soon { background: var(--bad-soft); color: var(--bad); }
.nw-badge.near { background: var(--note-soft); color: var(--note); }
.nw-badge.later { background: var(--accent-soft); color: var(--accent); }
.nw-badge.now { background: var(--good-soft); color: var(--good); }
.nw-more { margin-top: 8px; padding: 8px 0 0; border: 0; background: none; color: var(--accent); font: 600 14px var(--sys); cursor: pointer; }
.nw-more[hidden] { display: none; }

.nw-poll-q { margin: 10px 0 12px; font-size: 16px; font-weight: 600; }
.nw-poll-opts { display: grid; gap: 8px; }
.nw-poll-opts button { min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--ink); font: 600 15px var(--sys); text-align: left; cursor: pointer; }
.nw-poll-opts button:hover { border-color: var(--accent); }
.nw-poll-opts button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.nw-poll-done { margin: 10px 0 0; color: var(--good); font-size: 14px; font-weight: 600; }
.nw-poll-done[hidden] { display: none; }

/* ---------- science strip ---------- */
.nw-sci { margin: 36px 0 0; padding: 22px 16px; border-radius: 24px; background: var(--accent-soft); }
.nw-sci-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 86%); gap: 12px; margin: 0 -16px; padding: 0 16px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: thin; }
.nw-sci-card { display: flex; flex-direction: column; gap: 8px; padding: 16px; scroll-snap-align: start; border-radius: 18px; background: var(--surface); }
.nw-sci-card h3 { margin: 0; font-size: 17px; line-height: 1.3; letter-spacing: -0.01em; }
.nw-sci-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.nw-sci-card .nw-sci-syl { padding: 8px 10px; border-radius: 10px; background: var(--bg); color: var(--ink); font-size: 13.5px; }
.nw-sci-card .nw-ext { margin-top: auto; }
.nw-note { margin: 26px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.nw-note a { color: var(--accent); }

/* ---------- story page ---------- */
.nw-article-wrap { max-width: 760px; }
.nw-article { padding-top: 24px; }
.nw-kick { color: var(--muted); font-weight: 600; font-size: 13.5px; }
.nw-article h1 { margin: 12px 0 0; font-size: clamp(29px, 6.4vw, 44px); line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
.nw-deck { margin: 12px 0 0; color: var(--muted); font-size: 18.5px; line-height: 1.5; }
.nw-byline { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.nw-byline b { color: var(--ink); }
.nw-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.nw-act { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 980px; background: var(--surface);
  color: var(--ink); font: 600 15px/1 var(--sys); text-decoration: none; cursor: pointer; }
.nw-act:hover { border-color: var(--accent); }
.nw-act.wa { border-color: #1b7a4a; background: #1b7a4a; color: #fff; }
.nw-act.wa:hover { filter: brightness(1.08); }
.nw-lead-img { margin: 18px -16px 0; overflow: hidden; aspect-ratio: 16 / 9; background: var(--bg); }
.nw-lead-img figcaption { padding: 6px 16px 0; color: var(--muted); font-size: 12.5px; }
.nw-art-cd { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; margin: 18px 0 0; padding: 14px 18px; border-radius: 18px; background: var(--ink); color: var(--bg); }
.nw-art-cd[hidden] { display: none; }
.nw-art-cd-k { font-size: 14px; font-weight: 600; }
.nw-art-cd-v { font-variant-numeric: tabular-nums; }
.nw-art-cd .nw-tick b { color: var(--bg); font-size: 26px; }
.nw-art-cd .nw-tick small { color: var(--bg); opacity: .7; }
.nw-art-cd .nw-big { font-size: 20px; font-weight: 800; }
.nw-keys, .nw-foryou, .nw-source { margin: 22px 0 0; }
.nw-box h2 { margin: 0 0 10px; font-size: 18px; letter-spacing: -0.01em; }
.nw-keys { border-color: color-mix(in srgb, var(--c, var(--accent)) 38%, var(--nw-edge)); background: color-mix(in srgb, var(--c, var(--accent)) 5%, var(--nw-card)); }
.nw-article .nw-keys { --c: var(--accent); }
.nw-keys ul, .nw-foryou ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nw-keys li, .nw-foryou li { position: relative; padding-left: 24px; font-size: 16px; line-height: 1.5; }
.nw-keys li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.nw-foryou { border: 0; background: var(--good-soft); }
.nw-foryou h2 { color: var(--good); }
.nw-foryou li::before { content: "→"; position: absolute; left: 0; top: 0; color: var(--good); font-weight: 800; }
.nw-prose { margin: 26px 0 0; }
.nw-prose h2, .nw-dates-sec h2 { margin: 0 0 8px; font-size: 21px; letter-spacing: -0.02em; }
.nw-prose p { margin: 0 0 12px; font-size: 17.5px; line-height: 1.65; }
.nw-prose .nw-checked-line { display: flex; gap: 8px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.nw-checked-line svg { width: 16px; height: 16px; margin-top: 2px; color: var(--good); }
.nw-dates-sec { margin: 22px 0 0; }
.nw-dates-sec .nw-dates { margin: 0; }
.nw-source p { margin: 0 0 12px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.nw-src-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.nw-src-btns .nw-btn { white-space: normal; padding: 10px 18px; line-height: 1.3; }
.nw-share-end { margin: 26px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); }
.nw-share-end p { margin: 0; font-weight: 600; }
.nw-related { margin: 34px 0 0; }
.nw-related .nw-h { margin-bottom: 12px; }
.nw-related > p { margin: 18px 0 0; }

.nw-toast { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 60; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 10px 16px; border-radius: 12px;
  background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 600; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }
.nw-toast[hidden] { display: none; }
.nw-toast a { color: inherit; font-weight: 800; }
:root[data-theme="dark"] .nw-top-img img, :root[data-theme="dark"] .nw-card-img img, :root[data-theme="dark"] .nw-lead-img img { filter: brightness(.88); }

@media (prefers-reduced-motion: reduce) { .nw-card { transition: none; } .nw-card:hover { transform: none; } .nw-live::before { animation: none; } }

/* ---------- wider screens ---------- */
@media (min-width: 640px) {
  .nw-wrap { padding: 0 24px 56px; }
  .nw-feed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nw-chips { margin: 0 0 14px; padding: 2px 0 6px; flex-wrap: wrap; }
  .nw-lead-img { margin: 22px 0 0; border-radius: 20px; }
  .nw-lead-img figcaption { padding: 6px 0 0; }
  .nw-sci { padding: 26px 24px; }
  .nw-sci-row { grid-auto-columns: minmax(280px, 46%); margin: 0 -24px; padding: 0 24px 6px; }
}
@media (min-width: 860px) {
  .nw-top { grid-template-columns: 1.2fr 1fr; align-items: center; }
  .nw-top-body { justify-content: center; padding: 28px 30px; }
  .nw-cols { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; }
  .nw-sci-row { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; overflow: visible; }
  .nw-toast { bottom: 28px; }
}
@media (min-width: 1100px) { .nw-feed-sec .nw-feed { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.nw-date.nw-dim { opacity: .45; }

/* related stories: a compact list (small picture left) */
.nw-related .nw-feed { grid-template-columns: 1fr; }
.nw-related .nw-card { flex-direction: row; align-items: stretch; }
.nw-related .nw-card-img { flex: 0 0 34%; align-self: center; margin: 12px 0 12px 12px; border-radius: 12px; }
.nw-related .nw-card-body { padding: 12px 14px; gap: 6px; }
.nw-related .nw-card h3 { font-size: 16px; }
.nw-related .nw-sum { display: none; }
@media (min-width: 640px) { .nw-related .nw-card-img { flex-basis: 30%; } .nw-related .nw-sum { display: -webkit-box; } .nw-related .nw-card h3 { font-size: 17px; } }
/* no single word left alone on the last line */
.nw-deck, .nw-sum, .nw-prose p, .nw-keys li, .nw-foryou li { text-wrap: pretty; }
.nw-card h3, .nw-top h2, .nw-h { text-wrap: balance; }

/* ---------- landing: "Top stories" strip (3 stories, one at a time: updates.js [data-reel]) ---------- */
.nw-feat { margin: 16px 0 26px; padding: 12px 12px 14px; border: 1px solid var(--nw-edge); border-radius: var(--nw-r); background: var(--nw-card); box-shadow: var(--nw-shadow); }
.nw-feat-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px; padding-left: 2px; }
.nw-feat-k { margin: 0; color: var(--accent); font-size: 14px; font-weight: 700; letter-spacing: 0; }
.nw-ft { position: relative; display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); align-items: center; gap: 12px; }
.nw-ft-img { display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 12px; background: var(--bg); }
.nw-ft-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nw-ft-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.nw-ft .nw-meta { font-size: 12.5px; }
.nw-ft h3 { display: -webkit-box; margin: 0; overflow: hidden; font-size: 15.5px; line-height: 1.25; letter-spacing: -0.015em; text-wrap: balance; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.nw-ft h3 a { color: var(--ink); text-decoration: none; }
.nw-ft h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.nw-ft h3 a:hover { color: var(--accent); }
.nw-ft h3 a:focus-visible { outline: none; }
.nw-ft h3 a:focus-visible::after { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 12px; }
.nw-ft .nw-sum { display: none; }
:root[data-theme="dark"] .nw-ft-img img { filter: brightness(.88); }

/* ---------- landing: "Latest news" as small tiles (.nc look from updates.css), countdown + dates beside it ---------- */
.nw-feed-sec .nw-feed.nw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.nw-card.nc { gap: 7px; padding: 12px 12px 10px; border-radius: 16px; }
.nw-card.nc .nc-h { font-size: 15px; }
.nc-k .nw-new { margin-left: auto; letter-spacing: .05em; }
.nw-card.nc .nc-k { letter-spacing: .05em; }
.nw-card.nc :is(.nc-dot, .nc-f > span) { white-space: nowrap; }
.nc .nw-save { width: 32px; height: 32px; }
.nc .nw-save svg { width: 16px; height: 16px; }
.nw-side .nw-h { font-size: 20px; }
.nw-side .nw-rows .nt-due-t { font-size: 13.5px; }
@media (min-width: 640px) {
  .nw-ft { grid-template-columns: 280px minmax(0, 1fr); gap: 20px; }
  .nw-ft h3 { font-size: 21px; }
  .nw-ft .nw-sum { display: -webkit-box; }
  .nw-feed-sec .nw-feed.nw-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .nw-ft { grid-template-columns: 120px minmax(0, 1fr); gap: 12px; }
  .nw-ft h3 { font-size: 15.5px; }
  .nw-ft .nw-sum { display: none; }
}

/* Phone and small tablet (one column): the Countdown comes first, above Latest news; dates, poll and science stay below the news */
@media (max-width: 859px) {
  .nw-cols > .nw-side { display: contents; }
  .nw-cols .nw-cds-sec { order: -1; }
}
