/* ==========================================================================
   Nyayapalika — design system
   Colour: logo blue + ink/greys. Type: Mukta (UI, Nepali text),
   Noto Serif Devanagari (Nepali headlines), Source Serif 4 (English).
   Breakpoints: 600 (tablet), 960 (desktop nav), 1200 (wide).
   ========================================================================== */

:root {
	--ink: #111418;
	--ink-2: #33393f;
	--muted: #5c636a;
	--faint: #858b91;
	--rule: #dfe2e5;
	--rule-2: #c4c9ce;
	--wash: #f3f4f5;
	--paper: #ffffff;
	--brand: #21598f;      /* from the logo */
	--brand-ink: #173f66;  /* darker step of the logo blue for hover/active */

	--wrap: 1240px;
	--gut: 16px;
	--measure: 42rem;
	--nav-h: 48px;

	--f-ui: "Mukta", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-head: "Source Serif 4", Georgia, "Times New Roman", serif;
	--f-small-head: var(--f-head);
	--f-body: "Source Serif 4", Georgia, "Times New Roman", serif;
	--lh-head: 1.18;
	--lh-body: 1.65;
	--fs-body: 1.1875rem;
}

.ed-ne {
	--f-head: "Noto Serif Devanagari", "Source Serif 4", "Mangal", serif;
	--f-small-head: "Mukta", "Noto Sans Devanagari", sans-serif;
	--f-body: "Mukta", "Noto Sans Devanagari", sans-serif;
	--lh-head: 1.42;
	--lh-body: 1.85;
	--fs-body: 1.1875rem;
	--measure: 43rem;
}

