/* ==========================================================================
   NPB News — main stylesheet
   ফন্ট: Shurjo (৮টি ওয়েট) · রং: CSS ভেরিয়েবল (কাস্টমাইজার থেকে নিয়ন্ত্রিত)
   ========================================================================== */

/* ---------- Shurjo font family ---------- */
@font-face { font-family: "Shurjo"; src: url("../fonts/Shurjo-Thin.woff") format("woff"); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: "Shurjo"; src: url("../fonts/Shurjo-ExtraLight.woff") format("woff"); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: "Shurjo"; src: url("../fonts/Shurjo-Light.woff") format("woff"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Shurjo"; src: url("../fonts/Shurjo-Regular.woff") format("woff"); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Shurjo"; src: url("../fonts/Shurjo-SemiBold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Shurjo"; src: url("../fonts/Shurjo-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Shurjo"; src: url("../fonts/Shurjo-ExtraBold.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Shurjo"; src: url("../fonts/Shurjo-Black.woff") format("woff"); font-weight: 900; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
	--npb-primary: #b62427;
	--npb-primary-dark: #8e1b1e;
	--npb-hover: #ea2020;
	--npb-text: #151515;
	--npb-text-2: #3d3d3d;
	--npb-muted: #767676;
	--npb-bg: #ffffff;
	--npb-card: #ffffff;
	--npb-soft: #f3f3f3;
	--npb-soft-2: #f9f9f9;
	--npb-border: #e2e2e2;
	--npb-border-2: #cfcfcf;
	--npb-ticker-bg: #000000;
	--npb-footer-bg: #141414;
	--npb-photo-bg: #ab1f20;
	--npb-video-bg: #1d1e21;
	--npb-green: #16a53c;
	--npb-purple: #662d91;
	--npb-tech: #1a5d7a;
	--npb-gold: #ffcc00;
	--npb-container: 1240px;
	--npb-fs: 17px;
	--npb-fw-body: 400;
	--npb-fw-head: 700;
	--npb-radius: 4px;
	--npb-font: "Shurjo", "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi", system-ui, sans-serif;
	--npb-admin: 0px;
	--npb-shadow: 0 10px 30px rgba(0, 0, 0, .12);
	color-scheme: light;
}
html.npb-dark {
	--npb-text: #ececec;
	--npb-text-2: #c9c9c9;
	--npb-muted: #9a9a9a;
	--npb-bg: #111213;
	--npb-card: #18191b;
	--npb-soft: #1f2023;
	--npb-soft-2: #17181a;
	--npb-border: #2b2c30;
	--npb-border-2: #3a3b40;
	--npb-video-bg: #0a0a0b;
	--npb-footer-bg: #0a0a0b;
	--npb-tech: #4aa3c9;
	--npb-purple: #a46ad3;
	--npb-shadow: 0 10px 30px rgba(0, 0, 0, .5);
	color-scheme: dark;
}
body.admin-bar { --npb-admin: 32px; }
@media (max-width: 782px) { body.admin-bar { --npb-admin: 46px; } }
@media (max-width: 600px) { body.admin-bar { --npb-admin: 0px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
	margin: 0;
	font-family: var(--npb-font);
	font-size: var(--npb-fs);
	font-weight: var(--npb-fw-body);
	line-height: 1.65;
	color: var(--npb-text);
	background: var(--npb-bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color .15s ease, background-color .15s ease, border-color .15s ease; }
a:hover { color: var(--npb-hover); }
img, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { font-weight: var(--npb-fw-head); line-height: 1.35; margin: 0 0 .5em; color: var(--npb-text); }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
input[type="text"], input[type="search"], input[type="email"], input[type="url"], input[type="date"], input[type="password"], select, textarea {
	background: var(--npb-bg);
	border: 1px solid var(--npb-border-2);
	border-radius: var(--npb-radius);
	padding: 8px 12px;
	max-width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--npb-primary); outline-offset: 0; border-color: var(--npb-primary); }
:focus-visible { outline: 2px solid var(--npb-primary); outline-offset: 2px; }
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; left: 8px; top: 8px; z-index: 100000; background: var(--npb-primary); color: #fff; padding: 10px 16px; border-radius: 4px; }
.npb-container { width: 100%; max-width: var(--npb-container); margin: 0 auto; padding: 0 16px; }
.npb-narrow { max-width: 860px; }
.npb-icon { flex-shrink: 0; display: inline-block; vertical-align: middle; }
.npb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	background: var(--npb-primary); color: #fff; border: 0; border-radius: var(--npb-radius);
	padding: 9px 18px; font-weight: 700; cursor: pointer; line-height: 1.3;
}
.npb-btn:hover { background: var(--npb-primary-dark); color: #fff; }
.npb-stack { display: flex; flex-direction: column; gap: 18px; }
.npb-stack > .npb-card + .npb-card { padding-top: 18px; border-top: 1px solid var(--npb-border); }
.npb-list > .npb-card + .npb-card { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--npb-border); }
.npb-empty { color: var(--npb-muted); padding: 20px 0; }

/* ---------- Top bar ---------- */
.npb-topbar { border-bottom: 1px solid var(--npb-border); font-size: 14.5px; color: var(--npb-text-2); }
.npb-topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.npb-topbar__date { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.npb-topbar__date .npb-icon { color: var(--npb-primary); }
.npb-sep { display: inline-block; width: 1px; height: 13px; background: var(--npb-border-2); }
.npb-topbar__right { display: flex; align-items: center; gap: 14px; }
.npb-topmenu { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; }
.npb-topmenu a { display: inline-flex; align-items: center; gap: 4px; }
.npb-en { border: 1px solid var(--npb-primary); color: var(--npb-primary); padding: 0 9px; border-radius: 3px; font-weight: 700; line-height: 24px; font-size: 13px; letter-spacing: .5px; }
.npb-en:hover { background: var(--npb-primary); color: #fff; }

/* ---------- Social ---------- */
.npb-social { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.npb-social a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--npb-soft); color: var(--npb-text-2); }
.npb-social--sm a { width: 28px; height: 28px; }
.npb-social--sm .npb-icon { width: 14px; height: 14px; }
.npb-social a:hover { color: #fff; }
.npb-social__facebook:hover { background: #1877f2; }
.npb-social__youtube:hover { background: #ff0000; }
.npb-social__x:hover, .npb-social__tiktok:hover { background: #000; }
.npb-social__instagram:hover { background: #d6249f; }
.npb-social__linkedin:hover { background: #0a66c2; }
.npb-social__whatsapp:hover { background: #25d366; }
.npb-social__telegram:hover { background: #229ed9; }
.npb-social--block { gap: 8px; }
.npb-social--block a { width: 42px; height: 42px; border-radius: var(--npb-radius); color: #fff; }
.npb-social--block .npb-social__facebook { background: #1877f2; }
.npb-social--block .npb-social__youtube { background: #ff0000; }
.npb-social--block .npb-social__x, .npb-social--block .npb-social__tiktok { background: #000; }
.npb-social--block .npb-social__instagram { background: #d6249f; }
.npb-social--block .npb-social__linkedin { background: #0a66c2; }
.npb-social--block .npb-social__whatsapp { background: #25d366; }
.npb-social--block .npb-social__telegram { background: #229ed9; }
.npb-social--block a:hover { opacity: .85; }

/* ---------- Masthead / logo ---------- */
.npb-masthead__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.npb-header-center .npb-masthead__in { justify-content: center; }
.npb-masthead__ad { flex: 0 1 728px; min-width: 0; }
.npb-masthead__ad .npb-ad { margin: 0 0 0 auto; }
.npb-logo { display: inline-flex; align-items: center; margin: 0; line-height: 1; }
.npb-logo img { max-height: 92px; width: auto; }
.npb-logo__dark { display: none !important; }
html.npb-dark .has-dark .npb-logo__light { display: none !important; }
html.npb-dark .has-dark .npb-logo__dark { display: block !important; }
.npb-logo--text a { display: inline-flex; align-items: center; gap: 12px; color: var(--npb-text); }
.npb-logo--text a:hover { color: var(--npb-text); }
.npb-logo__mark {
	width: 58px; height: 58px; flex: 0 0 58px; border-radius: 10px;
	background: linear-gradient(135deg, var(--npb-primary), var(--npb-primary-dark));
	color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 34px; line-height: 1;
	box-shadow: 0 6px 16px color-mix(in srgb, var(--npb-primary) 35%, transparent);
}
.npb-logo__name { font-weight: 900; font-size: 44px; letter-spacing: -.5px; line-height: 1.15; white-space: nowrap; }
.npb-logo__name::first-letter { color: var(--npb-primary); }

/* ---------- Navbar ---------- */
.npb-navbar { position: relative; z-index: 90; background: var(--npb-bg); border-top: 1px solid var(--npb-border); border-bottom: 3px solid var(--npb-primary); }
.npb-has-sticky .npb-navbar { position: sticky; top: var(--npb-admin); }
.npb-navbar.is-stuck { box-shadow: 0 4px 14px rgba(0, 0, 0, .1); }
.npb-navbar__in { display: flex; align-items: center; gap: 4px; min-height: 52px; }
.npb-iconbtn {
	width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border: 0; background: transparent;
	border-radius: 50%; cursor: pointer; color: var(--npb-text); padding: 0;
}
.npb-iconbtn:hover { background: var(--npb-soft); color: var(--npb-primary); }
.npb-navbar__logo { display: none; margin-right: 6px; }
.npb-navbar__logo .npb-logo img { max-height: 34px; }
.npb-navbar__logo .npb-logo__mark { width: 32px; height: 32px; flex-basis: 32px; font-size: 19px; border-radius: 6px; box-shadow: none; }
.npb-navbar__logo .npb-logo__name { font-size: 22px; }
.npb-navbar.is-stuck .npb-navbar__logo { display: block; }
.npb-navbar.is-stuck .npb-navbar__home { display: none; }
.npb-nav { flex: 1 1 auto; min-width: 0; }
.npb-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.npb-menu > li { position: relative; }
.npb-menu > li > a {
	display: flex; align-items: center; gap: 4px; padding: 13px 11px; font-size: 17.5px; font-weight: 600;
	white-space: nowrap; color: var(--npb-text); position: relative;
}
.npb-menu > li:first-child > a { color: var(--npb-primary); }
.npb-menu > li > a::after {
	content: ""; position: absolute; left: 11px; right: 11px; bottom: 0; height: 3px; background: var(--npb-primary);
	transform: scaleX(0); transition: transform .2s ease;
}
.npb-menu > li:hover > a::after, .npb-menu > li.current-menu-item > a::after, .npb-menu > li.current-menu-ancestor > a::after, .npb-menu > li.current-category-ancestor > a::after { transform: scaleX(1); }
.npb-menu > li:hover > a, .npb-menu > li.current-menu-item > a, .npb-menu > li.current-menu-ancestor > a { color: var(--npb-primary); }
.npb-menu > .menu-item-has-children > a::before {
	content: ""; order: 2; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
	transform: rotate(45deg) translateY(-2px); margin-left: 2px; opacity: .6;
}
.npb-menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px; z-index: 50;
	background: var(--npb-card); border-top: 3px solid var(--npb-primary); box-shadow: var(--npb-shadow);
	list-style: none; margin: 0; padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s ease;
}
.npb-menu > li:hover > .sub-menu, .npb-menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.npb-menu .sub-menu a { display: block; padding: 7px 18px; font-size: 16px; color: var(--npb-text); }
.npb-menu .sub-menu a:hover { background: var(--npb-soft); color: var(--npb-primary); padding-left: 22px; }
.npb-navbar__tools { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.npb-darkbtn .npb-icon--sun { display: none; }
html.npb-dark .npb-darkbtn .npb-icon--sun { display: inline-block; }
html.npb-dark .npb-darkbtn .npb-icon--moon { display: none; }
.npb-searchbar { border-top: 1px solid var(--npb-border); background: var(--npb-soft); padding: 14px 0; }
.npb-searchbar[hidden] { display: none; }

/* ---------- Search form ---------- */
.npb-searchform { display: flex; width: 100%; max-width: 680px; margin: 0 auto; }
.npb-searchform input[type="search"] { flex: 1; width: 0; min-width: 0; height: 46px; border-radius: var(--npb-radius) 0 0 var(--npb-radius); border-right: 0; padding: 0 16px; font-size: 17px; }
.npb-searchform button { width: 54px; border: 0; background: var(--npb-primary); color: #fff; border-radius: 0 var(--npb-radius) var(--npb-radius) 0; cursor: pointer; display: grid; place-items: center; }
.npb-searchform button:hover { background: var(--npb-primary-dark); }

/* ---------- Trending ---------- */
.npb-trending { display: flex; align-items: center; gap: 8px; padding: 12px 0; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.npb-trending::-webkit-scrollbar { display: none; }
.npb-trending__label { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--npb-primary); margin-right: 4px; font-size: 17px; }
.npb-trending a { padding: 2px 13px; border: 1px solid var(--npb-border); border-radius: 20px; font-size: 15.5px; background: var(--npb-card); }
.npb-trending a:hover { border-color: var(--npb-primary); color: var(--npb-primary); }

/* ---------- Breaking ticker ---------- */
.npb-ticker { background: var(--npb-ticker-bg); color: #fff; }
.npb-ticker__in { display: flex; align-items: stretch; height: 46px; }
.npb-ticker__label {
	background: var(--npb-primary); display: flex; align-items: center; gap: 6px; padding: 0 18px 0 14px; font-weight: 800;
	white-space: nowrap; position: relative; z-index: 2; font-size: 17px;
}
.npb-ticker__label::after {
	content: ""; position: absolute; right: -12px; top: 0; bottom: 0; width: 12px; background: var(--npb-primary);
	clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.npb-ticker__label .npb-icon { color: var(--npb-gold); animation: npb-blink 1.4s infinite; }
.npb-ticker__track {
	flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: center; padding-left: 14px;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
	mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}
.npb-ticker__move { display: flex; width: max-content; animation: npb-marquee var(--npb-ticker-dur, 80s) linear infinite; will-change: transform; }
.npb-ticker__track:hover .npb-ticker__move, .npb-ticker__track:focus-within .npb-ticker__move { animation-play-state: paused; }
.npb-ticker__item { display: inline-flex; align-items: center; gap: 14px; padding: 0 22px 0 0; color: #fff; font-size: 16.5px; white-space: nowrap; }
.npb-ticker__item::before { content: ""; width: 8px; height: 8px; background: var(--npb-primary); transform: rotate(45deg); flex: 0 0 8px; }
.npb-ticker__item:hover { color: var(--npb-gold); }
@keyframes npb-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes npb-blink { 50% { opacity: .35; } }

/* ---------- Sections ---------- */
.npb-main { min-height: 50vh; }
.npb-home { padding-bottom: 12px; }
.npb-sec { padding: 22px 0; }
.npb-sec--soft { background: var(--npb-soft-2); margin: 10px 0; padding: 26px 0; }
.npb-sec--ad { padding: 8px 0; }
.npb-sec-head {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
	border-bottom: 1px solid var(--npb-border-2); margin-bottom: 18px;
}
.npb-sec-title { margin: 0; font-size: 25px; font-weight: 800; line-height: 1.25; }
.npb-sec-title span { display: inline-block; padding-bottom: 7px; border-bottom: 4px solid var(--npb-primary); margin-bottom: -1px; }
.npb-sec-title a:hover { color: var(--npb-primary); }
.npb-sec-more { display: inline-flex; align-items: center; gap: 3px; font-size: 15px; color: var(--npb-muted); padding-bottom: 8px; white-space: nowrap; }
.npb-sec-more:hover { color: var(--npb-primary); }
.npb-sec-head--sm { margin-bottom: 14px; }
.npb-sec-head--sm .npb-sec-title { font-size: 20px; }
.npb-sec-head--sm .npb-sec-title span { padding-bottom: 6px; border-bottom-width: 3px; }
.npb-sec-head--light { border-color: rgba(255, 255, 255, .28); }
.npb-sec-head--light .npb-sec-title, .npb-sec-head--light .npb-sec-title a { color: #fff; }
.npb-sec-head--light .npb-sec-title span { border-color: #fff; }
.npb-sec-head--light .npb-sec-more { color: rgba(255, 255, 255, .8); }
.npb-sec-head--light .npb-sec-more:hover, .npb-sec-head--light .npb-sec-title a:hover { color: var(--npb-gold); }

/* ---------- Cards ---------- */
.npb-card { position: relative; min-width: 0; }
.npb-card__thumb { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--npb-soft); border-radius: var(--npb-radius); }
.npb-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.npb-card:hover .npb-card__thumb img { transform: scale(1.045); }
.npb-noimg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--npb-border-2); background: linear-gradient(135deg, var(--npb-soft), var(--npb-soft-2)); }
.npb-card__body { min-width: 0; }
.npb-card__title { font-size: 18px; line-height: 1.45; margin: 9px 0 0; font-weight: var(--npb-fw-head); }
.npb-card__title a { display: block; }
.npb-card__title a:hover { color: var(--npb-hover); }
.npb-card__excerpt {
	margin: 8px 0 0; color: var(--npb-text-2); font-size: 16px; line-height: 1.65;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.npb-card__time { display: inline-flex; gap: 5px; align-items: center; margin-top: 7px; color: var(--npb-muted); font-size: 14px; }
.npb-card__cat { display: inline-block; font-size: 14.5px; color: var(--npb-primary); font-weight: 700; margin-top: 8px; }
.npb-card__shoulder { display: block; color: var(--npb-primary); font-size: 16px; font-weight: 700; margin-top: 12px; }
.npb-card__shoulder-inline { color: var(--npb-primary); }
.npb-play {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%;
	background: rgba(0, 0, 0, .55); color: #fff; display: grid; place-items: center; border: 2px solid rgba(255, 255, 255, .9);
	transition: background .2s;
}
.npb-play .npb-icon { margin-left: 3px; }
.npb-card:hover .npb-play { background: var(--npb-primary); }

/* lead */
.npb-card--lead .npb-card__title { font-size: 30px; line-height: 1.35; margin-top: 12px; font-weight: 800; }
.npb-card--lead .npb-card__excerpt { font-size: 17px; -webkit-line-clamp: 4; }
.npb-card--lead .npb-play { width: 66px; height: 66px; }
/* medium / small */
.npb-card--medium .npb-card__title { font-size: 19px; }
.npb-card--small .npb-card__title { font-size: 17px; line-height: 1.45; }
/* side (thumb left) */
.npb-card--side { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 12px; align-items: start; }
.npb-card--side .npb-card__title { font-size: 16.5px; margin: 0; line-height: 1.45; }
.npb-card--side .npb-card__time { margin-top: 4px; font-size: 13.5px; }
.npb-card--side .npb-play { width: 28px; height: 28px; left: 6px; top: auto; bottom: 6px; transform: none; border-width: 1.5px; }
.npb-card--side .npb-noimg .npb-icon { width: 22px; height: 22px; }
/* text */
.npb-card--text .npb-card__title { font-size: 17px; margin: 0; }
/* row (archive list) */
.npb-card--row { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 20px; align-items: start; }
.npb-card--row .npb-card__title { font-size: 21px; margin-top: 0; }
.npb-card--row .npb-card__cat { margin: 0 0 4px; }
/* horizontal feature */
.npb-card--hz { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 22px; align-items: start; padding-bottom: 20px; border-bottom: 1px solid var(--npb-border); }
.npb-card--hz .npb-card__title { font-size: 26px; margin-top: 0; font-weight: 800; }
.npb-card--hz .npb-card__excerpt { -webkit-line-clamp: 6; font-size: 16.5px; }
/* numbered */
.npb-card--numbered { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px dashed var(--npb-border-2); }
.npb-card__num {
	flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--npb-soft); color: var(--npb-primary); font-weight: 800;
	display: grid; place-items: center; font-size: 17px; line-height: 1;
}
.npb-card--numbered .npb-card__title { font-size: 16.5px; margin: 2px 0 0; font-weight: 600; line-height: 1.5; }
/* overlay */
.npb-card--overlay { overflow: hidden; border-radius: var(--npb-radius); background: #000; min-height: 160px; }
.npb-card--overlay .npb-card__thumb { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.npb-card--overlay .npb-card__thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .88) 100%); }
.npb-card--overlay .npb-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; z-index: 2; pointer-events: none; }
.npb-card--overlay .npb-card__body a { pointer-events: auto; }
.npb-card--overlay .npb-card__title { color: #fff; font-size: 18px; margin: 4px 0 0; text-shadow: 0 1px 3px rgba(0, 0, 0, .4); }
.npb-card--overlay .npb-card__title a:hover { color: var(--npb-gold); }
.npb-card--overlay .npb-card__cat { background: var(--npb-primary); color: #fff; padding: 1px 10px; border-radius: 3px; font-size: 13.5px; margin: 0; }
.npb-card--overlay .npb-card__shoulder { color: var(--npb-gold); margin-top: 0; }
.npb-card--overlay .npb-play { top: 40%; }

/* ---------- Tabs ---------- */
.npb-tabs__nav { display: flex; border-bottom: 3px solid var(--npb-primary); }
.npb-tabs__nav button {
	flex: 1; padding: 9px 12px; border: 0; background: var(--npb-soft); font-weight: 800; font-size: 18px; cursor: pointer;
	color: var(--npb-text-2); transition: .15s;
}
.npb-tabs__nav button.is-active { background: var(--npb-primary); color: #fff; }
.npb-tabs__pane[hidden] { display: none; }
.npb-lp__list { max-height: 590px; overflow-y: auto; padding-right: 8px; scrollbar-width: thin; scrollbar-color: var(--npb-border-2) transparent; }
.npb-lp__list .npb-card--numbered:last-child { border-bottom: 0; }
.npb-lp__all { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 10px; margin-top: 6px; background: var(--npb-soft); font-weight: 700; border-radius: var(--npb-radius); }
.npb-lp__all:hover { background: var(--npb-primary); color: #fff; }
.npb-tabs__nav--pills { border: 0; gap: 6px; flex-wrap: wrap; justify-content: flex-end; padding-bottom: 8px; }
.npb-tabs__nav--pills button { flex: 0 0 auto; padding: 3px 14px; font-size: 15.5px; font-weight: 700; border-radius: 20px; background: var(--npb-soft); }
.npb-tabs__nav--pills button.is-active { background: var(--npb-primary); color: #fff; }

/* ---------- Lead section ---------- */
.npb-lead { padding-top: 18px; }
.npb-lead__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
.npb-lead__top { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--npb-border); }
.npb-lead__big .npb-card--lead .npb-card__title { font-size: 32px; }
.npb-lead__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--npb-border); }
.npb-lead__texts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; }
.npb-lead__texts .npb-card { padding: 14px 0; border-bottom: 1px solid var(--npb-border); }
.npb-lead__aside { display: flex; flex-direction: column; gap: 24px; min-width: 0; }

/* ---------- Layout with aside ---------- */
.npb-with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
.npb-with-aside__side { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.npb-block-a__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; }
.npb-block-a__big .npb-card--lead .npb-card__title { font-size: 26px; }
.npb-block-b__texts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.npb-block-b__texts .npb-card { padding: 14px 0; border-bottom: 1px solid var(--npb-border); }
.npb-block-c__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 20px; }
.npb-block-c__grid > .npb-card:first-child { grid-column: span 2; grid-row: span 2; }
.npb-block-c__grid > .npb-card:first-child .npb-card__title { font-size: 27px; }
.npb-block-d__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr) minmax(0, 1fr); gap: 26px; }
.npb-block-d__center { padding: 0 26px; border-left: 1px solid var(--npb-border); border-right: 1px solid var(--npb-border); margin: 0 -13px; }
.npb-mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, 215px); gap: 12px; }
.npb-mosaic > .npb-card:first-child { grid-column: span 2; grid-row: span 2; }
.npb-mosaic > .npb-card:first-child .npb-card__title { font-size: 25px; }
.npb-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.npb-grid4-sec .npb-card { background: var(--npb-card); padding: 10px 10px 14px; border-radius: var(--npb-radius); box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }

/* ---------- Opinion ---------- */
.npb-opinion__list { list-style: none; margin: 0; padding: 0; }
.npb-opinion__list li + li { border-top: 1px solid var(--npb-border); }
.npb-opinion__list a { display: flex; gap: 12px; align-items: center; padding: 10px 0; }
.npb-opinion__avatar { flex: 0 0 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--npb-soft); display: grid; place-items: center; color: var(--npb-primary); border: 2px solid var(--npb-border); }
.npb-opinion__avatar img { width: 100%; height: 100%; object-fit: cover; }
.npb-opinion__text strong { display: block; font-size: 16.5px; line-height: 1.45; font-weight: 700; }
.npb-opinion__text em { display: block; font-style: normal; font-size: 14px; color: var(--npb-primary); margin-top: 2px; }

/* ---------- Poll ---------- */
.npb-poll__box { border: 1px solid var(--npb-border); border-radius: var(--npb-radius); padding: 16px; background: var(--npb-card); }
.npb-poll__date { font-size: 13.5px; color: var(--npb-muted); }
.npb-poll__q { font-weight: 700; font-size: 17px; line-height: 1.5; margin: 4px 0 12px; }
.npb-poll__opt { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 10px; align-items: center; padding: 8px 0; cursor: pointer; }
.npb-poll__opt input { accent-color: var(--npb-primary); width: 17px; height: 17px; margin: 0; }
.npb-poll__pct { font-weight: 700; font-size: 15px; color: var(--npb-primary); }
.npb-poll__bar { grid-column: 1 / -1; height: 7px; background: var(--npb-soft); border-radius: 6px; overflow: hidden; }
.npb-poll__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--npb-primary), var(--npb-hover)); border-radius: 6px; transition: width .6s ease; }
.npb-poll__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--npb-border); }
.npb-poll__total { font-size: 14.5px; color: var(--npb-muted); }
.npb-poll__msg { margin: 8px 0 0; font-size: 14.5px; color: var(--npb-green); min-height: 1px; }
.npb-poll.is-voted .npb-poll__foot .npb-btn { opacity: .5; pointer-events: none; }
.npb-polls .npb-poll + .npb-poll { margin-top: 20px; }

/* ---------- Archive form ---------- */
.npb-archive-form { display: grid; gap: 10px; }
.npb-archive-form input, .npb-archive-form select { width: 100%; height: 44px; }
.npb-archive-box { padding: 20px; background: var(--npb-soft-2); border: 1px solid var(--npb-border); border-radius: var(--npb-radius); margin-bottom: 24px; }
.npb-archive-box .npb-archive-form { grid-template-columns: 1fr 1fr auto; }
.npb-archive-sub { font-size: 21px; margin: 10px 0 12px; }
.npb-days { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.npb-days a { display: flex; gap: 8px; align-items: center; padding: 10px 14px; border: 1px solid var(--npb-border); border-radius: var(--npb-radius); }
.npb-days a:hover { border-color: var(--npb-primary); }
.npb-calendar table { width: 100%; border-collapse: collapse; text-align: center; }
.npb-calendar caption { font-weight: 700; padding: 8px; }
.npb-calendar th, .npb-calendar td { border: 1px solid var(--npb-border); padding: 8px 4px; }
.npb-calendar td a { color: var(--npb-primary); font-weight: 700; }
.npb-calendar .wp-calendar-nav { display: flex; justify-content: space-between; margin-top: 8px; }

/* ---------- Country ---------- */
.npb-country { background: var(--npb-soft-2); margin: 10px 0; padding: 26px 0; }
.npb-country__grid { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 28px; align-items: start; }
.npb-finder { background: var(--npb-card); border: 1px solid var(--npb-border); border-top: 4px solid var(--npb-green); padding: 20px; border-radius: var(--npb-radius); }
.npb-finder__title { display: flex; gap: 8px; align-items: center; font-size: 21px; margin-bottom: 14px; }
.npb-finder__title .npb-icon { color: var(--npb-green); }
.npb-finder select { width: 100%; height: 46px; margin-bottom: 10px; }
.npb-finder button { width: 100%; height: 46px; background: var(--npb-green); color: #fff; border: 0; border-radius: var(--npb-radius); font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 17px; }
.npb-finder button:hover { filter: brightness(.92); }
.npb-finder__divs { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; list-style: none; padding: 14px 0 0; border-top: 1px dashed var(--npb-border-2); }
.npb-finder__divs a { display: inline-block; font-size: 14.5px; padding: 2px 11px; background: var(--npb-soft); border-radius: 14px; }
.npb-finder__divs a:hover { background: var(--npb-green); color: #fff; }
.npb-country__news { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 22px; }
.npb-country__big .npb-card--lead .npb-card__title { font-size: 23px; }

/* ---------- Tab section (world) ---------- */
.npb-sec-head--tabs { align-items: center; flex-wrap: wrap; }
.npb-tabsec__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; }
.npb-tabsec__small { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-content: start; }
.npb-tabsec__big .npb-card--lead .npb-card__title { font-size: 27px; }

/* ---------- Bands: photo + video ---------- */
.npb-band { padding: 30px 0; margin: 14px 0; color: #fff; }
.npb-photo { background: var(--npb-photo-bg); background-image: radial-gradient(circle at 15% 0%, rgba(255, 255, 255, .08), transparent 50%); }
.npb-photo__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 215px 215px; gap: 12px; }
.npb-photo__grid > .npb-card:first-child { grid-row: span 2; }
.npb-photo__grid > .npb-card:first-child .npb-card__title { font-size: 25px; }
.npb-card.is-photo .npb-card__thumb::before {
	content: ""; position: absolute; top: 12px; left: 12px; width: 34px; height: 34px; z-index: 2; border-radius: 50%;
	background: rgba(0, 0, 0, .5) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2zM12 17a4 4 0 1 0 0-8 4 4 0 0 0 0 8z'/%3E%3C/svg%3E") center / 17px no-repeat;
}
.npb-video { background: var(--npb-video-bg); }
.npb-video__grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 22px; }
.npb-video__main .npb-card--overlay { height: 100%; min-height: 380px; }
.npb-video__main .npb-card__title { font-size: 27px; }
.npb-video__list { display: flex; flex-direction: column; gap: 14px; }
.npb-video__list .npb-card + .npb-card { padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); }
.npb-video__list .npb-card--side { grid-template-columns: 150px minmax(0, 1fr); }
.npb-video .npb-card__title a { color: #fff; }
.npb-video .npb-card__title a:hover { color: var(--npb-gold); }
.npb-video .npb-card__time { color: rgba(255, 255, 255, .6); }
.npb-video .npb-card__thumb { background: #2a2b2f; }

/* ---------- Duo / col4 ---------- */
.npb-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.npb-duo__col--1 .npb-sec-title span { border-color: var(--npb-purple); }
.npb-duo__col--1 .npb-sec-title a:hover { color: var(--npb-purple); }
.npb-duo__col--2 .npb-sec-title span { border-color: var(--npb-tech); }
.npb-duo__col--2 .npb-sec-title a:hover { color: var(--npb-tech); }
.npb-duo__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px; }
.npb-col4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.npb-list--text { margin-top: 12px; }
.npb-list--text > .npb-card { padding-top: 10px; margin-top: 10px; border-top: 1px solid var(--npb-border); }
.npb-list--text > .npb-card .npb-card__title { font-size: 16.5px; padding-left: 14px; position: relative; }
.npb-list--text > .npb-card .npb-card__title::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; background: var(--npb-primary); border-radius: 1px; }

/* ---------- Ads ---------- */
.npb-ad { display: flex; justify-content: center; align-items: center; width: 100%; max-width: 100%; margin: 0 auto; overflow: hidden; }
.npb-ad img { margin: 0 auto; }
.npb-ad__ph {
	width: 100%; margin: 0 auto; min-height: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center;
	color: var(--npb-muted); font-size: 15px; border: 1px dashed var(--npb-border-2); border-radius: var(--npb-radius);
	background: repeating-linear-gradient(45deg, var(--npb-soft-2), var(--npb-soft-2) 12px, var(--npb-soft) 12px, var(--npb-soft) 24px);
}
.npb-ad__ph small { font-size: 12.5px; opacity: .8; }
.npb-ad--top { margin: 18px auto 0; }
.npb-ad--bottom { margin: 24px auto; }
.npb-ad--single_inline_ad { margin: 1.4em auto; }
.npb-ad--side .npb-ad__ph, .npb-ad--sidebar_ad_1 .npb-ad__ph, .npb-ad--sidebar_ad_2 .npb-ad__ph { max-width: 340px !important; }

/* ---------- Generic layout (single / archive) ---------- */
.npb-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 34px; align-items: start; padding-bottom: 20px; }
.npb-sidebar { display: flex; flex-direction: column; gap: 26px; min-width: 0; padding-top: 18px; }
.npb-widget { min-width: 0; }
.npb-widget ul { padding-left: 18px; }
.npb-wlist .npb-card + .npb-card { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--npb-border); }
.npb-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14.5px; color: var(--npb-muted); margin: 18px 0 14px; }
.npb-breadcrumb a { display: inline-flex; align-items: center; gap: 4px; }
.npb-breadcrumb a:hover { color: var(--npb-primary); }

/* ---------- Single ---------- */
.npb-article { min-width: 0; }
.npb-article__cat { display: inline-block; background: var(--npb-primary); color: #fff; font-weight: 700; padding: 1px 12px; border-radius: 3px; font-size: 15px; }
.npb-article__cat:hover { background: var(--npb-primary-dark); color: #fff; }
.npb-article__shoulder { color: var(--npb-primary); font-weight: 700; font-size: 19px; margin: 12px 0 0; }
.npb-article__title { font-size: clamp(26px, 3.1vw, 40px); line-height: 1.35; font-weight: 800; margin: 10px 0 12px; }
.npb-article__subtitle { font-size: 20px; color: var(--npb-text-2); line-height: 1.6; margin: 0 0 16px; }
.npb-article__meta {
	display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
	padding: 14px 0; border-top: 1px solid var(--npb-border); border-bottom: 1px solid var(--npb-border); margin-bottom: 20px;
}
.npb-byline { display: flex; gap: 12px; align-items: center; min-width: 0; }
.npb-byline__avatar { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; display: grid; place-items: center; background: var(--npb-soft); color: var(--npb-primary); border: 2px solid var(--npb-border); }
.npb-byline__name { font-weight: 700; font-size: 17px; display: block; line-height: 1.4; }
.npb-byline__time { font-size: 14px; color: var(--npb-muted); display: block; line-height: 1.5; }
.npb-byline__sep { margin: 0 4px; opacity: .5; }
.npb-article__tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.npb-fontsize { display: inline-flex; border: 1px solid var(--npb-border-2); border-radius: 20px; overflow: hidden; }
.npb-fontsize button { border: 0; background: transparent; padding: 3px 10px; cursor: pointer; font-weight: 700; font-size: 15px; line-height: 1.6; }
.npb-fontsize button + button { border-left: 1px solid var(--npb-border-2); }
.npb-fontsize button:hover { background: var(--npb-primary); color: #fff; }
.npb-share { display: flex; gap: 6px; flex-wrap: wrap; }
.npb-share__btn { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 0; cursor: pointer; padding: 0; transition: transform .15s, opacity .15s; }
.npb-share__btn:hover { color: #fff; transform: translateY(-2px); opacity: .9; }
.npb-share__btn--facebook { background: #1877f2; }
.npb-share__btn--x { background: #000; }
.npb-share__btn--whatsapp { background: #25d366; }
.npb-share__btn--linkedin { background: #0a66c2; }
.npb-share__btn--telegram { background: #229ed9; }
.npb-share__btn--copy { background: #6b7280; }
.npb-share__btn--print { background: #3f3f46; }
html.npb-dark .npb-share__btn--x { background: #333; }
.npb-article__media { margin: 0 0 22px; }
.npb-article__media img { width: 100%; border-radius: var(--npb-radius); }
.npb-article__media figcaption { font-size: 14.5px; color: var(--npb-muted); padding: 8px 2px; border-bottom: 1px solid var(--npb-border); }
.npb-video-embed { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--npb-radius); overflow: hidden; }
.npb-video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.entry-content { font-size: var(--npb-article-fs, 19px); line-height: 1.85; overflow-wrap: break-word; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content p { margin: 0 0 1.15em; }
.entry-content a { color: var(--npb-primary); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.entry-content h2 { font-size: 1.35em; margin: 1.4em 0 .6em; }
.entry-content h3 { font-size: 1.2em; margin: 1.3em 0 .5em; }
.entry-content h4 { font-size: 1.08em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin: 0 0 1.15em; }
.entry-content li { margin-bottom: .35em; }
.entry-content blockquote { border-left: 4px solid var(--npb-primary); background: var(--npb-soft); padding: 16px 20px; margin: 1.4em 0; font-size: 1.05em; border-radius: 0 var(--npb-radius) var(--npb-radius) 0; }
.entry-content blockquote p:last-child { margin: 0; }
.entry-content img, .entry-content figure { border-radius: var(--npb-radius); }
.entry-content figure { margin: 1.4em 0; }
.entry-content figcaption, .entry-content .wp-caption-text { font-size: 14.5px; color: var(--npb-muted); text-align: center; margin-top: 6px; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .9em; }
.entry-content th, .entry-content td { border: 1px solid var(--npb-border); padding: 8px 12px; text-align: left; }
.entry-content th { background: var(--npb-soft); }
.entry-content .alignwide, .entry-content .alignfull { max-width: 100%; }
.entry-content iframe { width: 100%; }
.npb-dateline { font-weight: 700; color: var(--npb-primary); margin-right: 2px; }
.npb-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 26px 0 0; }
.npb-tags__label { font-weight: 700; }
.npb-tags a { padding: 2px 14px; border-radius: 20px; background: var(--npb-soft); font-size: 15px; }
.npb-tags a::before { content: "#"; color: var(--npb-primary); margin-right: 2px; }
.npb-tags a:hover { background: var(--npb-primary); color: #fff; }
.npb-tags a:hover::before { color: #fff; }
.npb-share-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 14px 18px; background: var(--npb-soft); border-radius: var(--npb-radius); margin: 22px 0; }
.npb-share-bottom > span { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.npb-gnews { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border: 1px solid var(--npb-border-2); border-radius: var(--npb-radius); font-weight: 700; margin-bottom: 22px; }
.npb-gnews:hover { border-color: var(--npb-primary); }
.npb-related, .npb-interest { margin-top: 30px; }
.npb-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 18px; }
.npb-interest__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; }
.npb-page .npb-article__title { margin-top: 0; }

/* ---------- Comments ---------- */
.npb-comments { margin-top: 34px; }
.npb-comment-list { list-style: none; padding: 0; margin: 0 0 24px; }
.npb-comment-list .children { list-style: none; padding-left: 28px; }
.npb-comment-list .comment-body { padding: 14px 0; border-bottom: 1px solid var(--npb-border); }
.npb-comment-list .comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.npb-comment-list .comment-author img { border-radius: 50%; }
.npb-comment-list .comment-meta { font-size: 14px; color: var(--npb-muted); }
.npb-comment-list .says { display: none; }
.comment-respond { background: var(--npb-soft-2); border: 1px solid var(--npb-border); border-radius: var(--npb-radius); padding: 20px; }
.comment-reply-title { font-size: 21px; }
.comment-form p { margin-bottom: 12px; }
.comment-form label { display: block; font-weight: 600; margin-bottom: 4px; font-size: 15px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form-cookies-consent label { font-weight: 400; }

/* ---------- Archive ---------- */
.npb-archive-head { padding: 4px 0 16px; border-bottom: 1px solid var(--npb-border-2); margin-bottom: 4px; position: relative; }
.npb-archive-head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 90px; height: 4px; background: var(--npb-primary); }
.npb-archive-title { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin: 0; }
.npb-archive-desc { color: var(--npb-muted); margin: 6px 0 0; }
.npb-subcats { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; list-style: none; padding: 0; }
.npb-subcats a { display: inline-block; padding: 3px 15px; border: 1px solid var(--npb-border-2); border-radius: 20px; font-size: 15.5px; }
.npb-subcats a:hover, .npb-subcats a.is-active { background: var(--npb-primary); border-color: var(--npb-primary); color: #fff; }
.npb-archive-lead { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 26px; padding: 22px 0; border-bottom: 1px solid var(--npb-border); margin-bottom: 22px; }
.npb-archive-main { min-width: 0; padding-top: 18px; }
.npb-archive-list--grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 20px; }
.npb-archive-list--list > .npb-card { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--npb-border); }
.npb-empty-box { padding: 30px; background: var(--npb-soft-2); border-radius: var(--npb-radius); text-align: center; }
.npb-search-big { margin-top: 16px; }
.npb-search-big .npb-searchform { margin: 0; }
.npb-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 34px 0 10px; }
.npb-pagination .page-numbers, .npb-pagination--post > * { min-width: 42px; height: 42px; padding: 0 13px; display: inline-grid; place-items: center; border: 1px solid var(--npb-border-2); border-radius: var(--npb-radius); font-weight: 600; }
.npb-pagination .page-numbers.current { background: var(--npb-primary); border-color: var(--npb-primary); color: #fff; }
.npb-pagination a.page-numbers:hover { border-color: var(--npb-primary); color: var(--npb-primary); }
.npb-pagination .dots { border: 0; }

/* ---------- 404 ---------- */
.npb-404 { text-align: center; padding: 50px 0 30px; max-width: 640px; margin: 0 auto; }
.npb-404__code { font-size: 110px; font-weight: 900; color: var(--npb-primary); line-height: 1; margin: 0 0 10px; }
.npb-404 .npb-search-big { margin: 20px 0; }

/* ---------- Footer ---------- */
.npb-footer { background: var(--npb-footer-bg); color: #c9c9c9; margin-top: 36px; border-top: 4px solid var(--npb-primary); font-size: 15.5px; }
.npb-footer a { color: #e3e3e3; }
.npb-footer a:hover { color: #fff; }
.npb-footer__widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; padding-top: 34px; }
.npb-footer__widgets .npb-sec-title, .npb-footer__widgets .npb-sec-title a { color: #fff; }
.npb-footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 44px; padding-top: 42px; padding-bottom: 38px; }
.npb-footer .npb-logo--text a, .npb-footer .npb-logo__name { color: #fff; }
.npb-footer .npb-logo:not(.is-custom) img { filter: brightness(0) invert(1); }
.npb-footer__about { color: #a7a7a7; margin: 16px 0 18px; line-height: 1.75; }
.npb-footer__heading { color: #fff; font-size: 19px; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .12); position: relative; }
.npb-footer__heading::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 50px; height: 2px; background: var(--npb-primary); }
.npb-footer__info { list-style: none; margin: 0; padding: 0; }
.npb-footer__info li { display: flex; gap: 10px; margin-bottom: 12px; line-height: 1.6; }
.npb-footer__info .npb-icon { margin-top: 4px; color: var(--npb-primary); }
.npb-footer-menu { columns: 2; column-gap: 20px; list-style: none; padding: 0; margin: 0; }
.npb-footer-menu li { margin-bottom: 9px; break-inside: avoid; }
.npb-footer-menu a::before { content: "›"; color: var(--npb-primary); margin-right: 6px; font-weight: 700; }
.npb-apps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.npb-app { display: inline-flex; align-items: center; gap: 9px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 8px; padding: 6px 14px; line-height: 1.2; }
.npb-app:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.npb-app small { display: block; font-size: 11.5px; color: #a7a7a7; }
.npb-app strong { font-size: 15px; }
.npb-footer .npb-social a { background: rgba(255, 255, 255, .08); color: #fff; }
.npb-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(0, 0, 0, .3); padding: 15px 0; font-size: 14px; color: #9b9b9b; }
.npb-footer__bottom .npb-container { display: flex; justify-content: space-between; align-items: center; gap: 10px 20px; flex-wrap: wrap; }
.npb-footer__bottom a { color: #c9c9c9; }

/* ---------- Back to top / toast ---------- */
.npb-totop {
	position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; background: var(--npb-primary); color: #fff;
	border: 0; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s; z-index: 80;
	cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
.npb-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.npb-totop:hover { background: var(--npb-primary-dark); }
.npb-toast {
	position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: #222; color: #fff; padding: 10px 20px; border-radius: 30px;
	font-size: 15px; opacity: 0; visibility: hidden; transition: .2s; z-index: 2000; box-shadow: var(--npb-shadow);
}
.npb-toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- Drawer (all categories) ---------- */
.npb-drawer { position: fixed; inset: 0; z-index: 1000; visibility: hidden; }
.npb-drawer.is-open { visibility: visible; }
.npb-drawer__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity .25s; }
.npb-drawer.is-open .npb-drawer__overlay { opacity: 1; }
.npb-drawer__panel {
	position: absolute; left: 0; right: 0; top: 0; max-height: 100vh; overflow-y: auto; background: var(--npb-bg);
	transform: translateY(-100%); transition: transform .32s ease; box-shadow: var(--npb-shadow); border-bottom: 4px solid var(--npb-primary);
}
.npb-drawer.is-open .npb-drawer__panel { transform: none; }
body.admin-bar .npb-drawer__panel { top: var(--npb-admin); max-height: calc(100vh - var(--npb-admin)); }
.npb-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--npb-border); }
.npb-drawer__head .npb-logo img { max-height: 46px; }
.npb-drawer__head .npb-logo__mark { width: 44px; height: 44px; flex-basis: 44px; font-size: 26px; }
.npb-drawer__head .npb-logo__name { font-size: 30px; }
.npb-drawer__search { flex: 1; min-width: 0; max-width: 520px; }
.npb-drawer__search input[type="search"] { height: 42px; }
.npb-drawer__close { background: var(--npb-soft); }
.npb-drawer__body { padding: 22px 0 26px; }
.npb-drawer-menu { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px 26px; }
.npb-drawer-menu > li > a { font-weight: 800; font-size: 18px; color: var(--npb-text); display: block; padding-bottom: 6px; border-bottom: 2px solid var(--npb-border); }
.npb-drawer-menu > li > a:hover { color: var(--npb-primary); border-color: var(--npb-primary); }
.npb-drawer-menu .sub-menu { list-style: none; padding: 8px 0 0; margin: 0; }
.npb-drawer-menu .sub-menu a { display: block; padding: 3px 0; font-size: 15.5px; color: var(--npb-text-2); }
.npb-drawer-menu .sub-menu a:hover { color: var(--npb-primary); }
.npb-drawer__foot { background: var(--npb-soft); padding: 12px 0; font-size: 14.5px; color: var(--npb-text-2); }
.npb-drawer__foot .npb-container { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
body.npb-lock { overflow: hidden; }

/* ---------- Dark-mode niceties ---------- */
html.npb-dark .npb-card--overlay .npb-card__thumb img, html.npb-dark .npb-card__thumb img { filter: brightness(.93); }
html.npb-dark .npb-grid4-sec .npb-card { box-shadow: none; border: 1px solid var(--npb-border); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
	.npb-menu > li > a { padding: 13px 8px; font-size: 16.5px; }
	.npb-menu > li > a::after { left: 8px; right: 8px; }
	.npb-drawer-menu { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
	.npb-lead__grid, .npb-with-aside, .npb-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; }
	.npb-lead__top { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
	.npb-lead__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.npb-card--lead .npb-card__title, .npb-lead__big .npb-card--lead .npb-card__title { font-size: 26px; }
	.npb-nav { overflow-x: auto; scrollbar-width: none; }
	.npb-nav::-webkit-scrollbar { display: none; }
	.npb-menu .sub-menu, .npb-menu > .menu-item-has-children > a::before { display: none; }
	.npb-col4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.npb-drawer-menu { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	.npb-lead__grid, .npb-with-aside, .npb-layout { grid-template-columns: minmax(0, 1fr); }
	.npb-lead__aside, .npb-with-aside__side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
	.npb-sidebar { padding-top: 0; }
	.npb-masthead__ad { display: none; }
	.npb-masthead__in { justify-content: center; padding-top: 14px; padding-bottom: 14px; }
	.npb-topmenu-wrap { display: none; }
	.npb-block-c__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.npb-block-d__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.npb-block-d__center { grid-column: 1 / -1; order: -1; padding: 0 0 20px; margin: 0; border: 0; border-bottom: 1px solid var(--npb-border); }
	.npb-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 300px repeat(2, 190px); }
	.npb-mosaic > .npb-card:first-child { grid-row: span 1; }
	.npb-grid4, .npb-related__grid, .npb-archive-list--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.npb-country__grid { grid-template-columns: minmax(0, 1fr); }
	.npb-photo__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 300px 180px 180px; }
	.npb-photo__grid > .npb-card:first-child { grid-column: 1 / -1; grid-row: span 1; }
	.npb-video__grid { grid-template-columns: minmax(0, 1fr); }
	.npb-video__main .npb-card--overlay { min-height: 300px; }
	.npb-duo { grid-template-columns: minmax(0, 1fr); }
	.npb-footer__top { grid-template-columns: 1fr 1fr; }
	.npb-footer__brand { grid-column: 1 / -1; }
	.npb-drawer-menu { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.npb-tabsec__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 680px) {
	:root { --npb-fs: 16.5px; }
	.npb-container { padding: 0 14px; }
	.npb-hide-sm { display: none; }
	.npb-topbar { font-size: 13.5px; }
	.npb-topbar__in { justify-content: center; min-height: 34px; }
	.npb-topbar__right { display: none; }
	.npb-logo__name { font-size: 32px; }
	.npb-logo__mark { width: 46px; height: 46px; flex-basis: 46px; font-size: 27px; }
	.npb-logo img { max-height: 64px; }
	.npb-navbar__home { display: none; }
	.npb-navbar__in { min-height: 48px; gap: 0; }
	.npb-menu > li > a { padding: 12px 9px; font-size: 16px; }
	.npb-sec { padding: 18px 0; }
	.npb-sec-title { font-size: 22px; }
	.npb-sec-more { font-size: 14px; }
	.npb-lead__top, .npb-lead__texts, .npb-block-a__grid, .npb-block-b__texts, .npb-country__news, .npb-duo__inner, .npb-interest__grid, .npb-archive-lead { grid-template-columns: minmax(0, 1fr); }
	.npb-lead__aside, .npb-with-aside__side { grid-template-columns: minmax(0, 1fr); }
	.npb-card--lead .npb-card__title, .npb-lead__big .npb-card--lead .npb-card__title { font-size: 23px; }
	.npb-card--hz { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.npb-card--hz .npb-card__title { font-size: 22px; }
	.npb-card--row { grid-template-columns: 130px minmax(0, 1fr); gap: 12px; }
	.npb-card--row .npb-card__title { font-size: 17px; }
	.npb-card--row .npb-card__excerpt { display: none; }
	.npb-card--side { grid-template-columns: 112px minmax(0, 1fr); }
	.npb-block-c__grid > .npb-card:first-child { grid-row: span 1; }
	.npb-block-c__grid > .npb-card:first-child .npb-card__title, .npb-mosaic > .npb-card:first-child .npb-card__title, .npb-photo__grid > .npb-card:first-child .npb-card__title { font-size: 21px; }
	.npb-block-d__grid { gap: 18px; }
	.npb-mosaic { grid-template-rows: 240px repeat(2, 160px); gap: 10px; }
	.npb-card--overlay .npb-card__title { font-size: 16px; }
	.npb-photo__grid { grid-template-rows: 240px 150px 150px; gap: 10px; }
	.npb-col4 { grid-template-columns: minmax(0, 1fr); }
	.npb-tabsec__small { gap: 14px; }
	.npb-sec-head--tabs { flex-direction: column; align-items: flex-start; }
	.npb-tabs__nav--pills { justify-content: flex-start; padding-top: 8px; }
	.npb-video__list .npb-card--side { grid-template-columns: 120px minmax(0, 1fr); }
	.npb-article__subtitle { font-size: 18px; }
	.npb-article__meta { flex-direction: column; align-items: flex-start; }
	.npb-related__grid { gap: 18px 14px; }
	.npb-related__grid .npb-card__title { font-size: 16.5px; }
	.npb-archive-box .npb-archive-form { grid-template-columns: 1fr; }
	.npb-footer__top { grid-template-columns: minmax(0, 1fr); gap: 30px; }
	.npb-footer__bottom .npb-container { justify-content: center; text-align: center; }
	.npb-drawer__panel { right: auto; width: 88%; max-width: 380px; bottom: 0; max-height: none; transform: translateX(-100%); border-bottom: 0; border-right: 4px solid var(--npb-primary); }
	.npb-drawer__head { flex-wrap: wrap; }
	.npb-drawer__search { order: 3; flex-basis: 100%; max-width: none; }
	.npb-drawer-menu { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.npb-drawer-menu > li > a { padding: 11px 0; border-bottom-width: 1px; font-size: 17px; }
	.npb-drawer-menu .sub-menu { display: flex; flex-wrap: wrap; gap: 2px 14px; padding: 6px 0 10px; }
	.npb-drawer__foot .npb-container { flex-direction: column; align-items: flex-start; }
	.npb-404__code { font-size: 80px; }
}

@media (max-width: 680px) {
	.npb-lead__row, .npb-grid4, .npb-archive-list--grid, .npb-related__grid, .npb-block-c__grid, .npb-tabsec__small { gap: 16px 12px; }
	.npb-lead__row .npb-card__title, .npb-grid4 .npb-card__title, .npb-archive-list--grid .npb-card__title, .npb-related__grid .npb-card__title,
	.npb-block-c__grid .npb-card:not(:first-child) .npb-card__title, .npb-tabsec__small .npb-card__title, .npb-block-d__col .npb-card__title { font-size: 15.5px; line-height: 1.45; }
	.npb-grid4-sec .npb-card { padding: 6px 6px 10px; }
	.npb-grid4 .npb-card__time, .npb-related__grid .npb-card__time, .npb-archive-list--grid .npb-card__time { font-size: 12.5px; }
	.npb-block-c__grid > .npb-card:first-child { grid-column: 1 / -1; }
}

@media (max-width: 420px) {
	.npb-mosaic { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-rows: 210px; }
	.npb-mosaic > .npb-card:first-child { grid-column: auto; }
	.npb-photo__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-rows: 210px; }
	.npb-photo__grid > .npb-card:first-child { grid-column: auto; }
	.npb-logo__name { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	.npb-ticker__move { animation: none !important; }
	.npb-ticker__track { overflow-x: auto; }
}

/* ---------- Print ---------- */
@media print {
	.npb-topbar, .npb-navbar, .npb-trending, .npb-ticker, .npb-sidebar, .npb-footer, .npb-share, .npb-share-bottom, .npb-fontsize,
	.npb-ad, .npb-related, .npb-interest, .npb-comments, .npb-totop, .npb-drawer, .npb-gnews, .npb-breadcrumb, .npb-masthead__ad { display: none !important; }
	.npb-layout { display: block; }
	body { background: #fff; color: #000; }
	.entry-content { font-size: 14pt; }
	.entry-content a { color: #000; text-decoration: none; }
}

/* ==========================================================================
   v1.1 — নতুন ফিচার
   ========================================================================== */

/* Heading font (Customizer → টাইপোগ্রাফি) */
h1, h2, h3, h4, h5, h6, .npb-card__title, .npb-sec-title, .npb-logo__name, .npb-article__title, .npb-archive-title,
.npb-menu > li > a, .npb-drawer-menu > li > a, .npb-pgrid__title, .npb-vgallery__title { font-family: var(--npb-font-head, var(--npb-font)); }
.npb-btn--sm { padding: 5px 12px; font-size: 14px; }
.npb-note { font-size: 14px; color: var(--npb-muted); margin-top: 10px; }

/* Top-bar dropdowns */
.npb-tdrop { position: relative; }
.npb-tdrop__btn { display: inline-flex; align-items: center; gap: 5px; border: 0; background: transparent; padding: 4px 2px; cursor: pointer; color: inherit; font-size: 14.5px; }
.npb-tdrop__btn:hover, .npb-tdrop.is-open .npb-tdrop__btn { color: var(--npb-primary); }
.npb-tdrop__btn .npb-icon--down { transition: transform .2s; }
.npb-tdrop.is-open .npb-tdrop__btn .npb-icon--down { transform: rotate(180deg); }
.npb-tdrop__panel {
	position: absolute; right: 0; top: calc(100% + 6px); min-width: 210px; z-index: 120; background: var(--npb-card);
	border: 1px solid var(--npb-border); border-top: 3px solid var(--npb-primary); box-shadow: var(--npb-shadow); border-radius: 0 0 6px 6px;
	padding: 6px; display: none;
}
.npb-tdrop.is-open .npb-tdrop__panel { display: block; }
.npb-tdrop__item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 4px; font-size: 15px; color: var(--npb-text); }
.npb-tdrop__item:hover { background: var(--npb-soft); color: var(--npb-primary); }

/* Finder: 3 selects + archive variant */
.npb-archive-finder { margin: 18px 0 4px; }
.npb-archive-finder .npb-finder { display: grid; grid-template-columns: auto 1fr 1fr 1fr 140px; gap: 10px; align-items: center; padding: 14px 18px; }
.npb-archive-finder .npb-finder__title { margin: 0; font-size: 18px; white-space: nowrap; }
.npb-archive-finder .npb-finder select, .npb-archive-finder .npb-finder button { margin: 0; height: 44px; }
.npb-archive-finder .npb-finder__divs { grid-column: 1 / -1; margin: 4px 0 0; padding-top: 10px; }
.npb-area { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 18px 0 0; font-size: 15px; }
.npb-area .npb-icon { color: var(--npb-green); }
.npb-area__label { font-weight: 700; }
.npb-area a { padding: 1px 12px; border-radius: 20px; background: color-mix(in srgb, var(--npb-green) 12%, transparent); color: var(--npb-text); }
.npb-area a:hover { background: var(--npb-green); color: #fff; }
.npb-area__sep { color: var(--npb-muted); }

/* Prayer times */
.npb-prayer__box { border: 1px solid var(--npb-border); border-radius: 6px; overflow: hidden; background: var(--npb-card); }
.npb-prayer__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; background: var(--npb-soft); flex-wrap: wrap; }
.npb-district-select { height: 36px; padding: 0 8px; font-size: 15px; max-width: 160px; }
.npb-prayer__date { font-size: 13px; color: var(--npb-muted); }
.npb-prayer__next { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; background: linear-gradient(135deg, var(--npb-primary), var(--npb-primary-dark)); color: #fff; }
.npb-prayer__next-label { font-size: 15px; }
.npb-prayer__count { font-size: 22px; font-weight: 800; letter-spacing: .5px; font-variant-numeric: tabular-nums; }
.npb-prayer__list { list-style: none; margin: 0; padding: 4px 0; }
.npb-prayer__list li { display: flex; justify-content: space-between; padding: 8px 14px; font-size: 16px; }
.npb-prayer__list li + li { border-top: 1px dashed var(--npb-border); }
.npb-prayer__list li strong { font-variant-numeric: tabular-nums; }
.npb-prayer__list li.is-next { background: color-mix(in srgb, var(--npb-primary) 9%, transparent); color: var(--npb-primary); font-weight: 700; }
.npb-prayer__ramadan { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--npb-border); }
.npb-prayer__ramadan div { padding: 10px 14px; text-align: center; }
.npb-prayer__ramadan div + div { border-left: 1px solid var(--npb-border); }
.npb-prayer__ramadan small { display: block; color: var(--npb-muted); font-size: 13px; }
.npb-prayer__ramadan strong { font-size: 19px; color: var(--npb-green); }
.npb-prayer__month { margin-top: 26px; }
.npb-table-wrap { overflow-x: auto; border: 1px solid var(--npb-border); border-radius: 6px; }
.npb-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.npb-table th, .npb-table td { padding: 8px 10px; text-align: center; border-bottom: 1px solid var(--npb-border); white-space: nowrap; }
.npb-table th { background: var(--npb-primary); color: #fff; font-weight: 700; }
.npb-table tr:nth-child(even) td { background: var(--npb-soft-2); }
.npb-table tr.is-today td { background: color-mix(in srgb, var(--npb-primary) 12%, transparent); font-weight: 700; }

/* Weather */
.npb-weather { border-radius: 8px; padding: 18px; color: #fff; background: linear-gradient(150deg, #1a5d9a, #0d2f55); box-shadow: 0 8px 24px rgba(13, 47, 85, .25); }
.npb-weather.is-loading { opacity: .85; }
.npb-weather__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.npb-weather__title { font-weight: 800; font-size: 18px; }
.npb-weather .npb-district-select { background: rgba(255, 255, 255, .15); color: #fff; border-color: rgba(255, 255, 255, .35); }
.npb-weather .npb-district-select option, .npb-weather .npb-district-select optgroup { color: #111; }
.npb-weather__now { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; margin: 14px 0; }
.npb-weather__icon { grid-row: span 2; font-size: 54px; line-height: 1; }
.npb-weather__temp { font-size: 40px; font-weight: 800; line-height: 1.1; }
.npb-weather__desc { font-size: 15px; opacity: .9; }
.npb-weather__meta { list-style: none; margin: 0; padding: 12px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; border-top: 1px solid rgba(255, 255, 255, .2); border-bottom: 1px solid rgba(255, 255, 255, .2); text-align: center; }
.npb-weather__meta small { display: block; font-size: 12.5px; opacity: .75; }
.npb-weather__days { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; text-align: center; font-size: 14px; }
.npb-weather__days li { background: rgba(255, 255, 255, .1); border-radius: 6px; padding: 6px 4px; }
.npb-weather__days small { display: block; opacity: .8; }
.npb-weather__days span { display: block; font-size: 22px; }
.npb-weather__src { margin: 10px 0 0; font-size: 11.5px; opacity: .6; text-align: right; }
.npb-weather-sec__grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 26px; align-items: start; }
.npb-weather-sec__news { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; }

/* Photo gallery page */
.npb-gallery-wrap { padding-top: 20px; }
.npb-pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 230px; gap: 14px; }
.npb-pgrid__item.is-big { grid-column: span 2; grid-row: span 2; }
.npb-pgrid__link { position: relative; display: block; height: 100%; border-radius: 6px; overflow: hidden; background: #000; color: #fff; }
.npb-pgrid__link img, .npb-pgrid__link .npb-noimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.npb-pgrid__link:hover img { transform: scale(1.05); }
.npb-pgrid__link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .85)); }
.npb-pgrid__badge { position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; background: rgba(0, 0, 0, .6); padding: 3px 10px; border-radius: 20px; font-size: 13.5px; }
.npb-pgrid__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 14px 16px; }
.npb-pgrid__title { display: block; font-size: 18px; font-weight: 700; line-height: 1.45; }
.npb-pgrid__item.is-big .npb-pgrid__title { font-size: 26px; }
.npb-pgrid__time { display: block; font-size: 13px; opacity: .75; margin-top: 4px; }
.npb-pgrid__link:hover .npb-pgrid__title { color: var(--npb-gold); }

/* WordPress [gallery] inside articles */
.entry-content .gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 1.4em 0; }
.entry-content .gallery.gallery-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.entry-content .gallery.gallery-columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.entry-content .gallery-item { margin: 0; position: relative; overflow: hidden; border-radius: 6px; }
.entry-content .gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s; cursor: zoom-in; border: 0 !important; }
.entry-content .gallery-item:hover img { transform: scale(1.05); }
.entry-content .gallery-caption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 6px 8px; font-size: 13px; color: #fff; background: rgba(0, 0, 0, .55); text-align: left; }
.entry-content .gallery br { display: none; }

/* Video gallery page */
.npb-vgallery { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 22px; background: var(--npb-video-bg); color: #fff; padding: 20px; border-radius: 8px; }
.npb-vgallery__player { border-radius: 6px; }
.npb-vgallery__poster { position: absolute; inset: 0; display: block; }
.npb-vgallery__poster img { width: 100%; height: 100%; object-fit: cover; }
.npb-vgallery__title { font-size: 24px; margin: 14px 0 4px; }
.npb-vgallery__title a { color: #fff; }
.npb-vgallery__title a:hover { color: var(--npb-gold); }
.npb-vgallery .npb-card__time { color: rgba(255, 255, 255, .65); }
.npb-vgallery__list { display: flex; flex-direction: column; gap: 6px; max-height: 560px; overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.npb-vgallery__item { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px; border-radius: 6px; color: #fff; }
.npb-vgallery__item:hover, .npb-vgallery__item.is-active { background: rgba(255, 255, 255, .1); color: #fff; }
.npb-vgallery__item.is-active .npb-vgallery__name { color: var(--npb-gold); }
.npb-vgallery__thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: #2a2b2f; }
.npb-vgallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.npb-vgallery__thumb .npb-play { width: 30px; height: 30px; border-width: 1.5px; }
.npb-vgallery__name { font-size: 15.5px; line-height: 1.45; font-weight: 600; }

/* Video modal + lightbox */
.npb-vmodal, .npb-lb { position: fixed; inset: 0; z-index: 3000; display: none; }
.npb-vmodal.is-open, .npb-lb.is-open { display: flex; align-items: center; justify-content: center; }
.npb-vmodal__bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .85); }
.npb-vmodal__box { position: relative; width: min(960px, 94vw); }
.npb-vmodal__title { color: #fff; margin: 10px 0 0; font-size: 17px; }
.npb-vmodal__close, .npb-lb__close { position: absolute; top: -46px; right: 0; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.npb-lb { background: rgba(0, 0, 0, .92); }
.npb-lb figure { margin: 0; max-width: 92vw; max-height: 88vh; text-align: center; }
.npb-lb img { max-width: 92vw; max-height: 80vh; margin: 0 auto; object-fit: contain; border-radius: 4px; }
.npb-lb figcaption { color: #ddd; font-size: 15px; margin-top: 10px; }
.npb-lb__count { color: var(--npb-gold); font-weight: 700; margin-right: 6px; }
.npb-lb__close { top: 16px; right: 16px; }
.npb-lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 70px; border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-size: 40px; cursor: pointer; border-radius: 6px; }
.npb-lb__nav:hover, .npb-lb__close:hover, .npb-vmodal__close:hover { background: var(--npb-primary); }
.npb-lb__prev { left: 14px; }
.npb-lb__next { right: 14px; }
.npb-lb.is-single .npb-lb__nav, .npb-lb.is-single .npb-lb__count { display: none; }

/* Date converter */
.npb-conv { border: 1px solid var(--npb-border); border-radius: 8px; padding: 18px; background: var(--npb-card); }
.npb-conv__nav { justify-content: flex-start; margin-bottom: 14px; }
.npb-conv__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.npb-conv__row label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 15px; flex: 1 1 140px; }
.npb-conv__row input, .npb-conv__row select, .npb-conv__row textarea { height: 46px; width: 100%; }
.npb-conv__row textarea { height: auto; min-height: 90px; }
.npb-conv__row--num label { flex-basis: 100%; }
.npb-conv__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.npb-conv__row .npb-btn { height: 46px; }
.npb-conv__result { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.npb-conv__card { background: var(--npb-soft-2); border: 1px solid var(--npb-border); border-left: 4px solid var(--npb-primary); border-radius: 6px; padding: 14px; }
.npb-conv__card--wide { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.npb-conv__card small { display: block; color: var(--npb-muted); font-size: 13.5px; }
.npb-conv__card strong { display: block; font-size: 20px; line-height: 1.45; margin-top: 4px; }
.npb-conv__card em { font-style: normal; font-size: 14px; color: var(--npb-primary); }
.npb-conv__num { word-break: break-all; }
.npb-conv__err { grid-column: 1 / -1; color: var(--npb-primary); font-weight: 600; margin: 0; }

@media (max-width: 1100px) {
	.npb-archive-finder .npb-finder { grid-template-columns: 1fr 1fr 1fr; }
	.npb-archive-finder .npb-finder__title { grid-column: 1 / -1; }
	.npb-weather-sec__grid { grid-template-columns: 320px minmax(0, 1fr); }
	.npb-weather-sec__news { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
	.npb-weather-sec__grid, .npb-vgallery { grid-template-columns: minmax(0, 1fr); }
	.npb-pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; }
	.npb-vgallery__list { max-height: none; }
}
@media (max-width: 680px) {
	.npb-archive-finder .npb-finder { grid-template-columns: minmax(0, 1fr); }
	.npb-pgrid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 220px; }
	.npb-pgrid__item.is-big { grid-column: auto; grid-row: span 1; }
	.npb-pgrid__item.is-big .npb-pgrid__title { font-size: 20px; }
	.npb-conv__result { grid-template-columns: minmax(0, 1fr); }
	.npb-vgallery { padding: 12px; }
	.npb-vgallery__item { grid-template-columns: 120px minmax(0, 1fr); }
	.entry-content .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.npb-lb__nav { width: 40px; height: 56px; font-size: 32px; }
	.npb-weather__meta { grid-template-columns: repeat(2, 1fr); }
}
.npb-drawer__extra { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.npb-drawer__app { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; padding: 2px 10px; border: 1px solid var(--npb-border-2); border-radius: 14px; }
.npb-lead__aside .npb-lp__list { max-height: 470px; }
.npb-days span.is-empty { display: flex; gap: 8px; align-items: center; padding: 10px 14px; border: 1px dashed var(--npb-border); border-radius: var(--npb-radius); color: var(--npb-muted); }
.npb-days small { color: var(--npb-muted); }
@media (max-width: 900px) { .npb-navbar.is-stuck .npb-navbar__logo { display: none; } }
