/* নিউজ পোর্টাল — সাদা পাতা, লাল রং, পরিষ্কার কলাম */
:root {
  --red: #d7141a;
  --red-dark: #a50e13;
  --ink: #16181d;
  --text: #2b2f36;
  --muted: #6b717c;
  --line: #e4e6ea;
  --soft: #f5f6f8;
  --bg: #ffffff;
  --head: "Noto Serif Bengali", "Hind Siliguri", serif;
  --body: "Hind Siliguri", "Noto Sans Bengali", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--text); font: 17px/1.65 var(--body); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.35; margin: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted, .meta { color: var(--muted); font-size: 13.5px; }
.meta { display: block; margin-top: 4px; }
.empty { padding: 40px 0; color: var(--muted); text-align: center; }
.btn { display: inline-block; background: var(--red); color: #fff; padding: 9px 20px; border-radius: 6px; font-weight: 600; }
.btn:hover { background: var(--red-dark); color: #fff; }

/* ---------- উপরের লাইন ---------- */
.topline { background: var(--ink); color: #cfd3da; font-size: 13.5px; }
.topline-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 34px; }
.top-links { display: flex; align-items: center; gap: 6px; }
.top-links a { display: inline-grid; place-items: center; min-width: 26px; height: 26px; border-radius: 4px; color: #fff; font-weight: 700; font-size: 13px; padding: 0 6px; }
.top-links a:hover { background: var(--red); color: #fff; }

/* ---------- লোগোর সারি ---------- */
.masthead { border-bottom: 1px solid var(--line); }
.mast-row { display: flex; align-items: center; gap: 20px; min-height: 92px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; flex-direction: column; line-height: 1.1; flex-shrink: 0; }
.brand img { max-height: 100px; max-width: 320px; width: auto; }
.brand b { font-family: var(--head); font-size: 38px; font-weight: 800; color: var(--red); letter-spacing: -.5px; }
.brand small { color: var(--muted); font-size: 14px; margin-top: 4px; }
.brand.light b { color: #fff; }
.mast-ad { flex: 1; display: flex; justify-content: center; min-width: 0; }
.mast-ad .ad { margin: 0; }
.search { display: flex; border: 1px solid var(--line); border-radius: 30px; overflow: hidden; background: var(--soft); flex-shrink: 0; }
.search input { border: 0; background: transparent; padding: 8px 14px; font: inherit; font-size: 15px; width: 190px; outline: none; }
.search button { border: 0; background: var(--red); color: #fff; width: 42px; font-size: 20px; cursor: pointer; }
.menu-btn { display: none; border: 0; background: none; font-size: 26px; cursor: pointer; color: var(--ink); padding: 4px 8px; }

/* ---------- বিভাগের মেনু ---------- */
.mainnav { background: #fff; border-bottom: 3px solid var(--red); position: sticky; top: 0; z-index: 20; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.nav-row { display: flex; overflow-x: auto; scrollbar-width: none; }
.nav-row::-webkit-scrollbar { display: none; }
.nav-row a { padding: 11px 14px; font-weight: 600; font-size: 16.5px; white-space: nowrap; color: var(--ink); }
.nav-row a:hover { background: var(--red); color: #fff; }
.nav-row .home { color: var(--red); font-size: 20px; }

/* ---------- ব্রেকিং টিকার ---------- */
.ticker { background: var(--soft); border-bottom: 1px solid var(--line); }
.ticker-row { display: flex; align-items: center; gap: 12px; height: 42px; }
.ticker-label { background: var(--red); color: #fff; padding: 3px 12px; border-radius: 3px; font-size: 14.5px; flex-shrink: 0; position: relative; }
.ticker-label::before { content: ""; display: inline-block; width: 8px; height: 8px; background: #fff; border-radius: 50%; margin-right: 7px; animation: blink 1.2s infinite; vertical-align: 1px; }
@keyframes blink { 50% { opacity: .2; } }
.ticker-track { overflow: hidden; flex: 1; min-width: 0; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.ticker-move { display: inline-flex; white-space: nowrap; animation: tick var(--dur, 40s) linear infinite; }
.ticker-move:hover { animation-play-state: paused; }
.ticker-move > * { padding: 0 26px; font-weight: 500; position: relative; }
.ticker-move > *::after { content: "■"; color: var(--red); position: absolute; right: -4px; font-size: 9px; top: 7px; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-move { animation: none; } .ticker-track { overflow-x: auto; } }

.page { padding-top: 22px; padding-bottom: 30px; min-height: 60vh; }

/* ---------- খবরের কার্ড ---------- */
.pic { display: block; position: relative; overflow: hidden; border-radius: 4px; background: var(--soft); aspect-ratio: 16 / 9; }
.pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
a.pic:hover img { transform: scale(1.04); }
.ph { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, #f3e3e4, #e9ecf1); color: var(--red-dark); font-family: var(--head); font-weight: 700; font-size: 18px; text-align: center; padding: 8px; }
.play { position: absolute; left: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%; background: rgba(215,20,26,.92); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 14px; }
.shoulder { color: var(--red); font-weight: 700; }
.shoulder::after { content: " /"; color: var(--muted); font-weight: 400; }
.shoulder.big { font-family: var(--body); font-size: 17px; margin: 6px 0 4px; }
.shoulder.big::after { content: ""; }

.card h3 { font-size: 18px; margin-top: 10px; font-weight: 700; }
.lead h2 { font-size: 30px; font-weight: 800; margin-top: 14px; }
.lead .sub { margin: 8px 0 0; color: var(--text); font-size: 17px; }
.row-card { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: start; }
.row-card:first-child { padding-top: 0; }
.row-card:last-child { border-bottom: 0; }
.row-card h3 { font-size: 16.5px; font-weight: 700; }
.row-card .pic { aspect-ratio: 4 / 3; }
.row-card .ph { font-size: 13px; }

/* ---------- হোমপেজের উপরের অংশ ---------- */
.top-grid { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr) 320px; gap: 26px; }
.top-main .lead { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.top-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.top-mid { border-left: 1px solid var(--line); border-right: 1px solid var(--line); padding: 0 20px; }
.top-mid .row-card { grid-template-columns: 1fr; }
.top-mid .row-card .pic { aspect-ratio: 16 / 9; }

/* ---------- পাশের কলাম ---------- */
.side { display: flex; flex-direction: column; gap: 22px; }
.tabs { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.tab-head { display: grid; grid-template-columns: 1fr 1fr; }
.tab-head button { border: 0; background: var(--soft); padding: 11px 6px; font: inherit; font-weight: 700; cursor: pointer; color: var(--muted); border-bottom: 2px solid var(--line); }
.tab-head button.on { background: #fff; color: var(--red); border-bottom-color: var(--red); }
.tab-list { list-style: none; margin: 0; padding: 4px 14px; counter-reset: n; }
.tab-list li { padding: 10px 0 10px 42px; border-bottom: 1px dashed var(--line); position: relative; font-weight: 600; font-size: 15.5px; line-height: 1.5; counter-increment: n; }
.tab-list li:last-child { border-bottom: 0; }
.tab-list li::before { content: counter(n); position: absolute; left: 0; top: 8px; font: 800 26px/1 var(--head); color: #d9dce1; width: 32px; text-align: center; }
.tab-list li .meta { font-weight: 400; font-size: 12.5px; }
.tabs .more { display: block; text-align: center; padding: 10px; background: var(--soft); font-weight: 600; color: var(--red); }

/* ---------- বিভাগের ব্লক ---------- */
.cat-block, .video-block, .related { margin-top: 34px; }
.block-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--line); margin-bottom: 18px; }
.block-head h2, .block-head h1 { font-size: 23px; font-weight: 800; padding-bottom: 8px; margin-bottom: -2px; border-bottom: 2px solid var(--red); position: relative; padding-left: 14px; }
.block-head h2::before, .block-head h1::before { content: ""; position: absolute; left: 0; top: 7px; bottom: 15px; width: 5px; background: var(--red); border-radius: 2px; }
.block-head .more { color: var(--red); font-weight: 600; font-size: 15px; }
.block-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 26px; }
.block-split .lead h2 { font-size: 24px; }
.style-2 .block-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.style-2 .block-split .lead { order: 2; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 22px; }
.list-head + .lead { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.list-head + .lead .pic { aspect-ratio: 21 / 9; }

.video-block { background: var(--ink); color: #dfe2e7; padding: 22px 24px 26px; border-radius: 8px; }
.video-block .block-head { border-color: #3a3f48; }
.video-block h2, .video-block h3, .video-block h3 a { color: #fff; }
.video-block .meta { color: #9aa1ab; }

/* ---------- বিজ্ঞাপন ---------- */
.ad { margin: 26px auto; text-align: center; }
.ad small { display: block; font-size: 11px; color: var(--muted); letter-spacing: 1px; margin-bottom: 3px; }
.ad img { margin: 0 auto; height: auto; }
.ad a + a, .ad img + a { margin-top: 10px; display: block; }
.side .ad { margin: 0; }

/* ---------- খবরের পাতা ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
.article-layout > .side { position: sticky; top: 64px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.crumbs a { color: var(--red); font-weight: 600; }
.article h1 { font-size: 36px; font-weight: 800; line-height: 1.32; }
.subtitle { font-size: 19px; color: var(--text); margin: 12px 0 0; padding-left: 14px; border-left: 4px solid var(--red); }
.byline { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; margin: 18px 0; }
.byline b { display: block; color: var(--ink); }
.byline span { font-size: 14px; color: var(--muted); }
.share { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.share > span { font-size: 14px; color: var(--muted); margin-right: 2px; }
.share a, .share button { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; font-weight: 700; font-size: 15px; border: 0; cursor: pointer; }
.share .fb { background: #1877f2; } .share .wa { background: #25d366; } .share .x { background: #111; } .share .ln { background: #0a66c2; }
.share a:hover { color: #fff; opacity: .85; }
.share .copy { width: auto; border-radius: 17px; padding: 0 14px; background: var(--soft); color: var(--ink); font: 600 13.5px var(--body); border: 1px solid var(--line); }
.share .copy.done { background: #e8f7ee; color: #157a3c; border-color: #b8e5c8; }
.hero { margin: 0 0 20px; }
.hero img { width: 100%; border-radius: 4px; }
.hero figcaption, .body figcaption { font-size: 14px; color: var(--muted); padding: 7px 2px; border-bottom: 1px solid var(--line); }
.video { position: relative; aspect-ratio: 16 / 9; margin-bottom: 20px; background: #000; border-radius: 4px; overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.body { font-size: 19px; line-height: 1.85; color: #22262c; }
.body p { margin: 0 0 1.1em; }
.body h2 { font-size: 24px; margin: 1.4em 0 .5em; }
.body h3 { font-size: 21px; margin: 1.3em 0 .5em; }
.body a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.body img { border-radius: 4px; margin: 10px auto; height: auto; }
.body figure { margin: 1.2em 0; }
.body blockquote { margin: 1.4em 0; padding: 14px 22px; background: #fbf1f1; border-left: 5px solid var(--red); font-family: var(--head); font-size: 19px; color: var(--ink); border-radius: 0 6px 6px 0; }
.body iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 4px; margin: 10px 0; }
.body table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 1em 0; }
.body th, .body td { border: 1px solid var(--line); padding: 7px 10px; text-align: left; }
.body th { background: var(--soft); }
.body ul, .body ol { padding-left: 1.3em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 16px; }
.tags a { background: var(--soft); border: 1px solid var(--line); padding: 3px 13px; border-radius: 15px; font-size: 14.5px; }
.tags a:hover { background: var(--red); color: #fff; border-color: var(--red); }
.related .grid-3 { margin-top: 0; }

/* ---------- পাতা নম্বর, ৪০৪ ---------- */
.pager { display: flex; justify-content: center; align-items: center; gap: 18px; margin: 34px 0 10px; }
.pager a { border: 1px solid var(--line); padding: 7px 18px; border-radius: 6px; font-weight: 600; }
.pager a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.notfound { text-align: center; padding: 70px 0; }
.notfound h1 { font-size: 30px; margin-bottom: 10px; }

/* ---------- ফুটার ---------- */
.footer { background: var(--ink); color: #b9bec7; margin-top: 40px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; padding-top: 36px; padding-bottom: 26px; }
.footer .brand img { max-height: 60px; background: #fff; padding: 8px 14px; border-radius: 8px; box-sizing: content-box; }
.footer .brand img.on-dark { background: none; padding: 0; max-height: 76px; }
/* বোল্ডে গাঢ় লোগো না থাকলে আসল লোগো সাদা পটভূমির ওপর */
.d-bold .masthead .brand img.on-light { background: #fff; padding: 6px 12px; border-radius: 8px; box-sizing: content-box; }
.footer p { margin: 8px 0; }
.footer b { color: #fff; }
.footer h3 { color: #fff; font-size: 18px; margin-bottom: 12px; }
.foot-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 16px; }
.foot-cats a:hover, .copyright a:hover { color: #fff; }
.copyright { border-top: 1px solid #2c3038; padding: 14px 0; font-size: 13.5px; }

/* ---------- ছোট পর্দা ---------- */
@media (max-width: 1100px) {
  .d-bold .top-grid { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); }
  .top-grid { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
  .top-grid > .side { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .top-mid { border-right: 0; padding-right: 0; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 26px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .mast-ad { display: none; }
  .mast-row { justify-content: space-between; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .menu-btn { display: block; }
  .mast-row { min-height: 66px; gap: 10px; }
  .brand { flex: 1; align-items: center; }
  .brand b { font-size: 28px; }
  .brand small { display: none; }
  .brand img { max-height: 56px; max-width: 190px; }
  .masthead .mast-row { padding-top: 5px; padding-bottom: 5px; }
  .search { display: none; }
  .search-btn { display: grid; }
  /* হেডার ও বিভাগের সারি উপরে আটকে থাকে; বিভাগগুলো আঙুলে পাশে টানা যায় */
  .masthead { position: sticky; top: 0; z-index: 25; background: #fff; }
  .mainnav { position: sticky; top: 66px; z-index: 24; border-bottom-width: 2px; }
  .nav-row { padding: 0 6px; mask-image: linear-gradient(90deg, #000 90%, transparent); }
  .nav-row a { padding: 9px 11px; font-size: 15.5px; }
  .nav-row .home { padding: 9px 10px; }
  .top-grid, .article-layout, .block-split, .style-2 .block-split { grid-template-columns: minmax(0, 1fr); }
  .style-2 .block-split .lead { order: 0; }
  .top-grid > .side { display: flex; }
  .article-layout > .side { position: static; }
  .top-mid { border: 0; padding: 0; }
  .top-mid .row-card { grid-template-columns: 120px 1fr; }
  .top-mid .row-card .pic { aspect-ratio: 4 / 3; }
  .top-cards, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .lead h2 { font-size: 24px; }
  .article h1 { font-size: 27px; }
  .body { font-size: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .topline-row { font-size: 12.5px; }
  .top-links a:not([class^="s-"]) { display: none; }
}
@media (max-width: 520px) {
  .top-cards, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card h3 { font-size: 15.5px; }
  .row-card, .top-mid .row-card { grid-template-columns: 105px 1fr; gap: 10px; }
  .row-card h3 { font-size: 15.5px; }
  .video-block { padding: 16px 14px 18px; border-radius: 0; margin-left: -16px; margin-right: -16px; }
  .foot-cats { grid-template-columns: repeat(2, 1fr); }
  .byline .share > span { display: none; }
}
@media print {
  .topline, .mainnav, .ticker, .side, .ad, .share, .footer, .related, .menu-btn, .search { display: none !important; }
  .article-layout { display: block; }
}

/* ---------- ফটোকার্ড ও প্রিন্ট বাটন ---------- */
.post-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 18px; }
.tool { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 600 14.5px var(--body); padding: 6px 14px; border-radius: 6px; cursor: pointer; }
.tool i { font-style: normal; color: var(--red); font-size: 16px; }
.tool:hover { border-color: var(--red); color: var(--red); }
.nav-row .epaper-link { color: var(--red); }

/* ---------- ফটোকার্ডের জানালা ---------- */
.pc-modal { position: fixed; inset: 0; background: rgba(10,12,16,.72); z-index: 100; display: grid; place-items: center; padding: 16px; }
.pc-modal[hidden] { display: none; }
.pc-box { background: #fff; border-radius: 12px; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 16px 18px 14px; font-family: "Hind Siliguri", sans-serif; color: #16181d; }
.pc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 18px; }
.pc-x { border: 0; background: #f1f2f4; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 16px; }
.pc-designs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.pc-designs button { border: 1px solid #dfe2e7; background: #fff; border-radius: 16px; padding: 4px 13px; font: 600 14px "Hind Siliguri", sans-serif; cursor: pointer; }
.pc-designs button.on { background: #16181d; color: #fff; border-color: #16181d; }
.pc-stage { position: relative; background: #f1f2f4; border-radius: 8px; overflow: hidden; }
.pc-stage canvas { display: block; width: 100%; height: auto; }
.pc-status { position: absolute; inset: 0; display: grid; place-items: center; color: #6b717c; pointer-events: none; }
.pc-status:empty { display: none; }
.pc-actions { display: flex; gap: 8px; margin-top: 12px; }
.pc-actions .btn { flex: 1; border: 1px solid var(--red, var(--accent)); background: var(--red, var(--accent)); color: #fff; font: 700 15.5px "Hind Siliguri", sans-serif; padding: 10px; border-radius: 7px; cursor: pointer; }
.pc-actions .btn.ghost { background: #fff; color: #16181d; border-color: #d5d9e0; }
.pc-note { font-size: 12.5px; color: #6b717c; margin: 10px 0 0; text-align: center; }

/* ---------- ট্রেন্ডিং লাইন ---------- */
.trending { border-bottom: 1px solid var(--line); background: #fff; }
.trend-row { display: flex; align-items: center; gap: 10px; padding-top: 9px; padding-bottom: 9px; }
.trend-label { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: #fff; font-size: 14px; padding: 4px 6px 4px 14px; border-radius: 20px; }
.trend-label i { font-style: normal; background: rgba(255,255,255,.18); border-radius: 50%; width: 22px; height: 22px; display: grid; place-items: center; font-size: 13px; }
.trend-list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
@media (max-width: 820px) { .trend-list { mask-image: linear-gradient(90deg, #000 88%, transparent); padding-right: 20px; } .trend-label { font-size: 13px; } }
.trend-list::-webkit-scrollbar { display: none; }
.trend-list a { flex-shrink: 0; border: 1px solid var(--line); background: var(--soft); border-radius: 20px; padding: 3px 14px; font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.trend-list a:hover { background: var(--red); border-color: var(--red); color: #fff; }
@media print { .trending { display: none !important; } }
/* ---------- আমরা ---------- */
.avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; background: var(--soft); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.avatar.initial { display: grid; place-items: center; background: linear-gradient(135deg, #fbe3e4, #f0f1f4); color: var(--red-dark); font: 800 44px var(--head); }
.avatar.sm { width: 38px; height: 38px; font-size: 17px; border-width: 2px; }
.avatar.lg { width: 150px; height: 150px; font-size: 56px; flex-shrink: 0; }
.about-box { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 26px; background: var(--soft); border-radius: 8px; padding: 22px 24px; margin-bottom: 30px; }
.about-text { font-size: 17.5px; line-height: 1.85; }
.about-facts { margin: 0; display: grid; gap: 10px; align-content: start; border-left: 3px solid var(--red); padding-left: 18px; }
.about-facts dt { font-size: 13.5px; color: var(--muted); }
.about-facts dd { margin: 0; font-weight: 600; color: var(--ink); }
.about-facts a { color: var(--red); }
.team-group { margin-bottom: 32px; }
.team-title { font-size: 21px; text-align: center; margin-bottom: 18px; display: flex; align-items: center; gap: 14px; }
.team-title::before, .team-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 200px)); justify-content: center; gap: 18px; }
.team-grid.big { grid-template-columns: repeat(auto-fit, minmax(200px, 240px)); justify-content: center; }
.member { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 20px 12px 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; transition: box-shadow .2s, transform .2s; }
.member:hover { box-shadow: 0 8px 22px rgba(0,0,0,.08); transform: translateY(-2px); }
.member .avatar { margin-bottom: 8px; }
.member b { font-family: var(--head); font-size: 17.5px; color: var(--ink); }
.member span:not(.avatar) { font-size: 14px; color: var(--red); font-weight: 600; }
.profile { display: flex; gap: 26px; align-items: center; padding: 22px; background: var(--soft); border-radius: 10px; margin: 10px 0 30px; }
.profile h1 { font-size: 30px; }
.profile .role { color: var(--red); font-weight: 600; margin: 4px 0 0; }
.profile .bio { margin: 10px 0 0; }
.profile .contact { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.profile .contact a { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 3px 12px; font-size: 14.5px; }
.by-link { display: flex; width: fit-content; align-items: center; gap: 8px; margin-bottom: 2px; }
.by-link b { display: inline; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #2c3038; }
.foot-links a { color: #fff; font-weight: 600; }

/* ---------- আর্কাইভ ---------- */
.archive-top { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 26px; align-items: start; margin-bottom: 30px; }
.archive-form { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; background: var(--soft); padding: 20px; border-radius: 8px; }
.archive-form label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 14.5px; flex: 1 1 180px; }
.archive-form input, .archive-form select { font: inherit; font-weight: 400; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.archive-form .btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; padding: 9px 26px; }
.cal { border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cal-head a { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); font-size: 20px; }
.cal-head a:hover { background: var(--red); color: #fff; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; font-size: 14.5px; }
.cal-grid .wd { font-size: 12px; color: var(--muted); font-weight: 600; padding-bottom: 4px; }
.cal-grid a, .cal-grid .none { padding: 5px 0; border-radius: 5px; }
.cal-grid a { background: #fbeaea; color: var(--red-dark); font-weight: 700; }
.cal-grid a:hover, .cal-grid a.on { background: var(--red); color: #fff; }
.cal-grid .none { color: #b9bdc5; }
.cal-grid .none.on { outline: 2px solid var(--red); }
.archive .empty a { color: var(--red); font-weight: 600; }
@media (max-width: 820px) {
  .about-box, .archive-top { grid-template-columns: minmax(0, 1fr); }
  .about-facts { border-left: 0; border-top: 3px solid var(--red); padding: 14px 0 0; }
  .profile { flex-direction: column; text-align: center; }
  .profile .contact { justify-content: center; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .avatar { width: 96px; height: 96px; }
}
/* ---------- এলাকা-ফিল্টার ---------- */
.loc-filter { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 12px; align-items: center; margin: -4px 0 22px; padding: 14px; background: var(--soft); border-radius: 8px; }
.loc-filter select { font: inherit; font-size: 15.5px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; min-width: 0; }
.loc-filter select:disabled { background: #f0f1f3; color: #a3a8b0; }
.loc-filter .btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; padding: 9px 28px; }
.loc-clear { grid-column: 1 / -1; font-size: 14px; color: var(--red); font-weight: 600; }
.crumbs .loc { margin-left: 12px; background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 1px 10px; color: var(--ink); font-weight: 600; }
.crumbs .loc:hover { border-color: var(--red); color: var(--red); }
@media (max-width: 820px) { .loc-filter { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .loc-filter .btn { grid-column: 1 / -1; } }

/* ---------- পাশের কলামের বাক্স: জরিপ, নামাজ ---------- */
.side-box { border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px; }
.side-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-bottom: 2px solid var(--red); padding-bottom: 8px; margin-bottom: 12px; }
.side-head b { font-family: var(--head); font-size: 17px; color: var(--ink); }
.side-head a { font-size: 13px; color: var(--red); font-weight: 600; white-space: nowrap; }
.poll-q { font-weight: 700; color: var(--ink); margin: 0 0 10px; line-height: 1.5; }
.poll-opt { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 6px; margin-bottom: 7px; cursor: pointer; font-size: 15.5px; }
.poll-opt:hover { border-color: var(--red); }
.poll-opt input { accent-color: var(--red); }
.poll form .btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; padding: 7px 22px; margin: 4px 10px 0 0; }
.poll-bar { margin-bottom: 10px; }
.pb-top { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 3px; }
.poll-bar i { display: block; height: 9px; border-radius: 5px; background: #d6d9de; min-width: 3px; transition: width .6s; }
.poll-bar.mine i { background: var(--red); }
.poll-bar.mine .pb-top { color: var(--red); font-weight: 700; }
.poll small { display: block; margin-top: 6px; }
.poll-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.poll-card { border: 1px solid var(--line); border-radius: 8px; padding: 16px; background: #fff; }
.poll-card .poll-q { font-size: 18px; font-family: var(--head); }
.prayer-mini { list-style: none; margin: 0; padding: 0; }
.prayer-mini li { display: flex; justify-content: space-between; padding: 6px 8px; border-radius: 5px; }
.prayer-mini li:nth-child(odd) { background: var(--soft); }
.prayer-mini li.next { background: var(--red); color: #fff; }
.prayer-mini b { font-weight: 700; }
.prayer-box .sun { font-size: 13px; color: var(--muted); margin: 8px 0 0; text-align: center; }

/* ---------- নামাজের সময়সূচির পাতা ---------- */
.prayer-pick { grid-template-columns: minmax(0, 320px); }
.prayer-today { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 26px; background: #fff; }
.pt-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; align-items: center; background: var(--ink); color: #fff; padding: 14px 18px; }
.pt-head b { font-family: var(--head); font-size: 24px; }
.pt-head span { color: #cfd3da; font-size: 14.5px; }
.pt-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.pt-grid div { text-align: center; padding: 16px 6px; border-right: 1px solid var(--line); }
.pt-grid div:last-child { border-right: 0; }
.pt-grid span { display: block; color: var(--muted); font-size: 14.5px; }
.pt-grid b { font: 800 26px var(--head); color: var(--ink); }
.pt-grid .sunrise b { color: var(--muted); font-size: 22px; }
.pt-fast { display: grid; grid-template-columns: 1fr 1fr; background: #fbf1f1; border-top: 1px solid var(--line); }
.pt-fast div { text-align: center; padding: 12px; }
.pt-fast div + div { border-left: 1px solid #f1d6d6; }
.pt-fast span { display: block; font-size: 14px; color: var(--red-dark); font-weight: 600; }
.pt-fast b { font: 800 24px var(--head); color: var(--red); }
.pt-week-title { font-size: 20px; margin-bottom: 10px; }
.pt-week-wrap { overflow-x: auto; }
.pt-week { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; background: #fff; }
.pt-week th { background: var(--soft); font-size: 13.5px; color: var(--muted); padding: 8px; text-align: center; }
.pt-week td { padding: 8px; text-align: center; border-bottom: 1px solid var(--line); }
.pt-week td:first-child { text-align: left; font-weight: 600; }
.pt-week td small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.pt-note { font-size: 14px; color: var(--muted); background: var(--soft); border-radius: 6px; padding: 10px 14px; margin-top: 16px; }

/* ---------- লাইভ আপডেট ---------- */
.live-tag { display: inline-flex; align-items: center; gap: 5px; background: #d62839; color: #fff; font: 700 12.5px var(--body); padding: 1px 8px 1px 7px; border-radius: 3px; vertical-align: 2px; }
.live-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
.live-tag.big { font-size: 14px; padding: 3px 10px; }
.live { border: 2px solid #d62839; border-radius: 8px; margin: 0 0 24px; overflow: hidden; background: #fff; }
.live-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; background: #fbf1f1; padding: 10px 16px; }
.live-head b { font-family: var(--head); font-size: 18px; color: var(--ink); }
.live-head .muted { margin-left: auto; font-size: 13px; }
.live-list { max-height: 640px; overflow-y: auto; }
.live-item { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding: 14px 16px; border-top: 1px solid var(--line); }
.live-item time { font-weight: 700; color: #d62839; font-size: 15px; }
.live-item time small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }
.live-item h3 { font-size: 18px; margin-bottom: 4px; }
.live-item p { margin: 0 0 .6em; font-size: 17px; line-height: 1.75; }
.live-item.fresh { animation: fresh 2.5s ease-out; }
@keyframes fresh { from { background: #fff4c2; } to { background: transparent; } }

/* ---------- ফটো গ্যালারি ---------- */
.gallery { margin: 26px 0; }
.gal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.gal-item { position: relative; display: block; overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 3; background: var(--soft); }
.gal-item:first-child { grid-column: span 2; grid-row: span 2; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gal-item:hover img { transform: scale(1.05); }
.gal-item span { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; font-size: 13.5px; padding: 18px 10px 7px; }
.play.gal { font-size: 15px; }
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(5,6,8,.94); display: grid; grid-template-rows: minmax(0, 1fr) auto; color: #fff; }
.lightbox[hidden] { display: none; }
.lb-stage { display: grid; place-items: center; padding: 50px 60px 10px; min-height: 0; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-cap { text-align: center; padding: 10px 16px 18px; font-size: 15.5px; }
.lb-cap small { display: block; color: #9aa1ab; margin-top: 3px; }
.lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 22px; cursor: pointer; }
.lightbox button:hover { background: var(--red); }
.lb-x { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; }
.lb-next { right: 12px; top: 50%; }

@media (max-width: 820px) {
  .poll-list { grid-template-columns: minmax(0, 1fr); }
  .pt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pt-grid div:nth-child(3) { border-right: 0; }
  .pt-grid div:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .pt-grid b { font-size: 22px; }
  .live-item { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .gal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lb-stage { padding: 56px 8px 6px; }
  .lb-prev, .lb-next { top: auto; bottom: 70px; }
}

/* ========== দ্বিতীয় ডিজাইন "বোল্ড": গাঢ় নীল-সবুজ হেডার, প্রধান খবরে লেখা বাঁয়ে ও ছবি ডানে ========== */
.d-bold { --red: #0e6a7a; --red-dark: #0a4b57; --hdr: #0d4654; --hdr-deep: #082c35; background: #f3f5f6; }
.d-bold .topline { background: var(--hdr-deep); }
.d-bold .masthead { background: var(--hdr); border-bottom: 0; }
.d-bold .brand b { color: #fff; }
.d-bold .brand small { color: rgba(255,255,255,.7); }
.d-bold .menu-btn { color: #fff; }
.d-bold .search { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); }
.d-bold .search input { color: #fff; }
.d-bold .search input::placeholder { color: rgba(255,255,255,.65); }
.d-bold .search button { background: var(--red); color: #fff; }
.d-bold .mainnav { background: var(--hdr); border-top: 1px solid rgba(255,255,255,.1); border-bottom: 3px solid var(--red); box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.d-bold .nav-row a { color: rgba(255,255,255,.9); font-weight: 500; }
.d-bold .nav-row a:hover { background: rgba(255,255,255,.14); color: #fff; }
.d-bold .nav-row .home, .d-bold .nav-row .epaper-link { color: #ffd166; }
.d-bold .ticker, .d-bold .trending { background: #fff; }
.d-bold .ticker-label { background: #d62839; }
.d-bold .shoulder { color: #d62839; }
.d-bold .top-main .lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px; align-items: start; border-left: 4px solid var(--red); padding-left: 16px; }
.d-bold .top-main .lead .pic { order: 2; }
.d-bold .top-main .lead h2 { margin-top: 0; font-size: 29px; font-weight: 700; }
.d-bold .top-main .lead .sub { color: var(--muted); font-size: 16.5px; }
.d-bold .top-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.d-bold .top-grid { grid-template-columns: minmax(0, 2.7fr) minmax(0, 1fr) 300px; }
.d-bold .top-cards .card { display: grid; grid-template-columns: minmax(0, 1fr) 140px; grid-template-rows: auto 1fr; column-gap: 12px; align-items: start; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.d-bold .top-cards .card .pic { grid-column: 2; grid-row: 1 / span 2; aspect-ratio: 4 / 3; }
.d-bold .top-cards .card h3, .d-bold .top-cards .card .meta { grid-column: 1; }
.d-bold .top-cards .card h3 { margin-top: 0; }
.d-bold .card h3, .d-bold .row-card h3 { font-weight: 600; }
.d-bold .block-head { border-bottom: 1px solid #d5dbde; }
.d-bold .block-head h2, .d-bold .block-head h1 { border-bottom: 0; font-weight: 600; color: var(--red-dark); padding-bottom: 6px; }
.d-bold .block-head h2::before, .d-bold .block-head h1::before { top: 4px; bottom: 10px; width: 3px; }
.d-bold .tabs, .d-bold .side-box { background: #fff; }
.d-bold .footer { background: var(--hdr-deep); }
@media (max-width: 820px) {
  .d-bold .top-main .lead { grid-template-columns: minmax(0, 1fr); border-left: 0; padding-left: 0; }
  .d-bold .top-main .lead .pic { order: 0; }
  .d-bold .top-main .lead h2 { font-size: 24px; margin-top: 12px; }
  .d-bold .top-cards { grid-template-columns: minmax(0, 1fr); }
  .d-bold .top-cards .card { grid-template-columns: minmax(0, 1fr) 110px; }
  .d-bold .top-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- মোবাইল: খোঁজার বাটন, মেনুর প্যানেল, ফোনের শেয়ার, উপরে ফেরা ---------- */
.search-btn { display: none; place-items: center; border: 0; background: none; font-size: 24px; width: 42px; height: 42px; cursor: pointer; color: var(--ink); }
.d-bold .search-btn { color: #fff; }
.d-bold .masthead { background: var(--hdr); }
.drawer { position: fixed; inset: 0; z-index: 90; background: rgba(10,12,16,.55); }
.drawer[hidden] { display: none; }
.drawer-box { position: absolute; top: 0; left: 0; bottom: 0; width: min(330px, 88vw); background: #fff; overflow-y: auto; padding: 18px 16px 30px; box-shadow: 4px 0 30px rgba(0,0,0,.2); animation: slidein .2s ease-out; }
@keyframes slidein { from { transform: translateX(-100%); } }
.drawer-search { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.drawer-search input { flex: 1; min-width: 0; border: 0; padding: 11px 12px; font: inherit; font-size: 16px; outline: none; }
.drawer-search button { border: 0; background: var(--red); color: #fff; font: 700 15px var(--body); padding: 0 16px; }
.drawer-title { font-size: 13px; color: var(--muted); font-weight: 700; margin: 18px 0 8px; letter-spacing: .5px; }
.drawer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.drawer-grid a { padding: 10px 12px; background: var(--soft); border-radius: 7px; font-weight: 600; font-size: 15.5px; }
.drawer-grid a:active, .drawer-grid a:hover { background: var(--red); color: #fff; }
.drawer-grid.more a { background: #fff; border: 1px solid var(--line); }
.drawer-social { display: flex; gap: 8px; margin-top: 18px; }
.drawer-social a { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; }
.share .native { width: auto; border-radius: 17px; padding: 0 16px; background: var(--red); color: #fff; font: 700 14px var(--body); }
.to-top { position: fixed; right: 14px; bottom: 18px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 20px; box-shadow: 0 6px 18px rgba(0,0,0,.25); cursor: pointer; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s, transform .2s; }
.to-top.show { opacity: .92; transform: none; pointer-events: auto; }
body.no-scroll { overflow: hidden; }
@media (max-width: 820px) {
  .search-btn { display: grid; }
  .loc-filter { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .loc-filter .btn { grid-column: auto; }
  .loc-filter .loc-clear { grid-column: 1 / -1; }
  .share a, .share button { width: 38px; height: 38px; }
  .tab-list li { padding-top: 12px; padding-bottom: 12px; }
  .pager a { padding: 10px 18px; }
  .topline { font-size: 12px; }
  .ticker-row { height: 38px; }
  .page { padding-top: 16px; }
}
@media (max-width: 380px) {
  .brand b { font-size: 24px; }
  .grid-3 .card h3, .top-cards .card h3, .grid-4 .card h3 { font-size: 15px; }
}.nav-row a.on { background: var(--red); color: #fff; }
.d-bold .nav-row a.on { background: var(--red); color: #fff; box-shadow: none; }
