/* News section (/news/) - docs/MARATHI_NEWS_PLAN.md §6. Self-contained, loaded only on news pages. System Devanagari
   fonts (Noto Sans Devanagari ships with Android, Nirmala UI with Windows) - no web-font download. */
.nws {
  --nws-red: #c8102e; --nws-ink: #121212; --nws-ink2: #3c4043; --nws-mute: #5f6368; --nws-line: #e5e7eb; --nws-soft: #f6f7f9;
  --nws-font: 'Poppins', sans-serif; /* the site's font (Devanagari falls back to the system's, as on every other page) */
  font-family: var(--nws-font); color: var(--nws-ink); /* width: the site's .container, like the menu above; the site footer's own margin spaces it below */
}
.nws a { color: inherit; text-decoration: none; cursor: pointer; }
.nws a:hover .nws-hl, .nws a.nws-hl:hover { color: var(--nws-red); }
.nws img { max-width: 100%; height: auto; display: block; }
.nws h1, .nws h2, .nws h3 { font-family: var(--nws-font); }

/* masthead + section nav */
.nws-mast { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 14px 0 10px; border-bottom: 3px solid var(--nws-ink); }
.nws-brand { display: flex; align-items: baseline; gap: 10px; }
.nws-brand a { font-size: 30px; font-weight: 800; letter-spacing: -.5px; line-height: 1; }
.nws-brand a span { color: var(--nws-red); }
.nws-today { font-size: 13px; color: var(--nws-mute); white-space: nowrap; }
.nws-nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--nws-line); margin: 6px 0 18px; -webkit-overflow-scrolling: touch; }
.nws-nav::-webkit-scrollbar { display: none; }
.nws-nav a { flex: 0 0 auto; padding: 10px 12px; font-size: 15px; font-weight: 600; color: var(--nws-ink2); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.nws-nav a:hover { color: var(--nws-red); }
.nws-nav a.is-on { color: var(--nws-red); border-bottom-color: var(--nws-red); }

/* common bits */
.nws-kicker { display: inline-block; font-size: 13px; font-weight: 700; color: var(--nws-red); text-transform: uppercase; letter-spacing: .2px; margin-bottom: 4px; }
.nws-meta { font-size: 13px; color: var(--nws-mute); }
.nws-meta b { color: var(--nws-ink2); font-weight: 600; }
.nws-sec { display: flex; align-items: center; gap: 10px; margin: 28px 0 12px; }
.nws-sec h2 { font-size: 20px; font-weight: 800; margin: 0; padding-left: 10px; border-left: 4px solid var(--nws-red); line-height: 1.2; }
.nws-sec a { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--nws-red); }
.nws-ph { background: linear-gradient(135deg, #f1f3f4, #e8eaed); aspect-ratio: 16 / 9; width: 100%; display: flex; align-items: center; justify-content: center; color: #9aa0a6; font-weight: 800; font-size: 20px; }
.nws-img { position: relative; overflow: hidden; border-radius: 6px; background: var(--nws-soft); aspect-ratio: 16 / 9; }
.nws-img img { width: 100%; height: 100%; object-fit: cover; }

/* layout: main + rail */
.nws-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 992px) { .nws-grid { grid-template-columns: minmax(0, 1fr) 320px; } }
.nws-rail { min-width: 0; }
.nws-rail .nws-box { position: sticky; top: 12px; }
.nws-box { border: 1px solid var(--nws-line); border-radius: 8px; padding: 14px 16px; background: #fff; margin-bottom: 18px; }
.nws-box h3 { font-size: 16px; font-weight: 800; margin: 0 0 8px; padding-bottom: 8px; border-bottom: 2px solid var(--nws-ink); }
.nws-box ol, .nws-box ul { list-style: none; margin: 0; padding: 0; }
.nws-box li { padding: 9px 0; border-top: 1px solid var(--nws-line); font-size: 15px; line-height: 1.45; }
.nws-box li:first-child { border-top: 0; }
.nws-box ol { counter-reset: n; }
.nws-box ol li { display: flex; gap: 10px; }
.nws-box ol li::before { counter-increment: n; content: counter(n); font-weight: 800; color: var(--nws-red); min-width: 16px; }

/* home: lead + secondary */
.nws-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--nws-line); }
@media (min-width: 768px) { .nws-top { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); } }
.nws-lead h2 { font-size: 28px; line-height: 1.3; font-weight: 800; margin: 12px 0 8px; }
.nws-lead p { font-size: 16px; line-height: 1.6; color: var(--nws-ink2); margin: 0 0 8px; }
.nws-side { display: flex; flex-direction: column; }
.nws-side .nws-row { padding: 12px 0; border-top: 1px solid var(--nws-line); }
.nws-side .nws-row:first-child { border-top: 0; padding-top: 0; }

