/*
Theme Name: Projukti Barta (প্রযুক্তি বার্তা)
Theme URI: https://projuktibangla.com
Author: প্রযুক্তি বার্তা
Description: প্রযুক্তি বার্তার জন্য সংবাদপত্র-ধাঁচের বাংলা নিউজ থিম। সম্পাদকের পছন্দ, ব্রেকিং ও ট্রেন্ডিং নিয়ন্ত্রণ, ড্যাশবোর্ড থেকে প্রচ্ছদ সাজানো, লাইভ সার্চ, ভিডিও সেন্টার, নিউজলেটার, ডার্ক মোড, বিল্ট-ইন SEO (SEO প্লাগইন থাকলে নিজে সরে যায়), সূচিপত্র, বিজ্ঞাপনের জায়গা ও বাংলা তারিখ। Elementor ছাড়াই পুরোপুরি চলে, চাইলে Elementor-ও ব্যবহার করা যায়।
Version: 2.2.1
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: projukti-bangla
Tags: news, blog, post-formats, two-columns, right-sidebar, custom-logo, custom-menu, custom-colors, editor-style, featured-images, threaded-comments, translation-ready, wide-blocks
*/

/*
 * Layout: newspaper grid — lead story + side stack + sidebar, editorial sections below.
 * Breakpoints: phone ≤ 700px · tablet 701–1023px · computer ≥ 1024px.
 * Colours: navy primary for links/buttons/menus, red for breaking news and category labels.
 */

/* One typeface for the whole site: Noto Serif Bengali (Bengali and Latin, Google Fonts). */

