/* ==========================================================================
   theme1 "Newsroom" — modern news-portal design.
   Plain CSS, no framework. Accent colors come from CSS variables so a blog's
   `theme_color` setting can re-skin everything without extra stylesheets.
   ========================================================================== */

:root {
	--ink: #16233b;
	--body-c: #39445c;
	--muted: #667089;
	--accent: #c2410c;
	--accent-deep: #9a330a;
	--accent-soft: #fdf0e7;
	--ok: #2e6e46;
	--error: #b23b2e;
	--bg: #ffffff;
	--surface: #f5f7fa;
	--line: #e4e8ef;
	--radius: 12px;
	--radius-sm: 8px;
	--shadow: 0 1px 2px rgba(22, 35, 59, 0.06), 0 8px 24px -12px rgba(22, 35, 59, 0.18);
	--font: 'Mukta', 'Noto Sans Devanagari', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--body-c);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.75;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.4; margin: 0 0 0.5em; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

.skip-link {
	position: absolute; left: 12px; top: -48px;
	background: var(--ink); color: #fff;
	padding: 8px 16px; border-radius: 0 0 8px 8px;
	z-index: 60; transition: top 0.15s ease;
}
.skip-link:focus { top: 0; text-decoration: none; }

/* ---------- buttons, chips ---------- */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font: inherit; font-weight: 700; cursor: pointer;
	border-radius: var(--radius-sm); border: 1px solid transparent;
	padding: 9px 18px; line-height: 1.4;
	transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-solid { background: var(--accent); color: #fff; }
.btn-solid:hover { background: var(--accent-deep); text-decoration: none; }

.chip {
	display: inline-block;
	background: var(--accent-soft);
	color: var(--accent-deep);
	font-size: 0.78rem; font-weight: 700;
	letter-spacing: 0.02em;
	padding: 2px 10px; border-radius: 999px;
	white-space: nowrap;
}
a.chip:hover { background: var(--accent); color: #fff; text-decoration: none; }

.ads { margin: 20px 0; text-align: center; }
.st-ad-label { display: block; margin: 0 0 6px; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #8a8a8a; }

/* ---------- header ---------- */

.nr-topbar { background: var(--ink); color: #c3cddd; font-size: 0.82rem; }
.nr-topbar-in { display: flex; align-items: center; justify-content: space-between; min-height: 36px; gap: 16px; }
.nr-topbar-links { display: flex; align-items: center; gap: 16px; }
.nr-topbar-links a { color: #c3cddd; }
.nr-topbar-links a:hover { color: #fff; }

.nr-search-toggle {
	display: inline-flex; align-items: center; gap: 6px;
	background: none; border: 0; color: #c3cddd;
	font: inherit; cursor: pointer; padding: 0;
}
.nr-search-toggle:hover { color: #fff; }

.nr-masthead { border-bottom: 1px solid var(--line); background: var(--bg); }
.nr-masthead-in { display: flex; align-items: center; gap: 20px; padding-top: 18px; padding-bottom: 18px; }
.nr-brand { display: inline-flex; align-items: center; }
.nr-brand img { max-height: 56px; width: auto; }
.nr-brand-text {
	font-size: clamp(1.45rem, 3vw, 1.9rem);
	font-weight: 800; color: var(--ink); letter-spacing: -0.01em;
}
.nr-brand-text::after {
	content: ""; display: inline-block;
	width: 9px; height: 9px; border-radius: 2px;
	background: var(--accent); margin-left: 7px;
}
.nr-brand:hover { text-decoration: none; }
.nr-tagline {
	margin: 0 0 0 auto; color: var(--muted);
	font-size: 0.9rem; text-align: right;
}

.nr-catbar {
	position: sticky; top: 0; z-index: 40;
	background: var(--bg);
	border-bottom: 1px solid var(--line);
	box-shadow: 0 4px 14px -12px rgba(22, 35, 59, 0.35);
}
.nr-catbar-in { display: flex; align-items: center; }

.nr-menu-toggle {
	display: none;
	align-items: center; gap: 8px;
	background: none; border: 0; color: var(--ink);
	font: inherit; font-weight: 700; cursor: pointer;
	padding: 10px 0;
}

.nr-catnav ul {
	display: flex; flex-wrap: wrap; gap: 2px;
	list-style: none; margin: 0; padding: 0;
}
.nr-catnav a {
	display: block; color: var(--ink);
	font-weight: 700; font-size: 0.92rem;
	padding: 11px 14px;
	border-bottom: 2px solid transparent;
}
.nr-catnav a:hover {
	color: var(--accent-deep); text-decoration: none;
	border-bottom-color: var(--accent);
}

.nr-search-panel { border-bottom: 1px solid var(--line); background: var(--surface); }
.nr-search-form { display: flex; gap: 10px; padding: 14px 0; }
.nr-search-form input[type="search"] {
	flex: 1; font: inherit; color: var(--ink);
	border: 1px solid var(--line); border-radius: var(--radius-sm);
	padding: 9px 14px; background: #fff;
}
.nr-search-form input[type="search"]:focus { border-color: var(--accent); outline: none; }

/* ---------- layout ---------- */

.nr-layout {
	display: grid; grid-template-columns: minmax(0, 1fr) 320px;
	gap: 44px; padding-top: 28px; padding-bottom: 48px;
}

.nr-primary { min-width: 0; }

/* ---------- section titles ---------- */

.nr-section-title {
	display: flex; align-items: center; gap: 10px;
	font-size: 1.15rem; font-weight: 800;
	margin: 0 0 18px;
}
.nr-section-title::before {
	content: ""; width: 4px; height: 20px;
	background: var(--accent); border-radius: 2px;
}

/* ---------- lead story ---------- */

.nr-lead {
	display: grid; grid-template-columns: 7fr 5fr; gap: 26px;
	align-items: center;
	margin-bottom: 30px;
}
.nr-lead-img img {
	width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
	border-radius: var(--radius); border: 1px solid var(--line);
}
.nr-lead-title { font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 800; margin: 8px 0 10px; }
.nr-lead-title a { color: var(--ink); }
.nr-lead-title a:hover { color: var(--accent-deep); text-decoration: none; }
.nr-lead-desc { color: var(--muted); margin: 0 0 12px; }

/* ---------- card grid ---------- */

.nr-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 22px;
	margin-bottom: 28px;
}

.nr-card {
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	display: flex; flex-direction: column;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.nr-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.nr-card-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.nr-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.nr-card-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.nr-card-title { font-size: 1.02rem; font-weight: 700; margin: 0; line-height: 1.5; }
.nr-card-title a { color: var(--ink); }
.nr-card-title a:hover { color: var(--accent-deep); text-decoration: none; }
.nr-card-desc {
	color: var(--muted); font-size: 0.92rem; margin: 0;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nr-card-date { color: var(--muted); font-size: 0.8rem; margin-top: auto; padding-top: 6px; }

/* compact cards (related posts) */
.nr-grid-4 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.nr-card-sm .nr-card-title { font-size: 0.95rem; }

/* "You may have missed" band */
.nr-missed {
	background: var(--surface);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	padding: 34px 0;
	margin: 26px 0;
}

/* ---------- archive / index heads ---------- */

.nr-archive-head { margin-bottom: 22px; }
.nr-archive-title { font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 800; margin: 0; }

/* ---------- breadcrumbs ---------- */

.nr-crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 18px; }
.nr-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.nr-crumbs li { display: flex; align-items: center; gap: 6px; }
.nr-crumbs li + li::before { content: "/"; color: var(--line); }
.nr-crumbs a { color: var(--muted); }
.nr-crumbs a:hover { color: var(--accent-deep); }
.nr-crumb-here { color: var(--ink); font-weight: 700; }
.nr-crumb-here span {
	max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---------- article ---------- */

.nr-article { background: var(--bg); }

.nr-kicker {
	display: inline-block;
	color: var(--accent-deep);
	font-size: 0.82rem; font-weight: 800;
	text-transform: uppercase; letter-spacing: 0.06em;
	margin-bottom: 8px;
}

.nr-article-title {
	font-size: clamp(1.55rem, 3.4vw, 2.3rem);
	font-weight: 800; line-height: 1.4;
	margin: 0 0 12px;
}

.nr-article-meta { color: var(--muted); font-size: 0.9rem; }
.nr-article-meta .nr-meta-byline { color: var(--ink); font-weight: 500; }
.nr-article-meta .nr-meta-sep { padding: 0 2px; color: var(--muted); }
.nr-article-meta .nr-meta-read { color: var(--muted); }
.nr-article-meta .nr-meta-updated { color: var(--muted); }

/* ---------- social share (2026-09-03) — no third-party scripts ---------- */

.nr-share { margin: 14px 0 4px; }
.nr-share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.nr-share-btn {
	display: inline-flex; align-items: center; gap: 7px;
	padding: 7px 14px; border-radius: 999px;
	border: 1px solid var(--line); background: var(--bg);
	color: var(--body-c); font: inherit; font-size: 0.86rem; font-weight: 500;
	cursor: pointer; text-decoration: none; line-height: 1.4;
}
.nr-share-btn:hover { border-color: var(--accent); color: var(--accent-deep); text-decoration: none; }
.nr-share-btn svg { flex: 0 0 auto; }
/* per-network icon tint — buttons stay calm, icons carry the brand color */
.nr-s-whatsapp svg { color: #1faa53; }
.nr-s-facebook svg { color: #1877f2; }
.nr-s-telegram svg { color: #229ed9; }
.nr-s-twitter svg { color: #14171a; }
.nr-s-native svg, .nr-s-copy svg { color: var(--accent-deep); }

.nr-share-block {
	margin: 26px 0 6px; padding: 18px 20px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.nr-share-block .nr-share-nudge {
	margin: 0 0 12px; font-weight: 600; color: var(--ink); font-size: 0.98rem;
}
.nr-share-sticky {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
	display: flex; gap: 4px;
	padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
	background: var(--bg); border-top: 1px solid var(--line);
	box-shadow: 0 -8px 28px -14px rgba(22, 35, 59, 0.3);
}
.nr-share-sticky .nr-share-btn {
	flex: 1 1 0; flex-direction: column; justify-content: center; gap: 4px;
	padding: 7px 2px 6px; border: 0; border-radius: var(--radius-sm);
	font-size: 0.72rem; color: var(--muted);
}
.nr-share-sticky .nr-share-btn span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nr-share-sticky .nr-share-btn:hover { background: var(--surface); color: var(--ink); }
.nr-share-btn.copied { border-color: var(--accent); color: var(--accent-deep); }
@media (min-width: 761px) {
	.nr-share-sticky { display: none; }
}

.nr-article-img { margin: 22px 0; }
.nr-article-img img {
	width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
	border-radius: var(--radius); border: 1px solid var(--line);
}

.nr-article-content {
	font-size: 1.06rem; line-height: 1.9;
	margin-top: 20px;
}
.nr-article-content p { margin: 0 0 1.15em; }
.nr-article-content h2 { font-size: 1.4rem; margin: 1.6em 0 0.5em; }
.nr-article-content h3 { font-size: 1.18rem; margin: 1.4em 0 0.5em; }
.nr-article-content a { text-decoration: underline; text-underline-offset: 2px; }
.nr-article-content img { border-radius: var(--radius-sm); margin: 1.2em auto; }
.nr-article-content ul, .nr-article-content ol { padding-left: 1.4em; margin: 0 0 1.15em; }
.nr-article-content li { margin-bottom: 0.4em; }

/* Responsive embeds (YouTube etc.) — WP block embeds must never exceed the column */
.nr-article-content iframe,
.nr-article-content embed,
.nr-article-content video { max-width: 100%; }
.nr-article-content .wp-block-embed__wrapper iframe {
	display: block; width: 100%;
	aspect-ratio: 16 / 9; height: auto;
	border: 0;
}
.nr-article-content figure { margin: 1.5em 0; }

.nr-article-content blockquote {
	margin: 1.4em 0; padding: 14px 20px;
	background: var(--accent-soft);
	border-left: 4px solid var(--accent);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	color: var(--ink);
}
.nr-article-content blockquote p:last-child { margin-bottom: 0; }

.nr-article-content table {
	width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 0.95rem;
}
.nr-article-content th, .nr-article-content td {
	border: 1px solid var(--line); padding: 8px 12px; text-align: left;
}
.nr-article-content th { background: var(--surface); color: var(--ink); }

.nr-article-content pre {
	background: var(--surface); border: 1px solid var(--line);
	border-radius: var(--radius-sm); padding: 14px 16px;
	overflow-x: auto; font-size: 0.9rem;
}

.nr-article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }

.nr-article-plain { background: none; }

/* ---------- comments ---------- */

.nr-comments, .nr-comment-form { margin-top: 34px; }

.nr-comment {
	display: flex; gap: 14px;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}
.nr-comment-avatar {
	flex: 0 0 auto;
	width: 42px; height: 42px; border-radius: 50%;
	background: var(--accent-soft); color: var(--accent-deep);
	display: inline-flex; align-items: center; justify-content: center;
	font-weight: 800; font-size: 1.05rem;
}
.nr-comment-body { min-width: 0; }
.nr-comment-name { font-size: 0.98rem; margin: 0 0 2px; }
.nr-comment-body p { margin: 0 0 4px; font-size: 0.97rem; }
.nr-comment-date { color: var(--muted); font-size: 0.78rem; }

.nr-form { margin-top: 6px; }
.nr-field { margin: 0 0 14px; }
.nr-field label { display: block; font-weight: 700; font-size: 0.88rem; color: var(--ink); margin-bottom: 5px; }
.nr-field .req { color: var(--accent); }
.nr-field input[type="text"], .nr-field input[type="email"], .nr-field textarea {
	width: 100%; font: inherit; color: var(--ink);
	border: 1px solid var(--line); border-radius: var(--radius-sm);
	padding: 10px 14px; background: #fff;
}
.nr-field input:focus, .nr-field textarea:focus { border-color: var(--accent); outline: none; }
.nr-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nr-form-note { min-height: 1.4em; color: var(--accent-deep); font-size: 0.92rem; }
.nr-form-note--ok { color: var(--ok); }
.nr-form-note--error { color: var(--error); font-weight: 700; }
.nr-field-hint { display: block; margin-top: 5px; font-size: 0.8rem; color: var(--muted); }
.nr-optional { color: var(--muted); font-weight: 400; font-size: 0.8rem; }
.nr-no-comments { margin: 0; color: var(--muted); font-style: italic; }

/* ---------- sidebar ---------- */

.nr-sidebar { min-width: 0; }

.widget {
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 18px;
	margin-bottom: 22px;
}
.widget-title {
	font-size: 0.86rem; font-weight: 800;
	text-transform: uppercase; letter-spacing: 0.05em;
	color: var(--accent-deep);
	border-bottom: 1px solid var(--line);
	padding-bottom: 8px; margin: 0 0 12px;
}

.nr-search-side { padding: 0; }
.nr-search-side input[type="search"] { border-color: var(--line); }

.nr-recent { list-style: none; margin: 0; padding: 0; }
.nr-recent li { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.nr-recent li:last-child { border-bottom: 0; padding-bottom: 0; }
.nr-recent li:first-child { padding-top: 0; }
.nr-recent-img img { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; }
.nr-recent-title { display: block; color: var(--ink); font-weight: 700; font-size: 0.9rem; line-height: 1.5; }
.nr-recent-title:hover { color: var(--accent-deep); text-decoration: none; }
.nr-recent-date { display: block; color: var(--muted); font-size: 0.76rem; }

.nr-cat-list { list-style: none; margin: 0; padding: 0; font-size: 0.94rem; }
.nr-cat-list li { border-bottom: 1px solid var(--line); }
.nr-cat-list li:last-child { border-bottom: 0; }
.nr-cat-list a {
	display: block; padding: 8px 0 8px 16px; position: relative;
	color: var(--body-c); font-weight: 700;
}
.nr-cat-list a::before { content: "\203A"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.nr-cat-list a:hover { color: var(--accent-deep); text-decoration: none; }

.nr-tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- pagination ---------- */

.nr-pagination { margin: 26px 0; }
.nr-pages { display: flex; flex-wrap: wrap; gap: 7px; }
.page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 38px; height: 38px; padding: 0 12px;
	border: 1px solid var(--line); border-radius: var(--radius-sm);
	color: var(--ink); font-weight: 700; font-size: 0.9rem;
	background: var(--bg);
}
.page-numbers:hover { border-color: var(--accent); color: var(--accent-deep); text-decoration: none; }
.page-numbers.current { background: var(--accent); border-color: var(--accent); color: #fff; }
.nr-dots { display: inline-flex; align-items: center; padding: 0 4px; color: var(--muted); }

/* ---------- footer ---------- */

.site-footer { background: var(--ink); color: #b9c2d8; margin-top: 30px; }
.nr-footer-in {
	display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between;
	padding-top: 38px; padding-bottom: 30px;
}
.nr-footer-name { color: #fff; font-size: 1.2rem; font-weight: 800; }
.nr-footer-note { margin: 8px 0 0; font-size: 0.9rem; max-width: 420px; }
.nr-footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; align-content: start; }
.nr-footer-nav a { color: #b9c2d8; font-size: 0.92rem; }
.nr-footer-nav a:hover { color: #fff; }
.nr-footer-bar {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding: 14px 0; font-size: 0.84rem;
}
.nr-footer-bar a { color: #fff; }

.nr-top {
	position: fixed; right: 20px; bottom: 20px; z-index: 50;
	width: 44px; height: 44px; border-radius: 50%;
	border: 0; cursor: pointer;
	background: var(--accent); color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
	box-shadow: var(--shadow);
}
.nr-top:hover { background: var(--accent-deep); }

/* ---------- article extras (2026-09-03): progress bar, TOC, prev/next ---------- */

.nr-progress {
	position: fixed; top: 0; left: 0; z-index: 70;
	width: 0; height: 3px;
	background: var(--accent);
	border-radius: 0 2px 2px 0;
}

.nr-toc {
	margin: 22px 0; padding: 16px 20px;
	background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent);
	border-radius: var(--radius-sm);
}
.nr-toc-title {
	margin: 0 0 8px; font-weight: 700; color: var(--ink);
	font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.04em;
}
.nr-toc-list { margin: 0; padding-left: 1.2em; }
.nr-toc-list li { margin: 5px 0; line-height: 1.45; }
.nr-toc-h3 { padding-left: 14px; }
.nr-toc a { color: var(--body-c); font-weight: 500; font-size: 0.95rem; }
.nr-toc a:hover { color: var(--accent-deep); }
.nr-article-content h2, .nr-article-content h3 { scroll-margin-top: 72px; }

/* 3-column article layout (2026-09-03): sticky TOC rail left of the text on wide
   screens — [TOC rail | article | sidebar]. has-toc is printed by article.php only
   when a TOC exists, so short posts keep the plain single-column article and never
   get an empty rail column. Head/featured image/tags span the full width above the
   two columns so the image is never squeezed into the 230px rail. Below 1280px the
   in-flow TOC box above (unchanged) is used instead.
   Containerized (owner review): the fluid 1680px stretch felt loose, so article
   pages are back to a fixed centered container (1360px) with the standard 320px
   sidebar — three firm columns [TOC 230px | text ~690px | sidebar 320px] inside
   it, no screen-width stretching. See ADR-05. */
@media (min-width: 1280px) {
	body.nr-page-article .wrap { max-width: 1360px; }
	.nr-article.has-toc {
		display: grid;
		grid-template-columns: 230px minmax(0, 1fr);
		column-gap: 40px;
	}
	.nr-article-head, .nr-article-img, .nr-article-tags { grid-column: 1 / -1; }
	.nr-toc {
		grid-column: 1;
		position: sticky; top: 72px;
		align-self: start;
		max-height: calc(100vh - 96px);
		overflow-y: auto;
		margin: 0;
		scrollbar-width: thin;
	}
	.nr-article-content { grid-column: 2; }
}

.nr-prevnext {
	display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
	margin: 26px 0 8px;
}
.nr-prevnext-link {
	display: flex; flex-direction: column; gap: 3px;
	padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
	background: var(--bg);
}
.nr-prevnext-link:hover { border-color: var(--accent); text-decoration: none; }
.nr-prevnext-label { font-size: 0.78rem; color: var(--muted); }
.nr-prevnext-title {
	font-weight: 600; color: var(--ink); font-size: 0.95rem; line-height: 1.45;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nr-prevnext-next { text-align: right; }

.nr-card-comments {
	display: inline-flex; align-items: center; gap: 4px;
	margin-left: 10px; color: var(--muted); font-size: 0.82rem;
}
.nr-card-comments svg { opacity: 0.8; }

.nr-social-follow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.nr-social-link {
	display: inline-flex; align-items: center; justify-content: center;
	width: 36px; height: 36px; border-radius: 50%;
	border: 1px solid var(--line); color: var(--muted);
}
.nr-social-link:hover { border-color: var(--accent); color: var(--accent-deep); }

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
	.nr-layout { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 760px) {
	.nr-tagline { display: none; }
	.nr-menu-toggle { display: inline-flex; }
	.nr-catnav { display: none; width: 100%; }
	.nr-catnav.open { display: block; }
	.nr-catnav ul { flex-direction: column; padding-bottom: 8px; }
	.nr-catnav a { padding: 9px 0; border-bottom: 0; }
	.nr-lead { grid-template-columns: 1fr; gap: 14px; margin-bottom: 24px; }
	.nr-field-row { grid-template-columns: 1fr; gap: 0; }
	.nr-footer-in { flex-direction: column; gap: 18px; }
	/* lift back-to-top above the sticky share bar */
	.nr-top { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
	.nr-share-sticky .nr-s-twitter, .nr-share-inline .nr-s-twitter { display: none; }
}

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

/* ---------- print (2026-09-03): study-material friendly — students print guides ---------- */

@media print {
	.site-header, .nr-sidebar, .site-footer, .nr-progress,
	.ads, .nr-share, .nr-share-sticky, .nr-prevnext, .nr-comments, .nr-comment-form,
	.nr-missed, .nr-top, .nr-crumbs { display: none !important; }
	body { background: #fff; color: #000; font-size: 12pt; }
	.nr-layout { display: block; }
	.nr-article.has-toc { display: block; }
	.nr-article-title { font-size: 20pt; }
	.nr-article-content { font-size: 12pt; line-height: 1.6; }
	.nr-article-content a { color: #000; text-decoration: underline; }
	a { color: #000 !important; }
	.nr-article-content h2, .nr-article-content h3 { break-after: avoid; }
	.nr-article-content img { break-inside: avoid; max-height: 80vh; }
}