@media (min-width: 600px) { :root { --gut: 24px; } }
@media (min-width: 1000px) { :root { --gut: 32px; } }

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--f-ui);
	font-size: 1rem;
	line-height: 1.5;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.np-skip {
	position: absolute; left: 8px; top: -60px; z-index: 100;
	background: var(--ink); color: #fff; padding: 10px 14px; font-weight: 600;
}
.np-skip:focus { top: 8px; color: #fff; }
.np-main:focus { outline: none; }

.np-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* Header ------------------------------------------------------------------ */

.np-masthead { display: flex; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.np-masthead__date { font-size: .9375rem; color: var(--muted); padding-right: 20px; border-right: 1px solid var(--rule); }
.np-edition-short__s { display: none; }
.np-brand { margin: 0; font-size: inherit; font-weight: inherit; }
.np-brand a { display: flex; align-items: center; gap: 14px; color: var(--ink); }
.np-brand a:hover { color: var(--ink); }
.np-mark { color: var(--brand); flex: none; }
.np-brand__text { display: flex; flex-direction: column; }
.np-brand__name { font-family: var(--f-head); font-weight: 700; font-size: 2rem; line-height: 1.1; letter-spacing: -.005em; }
.ed-ne .np-brand__name { font-size: 2.125rem; line-height: 1.3; }
.np-masthead__tools { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.np-edition-short { font-weight: 600; font-size: .9375rem; }
.np-search-btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9375rem; padding: 8px 0; }
.np-menu-btn { display: none; }

.np-searchbar { border-top: 1px solid var(--rule); background: var(--wash); padding: 14px 0; }
.np-searchform { display: flex; gap: 8px; max-width: 720px; }
.np-searchform input {
	flex: 1; min-width: 0; font: inherit; font-size: 1.0625rem; padding: 10px 12px;
	border: 1px solid var(--rule-2); border-radius: 2px; background: #fff; color: var(--ink);
}
.np-searchform button, .np-button {
	border: 0; border-radius: 2px; background: var(--ink); color: #fff;
	font-family: var(--f-ui); font-weight: 600; font-size: 1rem; padding: 10px 20px;
}
.np-searchform button:hover, .np-button:hover { background: var(--brand); }

/* Primary navigation -------------------------------------------------------- */
.np-navbar {
	position: sticky; top: 0; z-index: 40; background: var(--paper);
	border-top: 1px solid var(--rule); border-bottom: 2px solid var(--ink);
}
.np-navbar__in { display: flex; align-items: stretch; min-height: var(--nav-h); }
.np-navbar__mark { display: none; align-items: center; padding-right: 14px; margin-right: 6px; border-right: 1px solid var(--rule); }
.np-navbar.is-stuck .np-navbar__mark { display: flex; }
.np-nav { display: flex; flex: 1; min-width: 0; }
.np-menu { list-style: none; display: flex; flex-wrap: wrap; margin: 0 0 0 -12px; }
.np-item { position: relative; display: flex; align-items: center; }
.np-link {
	display: flex; align-items: center; height: var(--nav-h); padding: 0 12px;
	font-weight: 600; font-size: 1rem; color: var(--ink); white-space: nowrap;
}
.ed-ne .np-link { font-size: 1.0625rem; }
.np-item.has-sub .np-link { padding-right: 4px; }
.np-item.is-active > .np-link { color: var(--brand); box-shadow: inset 0 -3px 0 var(--brand); }
.np-subtoggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 24px; height: 32px; margin-right: 6px; padding: 0; border: 0; background: none; color: var(--muted);
}
.np-subtoggle svg { transition: transform .15s ease; }
.np-item.is-open > .np-subtoggle svg { transform: rotate(180deg); }
.np-sub {
	list-style: none; position: absolute; top: 100%; left: 0; z-index: 45;
	min-width: 230px; padding: 6px 0; background: var(--paper);
	border: 1px solid var(--rule); border-top: 2px solid var(--brand);
	box-shadow: 0 10px 24px rgba(17, 20, 24, .08);
	opacity: 0; visibility: hidden; transform: translateY(4px);
	transition: opacity .12s ease, transform .12s ease, visibility 0s linear .12s;
}
.np-item.is-open > .np-sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.np-sublink { display: block; padding: 8px 18px; font-size: 1rem; color: var(--ink-2); white-space: nowrap; }
.np-sublink:hover, .np-sublink:focus-visible { background: var(--wash); color: var(--brand); }
.np-subitem.is-active > .np-sublink { color: var(--brand); font-weight: 600; }
.np-nav__extra { display: none; }

/* Breaking strip ------------------------------------------------------------ */
.np-breaking { background: var(--brand); color: #fff; }
.np-breaking__in { display: flex; gap: 14px; align-items: baseline; padding-top: 9px; padding-bottom: 9px; }
.np-breaking__label { flex: none; font-weight: 600; font-size: .875rem; padding-right: 14px; border-right: 1px solid rgba(255, 255, 255, .45); }
.np-breaking a { color: #fff; font-weight: 600; }
.np-breaking a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Mobile header + drawer ------------------------------------------------------ */
@media (max-width: 959.98px) {
	.np-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--rule); }
	.np-masthead { padding-top: 10px; padding-bottom: 10px; gap: 8px; }
	.np-brand { margin: 0 auto; }
	.np-brand a { gap: 10px; }
	.np-brand .np-mark { width: 36px; height: 36px; }
	.np-brand__name { font-size: 1.625rem; }
	.ed-ne .np-brand__name { font-size: 1.75rem; }
	.np-masthead__date, .np-edition-short__l { display: none; }
	.np-edition-short__s { display: inline; }
	.np-menu-btn {
		display: inline-flex; align-items: center; gap: 8px; border: 0; background: none;
		padding: 8px 4px; font-weight: 600; font-size: .9375rem; min-width: 44px; min-height: 44px;
	}
	.np-burger { position: relative; width: 20px; height: 14px; }
	.np-burger::before, .np-burger::after, .np-burger span {
		content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor;
	}
	.np-burger::before { top: 0; }
	.np-burger span { top: 6px; }
	.np-burger::after { top: 12px; }
	.np-nav-open .np-burger span { opacity: 0; }
	.np-nav-open .np-burger::before { top: 6px; transform: rotate(45deg); }
	.np-nav-open .np-burger::after { top: 6px; transform: rotate(-45deg); }
	.np-masthead__tools { margin-left: 0; gap: 12px; }
	.np-search-btn { min-width: 44px; min-height: 44px; justify-content: center; }
	.np-search-btn__text { display: none; }
	.np-edition-short { font-size: .875rem; }
	.np-menu-btn__text { display: none; }

	.np-navbar {
		display: none; position: fixed; left: 0; right: 0; bottom: 0; top: var(--mh, 64px);
		z-index: 49; overflow-y: auto; overscroll-behavior: contain;
		border: 0; border-top: 1px solid var(--rule);
	}
	.np-nav-open .np-navbar { display: block; }
	.np-nav-open { overflow: hidden; }
	.np-navbar__in { display: block; padding-top: 8px; padding-bottom: 32px; }
	.np-navbar.is-stuck .np-navbar__mark, .np-navbar__mark { display: none; }
	.np-nav { display: block; }
	.np-menu { display: block; margin: 0; }
	.np-item { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--rule); }
	.np-link { flex: 1; height: auto; padding: 14px 0; font-size: 1.125rem; }
	.ed-ne .np-link { font-size: 1.1875rem; }
	.np-item.is-active > .np-link { box-shadow: none; }
	.np-subtoggle { width: 48px; height: 48px; margin: 0; border-left: 1px solid var(--rule); }
	.np-sub {
		position: static; flex-basis: 100%; display: none; min-width: 0; padding: 0 0 10px 14px;
		border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none;
	}
	.np-item.is-open > .np-sub { display: block; }
	.np-sublink { padding: 9px 0; font-size: 1.0625rem; }
	.np-sublink:hover { background: none; }
	.np-nav__extra { display: block; padding: 18px 0; font-weight: 600; }
	.np-nav__extra a { color: var(--brand); }
}