:root {
	--pb-primary: #123B66;
	--pb-breaking: #C62828;
	--pb-link: var(--pb-primary);
	--pb-link-hover: #0B2847;
	--pb-btn: var(--pb-primary);
	--pb-btn-hover: #0B2847;
	--pb-on-btn: #FFFFFF;
	--pb-kicker: var(--pb-breaking);
	--pb-accent: var(--pb-breaking);
	--pb-ink: #0E1B2C;
	--pb-text: #202124;
	--pb-muted: #5A6372;
	--pb-line: #E1E5EB;
	--pb-wash: #F2F4F7;
	--pb-paper: #FFFFFF;
	--pb-foot: #0B1A2C;
	--pb-video: #0A1626;
	--pb-shadow: 0 6px 24px rgba(10, 25, 45, .14);
	--pb-font: "Noto Serif Bengali", "Noto Serif", Georgia, "SolaimanLipi", serif;
	--pb-head: var(--pb-font);
	--pb-body: var(--pb-font);
	--pb-wrap: 1240px;
	--pb-gutter: max(16px, env(safe-area-inset-left, 0px));
	--pb-gutter-r: max(16px, env(safe-area-inset-right, 0px));
	--pb-sticky: 52px;
}
@supports (color: color-mix(in srgb, red 50%, blue)) {
	:root {
		--pb-link-hover: color-mix(in srgb, var(--pb-primary) 78%, #000);
		--pb-btn-hover: color-mix(in srgb, var(--pb-primary) 78%, #000);
	}
}

/* Dark mode: follows the device unless the reader picks light/dark with the toggle. */
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--pb-link: #9DBDE3;
		--pb-link-hover: #C4D8F0;
		--pb-btn: #416284;
		--pb-btn-hover: #4F7298;
		--pb-kicker: #E58A8A;
		--pb-accent: #E06666;
		--pb-ink: #F1F4F8;
		--pb-text: #D3DAE4;
		--pb-muted: #9AA5B5;
		--pb-line: #263346;
		--pb-wash: #162030;
		--pb-paper: #0E1520;
		--pb-foot: #08101B;
		--pb-video: #08101B;
		--pb-shadow: 0 6px 24px rgba(0, 0, 0, .5);
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--pb-link: #9DBDE3;
	--pb-link-hover: #C4D8F0;
	--pb-btn: #416284;
	--pb-btn-hover: #4F7298;
	--pb-kicker: #E58A8A;
	--pb-accent: #E06666;
	--pb-ink: #F1F4F8;
	--pb-text: #D3DAE4;
	--pb-muted: #9AA5B5;
	--pb-line: #263346;
	--pb-wash: #162030;
	--pb-paper: #0E1520;
	--pb-foot: #08101B;
	--pb-video: #08101B;
	--pb-shadow: 0 6px 24px rgba(0, 0, 0, .5);
	color-scheme: dark;
}
/* Custom brand colours (Customizer) are lightened for dark mode. */
@supports (color: color-mix(in srgb, red 50%, blue)) {
	@media (prefers-color-scheme: dark) {
		:root:not([data-theme="light"]) {
			--pb-link: color-mix(in srgb, var(--pb-primary) 35%, #fff);
			--pb-link-hover: color-mix(in srgb, var(--pb-primary) 20%, #fff);
			--pb-btn: color-mix(in srgb, var(--pb-primary) 80%, #fff);
			--pb-btn-hover: color-mix(in srgb, var(--pb-primary) 70%, #fff);
			--pb-kicker: color-mix(in srgb, var(--pb-breaking) 55%, #fff);
			--pb-accent: color-mix(in srgb, var(--pb-breaking) 75%, #fff);
		}
	}
	:root[data-theme="dark"] {
		--pb-link: color-mix(in srgb, var(--pb-primary) 35%, #fff);
		--pb-link-hover: color-mix(in srgb, var(--pb-primary) 20%, #fff);
		--pb-btn: color-mix(in srgb, var(--pb-primary) 80%, #fff);
		--pb-btn-hover: color-mix(in srgb, var(--pb-primary) 70%, #fff);
		--pb-kicker: color-mix(in srgb, var(--pb-breaking) 55%, #fff);
		--pb-accent: color-mix(in srgb, var(--pb-breaking) 75%, #fff);
	}
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0;
	background: var(--pb-paper);
	color: var(--pb-text);
	font-family: var(--pb-body);
	font-size: 17px;
	line-height: 1.7;
	overflow-wrap: break-word;
	-webkit-tap-highlight-color: transparent;
}
html:has(.pb-drawer[open]) { overflow: hidden; }
img, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--pb-link); }
:focus-visible { outline: 2px solid var(--pb-link); outline-offset: 2px; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--pb-head); color: var(--pb-ink); line-height: 1.38; margin: 0; text-wrap: balance; font-weight: 700; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.pb-skip:focus { clip: auto; width: auto; height: auto; z-index: 200; left: 12px; top: 12px; background: var(--pb-ink); color: var(--pb-paper); padding: 10px 16px; border-radius: 6px; }
.pb-ico { width: 22px; height: 22px; flex: none; }

.pb-wrap {
	max-width: var(--pb-wrap);
	margin: 0 auto;
	padding-left: var(--pb-gutter);
	padding-right: var(--pb-gutter-r);
}

.pb-icon-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-width: 44px; height: 44px; padding: 0 10px;
	border: 0; border-radius: 8px; background: transparent; color: var(--pb-ink);
	font-weight: 600; font-size: 16px; cursor: pointer;
}
.pb-icon-btn:hover { background: var(--pb-wash); color: var(--pb-link); }

.pb-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; background: var(--pb-btn); color: var(--pb-on-btn); border: 0; padding: 10px 20px; font: inherit; font-weight: 700; border-radius: 6px; cursor: pointer; }
.pb-btn:hover { background: var(--pb-btn-hover); color: var(--pb-on-btn); }

/* ==========================================================================
   Top bar (computers only)
   ========================================================================== */
.pb-topbar { border-bottom: 1px solid var(--pb-line); font-size: 14px; color: var(--pb-muted); }
.pb-topbar .pb-wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 5px; flex-wrap: wrap; }
.pb-topbar-right { display: flex; align-items: center; gap: 16px; }
.pb-topbar-links { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }
.pb-topbar-links a { display: inline-block; padding-block: 4px; }
.pb-theme-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; border: 1px solid var(--pb-line); background: var(--pb-paper); color: var(--pb-ink); border-radius: 999px; padding: 2px 12px; font-size: 13.5px; cursor: pointer; }
.pb-theme-pill:hover { border-color: var(--pb-link); }
.pb-theme-pill .pb-ico { width: 15px; height: 15px; }

/* ==========================================================================
   Masthead
   ========================================================================== */
.pb-masthead { background: var(--pb-paper); }
.pb-masthead .pb-wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding-block: 16px; }
.pb-mast-left { justify-self: start; }
.pb-logo { justify-self: center; }
.pb-logo a, .pb-logo picture { display: block; }
.pb-logo img { height: 84px; width: auto; }
.pb-mast-right { justify-self: end; display: flex; align-items: center; gap: 4px; }

/* Search box. No overflow clipping here: the live results panel hangs below it. */
.pb-search { position: relative; display: flex; border: 1px solid var(--pb-line); border-radius: 999px; background: var(--pb-paper); }
.pb-search input { border: 0; border-radius: 999px 0 0 999px; padding: 8px 16px; font: inherit; font-size: 15px; width: 210px; min-width: 0; background: transparent; color: var(--pb-text); }
.pb-search input:focus { outline: none; }
.pb-search input::-webkit-search-cancel-button { cursor: pointer; }
.pb-search:focus-within { border-color: var(--pb-link); box-shadow: 0 0 0 1px var(--pb-link); }
.pb-search button[type="submit"] { border: 0; border-radius: 0 999px 999px 0; background: var(--pb-btn); color: var(--pb-on-btn); padding: 0 16px; cursor: pointer; font-size: 15px; font-weight: 600; }
.pb-search button[type="submit"]:hover { background: var(--pb-btn-hover); }
.pb-search-open, .pb-theme-icon { display: none; }

/* Live search results (ARIA combobox + listbox) */
.pb-live-results { position: absolute; z-index: 140; top: calc(100% + 8px); left: 0; width: max(100%, 360px); max-height: min(70vh, 460px); overflow: auto; overscroll-behavior: contain; padding: 6px; border: 1px solid var(--pb-line); border-radius: 12px; background: var(--pb-paper); box-shadow: var(--pb-shadow); text-align: left; }
.pb-mast-right .pb-live-results { left: auto; right: 0; }
.pb-live-group + .pb-live-group { border-top: 1px solid var(--pb-line); margin-top: 4px; padding-top: 4px; }
.pb-live-head { padding: 6px 10px 2px; font-size: 13px; font-weight: 700; color: var(--pb-muted); }
.pb-live-results [role="option"] { display: block; padding: 8px 10px; border-radius: 8px; color: var(--pb-text); font-size: 15px; line-height: 1.5; cursor: pointer; }
.pb-live-results [role="option"]:hover, .pb-live-results [role="option"][aria-selected="true"] { background: var(--pb-wash); color: var(--pb-ink); box-shadow: inset 3px 0 0 var(--pb-link); }
.pb-live-results small { display: block; margin-top: 1px; color: var(--pb-muted); font-size: 13px; }
.pb-live-results mark { background: none; color: inherit; font-weight: 700; }
.pb-live-all { font-weight: 700; color: var(--pb-link) !important; }
.pb-live-empty { padding: 12px; color: var(--pb-muted); font-size: 14.5px; margin: 0; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.pb-nav { border-top: 3px solid var(--pb-primary); border-bottom: 1px solid var(--pb-line); background: var(--pb-paper); position: sticky; top: 0; z-index: 50; transition: box-shadow .2s; }
.admin-bar .pb-nav { top: 32px; }
.pb-nav.is-stuck { box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.pb-nav .pb-wrap { display: flex; align-items: center; gap: 12px; }
.pb-nav .pb-nav-logo { display: none; flex: none; padding: 6px 14px 6px 0; border-right: 1px solid var(--pb-line); }
.pb-nav .pb-nav-logo img { height: 30px; width: auto; }
.pb-nav.is-stuck .pb-nav-logo { display: block; }
.pb-nav-scroll { flex: 1; min-width: 0; }
.pb-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 2px; justify-content: center; }
.pb-nav li { position: relative; }
.pb-nav a { display: block; padding: 11px 12px; font-weight: 600; font-size: 16px; color: var(--pb-ink); white-space: nowrap; }
.pb-nav a:hover, .pb-nav .current-menu-item > a, .pb-nav .current-menu-ancestor > a, .pb-nav .current-post-ancestor > a { color: var(--pb-link); }
.pb-nav .current-menu-item > a, .pb-nav .current-post-ancestor > a { box-shadow: inset 0 -3px 0 var(--pb-accent); }
.pb-nav .sub-menu { display: none; position: absolute; left: 0; top: 100%; min-width: 210px; background: var(--pb-paper); border: 1px solid var(--pb-line); box-shadow: var(--pb-shadow); flex-direction: column; z-index: 60; }
.pb-nav li:hover > .sub-menu, .pb-nav li:focus-within > .sub-menu { display: flex; }
.pb-nav .sub-menu a { font-weight: 400; padding: 10px 14px; }

.pb-nav li.is-open > .sub-menu { display: flex; }
.pb-nav-more > button { display: flex; align-items: center; gap: 4px; padding: 11px 12px; border: 0; background: none; color: var(--pb-ink); font-weight: 600; font-size: 16px; cursor: pointer; white-space: nowrap; }
.pb-nav-more > button .pb-ico { width: 16px; height: 16px; transition: transform .2s; }
.pb-nav-more.is-open > button .pb-ico { transform: rotate(180deg); }
.pb-nav-more > button:hover, .pb-nav-more.is-open > button, .pb-nav-more.current-menu-ancestor > button { color: var(--pb-link); }
.pb-nav-more > .sub-menu { left: auto; right: 0; min-width: 230px; max-height: calc(100vh - 140px); overflow-y: auto; padding-block: 6px; }
.pb-nav-more .sub-menu .sub-menu { display: none !important; }
.pb-nav-more .sub-menu .current-menu-item > a { box-shadow: inset 3px 0 0 var(--pb-accent); }

/* Reading progress (post pages) */
.pb-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.admin-bar .pb-progress { top: 32px; }
.pb-progress span { display: block; height: 100%; background: var(--pb-accent); transform: scaleX(0); transform-origin: left; }

/* ==========================================================================
   News ticker (red "ব্রেকিং" when breaking items are live, navy otherwise)
   ========================================================================== */
.pb-ticker { background: var(--pb-wash); border-bottom: 1px solid var(--pb-line); }
.pb-ticker .pb-wrap { display: flex; align-items: center; gap: 12px; padding-block: 8px; overflow: hidden; }
.pb-ticker-label { flex: none; background: var(--pb-btn); color: #fff; font-weight: 700; font-size: 14px; padding: 3px 10px; border-radius: 3px; display: flex; align-items: center; gap: 6px; }
.pb-ticker.is-breaking { background: color-mix(in srgb, var(--pb-breaking) 7%, var(--pb-paper)); border-bottom-color: color-mix(in srgb, var(--pb-breaking) 25%, var(--pb-line)); }
.pb-ticker.is-breaking .pb-ticker-label { background: var(--pb-breaking); }
.pb-ticker.is-breaking .pb-ticker-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pb-pulse 1.4s infinite; }
.pb-ticker-track { overflow: hidden; flex: 1; min-width: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 24px), transparent); }
.pb-ticker-list { display: flex; gap: 40px; white-space: nowrap; list-style: none; margin: 0; padding: 0; width: max-content; animation: pb-scroll 45s linear infinite; }
.pb-ticker-list:hover, .pb-ticker-list:focus-within { animation-play-state: paused; }
.pb-ticker-list li { font-size: 15px; font-weight: 600; }
.pb-ticker-list li::before { content: "●"; color: var(--pb-accent); font-size: 9px; margin-right: 10px; vertical-align: middle; }
@keyframes pb-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pb-pulse { 50% { opacity: .3; } }

/* ==========================================================================
   Cards and shared post bits
   ========================================================================== */
.pb-card { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pb-card h3 { font-size: 18px; font-weight: 600; }
/* The whole card is one big tap target; the category link stays clickable on top. */
.pb-card :is(h2, h3) > a::after, .pb-mini h3 > a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pb-card :is(h2, h3) > a:hover, .pb-mini h3 > a:hover { color: var(--pb-link); }
.pb-mini { position: relative; }
.pb-kicker { position: relative; z-index: 2; align-self: flex-start; display: inline-block; color: var(--pb-kicker); font-weight: 700; font-size: 14px; padding-block: 4px; margin-block: -4px; }
.pb-kicker:hover { color: var(--pb-kicker); text-decoration: underline; text-underline-offset: 3px; }
.pb-meta { color: var(--pb-muted); font-size: 13.5px; display: flex; gap: 10px; flex-wrap: wrap; }
.pb-excerpt { color: var(--pb-muted); font-size: 15.5px; margin: 0; }
.pb-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--pb-wash); max-width: 100%; border-radius: 4px; }
.pb-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.pb-card:hover .pb-thumb img, .pb-mini:hover .pb-thumb img { transform: scale(1.025); }
.pb-thumb-empty { width: 100%; height: 100%; display: grid; place-items: center; color: var(--pb-primary); font-family: var(--pb-head); font-weight: 700; font-size: clamp(16px, 2.4vw, 28px); opacity: .3; }
.pb-flag { position: relative; z-index: 2; display: inline-flex; align-items: center; font-size: 13px; font-weight: 700; line-height: 1.4; padding: 3px 9px; border-radius: 3px; }
.pb-flag-pick { background: var(--pb-btn); color: var(--pb-on-btn); }

/* ==========================================================================
   Main grid
   ========================================================================== */
.pb-main { padding-block: 24px 48px; }
.pb-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; }
.pb-content { min-width: 0; }

/* Lead block */
.pb-lead { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--pb-line); }
.pb-lead-main h2 { font-size: clamp(23px, 1rem + 1.4vw, 32px); font-weight: 700; line-height: 1.38; }
.pb-lead-main .pb-excerpt { font-size: 17px; }
.pb-lead-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.pb-lead-tags:empty { display: none; }
.pb-lead-side { display: flex; flex-direction: column; gap: 18px; }
.pb-lead-side .pb-card + .pb-card { border-top: 1px solid var(--pb-line); padding-top: 18px; }
.pb-lead-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-block: 24px; border-bottom: 1px solid var(--pb-line); }
.pb-lead-row .pb-card + .pb-card { border-left: 1px solid var(--pb-line); padding-left: 20px; }
.pb-lead-row h3 { font-size: 17px; }

/* Sections */
.pb-section { padding-top: 28px; min-width: 0; }
.pb-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; border-bottom: 2px solid var(--pb-primary); margin-bottom: 18px; }
.pb-section-head h2 { font-size: 22px; font-weight: 700; padding-bottom: 6px; position: relative; }
.pb-section-head h2::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%; background: var(--pb-accent); }
.pb-section-head h2 a:hover { color: var(--pb-link); }
.pb-section-head a.pb-more { font-size: 14px; color: var(--pb-link); font-weight: 600; display: inline-block; padding-block: 8px; margin-block: -8px; }
.pb-section-sub { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; font-weight: 600; }
.pb-section-sub a { color: var(--pb-link); display: inline-block; padding-block: 6px; margin-block: -6px; }
.pb-sec-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; }
.pb-sec-grid .pb-card-big h3 { font-size: clamp(19px, 1rem + .7vw, 23px); }
.pb-sec-list { display: flex; flex-direction: column; gap: 14px; }
.pb-mini { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: start; }
.pb-mini + .pb-mini { border-top: 1px solid var(--pb-line); padding-top: 14px; }
.pb-mini h3 { font-size: 16px; font-weight: 600; line-height: 1.45; }
.pb-mini .pb-thumb { aspect-ratio: 4 / 3; }
.pb-sec-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pb-sec-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pb-sec-grid-4 h3 { font-size: 16.5px; line-height: 1.45; }