/* list rows (image right on phones, left on wide screens) */
.nws-row { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 12px; align-items: start; }
.nws-row .nws-img { grid-column: 2; grid-row: 1; }
.nws-row .nws-row-txt { grid-column: 1; grid-row: 1; }
.nws-row h3 { font-size: 17px; line-height: 1.4; font-weight: 700; margin: 2px 0 6px; }
.nws-list .nws-row { padding: 16px 0; border-top: 1px solid var(--nws-line); }
.nws-list .nws-row:first-child { border-top: 0; }
@media (min-width: 768px) {
  .nws-list .nws-row { grid-template-columns: 240px minmax(0, 1fr); gap: 18px; }
  .nws-list .nws-row .nws-img { grid-column: 1; }
  .nws-list .nws-row .nws-row-txt { grid-column: 2; }
  .nws-list .nws-row h3 { font-size: 20px; }
  .nws-list .nws-row p { display: block; }
}
.nws-row p { display: none; font-size: 15px; line-height: 1.55; color: var(--nws-ink2); margin: 0 0 6px; }

/* cards (category blocks, related) */
.nws-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 768px) { .nws-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.nws-card h3 { font-size: 16px; line-height: 1.4; font-weight: 700; margin: 8px 0 4px; }

/* breadcrumbs, pager, headers */
.nws-crumbs { font-size: 13px; color: var(--nws-mute); margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.nws-crumbs a:hover { color: var(--nws-red); }
.nws-crumbs span + span::before, .nws-crumbs a + span::before, .nws-crumbs a + a::before { content: "›"; margin-right: 6px; color: #9aa0a6; }
.nws-pagehead { padding: 6px 0 14px; border-bottom: 1px solid var(--nws-line); margin-bottom: 6px; }
.nws-pagehead h1 { font-size: 30px; font-weight: 800; margin: 0 0 6px; line-height: 1.25; }
.nws-pagehead p { font-size: 16px; line-height: 1.6; color: var(--nws-ink2); margin: 0; }
.nws-pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 26px 0 8px; }
.nws-pager a, .nws-pager span { min-width: 40px; padding: 8px 12px; border: 1px solid var(--nws-line); border-radius: 6px; text-align: center; font-weight: 600; font-size: 15px; }
.nws-pager a:hover { border-color: var(--nws-red); color: var(--nws-red); }
.nws-pager .is-on { background: var(--nws-ink); color: #fff; border-color: var(--nws-ink); }
.nws-empty { padding: 30px 0; color: var(--nws-mute); font-size: 16px; }

/* article */
.nws-art { max-width: none; } /* the article column runs up to the sidebar */
.nws-art h1 { font-size: 30px; line-height: 1.32; font-weight: 800; margin: 4px 0 12px; letter-spacing: -.2px; }
@media (min-width: 768px) { .nws-art h1 { font-size: 36px; } }
.nws-dek { font-size: 19px; line-height: 1.6; color: var(--nws-ink2); margin: 0 0 16px; }
.nws-by { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--nws-line); border-bottom: 1px solid var(--nws-line); margin-bottom: 16px; }
.nws-ava { width: 44px; height: 44px; border-radius: 50%; flex: 0 0 44px; object-fit: cover; background: var(--nws-ink); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; }
.nws-by-txt { line-height: 1.45; font-size: 14px; }
.nws-by-txt a { font-weight: 700; color: var(--nws-ink); }
.nws-by-txt a:hover { color: var(--nws-red); }
.nws-by-txt time { color: var(--nws-mute); }
.nws-hero { margin: 0 0 18px; }
.nws-hero .nws-img { border-radius: 8px; }
.nws-hero figcaption { font-size: 13px; color: var(--nws-mute); padding-top: 6px; line-height: 1.45; }
.nws-share { margin: 0 0 14px; }
.nws-body { font-size: 18px; line-height: 1.85; color: #1f1f1f; overflow-wrap: anywhere; }
.nws-body p { margin: 0 0 1.05em; }
.nws-body h2 { font-size: 23px; line-height: 1.4; font-weight: 800; margin: 1.5em 0 .5em; }
.nws-body h3 { font-size: 20px; line-height: 1.4; font-weight: 700; margin: 1.3em 0 .5em; }
.nws-body a { color: #0b57d0; text-decoration: underline; text-underline-offset: 2px; }
.nws-body ul, .nws-body ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.nws-body li { margin-bottom: .35em; }
.nws-body img { border-radius: 6px; margin: 10px auto; }
.nws-body figure { margin: 1.2em 0; }
.nws-body figcaption { font-size: 14px; color: var(--nws-mute); text-align: center; }
.nws-body blockquote, .nws-body .wp-block-quote { margin: 1.3em 0; padding: 6px 0 6px 18px; border-left: 4px solid var(--nws-red); font-size: 19px; color: var(--nws-ink2); }
.nws-body table { width: 100%; border-collapse: collapse; margin: 1em 0 1.3em; font-size: 16px; line-height: 1.5; display: block; overflow-x: auto; }
.nws-body .wp-block-table { margin: 1em 0 1.3em; overflow-x: auto; }
.nws-body .wp-block-table table { display: table; margin: 0; }
.nws-body th, .nws-body td { border: 1px solid #d9dce1; padding: 9px 11px; text-align: left; vertical-align: top; }
.nws-body th, .nws-body tr:first-child td strong { background: var(--nws-soft); }
.nws-body .has-text-align-center { text-align: center; }
.nws-body .mmk-facts { list-style: none; padding: 14px 16px; background: var(--nws-soft); border-radius: 8px; border-left: 4px solid var(--nws-red); }
.nws-body .mmk-facts li { margin: 4px 0; }
.nws-body .mmk-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.nws-body .mmk-btn { display: inline-block; padding: 10px 16px; border-radius: 6px; border: 1px solid var(--nws-ink); color: var(--nws-ink); text-decoration: none; font-weight: 700; font-size: 16px; }
.nws-body .mmk-btn--main { background: var(--nws-red); border-color: var(--nws-red); color: #fff; }
.nws-updated { display: inline-block; font-size: 13px; font-weight: 700; color: var(--nws-red); background: #fdecee; padding: 2px 8px; border-radius: 4px; margin-left: 6px; }
.nws-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.nws-tags span { font-size: 13px; padding: 4px 10px; border: 1px solid var(--nws-line); border-radius: 999px; color: var(--nws-ink2); }
.nws-join { margin: 22px 0; padding: 14px 16px; border-radius: 8px; background: #effaf3; border: 1px solid #c7ebd3; font-size: 16px; line-height: 1.5; }
.nws-join a { color: #0a7a3b; font-weight: 700; text-decoration: underline; }
.nws-authorbox { display: flex; gap: 14px; padding: 16px; border: 1px solid var(--nws-line); border-radius: 8px; margin: 24px 0; background: var(--nws-soft); }
.nws-authorbox .nws-ava { width: 60px; height: 60px; flex-basis: 60px; font-size: 24px; }
.nws-authorbox h3 { font-size: 17px; margin: 0 0 4px; font-weight: 800; }
.nws-authorbox p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--nws-ink2); }
.nws-ad { margin: 18px 0; text-align: center; min-height: 0; }

/* author page */
.nws-person { display: flex; gap: 18px; align-items: center; padding: 6px 0 18px; border-bottom: 1px solid var(--nws-line); }
.nws-person .nws-ava { width: 96px; height: 96px; flex-basis: 96px; font-size: 38px; }
.nws-person h1 { font-size: 28px; font-weight: 800; margin: 0 0 4px; }
.nws-person p { margin: 0 0 4px; color: var(--nws-ink2); font-size: 15px; line-height: 1.55; }

/* The site's inline CSS colours every link with !important (a:where(:not(.btn))); the section sets its own. */
.nws a:where(:not(.btn)) { color: inherit !important; }
.nws a:hover .nws-hl, .nws a.nws-hl:hover, .nws .nws-crumbs a:hover, .nws .nws-nav a:hover, .nws .nws-by-txt a:hover,
.nws .nws-authorbox h3 a:hover { color: var(--nws-red) !important; }
.nws .nws-kicker, .nws .nws-nav a.is-on, .nws .nws-sec a, .nws .nws-pager a:hover { color: var(--nws-red) !important; }
.nws .nws-brand a span { color: var(--nws-red); }
.nws .nws-body a:where(:not(.mmk-btn)) { color: #0b57d0 !important; }
.nws .nws-body a.mmk-btn { color: var(--nws-ink) !important; }
.nws .nws-body a.mmk-btn--main { color: #fff !important; }
.nws .nws-join a { color: #0a7a3b !important; }
.nws .nws-pager .is-on { color: #fff !important; }

/* sidebar: job list with the organisation's icon */
.nws-box li.nws-job { display: flex; gap: 10px; align-items: flex-start; }
.nws .nws-ico { width: 36px; height: 36px; flex: 0 0 36px; max-width: none; border-radius: 8px; object-fit: contain; background: #fff; border: 1px solid var(--nws-line); padding: 2px; }
.nws-ico--none { display: inline-flex; align-items: center; justify-content: center; color: var(--nws-mute); background: var(--nws-soft); }

/* sidebar: categories with their article counts */
.nws-cats li { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.nws-cats li span { font-size: 12px; color: var(--nws-mute); background: var(--nws-soft); border-radius: 999px; padding: 1px 8px; }
.nws .nws-cats a.is-on { color: var(--nws-red) !important; font-weight: 700; }

/* section footer: how we work */
.nws-foot { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; margin-top: 32px; padding: 14px 0; border-top: 3px solid var(--nws-ink); font-size: 14px; color: var(--nws-mute); }
.nws-foot a { font-weight: 600; color: var(--nws-ink2); }
.nws .nws-foot a:hover { color: var(--nws-red) !important; }
.nws-foot span { margin-left: auto; }
.nws-foot span a { font-weight: 400; text-decoration: underline; }