/* Story units ------------------------------------------------------------- */
.np-label {
	display: inline-block; margin-bottom: 6px;
	font-family: var(--f-ui); font-weight: 600; font-size: .8125rem; line-height: 1.3;
	letter-spacing: .06em; text-transform: uppercase; color: var(--brand);
}
.ed-ne .np-label { font-size: .9375rem; letter-spacing: 0; text-transform: none; }
.np-label:hover { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }

.np-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; margin-top: 8px; font-size: .875rem; color: var(--muted); }
.ed-ne .np-byline { font-size: .9375rem; }
.np-author { color: var(--ink-2); font-weight: 600; }
.np-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); }

.np-story__title { font-family: var(--f-head); font-weight: 600; line-height: var(--lh-head); color: var(--ink); }
.np-story__title a:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.np-story__dek { margin-top: 8px; color: var(--ink-2); font-family: var(--f-body); line-height: 1.55; }
.ed-ne .np-story__dek { line-height: 1.7; }
.np-story__media { display: block; background: var(--wash); }
.np-story__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.np-story__media:hover img { opacity: .92; }

.np-story--lead .np-story__body { padding-top: 14px; }
.np-story--lead .np-story__title { font-size: clamp(1.75rem, 1.15rem + 1.6vw, 2.5rem); font-weight: 700; letter-spacing: -.01em; }
.ed-ne .np-story--lead .np-story__title { letter-spacing: 0; }
.np-story--lead .np-story__dek { font-size: 1.125rem; }

.np-story--card .np-story__body { padding-top: 12px; }
.np-story--card .np-story__title { font-size: 1.3125rem; }

.np-story--row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.np-story--row .np-story__media { order: 2; width: 120px; }
.np-story--row .np-story__title { font-family: var(--f-small-head); font-size: 1.125rem; }
.ed-ne .np-story--row .np-story__title { font-size: 1.1875rem; line-height: 1.5; }
.np-story--row .np-story__dek { display: none; font-size: 1rem; }

.np-story--list .np-story__title { font-family: var(--f-small-head); font-size: 1.0625rem; }
.ed-ne .np-story--list .np-story__title { font-size: 1.125rem; line-height: 1.5; }
.np-story--list .np-byline { margin-top: 4px; font-size: .8125rem; }