/* Two half-width sections side by side */
.pb-sec-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.pb-sec-half-body { display: flex; flex-direction: column; gap: 12px; }
.pb-headlines { list-style: none; margin: 0; padding: 0; }
.pb-headlines li { border-top: 1px solid var(--pb-line); padding-block: 10px; font-family: var(--pb-head); font-weight: 600; font-size: 16px; line-height: 1.5; }
.pb-headlines li:last-child { padding-bottom: 0; }
.pb-headlines a { color: var(--pb-ink); }
.pb-headlines a:hover { color: var(--pb-link); }
.pb-headlines time { display: block; font-family: var(--pb-body); font-weight: 400; font-size: 13.5px; color: var(--pb-muted); margin-top: 2px; }

/* Latest: timeline list */
.pb-latest-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.pb-latest-list li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--pb-line); position: relative; }
.pb-latest-list time { font-size: 13.5px; color: var(--pb-muted); padding-top: 3px; }
.pb-latest-list h3 { font-size: 16.5px; font-weight: 600; line-height: 1.45; margin-top: 2px; }
.pb-latest-list h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pb-latest-list h3 a:hover { color: var(--pb-link); }
.pb-latest-list .pb-kicker { font-size: 13px; }

/* Trending: numbered */
.pb-trend-list { list-style: none; margin: 0; padding: 0; counter-reset: trend; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px 28px; }
.pb-trend-list > li.pb-mini { counter-increment: trend; grid-template-columns: 34px 96px minmax(0, 1fr); border-top: 0; padding-top: 0; }
.pb-trend-list > li.pb-mini::before { content: counter(trend, bengali); font-family: var(--pb-head); font-size: 30px; font-weight: 700; line-height: 1; color: var(--pb-accent); opacity: .9; }
.pb-trend-list h3 { font-size: 16px; }
.pb-trend-list .pb-kicker { font-size: 13px; }

/* ==========================================================================
   Sidebar
   ========================================================================== */
