:root { --red: #102068; --dark: #1a1a1a; }
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Noto Serif Bengali', serif; background: #ffffff; color: var(--dark); }
a { color: #1a56c4; text-decoration: none; }
img, .ph { display: block; }
.headline { color: var(--dark); }
.story-title { color: var(--dark); }
.story-title:hover { color: var(--red); }
.wrap { max-width: 1280px; margin: 0 auto; }
.ph { background: #d8d2c4; border-radius: 4px; display: flex; align-items: center; justify-content: center; color: #8a8375; font-size: 12px; }

/* খবরের থাম্বনেইল ছবির উপর হোভার করলে হালকা জুম — img_or_placeholder() যেখানেই ব্যবহৃত হয়
   (হোমপেজ, ক্যাটাগরি পেজ, সাইডবার, "আরও খবর" গ্রিড) সব জায়গায় একই আচরণ। overflow:hidden
   র‍্যাপারেই রাখা হয়েছে যাতে জুম করার সময় ছবিটা তার নিজের বক্সের বাইরে গিয়ে পাশের টাইটেল/কার্ডের
   উপর দিয়ে না ছড়িয়ে পড়ে; border-radius মিলিয়ে রাখা হয়েছে .ph এর সাথে যাতে কোণাগুলো জুম করা অবস্থাতেও
   এক রকম গোলাকার দেখায়। */
.img-zoom { overflow: hidden; border-radius: 4px; }
.img-zoom img { transition: transform .35s ease; }
.img-zoom:hover img { transform: scale(1.06); }

/* স্ক্রিন-রিডার/সার্চ ইঞ্জিনের জন্য থাকবে কিন্তু ভিজ্যুয়ালি লুকানো (যেমন হোমপেজের SEO <h1>, যার জায়গায়
   ভিজ্যুয়ালি লোগোই মাস্টহেড হিসেবে কাজ করে — তাই ডিজাইন অপরিবর্তিত রেখে শুধু SEO/অ্যাক্সেসিবিলিটির জন্য যোগ করা) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ticker */
@keyframes ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
/* স্ক্রল-গতি: JS (assets/js/main.js initTicker) আসল প্রস্থ মেপে --ticker-duration বসায়, যাতে খবর কম/বেশি/লম্বা হলেও গতি একই থাকে।
   JS না চললে ফলব্যাক ৪৫ সেকেন্ড (আগে ছিল ২৮ সেকেন্ড, যা বেশি দ্রুত লাগত)। */
.ticker-track { display: flex; width: max-content; animation: ticker-scroll var(--ticker-duration, 45s) linear infinite; }
.ticker-track:hover { animation-play-state: paused; }

/* section header bar */
.sec-head { display: flex; align-items: stretch; background: #f2f2f2; border-radius: 2px; overflow: hidden; }
.sec-head .bar { width: 6px; background: var(--red); }
.sec-head .name { flex: 1; padding: 14px 16px; font-size: 19px; font-weight: 700; }
.sec-head .arrow { width: 50px; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; }

/* grids */
.g-hero { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 28px; align-items: start; }
.g-main-side { display: grid; grid-template-columns: 2fr 1fr; gap: 28px; align-items: start; }
.g-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }
.g-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.g-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.g-video-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.g-video-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.g-trio-lead { display: flex; gap: 18px; }
.lead-img-fixed { width: 320px; flex-shrink: 0; }

.region-bar { background: #eef2fb; border: 1px solid #dde3f5; border-radius: 6px; padding: 14px 20px; display: flex; align-items: center; gap: 16px; }
.region-fields { flex: 1; display: flex; gap: 12px; flex-wrap: wrap; }
.region-field { flex: 1; min-width: 140px; background: #fff; border: 1px solid #d0d0d0; border-radius: 4px; height: 42px; padding: 0 14px; color: #555; font-size: 14px; font-family: inherit; cursor: pointer; }
.region-field:disabled { background: #f4f5f7; color: #aaa; cursor: not-allowed; }
.region-search-btn { background: #1a56c4; color: #fff; border: none; border-radius: 4px; height: 42px; padding: 0 26px; font-size: 15px; font-weight: 600; cursor: pointer; font-family: inherit; white-space: nowrap; }
.region-search-btn:hover { background: #14479e; }

.list-item { display: flex; gap: 10px; align-items: flex-start; padding-bottom: 12px; border-bottom: 1px solid #f0f0f0; }
.list-item img.ph, .list-item .ph { width: 64px; height: 64px; flex-shrink: 0; font-size: 9px; }
.list-item:last-child { border-bottom: none; }

/* ডুয়ো ব্লক (হোমপেজ: সারাদেশ+রাজনীতি, বিনোদন+লাইফস্টাইল — render_duo_column()) — এই ব্লকের সব মাপ এখানেই।
   বড়/ছোট করতে এই সংখ্যাগুলো বদলান: লিড ছবির অনুপাত (aspect-ratio), শিরোনামের ফন্ট, তালিকার থাম্বনেইল (width/height) ও ফন্ট,
   আর ১৩০০px+ এ তালিকা-কলামের প্রস্থ (grid-template-columns এর শেষ সংখ্যা, এখন ২৬৬px)।
   ডিফল্ট (মোবাইল, ট্যাবলেট, ছোট ডেস্কটপ — ১৩০০px এর নিচে): লিড (বড় ছবি+শিরোনাম+এক্সসার্পট) উপরে, ৩টা আইটেমের তালিকা নিচে।
   ≥১৩০০px (ব্লক তখন ঠিক ৬০২px): লিড বামে (৩:২ ছবি), তালিকা ডানে — বড় থাম্বনেইল (১০৪×৬৯), ১৭px লেখা, আইটেমের মাঝে ডিভাইডার রেখা।
   লিডের এক্সসার্পট সর্বোচ্চ ৩ লাইন (বাকিটা "…" হয়ে কাটা পড়ে)। */
.duo-col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.duo-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.duo-lead { display: flex; flex-direction: column; gap: 12px; color: inherit; min-width: 0; }
.duo-lead .img-zoom, .duo-lead .ph { width: 100%; aspect-ratio: 16 / 9; max-height: 420px; }
.duo-col .img-zoom > img { height: 100% !important; aspect-ratio: auto !important; max-height: none !important; } /* ৫৬১–৯০০px এর সাধারণ নিয়ম (.ph[style*="width:100%"] → height:auto, ১৬:৯) ভেতরের ছবিকে বক্সের চেয়ে খাটো করে দিত */
.duo-lead-title { font-size: 22px; font-weight: 700; line-height: 1.4; text-wrap: balance; overflow-wrap: break-word; }
.duo-lead-excerpt { font-size: 14px; color: #777; line-height: 1.6; overflow-wrap: break-word; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.duo-list { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.duo-item { color: inherit; gap: 12px; padding-bottom: 14px; border-bottom-color: #dcdfe4; }
.duo-item:last-child { padding-bottom: 0; }
.duo-item .img-zoom, .duo-item .ph { width: 104px; height: 69px; flex-shrink: 0; font-size: 11px; }
.duo-item-title { font-size: 17px; font-weight: 600; line-height: 1.45; min-width: 0; overflow-wrap: break-word; }
@media (min-width: 1300px) {
  .duo-inner { grid-template-columns: minmax(0, 1fr) 266px; gap: 22px; }
  .duo-lead .img-zoom, .duo-lead .ph { aspect-ratio: 3 / 2; max-height: none; }
}

.nat-bottom-item { display: flex; gap: 10px; align-items: flex-start; }
.nat-bottom-item .ph, .nat-bottom-item img.ph { width: 56px; height: 56px; flex-shrink: 0; font-size: 9px; }

.tab-btn { flex: 1; text-align: center; padding: 14px 0; font-weight: 700; font-size: 14px; cursor: pointer; border: none; font-family: inherit; }
.tab-btn.active { background: var(--red); color: #fff; }
.tab-btn.inactive { background: #eeeeee; color: #555; font-weight: 600; }
.tab-panel { display: none; flex-direction: column; padding: 6px 16px; }
.tab-panel.show { display: flex; max-height: 320px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #d5d5d5 transparent; }
.tab-panel.show::-webkit-scrollbar { width: 6px; }
.tab-panel.show::-webkit-scrollbar-track { background: transparent; }
.tab-panel.show::-webkit-scrollbar-thumb { background: #d5d5d5; border-radius: 3px; }
.tab-panel.show::-webkit-scrollbar-thumb:hover { background: #bbb; }

.video-thumb { width: 100%; background: #2a2a2a; border-radius: 4px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.video-thumb .play { border-radius: 50%; background: rgba(255,255,255,0.85); display: flex; align-items: center; justify-content: center; color: #141414; }
.video-thumb .cap { position: absolute; left: 0; right: 0; bottom: 0; background: var(--red); color: #fff; font-weight: 700; text-align: center; line-height: 1.4; }
/* থাম্বনেইল-সহ ভিডিও কার্ড (.has-img) — ছবি = খবরের আপলোড-করা ছবি, না থাকলে YouTube-ভিডিওর থাম্বনেইল (render_video_dark())।
   ছবি বক্স পুরো ভরে (cover), প্লে-বাটন তার ওপরে (z-index)। ছবি না থাকলে (.has-img নেই) আগের ধূসর বক্স অপরিবর্তিত। */
.video-thumb > .vt-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.video-thumb:hover > .vt-img { transform: scale(1.06); }
.video-thumb.has-img .play { position: relative; z-index: 1; box-shadow: 0 2px 10px rgba(0,0,0,0.35); }

.trio-link { display: block; font-size: 14px; font-weight: 500; padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
.trio-link:last-child { border-bottom: none; }

.list-row { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid #ececec; }
.list-row .ph { width: 96px; height: 72px; flex-shrink: 0; font-size: 10px; }
.list-row:last-child { border-bottom: none; }

.breadcrumb { font-size: 13px; color: #777; }
.breadcrumb a { color: #777; }
.breadcrumb a:hover { color: var(--red); }

/* নেভ বার — ক্যাটাগরি লিংক, হ্যামবার্গার বাটন, "সব বিভাগ" ড্রপডাউন প্যানেল */
.nav-link { color: #fff; font-size: 18px; white-space: nowrap; text-decoration: none; padding: 6px 8px; border-radius: 4px; opacity: 0.95; transition: background .15s ease, opacity .15s ease; }
.nav-link:hover { opacity: 1; background: rgba(255,255,255,0.18); }
.nav-link.active { font-weight: 700; opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.nav-hamburger { background: none; border: none; color: #fff; cursor: pointer; padding: 4px; display: flex; align-items: center; flex-shrink: 0; margin-left: 16px; border-radius: 4px; font-family: inherit; transition: background .15s ease; }
.nav-hamburger:hover { background: rgba(255,255,255,0.18); }

/* মাস্টহেডের হ্যামবার্গার — শুধু মোবাইলে দেখা যায় (নিচের মোবাইল মিডিয়া-কোয়েরি দেখুন), "সব বিভাগ" ড্রয়ার খোলে */
.masthead-hamburger { display: none; background: none; border: none; color: #333; cursor: pointer; padding: 4px; align-items: center; border-radius: 4px; font-family: inherit; transition: background .15s ease; }
.masthead-hamburger:hover { background: rgba(0,0,0,0.06); }

/* মাস্টহেড — স্ক্রল করলে উপরে আটকে থাকে (sticky); নেভবার+টিকার এর নিচে চলে গেলেও লোগো/সার্চ/সোশ্যাল সবসময় দেখা যায়।
   z-index 60 ইচ্ছাকৃতভাবে "সব বিভাগ" ড্রয়ারের (100/101) চেয়ে কম রাখা হয়েছে, যাতে ড্রয়ার খুললে এটার উপরেই দেখায়। */
.site-masthead { position: sticky; top: 0; z-index: 60; transition: box-shadow .2s ease; }
.site-masthead.is-stuck { box-shadow: 0 2px 10px rgba(0,0,0,0.12); }

/* "সব বিভাগ" — ডান দিক থেকে স্লাইড-ইন ড্রয়ার + ডার্ক ওভারলে */
.cat-drawer-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 100; }
.cat-drawer-overlay.show { display: block; }
/* ছায়া শুধু খোলা অবস্থায় — বন্ধ থাকলে ড্রয়ার স্ক্রিনের ডানে বাইরে থাকে, কিন্তু তার ছায়া (~২০px) স্ক্রিনের ডান কিনারায় হালকা ধূসর দাগ হয়ে সব পেজে দেখা যেত */
.cat-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(82vw, 340px); background: #fff; z-index: 101; transform: translateX(100%); transition: transform .25s ease, box-shadow .25s ease; overflow-y: auto; box-shadow: none; }
.cat-drawer.show { transform: translateX(0); box-shadow: -4px 0 16px rgba(0,0,0,0.2); }
.cat-drawer-head { background: var(--red); color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; font-size: 18px; font-weight: 700; position: sticky; top: 0; }
.cat-drawer-close { background: none; border: none; color: #fff; cursor: pointer; padding: 4px; display: flex; font-family: inherit; }
.cat-drawer-body { display: flex; flex-direction: column; padding: 6px 0; }
.cat-drawer-link { color: #333; font-size: 15px; font-weight: 600; padding: 13px 20px; border-bottom: 1px solid #f0f0f0; }
.cat-drawer-link:hover { background: #f7f7f7; color: var(--red); }

/* রিপোর্টার বাইলাইন + প্রোফাইল */
.byline-chip { display: inline-flex; align-items: center; gap: 8px; color: #333; font-weight: 600; }
.byline-chip:hover { color: var(--red); }
.byline-chip .ph { flex-shrink: 0; background: #d8d2c4; }
.reporter-profile-card { display: flex; gap: 24px; align-items: center; padding: 24px; border: 1px solid #e6e6e6; border-radius: 8px; background: #fafafa; }
.reporter-profile-card .ph { flex-shrink: 0; background: #d8d2c4; }

/* আর্টিকেল মেটা কার্ড (বাইলাইন + প্রকাশের সময় + শেয়ার) */
.article-meta-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #f8f8f8; border: 1px solid #ececec; border-radius: 8px; padding: 14px 18px; flex-wrap: wrap; }
.ameta-byline { display: flex; align-items: center; gap: 12px; }
.ameta-avatar-link { flex-shrink: 0; display: block; }
.ameta-avatar-link .ph { background: #d8d2c4; }
.ameta-name { font-size: 15px; font-weight: 700; color: var(--dark); }
a.ameta-name:hover { color: var(--red); }
.ameta-date { font-size: 12.5px; color: #808080; margin-top: 3px; }
.ameta-share { display: flex; align-items: center; gap: 14px; }
.share-count-box { display: flex; flex-direction: column; align-items: center; line-height: 1.2; padding-right: 14px; border-right: 1px solid #e2e2e2; }
.share-count-box .num { font-size: 19px; font-weight: 700; color: var(--dark); }
.share-count-box .label { font-size: 11px; color: #999; }
.share-icons { display: flex; gap: 8px; }
.share-btn { width: 34px; height: 34px; border-radius: 7px; border: none; background: #ececed; color: #444; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; padding: 0; font-family: inherit; }
.share-btn:hover { background: #dedfe1; color: var(--dark); }
html[lang="en"] .share-btn.copied::after { content: 'Copied ✓'; } /* ইংরেজি সাইট (includes/header.php: <html lang="en">) — "কপি হয়েছে ✓" এর ইংরেজি; বাকি স্টাইল নিচের নিয়ম থেকেই আসে */
.share-btn.copied::after { content: 'কপি হয়েছে ✓'; position: absolute; bottom: 130%; left: 50%; transform: translateX(-50%); background: var(--dark); color: #fff; font-size: 11px; padding: 4px 9px; border-radius: 4px; white-space: nowrap; }

/* আর্টিকেল ইনফিনিট-স্ক্রল — একের পর এক অটো-লোড হওয়া খবর-রো (খবর+নিজের সাইডবার) এর মাঝে ডিভাইডার + লোডিং স্পিনার */
.article-row + .article-row { margin-top: 36px; padding-top: 28px; border-top: 3px solid #e0e0e0; }
.autoload-spinner { display: inline-block; width: 15px; height: 15px; border: 2px solid #ddd; border-top-color: var(--red); border-radius: 50%; vertical-align: middle; margin-right: 8px; animation: autoload-spin .7s linear infinite; }
.autoload-loading { color: #999; font-size: 14px; vertical-align: middle; }
@keyframes autoload-spin { to { transform: rotate(360deg); } }

.cat-title { display: flex; align-items: center; gap: 12px; }
.cat-title .accent { width: 6px; height: 28px; background: var(--red); border-radius: 2px; }
.cat-title h1 { font-size: 24px; margin: 0; }

.btn-outline { display: inline-block; border: 1px solid var(--red); color: var(--red); padding: 10px 28px; border-radius: 3px; font-weight: 700; font-size: 14px; }
.btn-outline:hover { background: var(--red); color: #fff; }

footer a { color: #999; }
footer a:hover { color: #fff; }
/* ===================== ফুটার — রেফারেন্স (Daily Bangla Post) ফুটারের কাঠামো ও মাপে (বাংলা: rem = 16px)। বাংলা + ইংরেজি দুই সাইটেই:
   ব্যাকগ্রাউন্ড #28292d (--footer-bg), সব লেখা সাদা; ওপরে ৩২px / নিচে ১৬px; বামে (প্রকাশক/সম্পাদক ১৬px বোল্ড + লোগো ৪৮px উঁচু প্লেট),
   ডানে ডান-ঘেঁষা (৩২px সোশ্যাল গোল → লিংক-সারি ১৪px, গ্যাপ ৩২px → সাইটের নাম ১৬px → ঠিকানা ১৪px (সর্বোচ্চ ৪৪৮px) → ফোন/ইমেইল ১৪px);
   সবার নিচে বামে "২০২৬ | © সর্বস্বত্ব সংরক্ষিত" (১৪px)। ≤৯০০px এ এক-কলাম, মাঝ-সারিবদ্ধ: ব্র্যান্ড → তথ্য → কপিরাইট।
   ইংরেজি সাইটের মাপ নিচে ইংরেজি ব্লকে (rem = 14.84px)। .f-line = অ্যাডমিনের সেভ-করা লেখা (লম্বা অবিচ্ছিন্ন লেখাও যেন লেআউট না ভাঙে) ===================== */
footer.no-print { background: var(--footer-bg, #28292d) !important; color: #fff !important; }
.f-line { overflow-wrap: anywhere; }
.sf-inner { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(0, 760px); grid-template-areas: "brand info" "copy copy"; column-gap: 32px; row-gap: 16px; padding: 32px 24px 16px; }
.sf-brand { grid-area: brand; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; }
.sf-credits { display: flex; flex-direction: column; min-width: 0; max-width: 100%; }
.sf-credit { font-size: 16px; font-weight: 700; line-height: 24px; color: #fff; }
/* লোগো গাঢ়-রঙা (স্বচ্ছ ব্যাকগ্রাউন্ড) হতে পারে — তাই গাঢ় ফুটারে সাদা প্লেটে বসানো; প্লেটের মোট উচ্চতা ৪৮px (রেফারেন্সের লোগোর মতো) */
.sf-logo { display: inline-block; max-width: 100%; background: #fff; border-radius: 3px; padding: 4px 10px; line-height: 0; }
.sf-logo img { height: 40px; width: auto; max-width: 100%; }
.sf-copy { grid-area: copy; font-size: 14px; line-height: 20px; color: #fff; overflow-wrap: anywhere; }
.sf-info { grid-area: info; display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 16px; min-width: 0; }
.sf-org { display: flex; flex-direction: column; align-items: flex-end; margin-top: 8px; min-width: 0; max-width: 100%; }
.sf-social { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.sf-social a, .sf-social span { transition: opacity .15s, transform .15s; }
.sf-social a:hover { opacity: .85; transform: translateY(-1px); }
.sf-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 32px; }
.sf-links a { color: #fff; font-size: 14px; line-height: 20px; }
.sf-links a:hover { text-decoration: underline; }
.sf-name { font-size: 16px; font-weight: 400; line-height: 24px; text-transform: uppercase; color: #fff; margin-bottom: 4px; overflow-wrap: anywhere; }
.sf-address { max-width: 448px; font-size: 14px; line-height: 20px; color: #fff; margin-bottom: 12px; }
.sf-address:last-child { margin-bottom: 0; }
.sf-contact { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.sf-ci { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; color: #fff; text-align: left; }
.sf-ci svg { flex: none; }
.sf-ci a { color: #fff; }
.sf-ci a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .sf-inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "brand" "info" "copy"; row-gap: 24px; padding: 32px 20px 16px; }
  .sf-brand, .sf-info, .sf-org { align-items: center; text-align: center; }
  .sf-social, .sf-links, .sf-contact { justify-content: center; }
  .sf-contact { gap: 4px 16px; }
  .sf-copy { text-align: center; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); }
}

/* ===================== স্ট্যাটিক পেজ (আমাদের সম্পর্কে / যোগাযোগ / বিজ্ঞাপন / নীতিমালা …) — page.php =====================
   .wrap (সর্বোচ্চ ১২৮০px) এর পরে লেখা, তাই এখানকার max-width: 860px সেটাকে ছাপিয়ে পড়ার জন্য ঠিক */
.static-page { padding: 28px 24px 56px; max-width: 860px; }
.static-crumbs { font-size: 13px; color: #888; margin-bottom: 14px; }
.static-crumbs a { color: #888; }
.static-crumbs a:hover { color: var(--red); }
.static-page-title { font-size: 30px; line-height: 1.35; margin: 0 0 22px; padding-bottom: 14px; border-bottom: 3px solid var(--red); }
.static-page-body { font-size: 17px; line-height: 1.95; color: #222; overflow-wrap: anywhere; }
.static-page-body h2 { font-size: 22px; margin: 30px 0 10px; font-weight: 700; color: var(--dark); }
.static-page-body h2:first-child { margin-top: 0; }
.static-page-body p { margin: 0 0 14px; }
.static-page-body ul { margin: 0 0 16px; padding-left: 24px; }
.static-page-body li { margin-bottom: 6px; }
.static-page-body a { color: #1a56c4; text-decoration: underline; }
.static-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 24px 0; }
.static-contact-item { border: 1px solid #e3e3e3; border-radius: 6px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; background: #fafafa; }
.static-contact-item strong { font-size: 13px; color: #888; font-weight: 600; }
.static-contact-item span { font-size: 17px; line-height: 1.6; }
.static-note { color: #888; }
.static-social { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; }
.static-social a { border: 1px solid #d9d9d9; border-radius: 999px; padding: 6px 16px; font-size: 14px; text-decoration: none; color: var(--dark); }
.static-social a:hover { border-color: var(--red); color: var(--red); }
@media (max-width: 560px) {
  .static-page { padding: 18px 16px 44px; }
  .static-page-title { font-size: 24px; }
  .static-page-body { font-size: 16px; line-height: 1.85; }
  .static-page-body h2 { font-size: 20px; }
}

/* ===================== বিজ্ঞাপন স্লট (অ্যাডমিন → "📢 বিজ্ঞাপন স্লট") =====================
   includes/functions.php এর ad_slot_html()/render_ad_slot() এই কন্টেইনারটা বানায়:
     <div class="ad-slot ad-slot-{স্লট} ad-fill|ad-native ad-type-image|code no-print">
   .ad-fill   — ছবি কলামের পুরো প্রস্থ জুড়ে ছড়ায় (রেফারেন্স নিউজ-সাইটের ব্যানারের মতো)
   .ad-native — ছবি নিজের সাইজে (জায়গার চেয়ে বড় হলে ছোট হয়ে) মাঝখানে বসে
   স্লট খালি/বন্ধ থাকলে কিছুই রেন্ডার হয় না, তাই "ফাঁকা বক্স" ধরে রাখার কোনো min-height এখানে নেই।
   contain: inline-size — ভেতরের কোডের (যেমন ভুল মাপের ৭২৮px iframe) প্রস্থ যাতে গ্রিড/ফ্লেক্স কলাম ফুলিয়ে
   পুরো লেআউট ভেঙে না দেয়; প্রস্থ আসে শুধু width:100% (+ অ্যাডমিনের "সর্বোচ্চ প্রস্থ") থেকে, overflow:hidden কেটে দেয়। */
.ad-slot { width: 100%; max-width: 100%; margin-left: auto; margin-right: auto; text-align: center; overflow: hidden; contain: inline-size; }
.ad-slot:empty { display: none; }
.ad-slot a, .ad-slot picture { display: block; }
.ad-slot img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.ad-slot.ad-fill img { width: 100%; }

/* হেডার ব্যানার — body এর সরাসরি সন্তান (মেনু+টিকারের পর), তাই .wrap এর মাপ (সর্বোচ্চ ১২৮০px, দুই পাশে ২৪px) নিজেই মিলিয়ে নেওয়া */
.ad-slot-top_banner { width: calc(100% - 48px); max-width: 1232px; margin-top: 14px; margin-bottom: 0; }
/* হোমপেজের ব্যানারগুলো (১ম = in_feed, ২য়–৪র্থ = home_2/3/4) — .wrap (flex-column, gap 30px) এর সন্তান, তাই নিজের মার্জিন লাগে না */
.ad-slot-in_feed, .ad-slot-home_2, .ad-slot-home_3, .ad-slot-home_4 { margin-top: 0; margin-bottom: 0; }
.ad-slot-article_top { margin-top: 0; margin-bottom: 20px; }
.ad-slot-in_article { margin-top: 22px; margin-bottom: 22px; }
/* সাইডবার — ডেস্কটপে ডান কলামের প্রস্থ (~৩০০–৪০০px) জুড়ে ছড়ায়; ট্যাবলেটে সাইডবার যখন পুরো-প্রস্থের এক-কলামে নেমে আসে
   তখন ৩০০×২৫০ এর মতো বর্গাকার বিজ্ঞাপন ৭২০px পর্যন্ত বিশাল/ঝাপসা হয়ে না যায়, তাই সর্বোচ্চ ৪০০px (মাঝখানে) */
.ad-slot-sidebar { max-width: 400px; margin-top: 0; margin-bottom: 0; }
/* ডান-কলামের উইজেটের (সর্বশেষ/সর্বাধিক পঠিত) র‍্যাপার — বিজ্ঞাপন+উইজেট একসাথে গ্রিডের একটাই ঘরে থাকে */
.side-widget-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

/* স্টিকি বটম ব্যানার — স্ক্রল করলেও স্ক্রিনের নিচে লেগে থাকে (includes/footer.php), ✕ বাটনে বন্ধ করা যায়
   (assets/js/main.js: closeStickyBottomAd())। z-index ৯০ — মাস্টহেডের (৬০) উপরে, "সব বিভাগ" ড্রয়ারের (১০০/১০১)
   নিচে, যাতে ড্রয়ার খুললে এটা তার উপরে না আসে। ব্যানার দেখা গেলে body তে .has-sticky-ad ক্লাস বসে (main.js),
   যাতে ফুটারের শেষ লাইনটা ব্যানারের আড়ালে ঢাকা না পড়ে। */
.sticky-bottom-ad { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; align-items: center; justify-content: center; background: #fff; border-top: 1px solid #e0e0e0; box-shadow: 0 -2px 12px rgba(0,0,0,0.12); padding: 8px 44px 8px 12px; }
.sticky-bottom-ad-inner { width: 100%; max-width: 728px; }
.sticky-bottom-ad-close { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; border: none; background: #eee; color: #555; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; padding: 0; }
.sticky-bottom-ad-close:hover { background: #ddd; }
@media screen { body.has-sticky-ad { padding-bottom: var(--sticky-ad-h, 100px); } }
@media (max-width: 720px) {
  .sticky-bottom-ad { padding: 6px 40px 6px 8px; }
}
@media (max-width: 560px) {
  .ad-slot-in_article { margin-top: 16px; margin-bottom: 16px; }
}

/* responsive */
/* ব্রেকপয়েন্ট ৯০০px: মোবাইল Chrome এ "Desktop site" দিলে পেজের প্রস্থ ঠিক ৯৮০px ধরা হয় — আগে এখানে
   max-width: 980px থাকায় ওই মোডেও মোবাইল/এক-কলাম লেআউট চালু হয়ে অতি-চ্যাপ্টা ছবি আসত। এখন ৯০১px থেকে
   ডেস্কটপ লেআউট (৩-কলাম হিরো, সাইডবার ইত্যাদি) থাকে; ৯০০px ও তার নিচে ট্যাবলেট/মোবাইল লেআউট। */
@media (max-width: 900px) {
  .g-hero { grid-template-columns: 1fr; }
  .g-main-side { grid-template-columns: 1fr; }
  .g-2 { grid-template-columns: 1fr; }
  .g-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .g-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .g-video-2 { grid-template-columns: 1fr; }
  .g-video-3 { grid-template-columns: 1fr; }
  /* এক-কলামে (ট্যাবলেট/মোবাইল) থাম্বনেইল-সহ ভিডিও কার্ড ১৬:৯ — ইনলাইন "height: 320px/190px" হারাতে !important লাগে
     (নইলে মোবাইলে ৩২০px উঁচু প্রায়-চৌকো বক্সে ১৬:৯ থাম্বনেইলের দুই পাশ কেটে যেত)। ছবি-ছাড়া ধূসর বক্স আগের মতোই। */
  .video-thumb.has-img { height: auto !important; aspect-ratio: 16 / 9; }
  .g-trio-lead { flex-direction: column; }
  .lead-img-fixed { width: 100%; height: 200px; }
  .masthead-row { grid-template-columns: 1fr !important; text-align: center; }
  .masthead-row > div { justify-content: center !important; }
  .cat-content { grid-template-columns: 1fr !important; }
  .reporter-profile-card { flex-direction: column; text-align: center; }
  .ameta-share { width: 100%; justify-content: space-between; }
}
/* ট্যাবলেট/ছোট উইন্ডো (৫৬১–৯০০px): এক/দুই-কলামে পূর্ণ-প্রস্থ কার্ডের ছবির উচ্চতা ১৫০–৩২০px ফিক্সড থাকলে
   ৭০০–৯০০px চওড়া কার্ডে ছবি অতি-চ্যাপ্টা (৪:১–৫:১) দেখাত — তাই এই রেঞ্জে ছবির উচ্চতা প্রস্থ অনুযায়ী (১৬:৯)।
   ছোট থাম্বনেইল (৬৪px/৫৬px — প্রস্থ ১০০% নয়) অপরিবর্তিত; মোবাইলে (৫৬০px ও নিচে) আগের মতোই। */
@media (min-width: 561px) and (max-width: 900px) {
  .img-zoom[style*="width:100%"], .ph[style*="width:100%"] { height: auto !important; aspect-ratio: 16 / 9; max-height: 420px; }
  .g-trio-lead .img-zoom, .g-trio-lead .ph, .lead-img-fixed .img-zoom, .lead-img-fixed .ph { width: 100%; height: auto !important; aspect-ratio: 16 / 9; max-height: 420px; }
}
@media (max-width: 560px) {
  .g-3 { grid-template-columns: 1fr; }
  .g-4 { grid-template-columns: 1fr; }

  /* মাস্টহেড — মোবাইলে কমপ্যাক্ট এক-সারি লেআউট (রেফারেন্স সাইটের মতো):
     হ্যামবার্গার + লোগো + ENGLISH/সার্চ একই সারিতে; তারিখ ও সোশ্যাল আইকন লুকানো (জায়গা বাঁচাতে)।
     ৫৬০px এর উপরে (ট্যাবলেট) আগের মতোই ৩-সারির স্ট্যাক লেআউট থাকবে — অপরিবর্তিত। */
  .masthead-row { grid-template-columns: auto 1fr auto !important; gap: 8px !important; padding: 10px 14px !important; }
  .masthead-row > div { justify-content: flex-start !important; }
  .masthead-row > .masthead-actions { justify-content: flex-end !important; gap: 10px !important; }
  .masthead-date { display: none; }
  .masthead-hamburger { display: flex !important; }
  .masthead-social-icon { display: none !important; }
  /* নেভ-বারের হ্যামবার্গার এখন বাহুল্য (মাস্টহেডেরটাই একই কাজ করে) — ডুপ্লিকেট আইকন এড়াতে লুকানো */
  .nav-hamburger { display: none; }

  /* হিরো সেকশন — মোবাইলে "১টা বড় হিরো কার্ড, তার নিচে ছোট ছবিসহ তালিকা" প্যাটার্ন (রেফারেন্স ডিজাইনের
     মতো)। ডেস্কটপ/ট্যাবলেটে (৫৬০px এর উপরে) আগের ৩-কলাম লেআউটই থাকবে, অপরিবর্তিত।
     hero-primary (মাঝের, সবচেয়ে গুরুত্বপূর্ণ খবর) markup এ left এর পরে থাকলেও order:-1 দিয়ে
     ভিজ্যুয়ালি সবার উপরে তোলা হয়েছে — বাকি ৪টা (left+right) স্বাভাবিক ক্রমেই তার নিচে একটানা তালিকা
     হিসেবে দেখাবে: প্রতিটায় বামে ছোট থাম্বনেইল (১০৪×৬৯ — ডুয়ো ব্লকের তালিকার মতোই) + ডানে হেডলাইন,
     নিচে পাতলা ডিভাইডার; সংক্ষিপ্ত বিবরণ লুকানো। থাম্বনেইলের মাপ বদলাতে নিচের ১০৪/৬৯ সংখ্যা দুটো বদলান।
     ⚠️ আগে এখানে ছবি লুকানো ছিল (.img-zoom { display: none }), কিন্তু img_or_placeholder() এর ইনলাইন
     "display:block" ওই নিয়মকে হারিয়ে দিত — ভেতরের <img> লুকিয়ে যেত অথচ ১৯০px-এর ফ্রেমটা ফাঁকা জায়গা হয়ে থেকে
     যেত (মোবাইলে "উপরে ছবি শো করে না" সমস্যা)। ইনলাইন-স্টাইলড এলিমেন্টের মাপ/ডিসপ্লে মিডিয়া-কোয়েরিতে
     বদলাতে !important লাগে। এই ব্লক বদলালে ফাঁকা ফ্রেম ফিরে এসেছে কিনা (≤৫৬০px এ ছবির জায়গায় সাদা ফাঁক) দেখে নিন। */
  /* gap: 0 / align-items: stretch — ডেস্কটপ গ্রিডের "gap: 28px" ও "align-items: start" ফ্লেক্সেও থেকে যেত:
     তালিকার মাঝখানে বাড়তি ফাঁক, ছোট শিরোনামে কার্ড/সারি সরু (ডিভাইডার ছোট), আর অবিচ্ছিন্ন লম্বা শব্দে পুরো পেজ আড়াআড়ি উপচে পড়ত */
  .g-hero { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hero-primary { order: -1; margin-bottom: 8px; min-width: 0; overflow-wrap: break-word; }
  .hero-primary .img-zoom, .hero-primary .ph { height: 190px !important; }
  .hero-primary .headline { font-size: 19px !important; line-height: 1.4 !important; }
  .hero-primary-cta { display: none; }
  .hero-side { gap: 0 !important; min-width: 0; }
  .hero-side-item { flex-direction: row !important; align-items: flex-start; gap: 12px !important; padding: 13px 0; border-bottom: 1px solid #eee; }
  .hero-side-item > .img-zoom, .hero-side-item > .ph { width: 104px !important; height: 69px !important; flex-shrink: 0; font-size: 11px; }
  .hero-side-item .headline { flex: 1 1 0; min-width: 0; overflow-wrap: break-word; font-size: 16px !important; font-weight: 600 !important; line-height: 1.5 !important; }
  .hero-side-excerpt { display: none; }

  /* "আপনার এলাকার খবর" — ছোট স্ক্রিনে লেবেল+৩টা সিলেক্ট+বাটন পাশাপাশি রাখলে জায়গায় কুলোয় না,
     তাই পুরোটা এক কলামে স্ট্যাক করে দেওয়া হচ্ছে, প্রতিটা ফিল্ড ও বাটন পূর্ণ প্রস্থ জুড়ে। */
  .region-bar { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px 16px; }
  .region-fields { flex-wrap: wrap; }
  .region-field { min-width: 0; flex-basis: 100%; }
  .region-search-btn { width: 100%; }
}

/* প্রিন্ট-অনলি এলিমেন্ট (যেমন প্রিন্ট হেডার/ফুটার) — স্ক্রিনে লুকানো, শুধু প্রিন্ট করলে দেখা যাবে */
.print-only { display: none; }

/* প্রিন্ট/পিডিএফ — "প্রিন্ট" বাটনে ক্লিক করলে (বা ব্রাউজারের প্রিন্ট/পিডিএফ দিয়ে) আর্টিকেল "দৈনিক সকালের সময়"-এর
   প্রিন্টের মতো দেখাবে: উপরে মাঝখানে লোগো, তার নিচে ব্রেডক্রাম্ব (প্রচ্ছদ/ বিভাগ), মোটা কালো শিরোনাম (বামে),
   রিপোর্টার+প্রকাশের সময়, নিচে হালকা রেখা, পূর্ণ-প্রস্থ ছবি, তারপর এক কলামে বামে-সাজানো লেখা।
   বর্ডার-বক্স/২-কলাম/লাল রং নেই; হেডার/নেভ/টিকার/সাইডবার/সাইট-ফুটার/শেয়ার-বাটন/"আরও খবর" বাদ। শুধু প্রিন্টে — স্ক্রিন অপরিবর্তিত। */
@media print {
  .no-print { display: none !important; }
  .cat-content { display: block !important; }
  /* অটো-লোড হওয়া একাধিক খবরের মধ্যে শুধু একটা (পাঠক যেটা দেখছেন — main.js beforeprint) প্রিন্ট হবে */
  #articleFeed > .article-row.print-skip { display: none !important; }
  body { color: #000; border: none; border-radius: 0; padding: 0; }
  a { color: inherit; text-decoration: none; }

  .print-only { display: block; }
  .print-header { display: flex; align-items: center; justify-content: center; border-bottom: none; padding-bottom: 0; margin-bottom: 14px; }
  .print-date { display: none; }
  .print-logo { height: 44px; width: auto; }

  .article-block .breadcrumb { display: block !important; font-size: 13px; color: #222; margin: 0 0 12px !important; }
  .article-block h1.headline { color: #000 !important; text-align: left; font-size: 30px !important; font-weight: 700 !important; line-height: 1.4 !important; margin: 0 0 14px !important; }
  .article-block .art-excerpt { text-align: left !important; }

  .article-meta-card { background: none !important; border: none !important; border-bottom: 1px solid #ddd !important; border-radius: 0 !important; padding: 0 0 14px !important; margin-bottom: 18px; }
  .ameta-name { color: #000 !important; font-size: 14px; font-weight: 700; }
  .ameta-date { color: #222; font-size: 14px; }

  .article-block > img { max-height: none !important; height: auto !important; border-radius: 0 !important; }

  /* লেখা একটাই কলামে, বামে-সাজানো, বড় লাইন-ফাঁক (ইনলাইন স্টাইল হারাতে !important) */
  .article-content { columns: auto; column-count: 1; font-size: 18px !important; line-height: 1.9 !important; color: #222 !important; text-align: left !important; }
  .article-content p { margin: 0 0 18px; orphans: 3; widows: 3; }

  .print-footer { border-top: 1px solid #ddd; margin-top: 22px; padding-top: 10px; text-align: center; font-size: 12px; color: #333; }
  .print-footer div { margin: 2px 0; }
}

/* =============================================================================================================
   ইংরেজি সাইটের "Daily Bangla Post" ডিজাইন (<html lang="en" class="en-dbp"> — থিম সেটিং → ইংরেজি সাইটের ডিজাইন) — Daily Bangla Post (English) এর মতো:
   Poppins টাইপোগ্রাফি, হালকা (৪০০) শিরোনাম, ১৬:৯ ছবি, ধূসর প্যানেলসহ হিরো, গ্রেডিয়েন্ট সেকশন-হেড, বক্স-টিকার, এলাকার বার।
   ব্র্যান্ড-রং ও লোগো TNJ-র নিজস্বই থাকে (--red/--dark = config.php এর রং)।
   • সব নিয়ম html.en-dbp এর ভেতরে — বাংলা সাইট (lang="bn") আর ইংরেজি সাইটের ডিফল্ট "বাংলা থিমের হুবহু" ডিজাইন (class="en-same") একদম অপরিবর্তিত।
     (html.en-dbp = html.en-dbp-এর সমান স্পেসিফিসিটি (০,১,১) — তাই আগের নিয়ম-ক্রমের হিসাব হুবহু একই থাকে।) মার্কআপে ইনলাইন স্টাইল থাকায় বেশিরভাগ নিয়মে !important।
   • মাপ রেফারেন্সের ১৪.৮৪px (=১৬px×৯২.৭৫%) বেস থেকে: লেখা ১৪.৮৪ · নেভ ১৬.৭ · শিরোনাম ১৮.৫৫ · লিড ২২.২৬ · হিরো ২৭.৮ · আর্টিকেল ৩৩.৪px; ফাঁক ২২.২৬px।
   • মার্কআপের হুক-ক্লাসগুলো (tk-*, hc-*, lt-*, tf-*, nat-*, tw-*, sec-grid4 …) শুধু এই ডিজাইনে বসে — includes/functions.php এর en_cls()/en_class_attr()।
   • কনটেইনার: রেফারেন্সের মতো ১২৮০px, ১৫৩৬px+ স্ক্রিনে ১৫৩৬px; দুই পাশে ১৬px।
   ============================================================================================================= */
html.en-dbp {
  --en-ff: 'Poppins', 'Noto Serif Bengali', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --en-gap: 22.26px;
  --en-ink: #111827;
  --en-muted: #6b7280;
  --en-rule: #e5e7eb;                                           /* হালকা ডিভাইডার */
  --en-rule2: #d1d5db;                                          /* কার্ড/সারির মাঝের ডিভাইডার */
  --en-band: linear-gradient(180deg, #f4f4f4, #ececec);         /* সেকশন-হেডের ধূসর ব্যান্ড */
  --en-brand-grad: linear-gradient(var(--red), var(--red));     /* সেকশন-হেডের বার/তীর — নতুন ব্রাউজারে হালকা→গাঢ় গ্রেডিয়েন্ট (নিচের @supports) */
}
@supports (background: color-mix(in srgb, red 50%, white)) {
  html.en-dbp { --en-brand-grad: linear-gradient(180deg, color-mix(in srgb, var(--red) 80%, #fff), var(--red)); }
}
html.en-dbp body { font-family: var(--en-ff); font-size: 14.84px; line-height: 1.5; }

/* কনটেইনার ও দুই পাশের ফাঁক */
html.en-dbp .wrap { padding-left: 16px !important; padding-right: 16px !important; }
html.en-dbp .ad-slot-top_banner { width: calc(100% - 32px); max-width: 1248px; }
@media (min-width: 1536px) {
  html.en-dbp .wrap:not(.static-page) { max-width: 1536px; }
  html.en-dbp .ad-slot-top_banner { max-width: 1504px; }
}
html.en-dbp .home-main { padding-top: 18px !important; gap: var(--en-gap) !important; }

/* ---------- মাস্টহেড ---------- */
html.en-dbp .site-masthead { border-top: 4px solid var(--red); }
html.en-dbp .masthead-date { font-size: 14.84px !important; color: #1f2937 !important; }
html.en-dbp .masthead-actions { gap: 10px !important; }
html.en-dbp .masthead-actions > a:first-child:not(.masthead-search):not(.masthead-social-icon) { font-size: 11.13px !important; font-weight: 500 !important; padding: 7.4px 11.1px !important; line-height: 1.5; }
html.en-dbp .masthead-actions > span[title] { background: #52525b !important; }
@media (min-width: 561px) {
  html.en-dbp .masthead-row { padding-top: 8px !important; padding-bottom: 8px !important; }
  html.en-dbp .masthead-logo { height: 64px !important; }
  html.en-dbp .masthead-actions > span[title] { width: 30px !important; height: 30px !important; }
  html.en-dbp .masthead-social-icon { width: 30px !important; height: 30px !important; border-radius: 50% !important; }
}
/* ডেস্কটপে স্ক্রল করে নেভ-বার পেরিয়ে গেলে (main.js: .nav-gone) তারিখের জায়গায় হ্যামবার্গার (সব বিভাগ) — রেফারেন্সের মতো */
@media (min-width: 901px) {
  html.en-dbp .site-masthead.nav-gone .masthead-date { display: none; }
  html.en-dbp .site-masthead.nav-gone .masthead-hamburger { display: flex; }
}

/* ---------- নেভ-বার ---------- */
html.en-dbp .site-nav { box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1); }
html.en-dbp .nav-wrap { height: 41px !important; }
html.en-dbp .nav-links { gap: 0 !important; scrollbar-width: none; -ms-overflow-style: none; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent); }   /* বিভাগ বেশি হলে নেভ স্ক্রলযোগ্য — স্ক্রলবার লুকানো, ডানের কিনারা ফেড (কাটা লেখা দেখায় না); সব বিভাগ ☰ বাটনে */
html.en-dbp .nav-links::-webkit-scrollbar { display: none; }
html.en-dbp .nav-link { font-size: 16.7px; font-weight: 400; padding: 8px 11.1px; line-height: 1.5; opacity: 1; border-radius: 0; }
html.en-dbp .nav-link.active { font-weight: 500; text-underline-offset: 6px; }

/* ---------- টিকার (LATEST / BREAKING বক্স) ---------- */
html.en-dbp .tk-outer { padding: 18px 0 0 !important; }
html.en-dbp .tk-box { width: calc(100% - 32px); max-width: 1248px; height: 40px; padding: 0 !important; border: 1px solid var(--red) !important; border-radius: 2px !important; overflow: hidden; }
html.en-dbp .tk-label { align-self: stretch; display: flex; align-items: center; padding: 0 15px !important; border-radius: 0 !important; font-size: 16.7px !important; font-weight: 700 !important; text-transform: uppercase; }
html.en-dbp .tk-scroll { margin-left: 12px !important; }
html.en-dbp .tk-item { font-size: 18px !important; font-weight: 400 !important; color: #333 !important; }
html.en-dbp .tk-dot { display: block; flex: none; align-self: center; width: 8px; height: 8px; margin: 0 16px; padding: 0 !important; border-radius: 50%; background: var(--red); font-size: 0 !important; }
@media (min-width: 1536px) { html.en-dbp .wrap.tk-box { max-width: 1504px; } }   /* .wrap:not(.static-page){max-width:1536px} (ওপরে) এর চেয়ে নির্দিষ্টতা সমান — পরে থাকায় এটাই জেতে */

/* ---------- শিরোনাম ও লেখার সাইজ (সব জায়গায়) ---------- */
html.en-dbp .story-title, html.en-dbp .headline { font-size: 18.55px !important; font-weight: 400 !important; line-height: 1.4 !important; }

/* ---------- সেকশন-হেড: লাল(ব্র্যান্ড) বার + ধূসর ব্যান্ড + গ্রেডিয়েন্ট তীর-বক্স (৪৫px উঁচু) ---------- */
html.en-dbp .sec-head { background: var(--en-band); border-radius: 0; }
html.en-dbp .sec-head .bar { width: 7.4px; background: var(--en-brand-grad); }
html.en-dbp .sec-head .name { display: flex; align-items: center; padding: 7.4px 14.8px; font-size: 22.26px; font-weight: 400; line-height: 1.35; color: #000; }
html.en-dbp .sec-head .arrow { width: 45px; background: var(--en-brand-grad); }
html.en-dbp .cat-title { align-items: stretch; gap: 0; background: var(--en-band); }
html.en-dbp .cat-title .accent { width: 7.4px; height: auto; border-radius: 0; background: var(--en-brand-grad); }
html.en-dbp .cat-title h1 { display: flex; align-items: center; padding: 7.4px 14.8px; font-size: 22.26px; font-weight: 400; line-height: 1.35; }

/* ---------- ছবির অনুপাত (১৬:৯) — আগের ফিক্সড-উচ্চতার ইনলাইন স্টাইল হারাতে !important ---------- */
html.en-dbp .hero-side-item > .img-zoom, html.en-dbp .hero-side-item > .ph,
html.en-dbp .nat-top-row .img-zoom, html.en-dbp .nat-top-row .ph,
html.en-dbp .g-4 .img-zoom, html.en-dbp .g-4 .ph,
html.en-dbp .tf-img .img-zoom, html.en-dbp .tf-img .ph { width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; max-height: none !important; border-radius: 0; }
html.en-dbp .hero-side-item > .ph, html.en-dbp .nat-top-row .ph, html.en-dbp .g-4 .ph, html.en-dbp .tf-img .ph { border-radius: 0; }

/* ---------- ছোট থাম্বনেইল-সারি (৪০% ছবি ৩:২ + ৬০% শিরোনাম): ডান-প্যানেলের তালিকা, জাতীয়-নিচের সারি, ডুয়ো/লিড-ট্রিও তালিকা ---------- */
html.en-dbp .list-item, html.en-dbp .nat-bottom-item, html.en-dbp .lt-item { display: flex; flex-direction: row !important; gap: 11.13px !important; align-items: flex-start; }
html.en-dbp .list-item > .img-zoom, html.en-dbp .list-item > .ph,
html.en-dbp .nat-bottom-item > .img-zoom, html.en-dbp .nat-bottom-item > .ph,
html.en-dbp .lt-item > .img-zoom, html.en-dbp .lt-item > .ph { flex: 0 1 40%; width: 40% !important; max-width: 150px; height: auto !important; aspect-ratio: 3 / 2; min-width: 0; font-size: 11px; }
html.en-dbp .list-item > .story-title, html.en-dbp .nat-bottom-item > .story-title, html.en-dbp .lt-item > .story-title { flex: 1 1 60%; min-width: 0; margin: 0; overflow-wrap: break-word; }
html.en-dbp .list-item { padding-bottom: 11px; margin-bottom: 11px; border-bottom: 1px solid var(--en-rule2); }
html.en-dbp .list-item:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: none; }

/* ---------- হিরো (৩ : ৬ : ৩ — ১২-কলামের গ্রিড, ফাঁক ২২.২৬px) ---------- */
html.en-dbp .hero-side { gap: 0 !important; }
html.en-dbp .hero-side-item { gap: 0 !important; }
html.en-dbp .hero-side-item .headline { margin-top: 11px; }
html.en-dbp .hero-side-excerpt { margin-top: 7.4px; font-size: 14.84px !important; line-height: 1.5 !important; color: var(--en-muted) !important; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: break-word; }
html.en-dbp .hc-wrap { display: flex; flex-direction: column; gap: 14.84px; min-width: 0; }
html.en-dbp .hc-panel { flex: 1 1 auto; display: flex; flex-direction: column; gap: 14.84px; padding: 14.84px; background: #f3f4f6; min-width: 0; }
html.en-dbp .hc-img { display: block; color: inherit; }
html.en-dbp .hc-img .img-zoom, html.en-dbp .hc-img .ph { width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; max-height: none !important; border-radius: 0; }
html.en-dbp .hc-title { display: block; font-size: 27.8px !important; line-height: 1.4 !important; color: #000; overflow-wrap: break-word; }
html.en-dbp .hc-title:hover { color: var(--red); }
html.en-dbp .hc-excerpt { font-size: 14.84px; line-height: 1.5; color: var(--en-muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: break-word; }
@media (min-width: 561px) {
  html.en-dbp .hc-btn { display: block; padding: 7.4px; border-radius: 0; background: var(--red); color: #fff !important; font-size: 16.7px; font-weight: 600; line-height: 26px; text-align: center; }
  html.en-dbp .hero-side-item:not(:last-child) { padding-bottom: 20px; border-bottom: 1px solid #e5e5e5; }
  html.en-dbp .hero-side-item + .hero-side-item { margin-top: 13px; }
}
@media (min-width: 901px) {
  html.en-dbp .g-hero { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--en-gap); align-items: stretch; }
  html.en-dbp .g-hero > .hero-side { grid-column: span 3; }
  html.en-dbp .g-hero > .hero-primary { grid-column: span 6; }
}
@media (min-width: 561px) and (max-width: 900px) {   /* ট্যাবলেট: মাঝের খবর উপরে পুরো প্রস্থে, নিচে বাম/ডান কার্ড দুই কলামে */
  html.en-dbp .g-hero { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--en-gap); align-items: start; }
  html.en-dbp .g-hero > .hero-primary { grid-column: 1 / -1; order: -1; }
}

/* ---------- জাতীয় কলাম (৩ কার্ড + নিচে ৩ সারি) + ডান-প্যানেল (Latest / Most read) ---------- */
html.en-dbp .g-main-side { border-top: 0 !important; padding-top: 0 !important; gap: var(--en-gap); }
html.en-dbp .g-main-side > div:first-child { gap: 10px !important; }
html.en-dbp .nat-top-row, html.en-dbp .nat-bottom-row { gap: var(--en-gap); }
html.en-dbp .nat-top-row > a { gap: 0 !important; }
html.en-dbp .nat-top-row .story-title { margin-top: 11px; }
html.en-dbp .nat-excerpt, html.en-dbp .lt-excerpt, html.en-dbp .duo-lead-excerpt { margin-top: 7.4px; font-size: 14.84px !important; line-height: 1.5 !important; color: var(--en-muted) !important; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; overflow-wrap: break-word; }
html.en-dbp .nat-bottom-row { margin-top: 0 !important; padding-top: 12px; border-top: 1px solid var(--en-rule2); }
html.en-dbp .nat-top-row { padding-bottom: 12px; }
html.en-dbp .nat-bottom-item .story-title { margin: 0; }
html.en-dbp .tw-box { border: 1px solid var(--red) !important; border-radius: 0 !important; }
html.en-dbp .tab-btn { height: 45px; padding: 0 14px; font-size: 22.26px; font-weight: 400 !important; line-height: 1.35; text-align: left; }
html.en-dbp .tab-btn.active { background: var(--en-brand-grad) left top / 7.4px 100% no-repeat, var(--en-band); color: #000; padding-left: 21px; }
html.en-dbp .tab-btn.inactive { background: #fff; color: var(--en-muted); }
html.en-dbp .tab-panel { padding: 14.84px 14.84px 4px; }
html.en-dbp .tab-panel.show { max-height: 540px; }
html.en-dbp .tw-all { padding: 7.4px !important; background: var(--red) !important; color: #fff !important; font-size: 16.7px !important; font-weight: 600 !important; line-height: 26px; }
@media (min-width: 901px) {
  html.en-dbp .g-main-side { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  html.en-dbp .g-main-side > :first-child { grid-column: span 3; }
}
@media (min-width: 901px) and (max-width: 1199px) {   /* ছোট ল্যাপটপ/ট্যাবলেট (ল্যান্ডস্কেপ): ডান-প্যানেল ২৮০px — নইলে ~২৩০px-এ শিরোনাম শব্দের মাঝে ভাঙে, "Most read" দু-লাইনে যায় */
  html.en-dbp .g-main-side { grid-template-columns: minmax(0, 1fr) 280px; }
  html.en-dbp .g-main-side > :first-child { grid-column: auto; }
  html.en-dbp .tab-btn { font-size: 20px; white-space: nowrap; padding: 0 12px; }
  html.en-dbp .tab-btn.active { padding-left: 19px; }
}

/* ---------- ৪-কার্ডের সারি (অর্থনীতি/আন্তর্জাতিক/বিশেষ): মাঝখানে উল্লম্ব ডিভাইডার ---------- */
html.en-dbp .sec-grid4 { gap: 10px !important; padding-top: 0 !important; border-top: 0 !important; }
html.en-dbp .g-4 { gap: var(--en-gap); }
html.en-dbp .g-4 > a { position: relative; gap: 0 !important; }
html.en-dbp .g-4 .story-title { margin-top: 11px; }
@media (min-width: 901px) {
  html.en-dbp .g-4 > a:not(:last-child)::after { content: ''; position: absolute; top: 0; bottom: 0; right: calc(var(--en-gap) / -2); width: 1px; background: var(--en-rule2); }
}

/* ---------- এলাকার বার (Area News · Division · District · Upazila · Search) ---------- */
html.en-dbp .region-bar { gap: 8px; padding: 7.4px; border: 0; border-radius: 0; }
html.en-dbp .region-bar > div:first-child { font-size: 18.55px !important; font-weight: 700 !important; padding-left: 7px; }
html.en-dbp .region-fields { gap: 8px; }
html.en-dbp .region-field { min-width: 0; height: 38px; padding: 0 8px; font-size: 14.84px; color: #111827; }
html.en-dbp .region-search-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; padding: 0 18px; font-size: 14.84px; font-weight: 500; }
@media (min-width: 561px) { html.en-dbp .region-bar > div:first-child { flex: 0 0 17%; } }

/* ---------- ডুয়ো ব্লক (সারাদেশ+রাজনীতি, বিনোদন+লাইফস্টাইল): লিড + তালিকা সমান দুই ভাগে ---------- */
html.en-dbp .duo-col { gap: 10px; }
html.en-dbp .duo-inner { gap: var(--en-gap); }
html.en-dbp .duo-lead { gap: 0; }
html.en-dbp .duo-lead .img-zoom, html.en-dbp .duo-lead .ph { aspect-ratio: 1.92 / 1; max-height: none; border-radius: 0; }
html.en-dbp .duo-lead-title { margin-top: 12px; font-size: 22.26px !important; line-height: 1.34 !important; text-wrap: wrap; }
html.en-dbp .duo-list { gap: 0; }
html.en-dbp .duo-item { gap: 11.13px; }
html.en-dbp .duo-item-title { font-size: 18.55px !important; }
@media (min-width: 1024px) {
  html.en-dbp .duo-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
/* জোড়া-ব্লকের মাঝে উল্লম্ব ডিভাইডার + আগের উপরের রেখা বাদ */
html.en-dbp .home-main > .g-2, html.en-dbp .home-main > .g-3 { padding-top: 0 !important; border-top: 0 !important; }
html.en-dbp .home-main > .g-2 { position: relative; column-gap: var(--en-gap); }
html.en-dbp .home-main > .g-3 { column-gap: var(--en-gap); }
@media (min-width: 901px) {
  html.en-dbp .home-main > .g-2::after { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--en-rule2); }
}

/* ---------- লিড+তালিকা (খেলাধুলা+শিক্ষা): লিড = বামে ছবি / ডানে লেখা; নিচে ২×২ থাম্বনেইল-তালিকা ---------- */
html.en-dbp .lt-col { gap: 10px !important; }
html.en-dbp .lt-lead { gap: var(--en-gap) !important; align-items: flex-start; padding-bottom: 11px; border-bottom: 1px solid var(--en-rule2); margin-bottom: 1px; }
html.en-dbp .lt-lead > .img-zoom, html.en-dbp .lt-lead > .ph { flex: 0 0 calc(50% - 11.13px); width: calc(50% - 11.13px) !important; height: auto !important; aspect-ratio: 1.92 / 1; max-height: none !important; border-radius: 0; }
html.en-dbp .lt-lead > div:last-child { flex: 1 1 0; min-width: 0; justify-content: flex-start !important; gap: 0 !important; }
html.en-dbp .lt-lead .headline { font-size: 22.26px !important; line-height: 1.34 !important; }
html.en-dbp .lt-list { position: relative; row-gap: 0; column-gap: var(--en-gap); }
html.en-dbp .lt-item { padding-bottom: 11px; margin-bottom: 11px; border-bottom: 1px solid var(--en-rule2); }
@media (min-width: 561px) {
  html.en-dbp .lt-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html.en-dbp .lt-list::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 11px; width: 1px; background: var(--en-rule2); }
}
@media (min-width: 901px) {
  html.en-dbp .lt-list .lt-item:nth-last-child(-n+2) { margin-bottom: 0; border-bottom: 0; }
}
@media (max-width: 900px) {
  html.en-dbp .lt-lead > .img-zoom, html.en-dbp .lt-lead > .ph { flex: none; width: 100% !important; }
}

/* ---------- তিন-কলামের ফুটার-ব্লক (তথ্যপ্রযুক্তি / স্বাস্থ্য / চাকরি) ---------- */
html.en-dbp .tf-col { gap: 10px !important; }
html.en-dbp .tf-lead { margin-top: 2px; font-size: 22.26px !important; line-height: 1.34 !important; }
html.en-dbp .tf-list { border-top: 1px solid var(--en-rule2); }
html.en-dbp .tf-list .trio-link { padding: 11px 0; border-bottom: 1px solid var(--en-rule2); }
html.en-dbp .tf-list .trio-link:last-child { border-bottom: none; }

/* ---------- খবরহীন সেকশন (render_empty_column) — হেড + বার্তা একই ঘরে ---------- */
html.en-dbp .empty-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }

/* ---------- ভিডিও (ডার্ক) সেকশন ---------- */
html.en-dbp .g-video-2 > a > div:last-child, html.en-dbp .g-video-3 > a > div:last-child { font-size: 18.55px !important; font-weight: 400 !important; line-height: 1.4 !important; }

/* ---------- ভেতরের পেজ: ক্যাটাগরি/এলাকা তালিকা, আর্টিকেল ---------- */
html.en-dbp .cat-content > div > a > .img-zoom, html.en-dbp .cat-content > div > a > .ph { height: auto !important; aspect-ratio: 16 / 9; max-height: none !important; border-radius: 0; }
html.en-dbp .cat-content .headline.story-title { font-size: 27.8px !important; line-height: 1.35 !important; }
html.en-dbp .list-row { gap: 14.84px; }
html.en-dbp .list-row > .img-zoom, html.en-dbp .list-row > .ph { width: 176px !important; height: auto !important; aspect-ratio: 3 / 2; flex-shrink: 0; }
html.en-dbp .list-row .story-title { margin: 0; }
html.en-dbp .breadcrumb { font-size: 14.84px; }
html.en-dbp .static-page-title { font-size: 33.39px !important; font-weight: 700 !important; line-height: 1.2 !important; color: var(--en-ink); }   /* স্ট্যাটিক পেজের শিরোনাম (class="static-page-title headline") — সাধারণ .headline নিয়মে ছোট হয়ে যেত */
html.en-dbp .static-page-body { font-size: 16.7px; line-height: 1.8; }
html.en-dbp .static-page-body h2 { font-size: 22.26px; font-weight: 600; }
html.en-dbp .more-head { display: flex; align-items: center; min-height: 45px; padding: 7.4px 14.8px; border-left: 7.4px solid var(--red); background: var(--en-band); font-size: 22.26px !important; font-weight: 400 !important; line-height: 1.35; }
@media screen {
  html.en-dbp .article-block h1.headline { font-size: 33.39px !important; font-weight: 700 !important; line-height: 1.15 !important; color: var(--en-ink); }
  html.en-dbp .article-block .art-excerpt { font-size: 18.55px !important; line-height: 1.55 !important; color: #374151 !important; text-align: left !important; }
  html.en-dbp .article-block > img, html.en-dbp .article-block > .ph { height: auto !important; aspect-ratio: 16 / 9; max-height: none !important; border-radius: 0 !important; }
  html.en-dbp .article-content { font-size: 18.55px !important; line-height: 1.6 !important; color: #1f2937 !important; text-align: left !important; }
}

/* ---------- ফুটার — ইংরেজি সাইট: রেফারেন্স ইংরেজি সাইটের মাপ (rem = 14.84px: ১৬→14.84, ১৪→12.98, ৩২→29.68, ১২→11.13, ৮→7.42, ৪→3.71) ---------- */
html.en-dbp .sf-inner { padding-top: 29.68px; padding-bottom: 14.84px; column-gap: 29.68px; row-gap: 14.84px; }
html.en-dbp .sf-brand { gap: 14.84px; }
html.en-dbp .sf-credit { font-size: 14.84px; line-height: 22.26px; }
html.en-dbp .sf-logo { padding: 3.7px 9.3px; }
html.en-dbp .sf-logo img { height: 37px; }   /* প্লেটের মোট উচ্চতা 44.52px (= h-12 × 14.84) */
html.en-dbp .sf-info { gap: 14.84px; }
html.en-dbp .sf-org { margin-top: 7.42px; }   /* তথ্য-কলামের গ্যাপ 14.84 + 7.42 = 22.26 (লিংক-সারি → সাইটের নাম) */
html.en-dbp .sf-social { gap: 11.13px; }
html.en-dbp .sf-social a, html.en-dbp .sf-social span { width: 29.68px !important; height: 29.68px !important; }
html.en-dbp .sf-social i { font-size: 14.84px !important; }   /* Font Awesome আইকন — ইনলাইন font-size:16px ছাপিয়ে */
html.en-dbp .sf-links { gap: 7.42px 29.68px; }
html.en-dbp .sf-links a, html.en-dbp .sf-address, html.en-dbp .sf-ci, html.en-dbp .sf-copy { font-size: 12.98px; line-height: 18.55px; }
html.en-dbp .sf-name { font-size: 14.84px; line-height: 22.26px; margin-bottom: 3.71px; }
html.en-dbp .sf-address { max-width: 415.52px; margin-bottom: 11.13px; }
html.en-dbp .sf-address:last-child { margin-bottom: 0; }
html.en-dbp .sf-contact { gap: 3.71px; }
html.en-dbp .sf-ci { gap: 7.42px; }
html.en-dbp .sf-ci svg { width: 11.13px; height: 11.13px; }
@media (max-width: 900px) {
  html.en-dbp .sf-inner { row-gap: 22.26px; }
  html.en-dbp .sf-contact { gap: 3.71px 14.84px; }
}

/* ---------- ট্যাবলেট / এক-কলাম রেঞ্জ (৫৬১–৯০০px; ডুয়োর জন্য ১০২৩px পর্যন্ত) ---------- */
@media (max-width: 1023px) {
  html.en-dbp .duo-lead .img-zoom, html.en-dbp .duo-lead .ph { max-height: 420px; }   /* এক-কলামে লিড-ছবি অতি-লম্বা হত */
}
@media (min-width: 561px) and (max-width: 900px) {
  html.en-dbp .nat-bottom-row { grid-template-columns: minmax(0, 1fr); }   /* নিচের ৩ সারি একটানা তালিকা (২-কলামে একটা একা পড়ত) */
}
@media (min-width: 700px) and (max-width: 900px) {
  html.en-dbp .nat-top-row, html.en-dbp .home-main > .g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }   /* ৩টা কার্ড/ব্লক ৩ কলামে (২-কলামে একটা একা পড়ত) */
}

/* ---------- মোবাইল (≤৫৬০px) ---------- */
@media (max-width: 560px) {
  html.en-dbp .tk-outer { padding-top: 12px !important; }
  html.en-dbp .tk-box { height: 38px; }
  html.en-dbp .tk-label { padding: 0 11px !important; font-size: 14px !important; }
  html.en-dbp .tk-item { font-size: 16px !important; }
  html.en-dbp .home-main { padding-top: 14px !important; }
  html.en-dbp .hc-title { font-size: 22.26px !important; line-height: 1.35 !important; }
  html.en-dbp .hero-primary { margin-bottom: 0; }
  html.en-dbp .hero-side-item { gap: 12px !important; padding: 12px 0; border-bottom: 1px solid #e5e5e5; }
  html.en-dbp .hero-side-item > .img-zoom, html.en-dbp .hero-side-item > .ph { flex: 0 0 46%; width: 46% !important; height: auto !important; aspect-ratio: 16 / 9 !important; }
  html.en-dbp .hero-side-item .headline { margin-top: 0; font-size: 18.55px !important; font-weight: 400 !important; line-height: 1.4 !important; }
  html.en-dbp .hero-side-excerpt { display: none; }   /* মোবাইলে সারাংশ নেই (আগের মতোই) — নইলে সারির তৃতীয় আইটেম হয়ে শিরোনাম সরু হয়ে যায় */
  html.en-dbp .sec-head .name, html.en-dbp .cat-title h1 { font-size: 20px; }
  html.en-dbp .lt-list::before { display: none; }
  html.en-dbp .region-bar > div:first-child { padding-left: 2px; }
  html.en-dbp .region-field { flex-basis: 100%; }
  html.en-dbp .article-block h1.headline { font-size: 24px !important; }
  html.en-dbp .static-page-title { font-size: 26px !important; }
  html.en-dbp .list-row > .img-zoom, html.en-dbp .list-row > .ph { width: 120px !important; }
}


/* =============================================================================================================
   ইংরেজি সাইটের ডিফল্ট ডিজাইন — "বাংলা থিমের হুবহু" (<html lang="en" class="en-same">)। বাংলা থিমের সব নিয়ম হুবহু খাটে (উপরের html.en-dbp
   নিয়মগুলো এখানে আসে না) — শুধু ইংরেজি লেখার জন্য দুটো ছোট সামঞ্জস্য:
   ১. নেভ-বার: ইংরেজি বিভাগের নাম বাংলার চেয়ে চওড়া, তাই আইটেম বেশি হলে নেভ-বারের নিচে ধূসর স্ক্রলবার এসে যেত (বাংলায় আসে না)।
      স্ক্রলবার লুকানো, ডান কিনারায় হালকা ফেড; স্ক্রল (ট্র্যাকপ্যাড/টাচ) আগের মতোই চলে, আর সব বিভাগ ☰ বাটনেও আছে। কাস্টম মেনু (.nav-menu) আলাদা — সেটা অপরিবর্তিত।
   ২. খবরহীন সেকশন (render_empty_column): হেড + "No news…" বার্তা একই ঘরে (.empty-col) — নইলে দুটো আলাদা গ্রিড-ঘর হয়ে পাশাপাশি ছড়িয়ে যেত।
   ============================================================================================================= */
html.en-same .nav-links:not(.nav-menu) { scrollbar-width: none; -ms-overflow-style: none; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
html.en-same .nav-links:not(.nav-menu)::-webkit-scrollbar { display: none; }
html.en-same .empty-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

/* =====================================================================================================================
   থিম সেটিং (অ্যাডমিন → থিম সেটিং) — মেনু-বিল্ডারের ড্রপডাউন, ড্রয়ার-অ্যাকর্ডিয়ন, সার্চ, ঘোষণা-বার, "উপরে যান"।
   এই নিয়মগুলো শুধু সংশ্লিষ্ট ক্লাস/এলিমেন্ট থাকলেই কাজ করে — কিছু সেভ না থাকলে ডিফল্ট পেজে সেগুলো আসেই না, তাই চেহারা অপরিবর্তিত।
   ===================================================================================================================== */

/* --- নেভ-বার ড্রপডাউন (header.php: কাস্টম মেনু সেভ থাকলে .nav-links এ .nav-menu, .wrap এ .nav-menu-wrap) ---
   .nav-links এর ইনলাইন overflow-x:auto ড্রপডাউনকে কেটে দিত — তাই এই মোডে overflow খোলা, আইটেম বেশি হলে স্ক্রলের বদলে পরের লাইনে নামে। */
.nav-menu { overflow: visible !important; -webkit-mask-image: none !important; mask-image: none !important; flex-wrap: wrap; align-self: stretch; align-items: stretch !important; row-gap: 0 !important; }
.nav-menu > a { align-self: center; }
.nav-menu > .nav-item { position: relative; display: flex; align-items: center; }
.nav-menu-wrap { height: auto !important; min-height: 46px; }
html.en-dbp .nav-menu-wrap { height: auto !important; min-height: 41px; }
.nav-caret { background: none; border: 0; color: #fff; cursor: pointer; padding: 8px 8px 8px 0; margin-left: -4px; display: inline-flex; align-items: center; font-family: inherit; opacity: .95; border-radius: 3px; }
.nav-caret:hover, .nav-caret:focus-visible { opacity: 1; }
.nav-caret:focus-visible, button.nav-group:focus-visible, .nav-hamburger:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
button.nav-link.nav-group { background: none; border: 0; cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; gap: 6px; }
.nav-caret svg, .nav-group svg { transition: transform .15s ease; flex: none; }
.nav-item.open > .nav-caret svg, .nav-item.open > .nav-group svg { transform: rotate(180deg); }
.nav-item.has-active > .nav-link { font-weight: 700; opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
html.en-dbp .nav-item.has-active > .nav-link { font-weight: 500; text-underline-offset: 6px; }
.nav-sub { display: none; position: absolute; top: 100%; left: 0; min-width: 210px; max-width: 320px; background: #fff; border: 1px solid #e0e0e0; border-top: 3px solid var(--dark); box-shadow: 0 10px 24px rgba(0,0,0,.16); z-index: 70; padding: 6px 0; }
.nav-sublink { display: block; color: #222; font-size: 15px; font-weight: 500; line-height: 1.4; padding: 10px 18px; white-space: normal; }
.nav-sublink:hover, .nav-sublink:focus-visible { background: #f4f5f7; color: var(--red); }
.nav-sublink.active { color: var(--red); font-weight: 700; }
.nav-item.open > .nav-sub { display: block; }
@media (hover: hover) and (pointer: fine) {
  .nav-item.has-sub:hover > .nav-sub { display: block; }
  .nav-item.has-sub.shut:hover > .nav-sub { display: none; }
}
@media (max-width: 560px) {
  /* মোবাইলে সাব-মেনু প্যানেল নেভ-বারের নিচে পুরো প্রস্থে (.site-nav position:relative — header.php ইনলাইন) */
  .nav-menu { column-gap: 12px !important; }
  .nav-menu > .nav-item { position: static; }
  .nav-menu .nav-sub { left: 0; right: 0; min-width: 0; max-width: none; border-left: 0; border-right: 0; }
  .nav-menu .nav-link { font-size: 16px; }
}

/* --- "সব বিভাগ" ড্রয়ারের সাব-মেনু অ্যাকর্ডিয়ন --- */
.cat-drawer-row { display: flex; align-items: stretch; border-bottom: 1px solid #f0f0f0; }
.cat-drawer-row .cat-drawer-link { flex: 1; border-bottom: 0; }
.cat-drawer-glabel { background: none; border: 0; text-align: left; font-family: inherit; cursor: pointer; }
.cat-drawer-toggle { background: none; border: 0; border-left: 1px solid #f0f0f0; width: 50px; cursor: pointer; color: #555; display: flex; align-items: center; justify-content: center; font-family: inherit; }
.cat-drawer-toggle:hover { background: #f7f7f7; color: var(--red); }
.cat-drawer-toggle svg { transition: transform .2s ease; }
.cat-drawer-group.open .cat-drawer-toggle svg { transform: rotate(180deg); }
.cat-drawer-sub { display: none; background: #fafafa; }
.cat-drawer-group.open .cat-drawer-sub { display: block; }
.cat-drawer-sublink { display: block; color: #444; font-size: 14px; font-weight: 500; padding: 11px 20px 11px 34px; border-bottom: 1px solid #f0f0f0; }
.cat-drawer-sublink:hover { background: #f0f0f0; color: var(--red); }

/* --- সার্চ: হেডারের সার্চ-আইকন (লিংক হলে) ও search.php এর ফর্ম --- */
.masthead-search { text-decoration: none; }
html.en-dbp .masthead-actions > a.masthead-search { background: #52525b !important; }
@media (min-width: 561px) {
  html.en-dbp .masthead-actions > a.masthead-search { width: 30px !important; height: 30px !important; }
}
.site-search-form { display: flex; gap: 8px; max-width: 640px; }
.site-search-form input[type="search"] { flex: 1; min-width: 0; border: 1px solid #cfd2d8; border-radius: 3px; padding: 11px 14px; font: inherit; font-size: 16px; background: #fff; color: #222; }
.site-search-form input[type="search"]:focus { outline: 2px solid var(--red); outline-offset: -1px; border-color: var(--red); }
.site-search-form button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: var(--red); color: #fff; border-radius: 3px; padding: 0 20px; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.site-search-form button:hover { filter: brightness(1.12); }

/* --- ঘোষণা-বার (সব পেজের একদম উপরে; theme_announcement_html()) --- */
.site-announce { display: flex; align-items: center; justify-content: center; position: relative; padding: 9px 44px 9px 16px; font-size: 14px; line-height: 1.5; text-align: center; }
.site-announce .ann-text { max-width: 1200px; }
.site-announce .ann-close { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: inherit; cursor: pointer; padding: 6px; display: flex; opacity: .85; border-radius: 4px; font-family: inherit; }
.site-announce .ann-close:hover { opacity: 1; background: rgba(255,255,255,.2); }

/* --- "উপরে যান" বাটন (থিম সেটিং → সাধারণ) --- */
.back-to-top { position: fixed; right: 16px; bottom: 16px; z-index: 90; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.3); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { filter: brightness(1.12); }
body.has-sticky-ad .back-to-top { bottom: calc(var(--sticky-ad-h, 0px) + 16px); }