.np-story--opinion .np-story__author { margin-bottom: 6px; font-size: .9375rem; }
.np-story--opinion .np-author { color: var(--brand); }
.np-story--opinion .np-story__title { font-size: 1.25rem; }
.np-story--opinion .np-story__dek { font-size: 1rem; color: var(--muted); }

@media (min-width: 600px) {
	.np-story--row .np-story__media { width: 168px; }
	.np-story--row .np-story__dek { display: block; }
	.np-section .np-story--row .np-story__dek { display: none; }
}

/* Section heads ------------------------------------------------------------- */
.np-section { margin-top: 48px; }
.np-sechead {
	display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px;
	border-top: 2px solid var(--ink); padding-top: 10px; margin-bottom: 20px;
}
.np-sechead__title { font-family: var(--f-head); font-weight: 700; font-size: 1.5rem; line-height: 1.3; }
.np-sechead__title a:hover { color: var(--brand); }
.np-sechead__subs { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: .9375rem; }
.np-sechead__subs a { color: var(--muted); }
.np-sechead__subs a:hover { color: var(--brand); }
.np-sechead__more { margin-left: auto; font-size: .9375rem; font-weight: 600; color: var(--brand); white-space: nowrap; }

/* Homepage --------------------------------------------------------------- */
.np-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 24px; }
.np-top__second { display: grid; gap: 24px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--rule); }
@media (min-width: 600px) { .np-top__second { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
	.np-top { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; padding-top: 28px; }
	.np-top__rail { border-left: 1px solid var(--rule); padding-left: 32px; }
	/* Lead story: headline beside the photo so it is visible on the first screen. */
	.np-top__main .np-story--lead.has-media { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: start; }
	.np-top__main .np-story--lead .np-story__body { padding-top: 0; }
	.np-top__main .np-story--lead .np-story__title { font-size: clamp(1.75rem, 1rem + 1.2vw, 2.25rem); }
}


.np-latest__title {
	font-family: var(--f-ui); font-weight: 600; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase;
	padding-bottom: 8px; border-bottom: 2px solid var(--brand); color: var(--ink);
}
.ed-ne .np-latest__title { font-size: 1.125rem; letter-spacing: 0; text-transform: none; }
.np-latest__list { list-style: none; }
.np-latest__list li { border-bottom: 1px solid var(--rule); padding: 12px 0; }

.np-feature { display: grid; gap: 8px 32px; }
@media (min-width: 900px) {
	.np-feature { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
	.np-feature__list .np-story--row:first-child { padding-top: 0; }
}

.np-notices { list-style: none; display: grid; column-gap: 40px; }
.np-notices li { border-bottom: 1px solid var(--rule); padding: 14px 0; }
@media (min-width: 900px) { .np-notices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.np-opinions { display: grid; gap: 24px 32px; }
.np-opinions .np-story { border-top: 1px solid var(--rule); padding-top: 14px; }
@media (min-width: 600px) { .np-opinions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .np-opinions { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.np-empty { padding: 48px 0; color: var(--muted); font-size: 1.125rem; }

/* Breadcrumbs ------------------------------------------------------------- */
.np-crumbs { padding-top: 20px; font-size: .875rem; color: var(--muted); }
.np-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; }
.np-crumbs li:not(:last-child)::after { content: "/"; margin: 0 8px; color: var(--rule-2); }
.np-crumbs a:hover { color: var(--brand); }

/* Article ------------------------------------------------------------------ */
.np-article__head { max-width: 860px; padding-top: 16px; }
.np-article__title {
	font-family: var(--f-head); font-weight: 700; color: var(--ink);
	font-size: clamp(1.875rem, 1.25rem + 2.1vw, 2.875rem); line-height: 1.12; letter-spacing: -.012em;
}
.ed-ne .np-article__title { line-height: 1.38; letter-spacing: 0; }
.np-article__dek { margin-top: 14px; font-family: var(--f-body); font-size: 1.25rem; line-height: 1.5; color: var(--ink-2); }
.ed-en .np-article__dek { font-style: italic; }
.ed-ne .np-article__dek { line-height: 1.7; }
.np-article__meta {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px;
	margin-top: 20px; padding: 12px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.np-article__byline { font-size: .9375rem; }
.np-article__byline .np-author { font-size: 1rem; }
.np-article__dates { display: flex; flex-wrap: wrap; gap: 0 14px; margin-top: 2px; font-size: .875rem; color: var(--muted); }

.np-share { display: flex; align-items: center; gap: 10px; }
.np-share__label { font-size: .875rem; color: var(--muted); }
.np-share ul { list-style: none; display: flex; gap: 6px; position: relative; }
.np-share__btn {
	display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
	border: 1px solid var(--rule); background: var(--paper); color: var(--ink-2); padding: 0;
}
.np-share__btn:hover, .np-share__btn:focus-visible { border-color: var(--brand); color: var(--brand); }
.np-copy__status { position: absolute; right: 0; top: calc(100% + 6px); font-size: .8125rem; color: var(--brand); white-space: nowrap; }

.np-figure { max-width: 860px; margin-top: 24px; }
.np-figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--wash); }
.np-figure figcaption { padding: 8px 0 10px; border-bottom: 1px solid var(--rule); font-size: .875rem; line-height: 1.55; color: var(--muted); }
.np-figure__cap { color: var(--ink-2); }
.np-figure__credit a { text-decoration: underline; text-underline-offset: 2px; }

.np-article__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 28px; }
@media (min-width: 1000px) {
	.np-article__layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; }
	.np-article__body { max-width: var(--measure); }
	.np-article__rail { position: relative; }
	.np-article__rail .np-latest { position: sticky; top: calc(var(--nav-h) + 24px); }
}
@media (max-width: 999.98px) { .np-article__rail { border-top: 2px solid var(--ink); padding-top: 4px; } .np-article__rail .np-latest__title { border-bottom-color: var(--rule); } }

.np-toc { border: 1px solid var(--rule); padding: 12px 18px; margin-bottom: 28px; font-size: 1rem; }
.np-toc summary { font-weight: 600; cursor: pointer; }
.np-toc ol { margin: 10px 0 2px 1.2em; }
.np-toc li { padding: 3px 0; }
.np-toc a { color: var(--brand); }

/* Long-form text -------------------------------------------------------------- */
.np-prose { font-family: var(--f-body); font-size: var(--fs-body); line-height: var(--lh-body); color: var(--ink); overflow-wrap: break-word; }
.np-prose > * + * { margin-top: 1.1em; }
.np-prose h2 { font-family: var(--f-head); font-size: 1.5rem; font-weight: 700; line-height: var(--lh-head); margin-top: 1.8em; }
.np-prose h3 { font-family: var(--f-head); font-size: 1.25rem; font-weight: 600; line-height: var(--lh-head); margin-top: 1.5em; }
.np-prose h2 + *, .np-prose h3 + * { margin-top: .6em; }
.np-prose a { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.np-prose a:hover { color: var(--brand-ink); }
.np-prose ul, .np-prose ol { padding-left: 1.4em; }
.np-prose li + li { margin-top: .4em; }
.np-prose blockquote { margin-left: 0; margin-right: 0; padding-left: 20px; border-left: 3px solid var(--brand); font-family: var(--f-head); font-size: 1.25rem; line-height: 1.5; }
.ed-ne .np-prose blockquote { line-height: 1.75; }
.np-prose blockquote cite { display: block; margin-top: 8px; font-family: var(--f-ui); font-style: normal; font-size: .9375rem; color: var(--muted); }
.np-prose figure.wp-block-table { overflow-x: auto; }
.np-prose table { width: 100%; border-collapse: collapse; font-family: var(--f-ui); font-size: 1rem; line-height: 1.45; }
.np-prose th, .np-prose td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.np-prose th { background: var(--wash); font-weight: 600; border-bottom: 1px solid var(--rule-2); }
.np-prose figcaption, .np-prose .wp-element-caption { font-family: var(--f-ui); font-size: .875rem; color: var(--muted); margin-top: 8px; }
.np-prose .np-note {
	padding: 14px 18px; background: var(--wash); border-left: 3px solid var(--ink);
	font-family: var(--f-ui); font-size: 1rem; line-height: 1.6; color: var(--ink-2);
}
.np-prose img { height: auto; }
.np-prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2em 0; }

.np-tags { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 32px; padding-top: 14px; border-top: 1px solid var(--rule); }
.np-tags__h { font-size: .875rem; font-weight: 600; color: var(--muted); }
.np-tags ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .9375rem; }
.np-tags a { color: var(--brand); }
.np-article__foot { margin-top: 20px; padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.np-authorbox { margin-top: 28px; }
.np-authorbox__name { font-size: 1.0625rem; }
.np-authorbox p { margin-top: 4px; color: var(--muted); }

.np-prevnext { display: grid; gap: 16px; margin-top: 32px; }
.np-prevnext a { display: block; padding: 14px 0; border-top: 1px solid var(--rule); }
.np-prevnext__k { display: block; font-size: .8125rem; font-weight: 600; color: var(--muted); }
.np-prevnext__t { display: block; margin-top: 4px; font-family: var(--f-small-head); font-weight: 600; font-size: 1.0625rem; line-height: 1.45; }
.np-prevnext__next { text-align: right; }
@media (min-width: 600px) { .np-prevnext { grid-template-columns: 1fr 1fr; gap: 32px; } .np-prevnext__next { grid-column: 2; } }

.np-related { margin-bottom: 8px; }
.np-related__grid { display: grid; gap: 24px; }
@media (min-width: 600px) { .np-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .np-related__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .np-related .np-story__title { font-size: 1.125rem; } }

/* Archives ------------------------------------------------------------------- */
.np-archive-head { padding: 12px 0 20px; border-bottom: 2px solid var(--ink); }
.np-archive-head__kicker { font-size: .9375rem; font-weight: 600; color: var(--brand); }
.np-archive-head__title { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.875rem, 1.4rem + 1.5vw, 2.5rem); line-height: 1.25; }
.np-archive-head__intro { max-width: var(--measure); margin-top: 8px; color: var(--muted); font-size: 1.0625rem; }
.np-subnav { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 14px; font-size: 1rem; font-weight: 600; }
.np-subnav a { color: var(--ink-2); }
.np-subnav a:hover { color: var(--brand); }
.np-archive { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 24px; }
.np-archive__rows .np-story--row:first-child { border-top: 1px solid var(--rule); margin-top: 24px; }
.np-archive__rows:first-child .np-story--row:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
@media (min-width: 1000px) {
	.np-archive { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; }
	.np-archive__rail { border-left: 1px solid var(--rule); padding-left: 32px; }
	.np-archive .np-story--row .np-story__title { font-size: 1.3125rem; font-family: var(--f-head); }
	.ed-ne .np-archive .np-story--row .np-story__title { font-size: 1.3125rem; line-height: 1.45; }
	.np-archive .np-story--row .np-story__media { width: 220px; }
}
.np-search-head { padding-top: 24px; }