.pb-sidebar { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.pb-sidebar-sticky { position: sticky; top: calc(var(--pb-sticky) + 16px); }
.pb-sidebar-sticky:empty { display: none; }
.admin-bar .pb-sidebar-sticky { top: calc(var(--pb-sticky) + 48px); }
.pb-widget { border-top: 3px solid var(--pb-primary); padding-top: 10px; min-width: 0; }
.pb-widget-title { font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.pb-widget ul, .pb-widget ol { list-style: none; margin: 0; padding: 0; }
.pb-widget li { padding: 6px 0; border-bottom: 1px solid var(--pb-line); }
.pb-widget li a { display: block; padding-block: 6px; }
.pb-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-bottom: 1px solid var(--pb-line); margin-bottom: 6px; }
.pb-tabs button { background: none; border: 0; padding: 10px 4px; font-weight: 700; font-size: 15.5px; line-height: 1.35; cursor: pointer; color: var(--pb-muted); border-bottom: 3px solid transparent; }
.pb-tabs button[aria-selected="true"] { color: var(--pb-ink); border-bottom-color: var(--pb-accent); }
.pb-history-list li { display: flex; flex-direction: column; }
.pb-widget .pb-history-list li a { font-family: var(--pb-head); font-weight: 600; font-size: 15.5px; line-height: 1.5; padding-bottom: 2px; }
.pb-history-time { font-size: 13px; color: var(--pb-muted); padding-bottom: 4px; }
.pb-history-empty, .pb-history-note { margin: 10px 0 0; font-size: 14px; color: var(--pb-muted); line-height: 1.6; }
.pb-history-clear { background: none; border: 0; padding: 6px 2px; font: inherit; color: var(--pb-link); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pb-ranked { counter-reset: rank; }
.pb-ranked li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: start; counter-increment: rank; }
.pb-ranked li::before { content: counter(rank, bengali); font-family: var(--pb-head); font-size: 28px; font-weight: 700; color: var(--pb-accent); line-height: 1.1; }
.pb-ranked a { font-family: var(--pb-head); font-weight: 600; font-size: 15.5px; line-height: 1.5; }

/* Default WordPress block widgets */
.pb-widget h2, .pb-widget .wp-block-heading { font-size: 19px; font-weight: 700; margin: 0 0 12px; }
.pb-widget .wp-block-search__label { font-family: var(--pb-head); font-size: 19px; font-weight: 700; color: var(--pb-ink); display: block; margin-bottom: 10px; }
.pb-widget .wp-block-search__inside-wrapper { display: flex; border: 1px solid var(--pb-line); border-radius: 999px; overflow: hidden; }
.pb-widget .wp-block-search__input { flex: 1; min-width: 0; border: 0; padding: 9px 14px; font: inherit; font-size: 16px; background: transparent; color: var(--pb-text); }
.pb-widget .wp-block-search__button { border: 0; margin: 0; background: var(--pb-btn); color: var(--pb-on-btn); padding: 0 16px; font: inherit; font-size: 15px; cursor: pointer; }
.pb-widget .wp-block-latest-posts, .pb-widget .wp-block-archives, .pb-widget .wp-block-categories, .pb-widget .wp-block-latest-comments { padding: 0; margin: 0; list-style: none; }
.pb-widget .wp-block-latest-posts a, .pb-widget li a { font-weight: 400; font-size: 15.5px; }
.pb-widget .wp-block-group { margin: 0; }

/* ==========================================================================
   Ads — each slot keeps a little room so a late ad does not push text down.
   ========================================================================== */
.pb-ad { display: block; margin: 24px auto; text-align: center; max-width: 100%; overflow: hidden; }
.pb-ad-label { display: block; font-size: 12.5px; letter-spacing: .04em; color: var(--pb-muted); margin-bottom: 4px; }
.pb-ad-inner { display: flex; justify-content: center; align-items: center; max-width: 100%; min-height: var(--pb-ad-h, 90px); }
.pb-ad-inner > * { max-width: 100%; }
.pb-ad-header { max-width: var(--pb-wrap); margin: 14px auto 0; padding-left: var(--pb-gutter); padding-right: var(--pb-gutter-r); }
.pb-ad-home, .pb-ad-in-content, .pb-ad-before-content, .pb-ad-after-content { --pb-ad-h: 250px; }
.pb-ad-sidebar { margin: 0; --pb-ad-h: 250px; }
.pb-entry .pb-ad { margin: 1.6em 0; }
@media (max-width: 700px) { .pb-ad-header { --pb-ad-h: 50px; } }

/* ==========================================================================
   Single post
   ========================================================================== */
.pb-single-head { padding-bottom: 16px; border-bottom: 1px solid var(--pb-line); margin-bottom: 20px; display: flex; flex-direction: column; gap: 10px; }
.pb-single-head h1 { font-size: clamp(25px, 1rem + 2vw, 38px); font-weight: 700; line-height: 1.35; }
.pb-single-head > .pb-excerpt { font-size: clamp(16px, .9rem + .3vw, 18px); color: var(--pb-text); }
.pb-single-flags { display: flex; gap: 8px; flex-wrap: wrap; }
.pb-flag-breaking { background: var(--pb-breaking); color: #fff; }
.pb-byline { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; flex-wrap: wrap; margin-top: 4px; }
.pb-author-line { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--pb-muted); min-width: 0; }
.pb-author-line strong { color: var(--pb-ink); }
.pb-author-line strong a { display: inline-block; padding-block: 6px; margin-block: -4px; }
.pb-author-line img { border-radius: 50%; width: 40px; height: 40px; flex: none; object-fit: cover; font-size: 0; background: var(--pb-line); }
.pb-post-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pb-share { display: flex; gap: 8px; }
.pb-share a, .pb-share button { min-width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--pb-line); display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; font-weight: 700; background: var(--pb-paper); cursor: pointer; color: var(--pb-ink); padding: 0 10px; }
.pb-share .pb-ico { width: 17px; height: 17px; }
.pb-share a:hover, .pb-share button:hover { background: var(--pb-btn); color: var(--pb-on-btn); border-color: var(--pb-btn); }
.pb-share .pb-native-share { background: var(--pb-btn); color: var(--pb-on-btn); border-color: var(--pb-btn); padding: 0 14px; }
.pb-share.has-native .pb-share-x, .pb-share.has-native .pb-copy { display: none; }
.pb-fontsize { display: inline-flex; border: 1px solid var(--pb-line); border-radius: 999px; overflow: hidden; }
.pb-fontsize button { width: 44px; height: 40px; border: 0; background: var(--pb-paper); color: var(--pb-ink); cursor: pointer; font-weight: 700; font-size: 16px; }
.pb-fontsize button + button { border-left: 1px solid var(--pb-line); font-size: 19px; }
.pb-fontsize button:hover { background: var(--pb-wash); color: var(--pb-link); }
.pb-fontsize button:disabled { opacity: .35; cursor: default; }
.pb-fontsize sup { font-size: .6em; }
.pb-featured { margin: 0 0 20px; }
.pb-featured img { width: 100%; }
.pb-featured figcaption { font-size: 13.5px; color: var(--pb-muted); padding-top: 6px; }

/* YouTube player: a light preview image until the reader presses play */
.pb-video-player { position: relative; aspect-ratio: 16 / 9; background: #000; margin: 0 0 20px; border-radius: 4px; overflow: hidden; }
.pb-video-player > a { position: absolute; inset: 0; display: block; color: #fff; }
.pb-video-player img { width: 100%; height: 100%; object-fit: cover; }
.pb-video-player .pb-play { pointer-events: none; }
.pb-video-player > a:hover .pb-play-lg, .pb-video-player > a:focus-visible .pb-play-lg { transform: translate(-50%, -50%) scale(1.08); }
.pb-video-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.pb-entry { font-size: calc(18.5px * var(--pb-entry-scale, 1)); line-height: 1.9; }
.pb-entry > * { max-width: 70ch; }
.pb-entry > :first-child { margin-top: 0; }
.pb-entry p { margin: 0 0 1.2em; }
.pb-entry h2 { font-size: 1.4em; margin: 1.6em 0 .6em; line-height: 1.38; }
.pb-entry h3 { font-size: 1.15em; margin: 1.4em 0 .5em; }
.pb-entry :is(h2, h3, h4)[id] { scroll-margin-top: calc(var(--pb-sticky) + 20px); }
.pb-entry a { color: var(--pb-link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.pb-entry a:hover { color: var(--pb-link-hover); text-decoration-thickness: 2px; }
.pb-entry ul, .pb-entry ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.pb-entry li { margin-bottom: .35em; }
.pb-entry blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--pb-primary); font-family: var(--pb-head); font-size: 1.1em; font-weight: 600; color: var(--pb-ink); }
.pb-entry pre, .pb-entry code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 15px; background: var(--pb-wash); }
.pb-entry pre { padding: 14px; overflow-x: auto; border-radius: 4px; max-width: 100%; }
.pb-entry code { padding: 1px 5px; border-radius: 3px; }
.pb-entry pre code { padding: 0; }
.pb-entry img, .pb-entry figure { margin: 1.4em 0; }
.pb-entry figure { max-width: 100%; }
.pb-entry figcaption, .pb-entry .wp-caption-text { font-size: 14px; color: var(--pb-muted); line-height: 1.6; }
.pb-entry table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; font-size: .88em; }
.pb-entry th, .pb-entry td { border: 1px solid var(--pb-line); padding: 8px 10px; }
.pb-entry iframe, .pb-entry .wp-block-embed__wrapper > * { width: 100%; }
.pb-entry .wp-block-embed.is-type-video iframe, .pb-entry iframe[src*="youtube"] { aspect-ratio: 16 / 9; height: auto; }

