:root {
	--np-red: #c0121a;
	--np-red-dark: #970d13;
	--np-black: #1c1c1c;
	--np-navy: #1b1b2f;
	--np-text: #222;
	--np-muted: #6b6b6b;
	--np-border: #e6e6e6;
	--np-bg: #ffffff;
	--np-bg-alt: #f4f4f4;
	--np-font: 'SolaimanLipi', 'Siyam Rupali', Arial, 'Segoe UI', sans-serif;
}

html.npbd-dark {
	--np-text: #eaeaea;
	--np-muted: #a9a9a9;
	--np-border: #333;
	--np-bg: #121212;
	--np-bg-alt: #1a1a1a;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--np-font); color: var(--np-text); background: var(--np-bg); font-size: 15px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { margin: 0; }
button, input, textarea, select { font-family: inherit; }
button { cursor: pointer; }

.npbd-container { max-width: 1320px; margin: 0 auto; padding: 0 16px; }

/* Base search form (reused inside the topbar, mobile panel, 404 page, etc.) */
.npbd-search-form { display: flex; align-items: center; border: 1px solid var(--np-border); border-radius: 6px; overflow: hidden; max-width: 420px; }
.npbd-search-input { flex: 1; border: 0; padding: 9px 6px; font-size: 14px; background: var(--np-bg); color: var(--np-text); }
.npbd-search-input:focus { outline: none; }
.npbd-search-btn { border: 0; background: transparent; color: var(--np-muted); padding: 8px 0 8px 12px; flex-shrink: 0; font-size: 14px; }
.npbd-search-mic { padding: 0 12px; color: var(--np-muted); flex-shrink: 0; font-size: 14px; }

/* ---------------- Row 1: Topbar (hamburger / search+date / logo / social+toggle) ---------------- */
.npbd-header { background: var(--np-bg); position: relative; }
.npbd-topbar { padding: 16px 0; border-bottom: 0; }
.npbd-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.npbd-hamburger {
	display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px;
	width: 42px; height: 42px; flex-shrink: 0; background: #fff; border: 1px solid var(--np-border); border-radius: 6px; padding: 0;
}
.npbd-hamburger span { width: 18px; height: 2px; background: var(--np-text); display: block; }

.npbd-search-wrap { flex: 1; max-width: 320px; }
.npbd-search-wrap .npbd-search-form { max-width: none; background: var(--np-bg-alt); border-color: var(--np-border); }
.npbd-search-wrap .npbd-search-input { background: transparent; }
.npbd-search-wrap .npbd-search-btn { background: transparent; color: var(--np-muted); padding: 8px 10px; }
.npbd-topbar-date { font-size: 12px; color: var(--np-muted); margin-top: 6px; }

.npbd-mobile-search-toggle { display: none; }

.npbd-logo { text-align: center; flex-shrink: 0; }
.npbd-logo img { max-height: 64px; margin: 0 auto; }
.npbd-logo-text { font-size: 30px; font-weight: 800; font-family: Georgia, 'Times New Roman', serif; color: var(--np-red); letter-spacing: -.5px; }

.npbd-topbar-right { display: flex; align-items: center; gap: 12px; flex: 1; justify-content: flex-end; }
.npbd-social-icons { display: flex; gap: 8px; }
.npbd-icon {
	width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	font-size: 13px; background: var(--np-bg-alt); color: var(--np-text); border: 0;
}
.npbd-icon-yt { background: #ff0000; color: #fff; }
.npbd-icon-fb { background: #1877f2; color: #fff; }
.npbd-icon-x { background: #000; color: #fff; }
.npbd-icon-in { background: #0a66c2; color: #fff; }
.npbd-theme-toggle-wrap { text-align: center; }
.npbd-theme-toggle { background: var(--np-bg-alt); }
.npbd-theme-toggle-label { display: block; font-size: 10.5px; color: var(--np-muted); margin-top: 4px; }

/* ---------------- Row 2: Dark navigation bar ---------------- */
.npbd-navbar { background: var(--np-navy); }
.npbd-navbar-inner { display: flex; align-items: stretch; }
.npbd-nav-menu { display: flex; flex-wrap: wrap; }
.npbd-nav-home a { padding: 14px 18px; font-size: 16px; }
.npbd-nav-menu li { position: relative; }
.npbd-nav-menu > li > a {
	display: block; padding: 14px 15px; color: #f2f2f2; font-size: 14px; font-weight: 500; white-space: nowrap; transition: background .15s;
}
.npbd-nav-menu > li > a:hover, .npbd-nav-menu > li.npbd-submenu-open > a { background: var(--np-red); color: #fff; }
.npbd-caret { font-size: 10px; }
.npbd-submenu { position: absolute; top: 100%; left: 0; min-width: 190px; background: var(--np-navy); box-shadow: 0 8px 20px rgba(0,0,0,.2); display: none; z-index: 40; border-top: 2px solid var(--np-red); }
.npbd-nav-menu li:hover > .npbd-submenu, .npbd-nav-menu li.npbd-submenu-open > .npbd-submenu { display: block; }
.npbd-submenu li a { display: block; padding: 10px 16px; color: #eee; font-size: 13.5px; }
.npbd-submenu li a:hover { background: var(--np-red); color: #fff; }

.npbd-header-search-mobile { display: none; border-top: 1px solid var(--np-border); padding: 12px 0; background: var(--np-bg); }
.npbd-header-search-mobile.npbd-search-open { display: block; }

/* Shared marquee animation: enters from the right, exits to the left
   (right → left), used by both the news ticker and trending tags. */
@keyframes npbd-scroll-rtl {
	from { transform: translateX(100%); }
	to   { transform: translateX(-100%); }
}

/* ---------------- News ticker (row 3 — "শিরোনাম") ---------------- */
.npbd-news-ticker { background: var(--np-red); color: #fff; overflow: hidden; }
.npbd-news-ticker-inner { display: flex; align-items: center; height: 38px; max-height: 38px; gap: 14px; overflow: hidden; }
.npbd-news-ticker-label {
	background: var(--np-red-dark); padding: 6px 14px; font-weight: 700; font-size: 13px; line-height: 1.2;
	white-space: nowrap; flex-shrink: 0; border-radius: 2px;
}
.npbd-news-ticker-track-wrap { overflow: hidden; flex: 1; min-width: 0; height: 100%; position: relative; }
.npbd-news-ticker-track {
	display: flex; align-items: center; height: 100%; width: max-content; white-space: nowrap;
	animation: npbd-scroll-rtl 32s linear infinite; margin: 0; padding: 0; list-style: none;
}
.npbd-news-ticker-track li { display: flex; align-items: center; flex-shrink: 0; white-space: nowrap; }
.npbd-news-ticker-track li a { color: #fff; font-size: 13px; line-height: 1.2; padding: 0 22px; white-space: nowrap; }
.npbd-news-ticker-track li:not(:last-child)::after { content: '■'; font-size: 7px; color: rgba(255,255,255,.6); flex-shrink: 0; }

/* ---------------- Trending tags (row 4) ---------------- */
.npbd-trending { background: var(--np-bg); border-bottom: 1px solid var(--np-border); }
.npbd-trending-inner { display: flex; align-items: center; gap: 14px; padding: 12px 16px; }
.npbd-trending-label {
	display: flex; align-items: center; gap: 6px; background: var(--np-black); color: #fff; padding: 6px 14px;
	border-radius: 20px; font-size: 12.5px; font-weight: 700; flex-shrink: 0;
}
.npbd-trending-label::before { content: '📶'; font-size: 11px; }
.npbd-trending-track-wrap { overflow: hidden; flex: 1; position: relative; }
.npbd-trending-list { display: flex; width: max-content; gap: 10px; flex-wrap: nowrap; animation: npbd-scroll-rtl 26s linear infinite; }
.npbd-trending-list li a {
	display: block; white-space: nowrap; background: var(--np-bg-alt); border-radius: 20px;
	padding: 6px 16px; font-size: 12.5px; font-weight: 600; color: var(--np-text);
}
.npbd-trending-list li a:hover { background: var(--np-red); color: #fff; }

/* ---------------- Category sections ---------------- */
.npbd-cat-section { padding: 30px 0 6px; }
.npbd-section-head { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 2px solid var(--np-black); padding-bottom: 8px; margin-bottom: 16px; }
.npbd-section-head h2 { font-size: 19px; font-weight: 800; border-bottom: 3px solid var(--np-red); padding-bottom: 8px; margin-bottom: -10px; display: inline-block; }
.npbd-more { font-size: 13px; color: var(--np-muted); white-space: nowrap; }

/* Dhakamail-style featured section */
.npbd-featured-hero { padding: 28px 0; background: var(--np-bg); margin-bottom: 24px; border-bottom: 1px solid var(--np-border); }
.npbd-featured-hero-inner { display: grid; grid-template-columns: 2fr 1fr; gap: 28px; align-items: start; }
.npbd-featured-hero-main { display: block; border-radius: 4px; overflow: hidden; }
.npbd-featured-hero-thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.npbd-featured-hero-content { padding: 18px 0 0; }
.npbd-featured-hero-title { font-size: 22px; font-weight: 800; line-height: 1.45; color: var(--np-text); margin: 0 0 12px; }
.npbd-featured-hero-title a:hover { color: var(--np-red); }
.npbd-featured-hero-excerpt { font-size: 15px; line-height: 1.6; color: var(--np-muted); margin: 0; }

.npbd-featured-sidebar { display: flex; flex-direction: column; gap: 16px; }
.npbd-featured-side-item { display: block; border-bottom: 1px solid var(--np-border); padding-bottom: 14px; }
.npbd-featured-side-item:last-child { border-bottom: 0; }
.npbd-featured-side-thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 3px; margin-bottom: 8px; }
.npbd-featured-side-title { font-size: 14px; font-weight: 700; line-height: 1.4; color: var(--np-text); }
.npbd-featured-side-title a:hover { color: var(--np-red); }

.npbd-cat-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 20px; }
.npbd-card-featured-thumb { display: block; border-radius: 3px; overflow: hidden; margin-bottom: 10px; }
.npbd-card-featured-thumb img { width: 100%; height: 220px; object-fit: cover; }
.npbd-card-featured-title { font-size: 16px; font-weight: 700; line-height: 1.4; }
.npbd-card-featured-title:hover { color: var(--np-red); }

.npbd-card-small { display: block; margin-bottom: 14px; }
.npbd-card-small-thumb { display: block; border-radius: 3px; overflow: hidden; margin-bottom: 8px; }
.npbd-card-small-thumb img { width: 100%; height: 110px; object-fit: cover; }
.npbd-card-small-title { font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.npbd-card-small-title:hover { color: var(--np-red); }

/* ---------------- Ad box ---------------- */
.npbd-ad-box { text-align: center; margin: 14px 0 4px; }
.npbd-ad-label { display: block; font-size: 11px; color: var(--np-muted); margin-bottom: 6px; letter-spacing: .5px; }
.npbd-ad-box img { margin: 0 auto; border-radius: 6px; max-height: 220px; width: auto; }

/* ---------------- Video gallery ---------------- */
.npbd-video-gallery { padding: 30px 0 6px; }
.npbd-video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.npbd-video-card { position: relative; display: block; border-radius: 4px; overflow: hidden; }
.npbd-video-card img { width: 100%; height: 160px; object-fit: cover; }
.npbd-play-btn {
	position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
	width: 46px; height: 46px; border-radius: 50%; background: var(--np-red); color: #fff;
	display: flex; align-items: center; justify-content: center; font-size: 16px; border: 3px solid #fff;
}
.npbd-video-title { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.65); color: #fff; padding: 8px 10px; font-size: 12.5px; font-weight: 600; }

/* ---------------- Latest/Popular tabs ---------------- */
.npbd-latest-popular { padding: 34px 0 10px; background: var(--np-bg-alt); margin-top: 20px; }
.npbd-tab-nav { display: flex; max-width: 320px; margin: 0 auto 20px; border-radius: 4px; overflow: hidden; }
.npbd-tab-btn { flex: 1; padding: 10px; border: 0; background: #fff; font-weight: 700; font-size: 14.5px; color: var(--np-muted); }
.npbd-tab-btn.active { background: var(--np-red); color: #fff; }
.npbd-tab-panel { display: none; }
.npbd-tab-panel.active { display: block; }
.npbd-tab-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.npbd-tab-card-thumb { position: relative; display: block; border-radius: 4px; overflow: hidden; margin-bottom: 6px; }
.npbd-tab-card-thumb img { width: 100%; height: 100px; object-fit: cover; }
.npbd-tab-num-badge {
	position: absolute; top: 6px; left: 6px; width: 24px; height: 24px; border-radius: 50%;
	background: var(--np-red); color: #fff; font-size: 12px; font-weight: 700; display: flex;
	align-items: center; justify-content: center; box-shadow: 0 1px 3px rgba(0,0,0,.3);
}
.npbd-tab-card-title { display: block; font-size: 13px; font-weight: 600; line-height: 1.4; }
.npbd-tab-card:hover .npbd-tab-card-title { color: var(--np-red); }

/* ---------------- Footer ---------------- */
.npbd-footer { background: var(--np-bg-alt); border-top: 3px solid var(--np-red); margin-top: 40px; padding: 40px 0 0; }
.npbd-footer-grid { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr; gap: 40px; padding-bottom: 30px; }

/* Column 1: brand */
.npbd-footer-logo { margin-bottom: 12px; }
.npbd-footer-logo img { max-height: 60px; }
.npbd-footer-editors p { font-size: 13.5px; font-weight: 700; margin: 4px 0; }
.npbd-footer-social { display: flex; gap: 10px; margin-top: 16px; }
.npbd-social-icon {
	width: 34px; height: 34px; border-radius: 50%; color: #fff;
	display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; background: var(--np-black);
}
.npbd-social-icon.npbd-icon-yt { background: #ff0000; }
.npbd-social-icon.npbd-icon-fb { background: #1877f2; }
.npbd-social-icon.npbd-icon-x { background: #000; }
.npbd-social-icon.npbd-icon-in { background: #0a66c2; }
.npbd-social-icon.npbd-icon-ig { background: #d62976; }
.npbd-social-icon:hover { opacity: .85; }

/* Column 2: contact / Column 3: links — shared heading style */
.npbd-footer-contact-col h3, .npbd-footer-links-col h3 {
	font-size: 18px; font-weight: 800; margin: 0 0 6px; border-bottom: 3px solid var(--np-red); display: inline-block; padding-bottom: 8px;
}
.npbd-footer-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; margin: 12px 0 0; }
.npbd-footer-row .npbd-footer-ico { flex-shrink: 0; }
.npbd-footer-row a:hover { color: var(--np-red); }

.npbd-footer-menu { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.npbd-footer-menu li a { font-size: 13.5px; color: var(--np-text); }
.npbd-footer-menu li a:hover { color: var(--np-red); }

.npbd-footer-copyright { font-size: 12.5px; color: var(--np-muted); border-top: 1px solid var(--np-border); padding: 14px 0; }


/* ---------------- Single post ---------------- */
.npbd-single-layout { display: grid; grid-template-columns: 2.3fr 1fr; gap: 34px; margin: 26px auto; align-items: start; }
.npbd-breadcrumb { font-size: 13px; color: var(--np-muted); margin-bottom: 14px; }
.npbd-breadcrumb a { color: var(--np-red); }

.npbd-single-title { font-size: 26px; font-weight: 800; line-height: 1.45; margin-bottom: 12px; }

.npbd-single-author { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.npbd-author-avatar { border-radius: 50%; }
.npbd-author-name { font-weight: 700; font-size: 14px; color: var(--np-text); }
.npbd-author-name:hover { color: var(--np-red); }

.npbd-single-meta-row {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--np-muted);
	padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--np-border);
}
.npbd-meta-sep { color: var(--np-border); }
.npbd-meta-link { color: var(--np-muted); }
.npbd-meta-link:hover { color: var(--np-red); text-decoration: underline; }

.npbd-single-icon-row { display: flex; gap: 10px; margin-bottom: 22px; }
.npbd-icon-circle {
	width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 1px solid var(--np-border);
	display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--np-text);
}
.npbd-icon-circle:hover { background: var(--np-bg-alt); }

/* Print-view mode: triggered by ?print_view=1, hides site chrome */
.npbd-print-view .npbd-header,
.npbd-print-view .npbd-sidebar,
.npbd-print-view .npbd-footer,
.npbd-print-view .npbd-inline-ad,
.npbd-print-view .npbd-single-icon-row,
.npbd-print-view .npbd-breadcrumb { display: none !important; }
.npbd-print-view .npbd-single-layout { grid-template-columns: 1fr; }

@media print {
	.npbd-header, .npbd-sidebar, .npbd-footer, .npbd-inline-ad, .npbd-single-icon-row,
	.npbd-breadcrumb, .npbd-more-read { display: none !important; }
	.npbd-single-layout { grid-template-columns: 1fr; }
	body { font-size: 13pt; }
}

.npbd-single-thumb { margin: 0 0 8px; border-radius: 4px; overflow: hidden; }
.npbd-single-thumb img { width: 100%; }
.npbd-single-thumb figcaption { font-size: 12.5px; color: var(--np-muted); text-align: center; padding: 8px 6px 20px; }

.npbd-single-content { font-size: 16px; line-height: 1.95; }
.npbd-single-content p { margin: 0 0 18px; }
.npbd-single-content img { border-radius: 4px; margin: 6px auto 4px; display: block; }
.npbd-single-content figure { margin: 20px 0; }
.npbd-single-content figcaption { font-size: 12.5px; color: var(--np-muted); text-align: center; padding-top: 8px; }
.npbd-single-content blockquote { border-right: 4px solid var(--np-red); background: var(--np-bg-alt); padding: 14px 18px; margin: 20px 0; font-style: normal; }

/* [npbd_more_read] shortcode callout */
.npbd-more-read { border-right: 4px solid var(--np-red); border-left: 4px solid var(--np-red); background: var(--np-bg-alt); padding: 12px 16px; margin: 22px 0; font-size: 14.5px; border-radius: 3px; }
.npbd-more-read-label { color: var(--np-red); font-weight: 800; }
.npbd-more-read a { color: var(--np-text); font-weight: 600; }
.npbd-more-read a:hover { color: var(--np-red); }

/* [npbd_ad] shortcode slot */
.npbd-inline-ad { margin: 26px 0; text-align: center; }
.npbd-inline-ad-label { display: block; font-size: 11px; color: var(--np-muted); margin-bottom: 8px; letter-spacing: .5px; }
.npbd-inline-ad-slot { min-height: 90px; background: var(--np-bg-alt); border: 1px dashed var(--np-border); border-radius: 8px; display: flex; align-items: center; justify-content: center; }

.npbd-byline-sign { font-weight: 800; font-size: 15px; margin: 20px 0; }

.npbd-single-tags { margin: 24px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 18px; border-top: 1px solid var(--np-border); }
.npbd-tags-label { font-weight: 700; font-size: 13px; color: var(--np-text); margin-right: 2px; }
.npbd-tag { background: var(--np-bg-alt); padding: 6px 12px; border-radius: 3px; font-size: 12.5px; }
.npbd-tag a:hover { color: var(--np-red); }

/* ---------------- Sidebar widgets ---------------- */
.npbd-sidebar { display: flex; flex-direction: column; gap: 26px; }
.npbd-widget { border: 1px solid var(--np-border); border-radius: 4px; padding: 16px; }
.npbd-widget-title { font-size: 16px; font-weight: 800; border-bottom: 2px solid var(--np-red); padding-bottom: 10px; margin-bottom: 12px; }
.npbd-numbered-list li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--np-border); font-size: 14px; }
.npbd-numbered-list li:last-child { border-bottom: 0; }
.npbd-num { width: 26px; height: 26px; border-radius: 50%; background: var(--np-red); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Single-post sidebar tabs box (সর্বশেষ/জনপ্রিয় + সব খবর) */
.npbd-sidebar-tabs-widget { padding: 0; overflow: hidden; }
.npbd-sidebar-tabs-widget .npbd-tab-nav { max-width: none; margin: 0; border-radius: 0; }
.npbd-sidebar-tabs-widget .npbd-tab-btn { background: var(--np-navy); color: #fff; }
.npbd-sidebar-tabs-widget .npbd-tab-btn.active { background: var(--np-red); }
.npbd-sidebar-tabs-widget .npbd-tab-panel { padding: 6px 16px; }
.npbd-sidebar-tabs-widget .npbd-numbered-list li:first-child .npbd-num { background: var(--np-red); }
.npbd-sidebar-tabs-widget .npbd-numbered-list li:not(:first-child) .npbd-num { background: #b9bcc4; }
.npbd-all-news-btn { display: block; text-align: center; background: var(--np-red); color: #fff; padding: 12px; font-weight: 700; margin: 10px 16px 16px; border-radius: 3px; }

/* "এই ক্যাটাগরির আরও খবর" list: thumbnail-left / title-right rows
   with dashed separators (overrides the vertical grid-card style
   used elsewhere on the site). */
.npbd-single-sidebar .npbd-card-small {
	display: flex; gap: 10px; align-items: flex-start; margin-bottom: 0;
	padding: 12px 0; border-bottom: 1px dashed var(--np-border);
}
.npbd-single-sidebar .npbd-card-small:first-child { padding-top: 0; }
.npbd-single-sidebar .npbd-card-small:last-child { border-bottom: 0; padding-bottom: 0; }
.npbd-single-sidebar .npbd-card-small-thumb { flex-shrink: 0; width: 76px; height: 56px; margin-bottom: 0; }
.npbd-single-sidebar .npbd-card-small-thumb img { height: 100%; }
.npbd-single-sidebar .npbd-card-small-title { font-size: 13px; }

/* ---------------- Archive/category/search/index ---------------- */
.npbd-archive-head { margin: 26px 0 20px; }
.npbd-archive-head h1 { font-size: 24px; font-weight: 800; border-bottom: 3px solid var(--np-red); padding-bottom: 10px; display: inline-block; }
.npbd-archive-desc { font-size: 13px; color: var(--np-muted); margin-top: 8px; }
.npbd-archive-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.npbd-archive-card { display: flex; gap: 14px; border-bottom: 1px dashed var(--np-border); padding-bottom: 16px; }
.npbd-archive-card-thumb { flex-shrink: 0; width: 160px; height: 110px; border-radius: 4px; overflow: hidden; }
.npbd-archive-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.npbd-archive-card-body h2 { font-size: 15.5px; margin-bottom: 6px; }
.npbd-archive-card-body p { font-size: 13px; color: var(--np-muted); margin: 0 0 6px; }
.npbd-archive-card-date { font-size: 11.5px; color: var(--np-muted); }
.npbd-pagination { margin: 30px 0; display: flex; justify-content: center; gap: 8px; }
.npbd-pagination a, .npbd-pagination span { padding: 8px 14px; border: 1px solid var(--np-border); border-radius: 3px; font-size: 13px; }

.npbd-btn { display: inline-block; background: var(--np-red); color: #fff; padding: 10px 22px; border-radius: 4px; font-weight: 700; margin-top: 14px; }
.npbd-404 { text-align: center; padding: 80px 20px; }
.npbd-404 h1 { font-size: 60px; color: var(--np-red); }

/* ---------------- Comments ---------------- */
.npbd-comments-area { margin-top: 30px; border-top: 2px solid var(--np-border); padding-top: 20px; }
.npbd-comments-title { font-size: 18px; margin-bottom: 16px; }
.npbd-comment-list { padding: 0; }
.npbd-comment { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--np-border); }
.npbd-comment-avatar img { border-radius: 50%; }
.npbd-comment-meta { display: flex; gap: 10px; font-size: 13px; margin-bottom: 6px; }
.npbd-comment-author { font-weight: 700; }
.npbd-comment-date { color: var(--np-muted); }
.npbd-comment-textarea { width: 100%; min-height: 100px; padding: 10px; border: 1px solid var(--np-border); border-radius: 4px; font-family: inherit; }
#commentform input[type="text"], #commentform input[type="email"], #commentform input[type="url"] {
	padding: 9px; border: 1px solid var(--np-border); border-radius: 4px; margin-bottom: 10px; width: 100%; max-width: 320px;
}
#commentform input[type="submit"] { background: var(--np-red); color: #fff; border: 0; padding: 10px 24px; border-radius: 4px; font-weight: 700; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1100px) {
	.npbd-cat-grid { grid-template-columns: repeat(2, 1fr); }
	.npbd-video-grid { grid-template-columns: repeat(2, 1fr); }
	.npbd-tab-grid { grid-template-columns: repeat(2, 1fr); }
	.npbd-single-layout { grid-template-columns: 1fr; }
	.npbd-archive-grid { grid-template-columns: 1fr; }
	.npbd-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
	.npbd-topbar-inner { flex-wrap: wrap; gap: 10px; }
	.npbd-search-wrap { display: none; }
	.npbd-mobile-search-toggle { display: flex; width: 38px; height: 38px; border-radius: 50%; background: var(--np-bg-alt); border: 1px solid var(--np-border); align-items: center; justify-content: center; font-size: 14px; order: 2; }
	.npbd-logo { order: 1; flex: 1; }
	.npbd-topbar-right { order: 3; }
	.npbd-logo img { max-height: 42px; }
	.npbd-logo-text { font-size: 20px; }

	.npbd-navbar-inner { position: relative; }
	.npbd-navbar .npbd-nav-menu:not(.npbd-nav-home) {
		display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--np-navy);
		flex-direction: column; z-index: 50; padding: 8px 0;
	}
	.npbd-navbar.npbd-nav-open .npbd-nav-menu:not(.npbd-nav-home) { display: flex; }
	.npbd-submenu { position: static; box-shadow: none; }

	.npbd-cat-grid { grid-template-columns: repeat(2, 1fr); }
	.npbd-video-grid { grid-template-columns: 1fr; }
	.npbd-tab-grid { grid-template-columns: repeat(2, 1fr); }
	.npbd-single-title { font-size: 20px; }
	.npbd-footer-grid { grid-template-columns: 1fr; gap: 26px; }

	/* Sidebar mobile menu */
	.npbd-navbar { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: transparent; z-index: 999; pointer-events: none; }
	.npbd-navbar.npbd-nav-open { pointer-events: auto; }
	.npbd-navbar-inner { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; flex-direction: column; background: #fff; z-index: 998; transform: translateX(-100%); transition: transform 0.3s ease; padding: 0; }
	.npbd-navbar.npbd-nav-open .npbd-navbar-inner { transform: translateX(0); overflow-y: auto; }
	
	/* Close button in sidebar */
	.npbd-nav-close { display: none; position: fixed; top: 20px; right: 20px; width: 30px; height: 30px; background: transparent; border: none; font-size: 24px; color: #333; cursor: pointer; z-index: 1000; }
	.npbd-navbar.npbd-nav-open .npbd-nav-close { display: block; }
	.npbd-navbar.npbd-nav-open::before { content: ''; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 997; }
	
	.npbd-nav-home { display: none; }
	.npbd-navbar-inner .npbd-nav-menu { flex-direction: column; width: 100%; gap: 0; padding: 60px 0 20px; }
	.npbd-navbar-inner .npbd-nav-menu > li { border-bottom: 1px solid #eee; }
	.npbd-navbar-inner .npbd-nav-menu > li > a { display: block; padding: 16px 20px; font-size: 15px; color: #333; white-space: normal; }
	.npbd-navbar-inner .npbd-nav-menu > li > a:hover { background: #f5f5f5; }
	
	/* Dropdown menu */
	.npbd-navbar-inner .npbd-nav-menu > li.menu-item-has-children > a::after { content: '▼'; float: right; font-size: 10px; }
	.npbd-navbar-inner .npbd-nav-menu > li.menu-item-has-children.npbd-submenu-open > a::after { content: '▲'; }
	.npbd-navbar-inner .npbd-nav-menu ul.sub-menu { display: none; background: #f9f9f9; }
	.npbd-navbar-inner .npbd-nav-menu li.npbd-submenu-open > ul.sub-menu { display: block; }
	.npbd-navbar-inner .npbd-nav-menu ul.sub-menu li a { padding: 12px 40px; font-size: 14px; color: #666; }
}