.np-pagination { margin-top: 28px; }
.np-pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.np-pagination a, .np-pagination span {
	display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px;
	border: 1px solid var(--rule); font-weight: 600;
}
.np-pagination a:hover { border-color: var(--brand); }
.np-pagination .current { background: var(--ink); border-color: var(--ink); color: #fff; }
.np-pagination .dots { border: 0; }

/* Pages & forms ------------------------------------------------------------ */
.np-page { max-width: 760px; padding: 16px 0 24px; }
.np-page__title { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.875rem, 1.4rem + 1.5vw, 2.5rem); line-height: 1.25; padding-bottom: 16px; margin-bottom: 24px; border-bottom: 2px solid var(--ink); }
.np-page .np-prose { font-size: 1.125rem; }
.np-page__updated { margin-top: 32px; font-size: .875rem; color: var(--muted); }
.np-linklist { list-style: none; padding-left: 0 !important; }
.np-linklist li { padding: 12px 0; border-bottom: 1px solid var(--rule); margin: 0 !important; }
.np-linklist a { font-weight: 600; text-decoration: none; }
.np-linklist span { display: block; font-family: var(--f-ui); font-size: .9375rem; color: var(--muted); }

.np-form-wrap { font-family: var(--f-ui); }
.np-form { max-width: 560px; }
.np-field { margin: 0 0 16px !important; }
.np-field label { display: block; font-weight: 600; font-size: 1rem; margin-bottom: 4px; }
.np-field input, .np-field textarea {
	width: 100%; font: inherit; font-size: 1.0625rem; padding: 10px 12px; color: var(--ink);
	border: 1px solid var(--rule-2); border-radius: 2px; background: #fff;
}
.np-field input:focus, .np-field textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
.np-form-note { font-size: .9375rem; color: var(--muted); margin-bottom: 16px !important; }
.np-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.np-notice { padding: 12px 16px; margin-bottom: 20px !important; background: var(--wash); border-left: 3px solid var(--brand); font-size: 1rem; }
.np-notice.is-error { border-left-color: var(--ink); font-weight: 600; }