/* Block editor alignments */
.pb-entry > .alignwide, .pb-entry > .alignfull { max-width: none; width: 100%; }
.pb-entry .aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.pb-entry .aligncenter img { margin-inline: auto; }
.pb-entry .alignleft { float: left; margin: .4em 1.4em 1em 0; max-width: 50%; }
.pb-entry .alignright { float: right; margin: .4em 0 1em 1.4em; max-width: 50%; }
.pb-entry::after { content: ""; display: table; clear: both; }
.pb-entry .wp-caption { max-width: 100%; }
.pb-entry .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.pb-entry .gallery-item { margin: 0; }
.pb-entry .wp-block-button__link { background: var(--pb-btn); color: var(--pb-on-btn); text-decoration: none; border-radius: 6px; padding: 10px 20px; display: inline-block; }
.pb-entry .has-text-align-center { text-align: center; }
.pb-entry .has-text-align-right { text-align: right; }
@media (max-width: 700px) {
	.pb-entry .alignleft, .pb-entry .alignright { float: none; margin: 1.2em 0; max-width: 100%; }
}

/* Table of contents */
.pb-entry .pb-toc { margin: 1.4em 0 1.8em; border: 1px solid var(--pb-line); border-left: 4px solid var(--pb-primary); background: var(--pb-wash); border-radius: 4px; font-family: var(--pb-body); font-size: 16px; line-height: 1.55; }
.pb-toc summary { cursor: pointer; padding: 12px 16px; font-weight: 700; color: var(--pb-ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pb-toc summary::-webkit-details-marker { display: none; }
.pb-toc summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.pb-toc details:not([open]) summary::after { transform: rotate(-45deg); }
.pb-toc ol { counter-reset: toc; list-style: none; margin: 0; padding: 0 16px 12px; }
.pb-toc li { counter-increment: toc; margin: 0; }
.pb-entry .pb-toc a { display: grid; grid-template-columns: 2.2em minmax(0, 1fr); padding: 6px 0; color: var(--pb-text); text-decoration: none; }
.pb-entry .pb-toc a:hover { color: var(--pb-link); }
.pb-toc a::before { content: counter(toc, bengali) "."; color: var(--pb-link); font-weight: 700; }
.pb-toc ol ol { padding: 0 0 0 2.2em; }
.pb-toc ol ol a::before { content: counters(toc, ".", bengali); font-weight: 600; }

/* Sources & references */
.pb-sources { margin: 28px 0 0; padding: 16px 18px; border: 1px solid var(--pb-line); border-radius: 4px; background: var(--pb-wash); max-width: 760px; font-size: 15.5px; }
.pb-sources h2 { font-size: 17px; margin-bottom: 8px; }
.pb-sources ol { margin: 0; padding-left: 1.4em; }
.pb-sources li { margin: 4px 0; line-height: 1.6; }
.pb-sources a { color: var(--pb-link); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.pb-source-host { color: var(--pb-muted); font-size: 13.5px; }

.pb-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.pb-tags a { font-size: 14px; background: var(--pb-wash); padding: 7px 14px; border-radius: 999px; }
.pb-related { margin-top: 32px; }

/* Author box */
.pb-author-box { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: start; border: 1px solid var(--pb-line); border-top: 3px solid var(--pb-primary); padding: 18px; margin: 28px 0 8px; background: var(--pb-wash); }
.pb-author-box img { border-radius: 50%; width: 72px; height: 72px; object-fit: cover; font-size: 0; background: var(--pb-line); }
.pb-author-label { font-size: 13px; font-weight: 700; color: var(--pb-kicker); }
.pb-author-box h3 { font-size: 20px; margin: 2px 0 6px; }
.pb-author-box h3 a { display: inline-block; padding-block: 6px; margin-block: -6px; }
.pb-author-box p { margin: 0 0 8px; font-size: 15.5px; color: var(--pb-text); }
.pb-author-box .pb-meta a { color: var(--pb-link); font-weight: 600; display: inline-block; padding-block: 6px; }
.pb-archive-head + .pb-author-box { margin-top: 0; margin-bottom: 20px; }

/* ==========================================================================
   Breadcrumbs, archives, search, pagination
   ========================================================================== */
.pb-crumbs { font-size: 14px; color: var(--pb-muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pb-crumbs a { display: inline-block; padding-block: 8px; margin-block: -8px; }
.pb-crumbs a:hover { color: var(--pb-link); }
.pb-archive-head { border-bottom: 2px solid var(--pb-primary); margin-bottom: 20px; padding-bottom: 10px; }
.pb-archive-head h1 { font-size: clamp(24px, 1rem + 1.5vw, 30px); }
.pb-list-item { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 20px; padding-block: 18px; border-bottom: 1px solid var(--pb-line); }
.pb-list-item h2 { font-size: 22px; font-weight: 600; margin: 4px 0 6px; }
.pb-pagination { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 28px; }
.pb-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; min-height: 42px; padding: 0 13px; border: 1px solid var(--pb-line); border-radius: 6px; font-weight: 600; }
.pb-pagination a.page-numbers:hover { border-color: var(--pb-link); color: var(--pb-link); }
.pb-pagination .current { background: var(--pb-btn); color: var(--pb-on-btn); border-color: var(--pb-btn); }
.pb-pagination .dots { border: 0; }

.pb-search-page { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 4px; }
.pb-search-page input[type="search"], .pb-search-page select { min-height: 44px; border: 1px solid var(--pb-line); border-radius: 6px; padding: 8px 12px; font: inherit; font-size: 16px; background: var(--pb-paper); color: var(--pb-text); }
.pb-search-page input[type="search"] { flex: 1 1 260px; min-width: 0; }
.pb-search-page select { flex: 0 1 220px; max-width: 100%; }
.pb-search-count { color: var(--pb-muted); font-size: 15px; margin: 8px 0 0; }
.pb-search-cats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 15px; }

/* Category page */
.pb-cat-hero { border-bottom: 1px solid var(--pb-line); padding-bottom: 18px; margin-bottom: 24px; display: grid; gap: 10px; }
.pb-cat-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pb-cat-hero h1 { font-size: clamp(28px, 1rem + 3vw, 48px); font-weight: 700; line-height: 1.25; display: inline-block; border-bottom: 4px solid var(--pb-accent); padding-bottom: 4px; }
.pb-cat-count { color: var(--pb-muted); font-size: 15px; }
.pb-cat-desc { color: var(--pb-muted); max-width: 65ch; margin: 0; font-size: 16.5px; }
.pb-cat-desc p { margin: 0; }
.pb-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.pb-chips a { border: 1px solid var(--pb-line); border-radius: 999px; padding: 7px 16px; font-size: 14.5px; font-weight: 600; }
.pb-chips a:hover, .pb-chips a.is-current, .pb-chips a[aria-current] { border-color: var(--pb-link); color: var(--pb-link); }
.pb-cat-top { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--pb-line); }
.pb-cat-top .pb-lead-main h2 { font-size: clamp(23px, 1rem + 1.2vw, 30px); }
.pb-cat-side { display: flex; flex-direction: column; gap: 18px; }
.pb-cat-side .pb-card + .pb-card { border-top: 1px solid var(--pb-line); padding-top: 18px; }
.pb-cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 22px; padding-top: 24px; }
.pb-cat-grid .pb-excerpt { font-size: 15px; }

/* ==========================================================================
   Video centre (/type/video/ or the chosen video category)
   ========================================================================== */
.pb-vc-hero { background: var(--pb-video); color: #DCE3EC; border-radius: 4px; padding: 22px; margin-bottom: 24px; }
.pb-vc-hero h1 { color: #fff; font-size: clamp(26px, 1rem + 2vw, 38px); display: flex; align-items: center; gap: 10px; }
.pb-vc-hero h1::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--pb-breaking); flex: none; }
.pb-vc-hero p { margin: 6px 0 0; color: #B9C4D2; }
.pb-vc-hero .pb-crumbs, .pb-vc-hero .pb-cat-desc { color: #B9C4D2; }
.pb-vc-hero .pb-crumbs a:hover { color: #fff; }
.pb-vc-hero .pb-chips { margin-top: 14px; }
.pb-vc-hero .pb-chips a { border-color: #33445C; color: #E6ECF3; }
.pb-vc-hero .pb-chips a:hover, .pb-vc-hero .pb-chips a[aria-current] { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.pb-vc-feature { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 22px; margin-top: 18px; }
.pb-vc-feature h2 { color: #fff; font-size: clamp(20px, 1rem + .9vw, 26px); }
.pb-vc-feature .pb-meta, .pb-vc-feature .pb-excerpt { color: #AEB9C7; }
.pb-vc-feature a:hover { color: #9DBDE3; }
.pb-vc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 22px; }

/* ==========================================================================
   Comments
   ========================================================================== */
.pb-comments { margin-top: 36px; }
.pb-comments ol { list-style: none; padding: 0; }
.pb-comments .comment-body { border-bottom: 1px solid var(--pb-line); padding: 14px 0; }
.pb-comments .children { padding-left: clamp(14px, 3vw, 28px); list-style: none; }
.pb-comments input[type=text], .pb-comments input[type=email], .pb-comments input[type=url], .pb-comments textarea { width: 100%; border: 1px solid var(--pb-line); padding: 10px 12px; font: inherit; font-size: 16px; border-radius: 6px; background: var(--pb-paper); color: var(--pb-text); }
.pb-comments .submit { display: inline-flex; align-items: center; min-height: 44px; background: var(--pb-btn); color: var(--pb-on-btn); border: 0; padding: 10px 20px; font: inherit; font-weight: 700; border-radius: 6px; cursor: pointer; }
.pb-comments .submit:hover { background: var(--pb-btn-hover); }
.pb-comments .comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.pb-comments input[type=checkbox] { width: 20px; height: 20px; margin-top: 4px; flex: none; accent-color: var(--pb-btn); }

/* ==========================================================================
   Video
   ========================================================================== */
.pb-play { position: absolute; left: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; background: rgba(0, 0, 0, .6); border: 2px solid #fff; display: grid; place-items: center; pointer-events: none; transition: transform .15s; }
.pb-play::before { content: ""; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.pb-play-sm { width: 30px; height: 30px; left: 8px; bottom: 8px; border-width: 1.5px; }
.pb-play-sm::before { border-left-width: 10px; border-top-width: 6px; border-bottom-width: 6px; margin-left: 3px; }
.pb-play-lg { width: 64px; height: 64px; left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%); background: var(--pb-breaking); border-color: var(--pb-breaking); }
.pb-play-lg::before { border-left-width: 20px; border-top-width: 12px; border-bottom-width: 12px; margin-left: 6px; }
.pb-duration { position: absolute; right: 8px; bottom: 8px; background: rgba(0, 0, 0, .78); color: #fff; font-size: 13px; padding: 1px 7px; border-radius: 3px; pointer-events: none; }

.pb-video-band { background: var(--pb-video); color: #DCE3EC; margin-top: 32px; padding: 22px; border-radius: 4px; }
.pb-video-band .pb-section-head { border-bottom-color: #2A3A50; }
.pb-video-band .pb-section-head h2, .pb-video-band h3 { color: #fff; }
.pb-video-band .pb-section-head h2 { display: flex; align-items: center; gap: 8px; }
.pb-video-band .pb-section-head h2::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--pb-breaking); }
.pb-video-band .pb-section-head a.pb-more { color: #9DBDE3; }
.pb-video-band a:hover, .pb-video-band .pb-card h3 > a:hover, .pb-video-band .pb-mini h3 > a:hover { color: #9DBDE3; }
.pb-video-band .pb-meta { color: #A9B4C2; }
.pb-video-band .pb-thumb { background: #1A2738; }
.pb-video-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 22px; }
.pb-video-grid .pb-card-big h3 { font-size: clamp(19px, 1rem + .7vw, 23px); }
.pb-video-list { display: flex; flex-direction: column; gap: 14px; }
.pb-video-list .pb-mini + .pb-mini { border-top-color: #2A3A50; }

/* ==========================================================================
   Newsletter
   ========================================================================== */
.pb-newsletter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 16px 28px; align-items: center; margin-top: 32px; padding: 22px; background: var(--pb-wash); border: 1px solid var(--pb-line); border-top: 3px solid var(--pb-primary); border-radius: 4px; }
.pb-newsletter h2 { font-size: 21px; }
.pb-newsletter-text p { margin: 4px 0 0; color: var(--pb-muted); font-size: 15.5px; }
.pb-newsletter-form { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pb-newsletter-row { display: flex; gap: 8px; }
.pb-newsletter-row input { flex: 1; min-width: 0; min-height: 46px; border: 1px solid var(--pb-line); border-radius: 6px; padding: 8px 14px; font: inherit; font-size: 16px; background: var(--pb-paper); color: var(--pb-text); }
.pb-newsletter-row input:focus { outline: 2px solid var(--pb-link); outline-offset: 0; border-color: transparent; }
.pb-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--pb-muted); line-height: 1.55; cursor: pointer; }
.pb-consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--pb-btn); }
.pb-newsletter-msg { margin: 0; font-weight: 600; font-size: 15px; }
.pb-newsletter-msg.is-ok { color: #1B7F3B; }
.pb-newsletter-msg.is-err { color: var(--pb-breaking); }
:root[data-theme="dark"] .pb-newsletter-msg.is-ok { color: #7FD69A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pb-newsletter-msg.is-ok { color: #7FD69A; } }
.pb-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pb-newsletter-footer { margin: 40px auto 0; max-width: var(--pb-wrap); }
.pb-newsletter-band { padding-inline: var(--pb-gutter) var(--pb-gutter-r); }

/* ==========================================================================
   Footer
   ========================================================================== */
.pb-footer { background: var(--pb-foot); color: #C5CFDB; margin-top: 40px; }
.pb-newsletter-band + .pb-footer { margin-top: 32px; }
.pb-footer a { color: #EEF2F7; }
.pb-footer a:hover { color: #9DBDE3; }
.pb-footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-block: 36px calc(28px + env(safe-area-inset-bottom, 0px)); }
.pb-footer-logo { display: inline-block; }
.pb-footer-logo img { height: 60px; width: auto; }
.pb-footer h4 { color: #fff; font-size: 17px; margin-bottom: 8px; }
.pb-footer ul { list-style: none; margin: 0; padding: 0; }
.pb-footer-links { display: grid; gap: 0; }
.pb-footer-links a, .pb-footer .menu a { display: inline-block; padding-block: 6px; }
.pb-social { display: flex; flex-wrap: wrap; gap: 8px; }
.pb-social a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid #2E3E55; border-radius: 999px; font-size: 14px; }
.pb-footer-bottom { border-top: 1px solid #22324A; font-size: 14px; }
.pb-footer-bottom .pb-wrap { display: flex; justify-content: space-between; gap: 12px; padding-block: 14px calc(14px + env(safe-area-inset-bottom, 0px)); flex-wrap: wrap; }

/* ==========================================================================
   Slide-in menu (drawer)
   ========================================================================== */
.pb-drawer {
	position: fixed; inset: 0 auto 0 0; margin: 0; padding: 0; border: 0;
	width: min(360px, 88vw); max-width: none; height: 100%; max-height: none;
	background: var(--pb-paper); color: var(--pb-text); box-shadow: var(--pb-shadow);
	overflow-y: auto; overscroll-behavior: contain;
}
.pb-drawer::backdrop { background: rgba(6, 12, 22, .55); }
.pb-drawer[open] { animation: pb-slide-in .22s ease-out; }
@keyframes pb-slide-in { from { transform: translateX(-100%); } to { transform: none; } }
.pb-drawer-panel {
	display: flex; flex-direction: column; gap: 16px; min-height: 100%;
	padding: max(10px, env(safe-area-inset-top, 0px)) 16px max(20px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
}
.pb-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--pb-line); padding-bottom: 8px; }
.pb-drawer-logo img { height: 42px; width: auto; }
.pb-drawer-search input { flex: 1; width: auto; font-size: 16px; padding: 10px 16px; }
.pb-drawer-search .pb-live-results { left: 0; right: 0; width: auto; }
.pb-drawer-nav ul { list-style: none; margin: 0; padding: 0; }
.pb-drawer-list > li > a { display: flex; align-items: center; min-height: 48px; padding: 6px 4px; font-size: 17px; font-weight: 600; color: var(--pb-ink); border-bottom: 1px solid var(--pb-line); }
.pb-drawer-list > li.current-menu-item > a, .pb-drawer-list > li.current-post-ancestor > a { color: var(--pb-link); box-shadow: inset 3px 0 0 var(--pb-accent); padding-left: 12px; }
.pb-drawer-list .sub-menu { padding-left: 14px; border-bottom: 1px solid var(--pb-line); }
.pb-drawer-list .sub-menu a { display: flex; align-items: center; min-height: 42px; font-size: 15.5px; color: var(--pb-text); }
.pb-drawer-foot { margin-top: auto; display: flex; flex-direction: column; gap: 14px; padding-top: 8px; }
.pb-drawer-theme { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; min-height: 44px; padding: 0 16px; border: 1px solid var(--pb-line); border-radius: 999px; background: var(--pb-wash); color: var(--pb-ink); font-weight: 600; cursor: pointer; }
.pb-drawer-theme .pb-ico { width: 18px; height: 18px; }
.pb-drawer-links { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 15px; list-style: none; margin: 0; padding: 0; }
.pb-drawer-links a { display: inline-block; padding-block: 6px; }
.pb-drawer .pb-social a { border-color: var(--pb-line); color: var(--pb-ink); }
.pb-drawer-date { margin: 0; font-size: 14px; color: var(--pb-muted); }

/* ==========================================================================
   Back to top + toast
   ========================================================================== */
.pb-totop {
	position: fixed; z-index: 90;
	right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
	display: grid; place-items: center; background: var(--pb-ink); color: var(--pb-paper); box-shadow: var(--pb-shadow);
	animation: pb-fade-up .2s ease-out;
}
.pb-totop:hover { background: var(--pb-btn); color: var(--pb-on-btn); }
@keyframes pb-fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pb-toast {
	position: fixed; z-index: 130; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px));
	transform: translate(-50%, 12px); opacity: 0; pointer-events: none;
	max-width: calc(100vw - 32px); background: var(--pb-ink); color: var(--pb-paper);
	padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; box-shadow: var(--pb-shadow);
	transition: opacity .2s, transform .2s;
}
.pb-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   Dark mode logo swap
   ========================================================================== */
.pb-logo-dark { display: none !important; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .pb-logo-light { display: none !important; }
	:root:not([data-theme="light"]) .pb-logo-dark { display: block !important; }
}
:root[data-theme="dark"] .pb-logo-light { display: none !important; }
:root[data-theme="dark"] .pb-logo-dark { display: block !important; }
body, .pb-nav, .pb-masthead, .pb-thumb { transition: background-color .2s, color .2s; }

/* ==========================================================================
   Full-width pages (Elementor or "পূর্ণ প্রস্থ" template)
   ========================================================================== */
.pb-full-width .pb-main { padding-block: 0 24px; }
.pb-full-width .pb-main > .pb-wrap { max-width: none; padding: 0; }
.pb-full-width .pb-entry > * { max-width: min(70ch, calc(100% - 32px)); margin-inline: auto; }
.pb-full-width .pb-entry > .alignwide { max-width: min(var(--pb-wrap), calc(100% - 32px)); }
.pb-full-width .pb-entry > .alignfull, .pb-full-width .pb-entry > .elementor { max-width: none; width: 100%; }
.pb-full-page-head { max-width: var(--pb-wrap); margin: 24px auto 0; padding-inline: var(--pb-gutter) var(--pb-gutter-r); border-bottom: 0; }
#pb-main:focus { outline: none; }

/* ==========================================================================
   Wide screens
   ========================================================================== */
@media (min-width: 1440px) {
	.pb-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; }
}

/* ==========================================================================
   Tablet and phone (< 1024px): compact sticky header, swipeable menu row
   ========================================================================== */
@media (max-width: 1023px) {
	:root { --pb-sticky: 56px; }
	.pb-topbar { display: none; }

	.pb-masthead {
		position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60;
		border-bottom: 1px solid var(--pb-line);
		transition: box-shadow .2s, background-color .2s;
	}
	.pb-masthead.is-scrolled { box-shadow: 0 2px 10px rgba(0, 0, 0, .1); }
	.admin-bar .pb-masthead { top: 46px; }
	.pb-masthead .pb-wrap { padding-block: 6px; gap: 8px; }
	.pb-logo img { height: 42px; }
	.pb-drawer-open .pb-btn-text { display: none; }
	.pb-search-desk { display: none; }
	.pb-search-open, .pb-theme-icon { display: inline-flex; }

	.pb-nav { position: static; border-top: 0; }
	.pb-nav .pb-wrap { padding-left: 0; padding-right: 0; }
	.pb-nav-logo { display: none !important; }
	.pb-nav-scroll {
		overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
		-webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
		mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
	}
	.pb-nav-scroll::-webkit-scrollbar { display: none; }
	.pb-nav ul { flex-wrap: nowrap; justify-content: flex-start; width: max-content; padding-left: var(--pb-gutter); padding-right: 28px; }
	.pb-nav a { padding: 10px 12px; font-size: 15.5px; }
	.pb-nav .sub-menu { display: none !important; }

	.pb-search input, .pb-widget .wp-block-search__input { font-size: 16px; } /* stops iPhone zooming in on focus */

	.pb-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.pb-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
	.pb-sidebar-sticky { position: static; }
	.pb-lead-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
	.pb-lead-row .pb-card:nth-child(3) { border-left: 0; padding-left: 0; }
	.pb-sec-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
	.pb-vc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pb-footer-top { grid-template-columns: 1fr 1fr; }
	.pb-footer-about { grid-column: 1 / -1; }
	.admin-bar .pb-progress { top: 46px; }
}

/* ==========================================================================
   Phone (≤ 700px): news-app style lists — title left, small picture right
   ========================================================================== */
@media (max-width: 700px) {
	body { font-size: 16.5px; }
	.pb-main { padding-block: 16px 36px; }
	.pb-masthead .pb-wrap { gap: 4px; }
	.pb-logo img { height: 38px; }
	.pb-icon-btn { padding: 0 8px; }

	.pb-ticker .pb-wrap { padding-block: 6px; gap: 10px; }
	.pb-ticker-label { font-size: 13px; padding: 2px 8px; }
	.pb-ticker-list li { font-size: 14.5px; }

	.pb-layout { gap: 28px; }
	.pb-sidebar { grid-template-columns: minmax(0, 1fr); }

	.pb-lead, .pb-sec-grid, .pb-video-grid, .pb-cat-top, .pb-vc-feature, .pb-newsletter { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.pb-lead { padding-bottom: 16px; }
	.pb-lead-main .pb-excerpt { font-size: 16px; }
	.pb-lead-side, .pb-cat-side { border-top: 1px solid var(--pb-line); padding-top: 14px; gap: 14px; }
	.pb-lead-side .pb-card + .pb-card, .pb-cat-side .pb-card + .pb-card { padding-top: 14px; }

	/* Compact rows */
	:is(.pb-lead-side, .pb-cat-side, .pb-cat-grid, .pb-vc-grid, .pb-sec-grid-4) .pb-card,
	.pb-sec-grid-3 .pb-card:not(:first-child) {
		display: grid; grid-template-columns: minmax(0, 1fr) 112px; column-gap: 12px; row-gap: 6px; align-content: start; align-items: start;
	}
	:is(.pb-lead-side, .pb-cat-side, .pb-cat-grid, .pb-vc-grid, .pb-sec-grid-4) .pb-card > .pb-thumb,
	.pb-sec-grid-3 .pb-card:not(:first-child) > .pb-thumb { grid-column: 2; grid-row: 1 / span 4; aspect-ratio: 4 / 3; }
	:is(.pb-lead-side, .pb-cat-side, .pb-cat-grid, .pb-vc-grid, .pb-sec-grid-4) .pb-card > :not(.pb-thumb),
	.pb-sec-grid-3 .pb-card:not(:first-child) > :not(.pb-thumb) { grid-column: 1; }
	:is(.pb-lead-side, .pb-cat-side, .pb-cat-grid, .pb-vc-grid, .pb-sec-grid-3, .pb-sec-grid-4) .pb-card h3 { font-size: 16.5px; line-height: 1.45; }
	:is(.pb-lead-side, .pb-cat-side, .pb-cat-grid, .pb-vc-grid, .pb-sec-grid-4) .pb-excerpt,
	.pb-sec-grid-3 .pb-card:not(:first-child) .pb-excerpt { display: none; }
	:is(.pb-lead-side, .pb-cat-side, .pb-cat-grid, .pb-vc-grid, .pb-sec-grid-3, .pb-sec-grid-4) .pb-thumb-empty { font-size: 15px; }
	:is(.pb-cat-grid, .pb-vc-grid, .pb-sec-grid-3, .pb-sec-grid-4) .pb-play:not(.pb-play-sm) { width: 30px; height: 30px; left: 6px; bottom: 6px; border-width: 1.5px; }
	:is(.pb-cat-grid, .pb-vc-grid, .pb-sec-grid-3, .pb-sec-grid-4) .pb-play:not(.pb-play-sm)::before { border-left-width: 10px; border-top-width: 6px; border-bottom-width: 6px; margin-left: 3px; }
	:is(.pb-cat-grid, .pb-vc-grid, .pb-sec-grid-3, .pb-sec-grid-4) .pb-card:not(:first-child) .pb-duration { display: none; }

	.pb-sec-grid-3, .pb-sec-grid-4 { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.pb-sec-grid-3 .pb-card:first-child { padding-bottom: 14px; }
	.pb-sec-grid-3 .pb-card:not(:first-child), .pb-sec-grid-4 .pb-card + .pb-card { border-top: 1px solid var(--pb-line); padding-block: 14px; }
	.pb-sec-grid-4 .pb-card:first-child { padding-bottom: 14px; }
	.pb-cat-grid, .pb-vc-grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 6px; }
	.pb-cat-grid .pb-card, .pb-vc-grid .pb-card { border-bottom: 1px solid var(--pb-line); padding-block: 14px; }

	.pb-sec-pair { grid-template-columns: minmax(0, 1fr); }
	.pb-sec-half-body > .pb-card { display: grid; grid-template-columns: minmax(0, 1fr) 112px; column-gap: 12px; align-items: start; }
	.pb-sec-half-body > .pb-card > .pb-thumb { grid-column: 2; grid-row: 1 / span 3; aspect-ratio: 4 / 3; }
	.pb-sec-half-body > .pb-card > :not(.pb-thumb) { grid-column: 1; grid-row: auto; }
	.pb-sec-half-body > .pb-card h3 { font-size: 16.5px; line-height: 1.45; }

	.pb-latest-list { grid-template-columns: minmax(0, 1fr); }
	.pb-latest-list li { grid-template-columns: 84px minmax(0, 1fr); gap: 10px; }
	.pb-trend-list > li.pb-mini { grid-template-columns: 30px minmax(0, 1fr) 96px; }
	.pb-trend-list > li.pb-mini > .pb-thumb { order: 2; }

	.pb-mini { grid-template-columns: minmax(0, 1fr) 112px; }
	.pb-mini > .pb-thumb { order: 2; }
	.pb-mini h3 { font-size: 16.5px; }

	.pb-lead-row { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 4px; }
	.pb-lead-row .pb-card + .pb-card { border-left: 0; padding-left: 0; border-top: 1px solid var(--pb-line); }
	.pb-lead-row .pb-card { padding-block: 12px; gap: 6px; }
	.pb-lead-row .pb-excerpt { display: none; }

	.pb-list-item { grid-template-columns: minmax(0, 1fr) 112px; gap: 12px; padding-block: 14px; }
	.pb-list-item > .pb-thumb { order: 2; aspect-ratio: 4 / 3; }
	.pb-list-item h2 { font-size: 17px; margin: 2px 0 4px; }
	.pb-list-item .pb-excerpt { display: none; }

	.pb-section { padding-top: 22px; }
	.pb-section-head { margin-bottom: 14px; }
	.pb-section-head h2 { font-size: 20px; }
	.pb-video-band, .pb-vc-hero { padding: 16px; margin-inline: calc(var(--pb-gutter) * -1) calc(var(--pb-gutter-r) * -1); border-radius: 0; }
	.pb-newsletter { padding: 16px; }
	.pb-newsletter-row { flex-direction: column; }

	.pb-single-head { gap: 8px; }
	.pb-byline { flex-direction: column; align-items: flex-start; }
	.pb-post-tools { width: 100%; justify-content: space-between; }
	.pb-entry { font-size: calc(17.5px * var(--pb-entry-scale, 1)); line-height: 1.85; }
	.pb-featured, .pb-video-player { margin-inline: calc(var(--pb-gutter) * -1) calc(var(--pb-gutter-r) * -1); border-radius: 0; }
	.pb-featured figcaption { padding-inline: var(--pb-gutter) var(--pb-gutter-r); }
	.pb-author-box { grid-template-columns: 56px minmax(0, 1fr); padding: 14px; gap: 12px; }
	.pb-author-box img { width: 56px; height: 56px; }

	.pb-cat-hero { margin-bottom: 16px; padding-bottom: 14px; }
	.pb-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--pb-gutter) * -1) calc(var(--pb-gutter-r) * -1); padding-inline: var(--pb-gutter) var(--pb-gutter-r); }
	.pb-vc-hero .pb-chips { margin-inline: -16px; padding-inline: 16px; }
	.pb-chips::-webkit-scrollbar { display: none; }
	.pb-chips a { white-space: nowrap; }

	.pb-live-results { max-height: 55vh; }

	.pb-footer-top { grid-template-columns: 1fr; gap: 24px; padding-block: 28px; }
	.pb-footer-bottom .pb-wrap { flex-direction: column; gap: 4px; }
	.pb-totop { width: 44px; height: 44px; }
}

/* Small phones */
@media (max-width: 380px) {
	.pb-logo img { height: 34px; }
	.pb-icon-btn { min-width: 40px; padding: 0 6px; }
	:is(.pb-lead-side, .pb-cat-side, .pb-cat-grid, .pb-vc-grid, .pb-sec-grid-4) .pb-card,
	.pb-sec-grid-3 .pb-card:not(:first-child),
	.pb-sec-half-body > .pb-card,
	.pb-mini, .pb-list-item { grid-template-columns: minmax(0, 1fr) 96px; }
	.pb-trend-list > li.pb-mini { grid-template-columns: 28px minmax(0, 1fr) 84px; }
	.pb-share a, .pb-share button { min-width: 38px; }
}

/* WordPress admin bar scrolls away on phones */
@media (max-width: 600px) {
	.admin-bar .pb-masthead { top: env(safe-area-inset-top, 0px); }
	.admin-bar .pb-progress { top: 0; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.pb-ticker-list { animation: none; flex-wrap: wrap; width: auto; white-space: normal; }
	.pb-ticker-list li[aria-hidden="true"] { display: none; }
	.pb-thumb img { transition: none; }
}
