/*
Theme Name: Ebookly
Theme URI: https://ebookly.online/
Author: Ebookly
Description: हिंदी न्यूज़ वेबसाइट के लिए क्लासिक वर्डप्रेस थीम। पोस्ट सिर्फ़ सामान्य वर्डप्रेस एडिटर से लिखें; मेन्यू, होम पेज, विज्ञापन, सोशल लिंक और रंग Customizer से बदलें। किसी पेज-बिल्डर की ज़रूरत नहीं।
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: news-nexuss
Tags: news, blog, two-columns, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready, editor-style
*/

:root {
	--nd-navy: #00208C;
	--nd-accent: #D40000;
	--nd-ink: #14182b;
	--nd-muted: #5b6275;
	--nd-line: #e4e7ee;
	--nd-bg: #f5f6fa;
	--nd-card: #ffffff;
	--nd-radius: 10px;
	--nd-font: "Hind", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;
	--nd-serif: "Noto Serif Devanagari", Georgia, serif;
	--nd-wrap: 1240px;
	--nd-hdr: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--nd-bg);
	color: var(--nd-ink);
	font-family: var(--nd-font);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img, video, iframe, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--nd-navy); text-decoration: none; }
a:hover { color: var(--nd-accent); }
h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--nd-accent); outline-offset: 2px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}
.screen-reader-text:focus, .nd-skip:focus {
	position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto;
	background: #fff; color: var(--nd-navy); padding: 10px 16px; z-index: 100000; border-radius: 6px;
	box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.nd-wrap { max-width: var(--nd-wrap); margin: 0 auto; padding: 0 20px; }
.nd-page { max-width: var(--nd-wrap); margin: 0 auto; padding: 28px 20px 56px; }
.nd-page--narrow { max-width: 860px; }

/* ---------- Top bar ---------- */
.nd-topbar { background: var(--nd-navy); color: #fff; font-size: 14px; }
.nd-topbar .nd-wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.nd-topbar a { color: #fff; opacity: .9; }
.nd-topbar a:hover { opacity: 1; color: #fff; text-decoration: underline; }
.nd-topbar__l, .nd-topbar__r { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.nd-topbar__soc { display: flex; gap: 12px; }

.nd-adstrip { background: #fff; border-bottom: 1px solid var(--nd-line); text-align: center; padding: 8px 20px; }
.nd-adstrip > * { max-width: 100%; margin-inline: auto; }

/* ---------- Header ---------- */
.nd-header {
	position: sticky; top: 0; z-index: 1000;
	background: #fff; border-bottom: 3px solid var(--nd-accent);
	transition: box-shadow .25s ease;
}
.admin-bar .nd-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .nd-header { top: 46px; } }
.nd-header.is-scrolled { box-shadow: 0 6px 22px rgba(0, 32, 140, .14); }
.nd-header__in {
	max-width: var(--nd-wrap); margin: 0 auto; padding: 0 20px;
	min-height: var(--nd-hdr); display: flex; align-items: center; gap: 24px;
	transition: min-height .25s ease;
}
.nd-header.is-scrolled .nd-header__in { min-height: 58px; }
.nd-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.nd-logo img { height: 52px; width: auto; transition: height .25s ease; }
.nd-header.is-scrolled .nd-logo img { height: 42px; }
.nd-logo .custom-logo-link { display: inline-flex; }
.nd-logo__text { font-size: 24px; font-weight: 700; color: var(--nd-navy); }

.nd-nav { margin-left: auto; }
.nd-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nd-menu a {
	display: block; padding: 10px 14px; color: var(--nd-ink); font-weight: 600; border-radius: 8px;
	position: relative; transition: color .2s, background .2s;
}
.nd-menu a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
	background: var(--nd-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nd-menu a:hover, .nd-menu .current-menu-item > a, .nd-menu .current-cat > a { color: var(--nd-accent); }
.nd-menu a:hover::after, .nd-menu .current-menu-item > a::after, .nd-menu .current-cat > a::after { transform: scaleX(1); }

.nd-iconbtn {
	display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
	border-radius: 50%; color: var(--nd-navy); background: transparent; border: 0; cursor: pointer;
	transition: background .2s;
}
.nd-iconbtn:hover { background: #eef1fb; color: var(--nd-accent); }
.nd-iconbtn svg { width: 22px; height: 22px; }

.nd-menu-btn { display: none; position: relative; }
.nd-menu-btn .i-close { display: none; }
.nd-menu-btn[aria-expanded="true"] .i-open { display: none; }
.nd-menu-btn[aria-expanded="true"] .i-close { display: block; animation: nd-spin .3s ease; }
@keyframes nd-spin { from { transform: rotate(-90deg) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }

.nd-progress {
	position: absolute; left: 0; bottom: -3px; height: 3px; width: 100%;
	background: var(--nd-navy); transform: scaleX(0); transform-origin: left; pointer-events: none;
}

/* ---------- Ticker ---------- */
.nd-ticker { background: #fff; border-bottom: 1px solid var(--nd-line); }
.nd-ticker .nd-wrap { display: flex; align-items: center; gap: 14px; min-height: 44px; overflow: hidden; }
.nd-ticker__l {
	flex: 0 0 auto; background: var(--nd-accent); color: #fff; font-weight: 700; font-size: 14px;
	padding: 3px 12px; border-radius: 4px; position: relative;
}
.nd-ticker__l::before {
	content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #fff;
	margin-right: 8px; animation: nd-pulse 1.4s infinite;
}
@keyframes nd-pulse { 50% { opacity: .25; } }
.nd-ticker__items { display: flex; gap: 28px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.nd-ticker__items::-webkit-scrollbar { display: none; }
.nd-ticker__items a { color: var(--nd-ink); font-weight: 600; font-size: 15px; }
.nd-ticker__items a:hover { color: var(--nd-accent); }

/* ---------- Layout ---------- */
.nd-cols { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 32px; align-items: start; }
.nd-cols__main { min-width: 0; }
.nd-section { margin-bottom: 36px; }
.nd-sidebar { display: flex; flex-direction: column; gap: 22px; position: sticky; top: calc(var(--nd-hdr) + 16px); }
.admin-bar .nd-sidebar { top: calc(var(--nd-hdr) + 48px); }

.nd-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(var(--min, 240px), 1fr)); }

.nd-sec-head {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	margin-bottom: 18px; padding-bottom: 8px; border-bottom: 2px solid var(--nd-line); position: relative;
}
.nd-sec-head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 72px; height: 2px; background: var(--nd-accent); }
.nd-sec-head h2 { margin: 0; font-size: 23px; color: var(--nd-navy); }
.nd-sec-head a { font-size: 14px; font-weight: 600; color: var(--nd-accent); }

.nd-notice {
	background: #fff; border: 1px dashed var(--nd-line); border-left: 4px solid var(--nd-navy);
	padding: 16px 20px; border-radius: var(--nd-radius); margin-bottom: 20px;
}
.nd-notice--ok { border-left-color: #1a8a3a; background: #eefaf1; }
.nd-notice--err { border-left-color: var(--nd-accent); background: #fff1f1; }

/* ---------- Hero ---------- */
.nd-hero { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) 320px; gap: 22px; margin-bottom: 38px; }
.nd-hero__side { display: flex; flex-direction: column; gap: 22px; }
.nd-hero__lead, .nd-hero__side > * { min-width: 0; }

/* ---------- Boxes ---------- */
.nd-box { background: var(--nd-card); border: 1px solid var(--nd-line); border-radius: var(--nd-radius); padding: 18px; }
.nd-box__title {
	font-size: 18px; margin: 0 0 14px; padding-bottom: 8px; color: var(--nd-navy);
	border-bottom: 2px solid var(--nd-line); position: relative;
}
.nd-box__title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 48px; height: 2px; background: var(--nd-accent); }
.nd-box__title--plain { margin-bottom: 10px; }
.nd-box--list .nd-li:last-child { border-bottom: 0; padding-bottom: 0; }
.nd-split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }

.nd-pop { list-style: none; margin: 0; padding: 0; counter-reset: pop; }
.nd-pop li { counter-increment: pop; display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--nd-line); }
.nd-pop li:last-child { border-bottom: 0; }
.nd-pop li::before {
	content: counter(pop); flex: 0 0 30px; height: 30px; display: grid; place-items: center;
	background: var(--nd-navy); color: #fff; border-radius: 50%; font-weight: 700; font-size: 14px;
}
.nd-pop li:nth-child(-n+3)::before { background: var(--nd-accent); }
.nd-pop a { color: var(--nd-ink); font-weight: 600; line-height: 1.45; }
.nd-pop a:hover { color: var(--nd-accent); }

/* ---------- Cards ---------- */
.nd-card { background: var(--nd-card); border: 1px solid var(--nd-line); border-radius: var(--nd-radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.nd-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0, 32, 140, .12); }
.nd-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.nd-card__title { font-size: 19px; margin: 0; }
.nd-card__title a { color: var(--nd-ink); }
.nd-card__title a:hover { color: var(--nd-accent); }
.nd-excerpt { color: var(--nd-muted); font-size: 15px; margin: 0; }
.nd-meta { font-size: 13px; color: var(--nd-muted); }
.nd-cat {
	align-self: flex-start; font-size: 12.5px; font-weight: 700; color: #fff; background: var(--nd-accent);
	padding: 1px 10px; border-radius: 4px;
}
.nd-cat:hover { color: #fff; background: var(--nd-navy); }

.nd-thumb { position: relative; display: block; aspect-ratio: 16 / 10; background: #dfe3ef; overflow: hidden; }
.nd-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.nd-card:hover .nd-thumb img { transform: scale(1.05); }
.nd-thumb__ph { display: grid; place-items: center; width: 100%; height: 100%; color: #9aa4cc; }
.nd-thumb__ph svg { width: 44px; height: 44px; }
.nd-play {
	position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%;
	background: rgba(212, 0, 0, .92); display: grid; place-items: center; color: #fff;
	box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.nd-play svg { width: 24px; height: 24px; margin-left: 3px; }

.nd-card--lead { position: relative; min-height: 100%; }
.nd-card--lead .nd-thumb { aspect-ratio: 16 / 10; }
.nd-card--lead .nd-card__title { font-size: 31px; }
.nd-card--side .nd-card__title { font-size: 19px; }
.nd-card--wide { flex-direction: row; margin-bottom: 22px; }
.nd-card--wide .nd-thumb { flex: 0 0 52%; aspect-ratio: auto; min-height: 260px; }
.nd-card--wide .nd-card__title { font-size: 26px; }
.nd-card--row { flex-direction: row; margin-bottom: 16px; }
.nd-card--row .nd-thumb { flex: 0 0 240px; aspect-ratio: auto; min-height: 150px; }
.nd-card--video { background: #0c1230; border-color: #0c1230; }
.nd-card--video .nd-card__title a, .nd-card--video .nd-meta { color: #fff; }
.nd-card--video .nd-card__title a:hover { color: #ffb3b3; }

.nd-li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--nd-line); align-items: flex-start; }
.nd-li .nd-thumb { flex: 0 0 84px; aspect-ratio: 4 / 3; border-radius: 6px; }
.nd-li__t { margin: 0; font-size: 16px; line-height: 1.45; font-weight: 600; }
.nd-li__t a { color: var(--nd-ink); }
.nd-li__t a:hover { color: var(--nd-accent); }

.nd-videos { background: #0c1230; border-radius: var(--nd-radius); padding: 22px; margin-bottom: 36px; }
.nd-videos .nd-sec-head { border-color: rgba(255,255,255,.2); }
.nd-videos .nd-sec-head h2 { color: #fff; }
.nd-videos .nd-sec-head a { color: #ffb3b3; }

/* ---------- Band / page headings ---------- */
.nd-band { background: #fff; border-bottom: 1px solid var(--nd-line); padding: 22px 0 18px; }
.nd-band__desc { color: var(--nd-muted); max-width: 720px; margin: 8px 0 0; }
.nd-band__search { max-width: 520px; margin-top: 10px; }
.nd-title-bar { border-left: 6px solid var(--nd-accent); padding-left: 14px; margin-top: 8px; }
.nd-page-title { margin: 0; font-size: 34px; color: var(--nd-navy); }
.nd-crumbs { font-size: 14px; color: var(--nd-muted); display: flex; flex-wrap: wrap; gap: 6px; }
.nd-crumbs a { color: var(--nd-muted); }
.nd-crumbs a:hover { color: var(--nd-accent); }
.nd-crumbs span[aria-hidden] { opacity: .6; }

.nd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; align-items: center; }
.nd-chips--center { justify-content: center; margin: 24px 0; }
.nd-chip {
	display: inline-block; padding: 4px 14px; border: 1px solid var(--nd-line); border-radius: 999px;
	background: #fff; color: var(--nd-ink); font-size: 14px; font-weight: 600; transition: all .2s;
}
.nd-chip:hover, .nd-chip.is-on { background: var(--nd-navy); border-color: var(--nd-navy); color: #fff; }

/* ---------- Buttons / forms ---------- */
.nd-btn, .wp-block-button__link, .nn-cta .wp-block-button__link, input[type="submit"] {
	display: inline-block; background: var(--nd-accent); color: #fff; border: 0; border-radius: 8px;
	padding: 11px 24px; font: 700 16px var(--nd-font); cursor: pointer; transition: background .2s, transform .15s;
}
.nd-btn:hover, .wp-block-button__link:hover, input[type="submit"]:hover { background: var(--nd-navy); color: #fff; transform: translateY(-1px); }
.nd-input, .nd-form input[type="text"], .nd-form input[type="email"], .nd-form input[type="tel"], .nd-form input[type="url"], .nd-form select, .nd-form textarea {
	width: 100%; padding: 11px 14px; font: 16px var(--nd-font); color: var(--nd-ink);
	background: #fff; border: 1px solid #cfd4e2; border-radius: 8px;
}
.nd-input:focus { border-color: var(--nd-navy); outline: 2px solid rgba(0, 32, 140, .2); }
.nd-field { margin: 0 0 16px; }
.nd-field label { display: block; font-weight: 600; margin-bottom: 6px; }
.nd-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nd-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nd-searchform { display: flex; gap: 8px; }
.nd-searchform__input { flex: 1; min-width: 0; padding: 11px 14px; font: 16px var(--nd-font); border: 1px solid #cfd4e2; border-radius: 8px; }
.nd-box--form .nd-form { display: flex; flex-direction: column; gap: 10px; }
.nd-wa-btn {
	display: block; text-align: center; background: #1fa855; color: #fff; font-weight: 700;
	padding: 12px 18px; border-radius: var(--nd-radius); transition: background .2s;
}
.nd-wa-btn:hover { background: #168a44; color: #fff; }

/* ---------- Ads ---------- */
.nd-ad { text-align: center; background: #fafbfe; border: 1px dashed var(--nd-line); border-radius: var(--nd-radius); padding: 12px; overflow: hidden; }
.nd-ad::before { content: "विज्ञापन"; display: block; font-size: 11px; color: var(--nd-muted); margin-bottom: 6px; letter-spacing: .5px; }
.nd-ad--article { margin: 24px 0; }

/* ---------- Single article ---------- */
.nd-article { min-width: 0; background: var(--nd-card); border: 1px solid var(--nd-line); border-radius: var(--nd-radius); padding: 28px; }
.nd-article--page { border: 0; background: transparent; padding: 0; }
.nd-tag { display: inline-block; background: var(--nd-accent); color: #fff; font-size: 13px; font-weight: 700; padding: 2px 12px; border-radius: 4px; margin-bottom: 10px; }
.nd-tag:hover { background: var(--nd-navy); color: #fff; }
.nd-title { font-size: 36px; line-height: 1.35; color: var(--nd-ink); margin-bottom: 12px; }
.nd-lede { font-size: 20px; color: var(--nd-muted); font-family: var(--nd-serif); line-height: 1.7; border-left: 4px solid var(--nd-accent); padding-left: 14px; }
.nd-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding: 14px 0; margin: 14px 0; border-top: 1px solid var(--nd-line); border-bottom: 1px solid var(--nd-line); }
.nd-byline__a { display: flex; align-items: center; gap: 10px; }
.nd-byline__a img { border-radius: 50%; }
.nd-byline__n { font-weight: 700; color: var(--nd-ink); display: block; line-height: 1.3; }
.nd-byline__d { display: flex; flex-direction: column; }
.nd-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; }
.nd-share__l { font-weight: 700; font-size: 14px; color: var(--nd-muted); }
.nd-share__b { display: inline-block; padding: 5px 14px; border-radius: 6px; color: #fff; font: 600 14px var(--nd-font); background: var(--nd-navy); border: 0; cursor: pointer; }
.nd-share__b:hover { color: #fff; opacity: .88; }
.nd-share--wa { background: #1fa855; }
.nd-share--fb { background: #1877f2; }
.nd-share--x { background: #111; }
.nd-share--tg { background: #229ed9; }
.nd-share--copy { background: #6b7280; }

.nd-figure { margin: 0 0 22px; }
.nd-figure img { width: 100%; border-radius: var(--nd-radius); }
.nd-figure figcaption { font-size: 13.5px; color: var(--nd-muted); padding-top: 6px; }

.nd-entry { font-family: var(--nd-serif); font-size: 19px; line-height: 1.95; overflow-wrap: break-word; }
.nd-entry > * { max-width: 100%; }
.nd-entry p { margin-bottom: 1.2em; }
.nd-entry h2 { font-size: 26px; margin: 1.4em 0 .5em; color: var(--nd-navy); font-family: var(--nd-font); }
.nd-entry h3 { font-size: 22px; margin: 1.3em 0 .5em; font-family: var(--nd-font); }
.nd-entry a { text-decoration: underline; text-underline-offset: 3px; }
.nd-entry ul, .nd-entry ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.nd-entry blockquote, .nd-entry .wp-block-quote {
	margin: 1.5em 0; padding: 14px 20px; border-left: 5px solid var(--nd-accent);
	background: #f3f5fc; font-size: 1.05em; border-radius: 0 8px 8px 0;
}
.nd-entry blockquote cite { display: block; font: 600 14px var(--nd-font); color: var(--nd-muted); margin-top: 8px; }
.nd-entry figure { margin: 1.4em 0; }
.nd-entry figcaption, .wp-element-caption { font: 13.5px var(--nd-font); color: var(--nd-muted); text-align: left; margin-top: 6px; }
.nd-entry img { border-radius: 8px; }
.nd-entry table { width: 100%; border-collapse: collapse; font: 16px var(--nd-font); display: block; overflow-x: auto; }
.nd-entry th, .nd-entry td { border: 1px solid var(--nd-line); padding: 8px 12px; text-align: left; }
.nd-entry th { background: #eef1fb; }
.nd-entry iframe { width: 100%; }
.wp-block-embed__wrapper, .wp-has-aspect-ratio .wp-block-embed__wrapper { position: relative; }
.wp-embed-aspect-16-9 .wp-block-embed__wrapper { aspect-ratio: 16 / 9; }
.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.nd-pages { font: 600 15px var(--nd-font); margin: 16px 0; }
.nd-pages a, .nd-pages > span { padding: 2px 10px; border: 1px solid var(--nd-line); border-radius: 4px; margin-left: 4px; }

.nd-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 24px 0; }
.nd-tags .nd-chip { margin: 0; }
.nd-authorbox { display: flex; gap: 16px; background: #f3f5fc; border-radius: var(--nd-radius); padding: 18px; margin: 24px 0; }
.nd-authorbox img { border-radius: 50%; flex: 0 0 auto; }
.nd-authorbox__n { display: block; font-weight: 700; font-size: 18px; color: var(--nd-ink); }
.nd-authorbox p { margin: 4px 0 0; color: var(--nd-muted); font-size: 15px; }
.nd-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.nd-postnav a { display: block; border: 1px solid var(--nd-line); border-radius: var(--nd-radius); padding: 14px 16px; color: var(--nd-ink); transition: border-color .2s; }
.nd-postnav a:hover { border-color: var(--nd-accent); }
.nd-postnav a.is-next { text-align: right; grid-column: 2; }
.nd-postnav strong { display: block; font-size: 16px; line-height: 1.45; }
.nd-related { margin-top: 32px; }

/* ---------- Comments ---------- */
.nd-comments { margin-top: 36px; }
.nd-comment-list { list-style: none; padding: 0; margin: 0 0 24px; }
.nd-comment-list .children { list-style: none; padding-left: 28px; }
.nd-comment-list .comment-body { border: 1px solid var(--nd-line); border-radius: var(--nd-radius); padding: 14px 16px; margin-bottom: 12px; background: #fff; }
.nd-comment-list .avatar { border-radius: 50%; float: left; margin-right: 10px; }
.nd-comment-list .comment-meta { font-size: 13px; color: var(--nd-muted); margin-bottom: 8px; }
.nd-comment-list .reply a { font-weight: 700; font-size: 14px; }

/* ---------- Pagination ---------- */
.pagination, .navigation.pagination { margin: 30px 0 0; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-numbers {
	min-width: 42px; height: 42px; padding: 0 14px; display: inline-grid; place-items: center;
	background: #fff; border: 1px solid var(--nd-line); border-radius: 8px; color: var(--nd-ink); font-weight: 600;
}
.page-numbers:hover { border-color: var(--nd-accent); color: var(--nd-accent); }
.page-numbers.current { background: var(--nd-navy); border-color: var(--nd-navy); color: #fff; }
.page-numbers.dots { border: 0; background: transparent; }

/* ---------- Contact ---------- */
.nd-contact { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.nd-contact__h { font-size: 24px; color: var(--nd-navy); }
.nd-contact__info { display: flex; flex-direction: column; gap: 18px; }
.nd-dl dt { font-weight: 700; color: var(--nd-navy); margin-top: 12px; font-size: 14px; }
.nd-dl dd { margin: 2px 0 0; }
.nd-map iframe { width: 100%; min-height: 260px; border: 0; border-radius: var(--nd-radius); }

/* ---------- 404 ---------- */
.nd-404 { text-align: center; }
.nd-404__n { font-size: clamp(90px, 18vw, 170px); font-weight: 800; line-height: 1; color: var(--nd-navy); letter-spacing: 6px; }
.nd-404__n span { color: var(--nd-accent); display: inline-block; animation: nd-float 3s ease-in-out infinite; }
@keyframes nd-float { 50% { transform: translateY(-10px); } }
.nd-404__t { font-size: 30px; margin-top: 8px; }
.nd-404__search { max-width: 460px; margin: 20px auto; }
.nd-404__actions { margin: 10px 0; }
.nd-404__latest { text-align: left; margin-top: 30px; }

/* ---------- Footer ---------- */
.nd-footer { background: #0a1550; color: #cfd5ee; margin-top: 20px; border-top: 4px solid var(--nd-accent); }
.nd-footer a { color: #cfd5ee; }
.nd-footer a:hover { color: #fff; text-decoration: underline; }
.nd-footer__in { max-width: var(--nd-wrap); margin: 0 auto; padding: 44px 20px 28px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.nd-footer__logo { background: #fff; padding: 8px 12px; border-radius: 8px; display: inline-block; margin-bottom: 12px; }
.nd-footer__logo img { height: 44px; width: auto; }
.nd-fcol__t { color: #fff; font-size: 17px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid rgba(255,255,255,.15); }
.nd-fmenu { list-style: none; margin: 0; padding: 0; }
.nd-fmenu li { margin-bottom: 8px; }
.nd-fcol--brand p { font-size: 15px; opacity: .9; }
.nd-footer__soc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.nd-footer__soc a { border: 1px solid rgba(255,255,255,.3); padding: 3px 12px; border-radius: 999px; font-size: 14px; }
.nd-footer__bar { background: #060d36; font-size: 14px; }
.nd-footer__bar-in { max-width: var(--nd-wrap); margin: 0 auto; padding: 14px 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* ---------- Block patterns ---------- */
.nn-card { background: #fff; border: 1px solid var(--nd-line); border-radius: var(--nd-radius); padding: 20px; }
.nn-person { text-align: center; }
.nn-person img { border-radius: 50%; margin-inline: auto; }
.nn-readmore { background: #f3f5fc; border-left: 5px solid var(--nd-accent); padding: 12px 18px; border-radius: 0 8px 8px 0; margin: 1.4em 0; font-family: var(--nd-font); }
.nn-cta { background: var(--nd-navy); color: #fff; padding: 28px; border-radius: var(--nd-radius); text-align: center; }
.nn-cta h2, .nn-cta h3, .nn-cta p { color: #fff; }

/* ---------- WordPress core ---------- */
.alignleft { float: left; margin: 4px 20px 12px 0; }
.alignright { float: right; margin: 4px 0 12px 20px; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide { max-width: 100%; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font: 13.5px var(--nd-font); color: var(--nd-muted); }
.sticky { border-color: var(--nd-accent); }
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.bypostauthor { }

/* ---------- Scroll reveal ---------- */
@supports (animation-timeline: view()) {
	.nd-card, .nd-box, .nd-sec-head, .nd-videos, .nd-related, .nd-authorbox {
		animation: nd-reveal linear both;
		animation-timeline: view();
		animation-range: entry 0% entry 35%;
	}
}
@keyframes nd-reveal { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
	.nd-hero { grid-template-columns: 1fr 1fr; }
	.nd-hero__lead { grid-column: 1 / -1; }
	.nd-hero__side { grid-column: 1 / -1; flex-direction: row; }
	.nd-hero__side > * { flex: 1; }
	.nd-hero__latest { grid-column: 1 / -1; }
	.nd-cols { grid-template-columns: 1fr; }
	.nd-sidebar { position: static; }
	.nd-contact { grid-template-columns: 1fr; }
	.nd-footer__in { grid-template-columns: 1fr 1fr; }
	.nd-menu-btn { display: inline-flex; margin-left: auto; }
	.nd-header__in { gap: 8px; }
	.nd-nav {
		position: absolute; top: 100%; left: 0; right: 0; margin: 0; background: #fff;
		border-bottom: 3px solid var(--nd-accent); box-shadow: 0 16px 28px rgba(0,32,140,.15);
		max-height: 0; overflow: hidden; visibility: hidden; opacity: 0;
		transition: max-height .4s ease, opacity .3s ease, visibility 0s .4s;
	}
	.nd-nav.is-open { max-height: 80vh; overflow-y: auto; visibility: visible; opacity: 1; transition: max-height .4s ease, opacity .3s ease; }
	.nd-menu { flex-direction: column; align-items: stretch; padding: 8px 20px 16px; gap: 0; }
	.nd-menu li { opacity: 0; transform: translateX(-14px); transition: opacity .3s ease, transform .3s ease; }
	.nd-nav.is-open .nd-menu li { opacity: 1; transform: none; }
	.nd-nav.is-open .nd-menu li:nth-child(1) { transition-delay: .05s; }
	.nd-nav.is-open .nd-menu li:nth-child(2) { transition-delay: .09s; }
	.nd-nav.is-open .nd-menu li:nth-child(3) { transition-delay: .13s; }
	.nd-nav.is-open .nd-menu li:nth-child(4) { transition-delay: .17s; }
	.nd-nav.is-open .nd-menu li:nth-child(5) { transition-delay: .21s; }
	.nd-nav.is-open .nd-menu li:nth-child(6) { transition-delay: .25s; }
	.nd-nav.is-open .nd-menu li:nth-child(n+7) { transition-delay: .29s; }
	.nd-menu a { padding: 14px 4px; border-bottom: 1px solid var(--nd-line); border-radius: 0; font-size: 18px; }
	.nd-menu a::after { display: none; }
}

@media (max-width: 700px) {
	body { font-size: 16px; }
	.nd-hide-m { display: none !important; }
	.nd-page { padding: 18px 16px 40px; }
	.nd-header__in { min-height: 62px; padding: 0 14px; }
	.nd-logo img { height: 42px; }
	.nd-card--lead .nd-card__title { font-size: 24px; }
	.nd-hero__side { flex-direction: column; }
	.nd-hero { grid-template-columns: 1fr; }
	.nd-split, .nd-form__row, .nd-postnav { grid-template-columns: 1fr; }
	.nd-postnav a.is-next { grid-column: auto; }
	.nd-card--wide, .nd-card--row { flex-direction: column; }
	.nd-card--wide .nd-thumb, .nd-card--row .nd-thumb { flex: none; min-height: 0; aspect-ratio: 16 / 10; }
	.nd-title { font-size: 26px; }
	.nd-lede { font-size: 17px; }
	.nd-entry { font-size: 18px; line-height: 1.85; }
	.nd-article { padding: 18px; }
	.nd-page-title { font-size: 26px; }
	.nd-footer__in { grid-template-columns: 1fr; }
	.nd-videos { padding: 16px; }
	.alignleft, .alignright { float: none; margin: 12px auto; display: block; }
}

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