.np-404 { display: grid; gap: 40px; padding: 40px var(--gut) 0; }
.np-404__text { margin: 10px 0 20px; color: var(--muted); font-size: 1.125rem; }
.np-404 .np-searchform { margin-bottom: 20px; }
.np-textlink { font-weight: 600; color: var(--brand); }
@media (min-width: 1000px) { .np-404 { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; } }

/* Footer ------------------------------------------------------------------- */
.np-footer { margin-top: 64px; background: var(--ink); color: #c9ced3; font-size: .9375rem; }
.np-footer a { color: #eef0f2; }
.np-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.np-footer__top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 36px 0 24px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.np-footer__brand { display: flex; align-items: center; gap: 12px; font-family: var(--f-head); font-weight: 700; font-size: 1.75rem; line-height: 1.2; }
.np-footer__brand .np-mark { color: #fff; }
.np-footer__brand:hover { text-decoration: none !important; }
.np-footer__about { max-width: 34rem; }
.np-footer__grid { display: grid; gap: 28px 32px; padding: 28px 0; }
@media (min-width: 600px) { .np-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .np-footer__grid { grid-template-columns: 1fr 1fr 1.2fr 1.2fr; } }
.np-footer__h { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #9aa1a8; margin-bottom: 10px; }
.ed-ne .np-footer__h { font-size: .9375rem; letter-spacing: 0; text-transform: none; }
.np-footer__h--gap { margin-top: 20px; }
.np-footer ul { list-style: none; }
.np-footer li { padding: 3px 0; }
.np-footer address { font-style: normal; line-height: 1.7; }
.np-footer__bottom { padding: 16px 0 28px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .875rem; color: #9aa1a8; }

/* Motion preferences -------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
	.np-navbar, .np-searchbar, .np-share, .np-article__rail, .np-related, .np-footer, .np-menu-btn, .np-masthead__tools { display: none !important; }
	.np-header { position: static; }
	body { font-size: 12pt; }
}

/* Nepali numerals for ordered lists on the Nepali edition. */
.ed-ne .np-toc ol, .ed-ne .np-prose ol { list-style-type: devanagari; }

/* Editor blocks inside articles: pull quote, gallery, file, embeds, separator. */
.np-prose .wp-block-pullquote { margin-left: 0; margin-right: 0; padding: 20px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); text-align: left; }
.np-prose .wp-block-pullquote blockquote { margin: 0; padding: 0; border: 0; }
.np-prose .wp-block-pullquote p { font-family: var(--f-head); font-size: 1.5rem; line-height: var(--lh-head); font-weight: 600; }
.np-prose .wp-block-pullquote cite { display: block; margin-top: 10px; font-family: var(--f-ui); font-size: .9375rem; font-style: normal; color: var(--muted); }
.np-prose .wp-block-gallery { gap: 8px; }
.np-prose .wp-block-gallery figcaption { margin-top: 6px; }
.np-prose .wp-block-file { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 16px; border: 1px solid var(--rule); font-family: var(--f-ui); font-size: 1rem; }
.np-prose .wp-block-file a:not(.wp-block-file__button) { font-weight: 600; }
.np-prose .wp-block-file__button { background: var(--ink); color: #fff !important; text-decoration: none !important; padding: 7px 14px; border-radius: 2px; font-size: .9375rem; }
.np-prose .wp-block-embed { margin-left: 0; margin-right: 0; }
.np-prose .wp-block-embed__wrapper iframe { width: 100%; }
.np-prose .wp-block-separator { border: 0; border-top: 1px solid var(--rule); margin: 2em 0; }
.np-prose .wp-block-image img, .np-prose .wp-block-gallery img { height: auto; }

/* Media inside articles: alignment, captions with credit, video, audio, buttons. */
.np-prose figure { margin-left: 0; margin-right: 0; }
.np-prose .wp-block-image img { max-width: 100%; }
.np-prose .wp-block-image figcaption, .np-prose .wp-element-caption { font-family: var(--f-ui); font-size: .875rem; line-height: 1.55; color: var(--muted); margin-top: 8px; }
.np-prose .np-credit { color: var(--faint); white-space: normal; }
.np-prose .aligncenter, .np-prose .wp-block-image.aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.np-prose .aligncenter img { margin: 0 auto; }
@media (min-width: 700px) {
	.np-prose .alignleft { float: left; max-width: 50%; margin: .3em 1.5em 1em 0; }
	.np-prose .alignright { float: right; max-width: 50%; margin: .3em 0 1em 1.5em; }
}
.np-prose::after { content: ""; display: table; clear: both; }
.np-prose .wp-block-video video, .np-prose .wp-block-audio audio { width: 100%; }
.np-prose .wp-block-embed.is-type-video .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; }
.np-prose .wp-block-embed.is-type-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.np-prose .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.np-prose .wp-block-button__link { display: inline-block; background: var(--ink); color: #fff !important; text-decoration: none !important; padding: 10px 20px; border-radius: 2px; font-family: var(--f-ui); font-weight: 600; font-size: 1rem; }
.np-prose .wp-block-button__link:hover { background: var(--brand); }
.np-prose .wp-block-quote p { margin: 0; }
.np-prose h4 { font-family: var(--f-head); font-size: 1.125rem; font-weight: 600; line-height: var(--lh-head); margin-top: 1.4em; }
.np-prose .wp-block-table table { min-width: 480px; }

/* A homepage section with a single story: full width, headline beside the photo. */
@media (min-width: 900px) {
	.np-feature:has(> .np-feature__lead:only-child) { grid-template-columns: 1fr; }
	.np-feature__lead:only-child .np-story--card.has-media { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: start; }
	.np-feature__lead:only-child .np-story--card .np-story__body { padding-top: 0; }
	.np-feature__lead:only-child .np-story--card .np-story__title { font-size: 1.625rem; }
}

/* Article: headline, photo and text share the main column; the rail starts at the top. */
.np-article__layout { margin-top: 12px; }
.np-article__head { max-width: none; padding-top: 4px; }
.np-article__title { font-size: clamp(1.75rem, 1.2rem + 1.5vw, 2.375rem); line-height: 1.18; }
.ed-ne .np-article__title { line-height: 1.42; }
.np-figure { max-width: none; }
@media (min-width: 1000px) {
	.np-article__layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; }
	.np-article__body { max-width: 800px; }
	.np-article__rail .np-latest { top: calc(var(--nav-h) + 20px); }
}
