/* ============================================================
   রূপালী চট্টগ্রাম — মূল স্টাইলশিট
   ============================================================ */
:root {
  --primary: #0f3b73;
  --primary-2: #0a2c57;
  --accent: #d9a441;
  --danger: #c62828;
  --bg: #ffffff;
  --bg-2: #f4f6f9;
  --card: #ffffff;
  --text: #1b1f24;
  --text-2: #4a5360;
  --muted: #7b8490;
  --line: #e3e7ec;
  --shadow: 0 2px 10px rgba(15, 30, 60, .07);
  --shadow-lg: 0 10px 30px rgba(15, 30, 60, .14);
  --radius: 10px;
  --font-head: 'Noto Serif Bengali', 'SolaimanLipi', serif;
  --font-body: 'Hind Siliguri', 'SolaimanLipi', sans-serif;
  --wrap: 1260px;
}
html[data-theme="dark"] {
  --bg: #0f1419;
  --bg-2: #161d25;
  --card: #1a222c;
  --text: #e8ecf1;
  --text-2: #b7c0cb;
  --muted: #8591a0;
  --line: #2a3441;
  --shadow: 0 2px 10px rgba(0, 0, 0, .35);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, .5);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
html[data-theme="dark"] a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.4; font-weight: 700; }

/* ---------- ছবি ---------- */
.thumb { position: relative; overflow: hidden; border-radius: 8px; background: var(--bg-2); aspect-ratio: 16/9; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
a:hover .thumb img, .card:hover .thumb img { transform: scale(1.05); }
.thumb .badge-type { position: absolute; left: 10px; top: 10px; background: rgba(0,0,0,.6); color: #fff; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; }
.thumb .play { position: absolute; inset: 0; display: grid; place-items: center; }
.thumb .play i { width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--danger); display: grid; place-items: center; font-size: 20px; padding-left: 4px; box-shadow: 0 4px 20px rgba(0,0,0,.3); transition: transform .3s; }
a:hover .thumb .play i { transform: scale(1.12); }

/* ---------- টপবার ---------- */
.topbar { background: var(--primary-2); color: #cfd8e6; font-size: 14px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; }
.topbar .date { display: flex; gap: 10px; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .date i { color: var(--accent); }
.topbar .last-upd { background: rgba(217,164,65,.15); color: #f3d38a; padding: 1px 10px; border-radius: 20px; font-size: 13px; }
.topbar .tools { display: flex; align-items: center; gap: 4px; }
.topbar .tools a, .topbar .tools button { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: none; border: 0; cursor: pointer; color: #cfd8e6; transition: .2s; }
.topbar .tools a:hover, .topbar .tools button:hover { background: rgba(255,255,255,.12); color: #fff; }
.topbar .tools .sep { width: 1px; height: 16px; background: rgba(255,255,255,.2); margin: 0 6px; }

/* ---------- হেডার ---------- */
.masthead { background: var(--bg); border-bottom: 1px solid var(--line); }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 92px; width: auto; filter: drop-shadow(0 3px 6px rgba(0,0,0,.12)); }
.brand .brand-text { white-space: nowrap; }
.brand .brand-text strong { display: block; font-family: var(--font-head); font-size: 34px; color: var(--primary); line-height: 1.2; }
html[data-theme="dark"] .brand .brand-text strong { color: #fff; }
.brand .brand-text span { color: var(--accent); font-weight: 600; font-size: 15px; }
.header-ad { flex: 1; max-width: 728px; display: flex; justify-content: flex-end; }
.header-ad:empty { display: none; }

/* ---------- নেভিগেশন ---------- */
.navbar { position: sticky; top: 0; z-index: 100; background: var(--primary); box-shadow: 0 3px 14px rgba(0,0,0,.18); }
.navbar::after { content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: linear-gradient(90deg, var(--accent), #f3d38a, var(--accent)); }
.navbar .wrap { display: flex; align-items: center; gap: 6px; height: 54px; }
.nav-home { color: #fff; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; font-size: 18px; }
.nav-home:hover { background: rgba(255,255,255,.1); color: #fff !important; }
.nav-mini-logo { display: none; height: 40px; }
.navbar.stuck .nav-mini-logo { display: block; }
.navbar.stuck .nav-home { display: none; }
.menu { display: flex; list-style: none; flex: 1; overflow: hidden; height: 100%; }
.menu > li > a { display: flex; align-items: center; height: 54px; padding: 0 13px; color: #fff; font-weight: 600; font-size: 17.5px; white-space: nowrap; position: relative; }
.menu > li > a::after { content: ''; position: absolute; left: 13px; right: 13px; bottom: 9px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .25s; }
.menu > li > a:hover, .menu > li > a.active { color: #fff !important; }
.menu > li > a:hover::after, .menu > li > a.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.btn-live { display: inline-flex; align-items: center; gap: 7px; background: var(--danger); color: #fff !important; padding: 6px 14px; border-radius: 6px; font-weight: 700; }
.btn-live .dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.8); } 70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.icon-btn { width: 40px; height: 40px; border-radius: 8px; border: 0; background: none; color: #fff; font-size: 19px; cursor: pointer; display: grid; place-items: center; }
.icon-btn:hover { background: rgba(255,255,255,.12); }

/* মেগা মেনু */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--primary-2); color: #fff; padding: 26px 0 30px; display: none; box-shadow: var(--shadow-lg); }
.mega.open { display: block; animation: drop .25s ease; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mega .wrap { display: grid; grid-template-columns: 1fr 340px; gap: 30px; height: auto; align-items: start; }
.mega-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.mega-cats a { padding: 10px 14px; border-radius: 8px; font-size: 17px; font-weight: 500; border-left: 2px solid rgba(255,255,255,.12); }
.mega-cats a:hover { background: rgba(255,255,255,.08); color: var(--accent) !important; border-left-color: var(--accent); }
.mega-side form { display: flex; background: #fff; border-radius: 8px; overflow: hidden; }
.mega-side input { flex: 1; border: 0; padding: 12px 14px; outline: 0; color: #222; }
.mega-side button { border: 0; background: var(--accent); color: #1b1f24; padding: 0 18px; font-weight: 700; cursor: pointer; }
.mega-side .quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.mega-side .quick a { background: rgba(255,255,255,.08); border-radius: 8px; padding: 10px; text-align: center; font-weight: 600; }
.mega-side .quick a:hover { background: var(--accent); color: #1b1f24 !important; }
.mega-side .social-row { margin-top: 16px; }

/* সার্চ ওভারলে */
.search-pop { position: absolute; left: 0; right: 0; top: 100%; background: var(--card); box-shadow: var(--shadow-lg); padding: 18px 0; display: none; }
.search-pop.open { display: block; animation: drop .2s; }
.search-pop form { display: flex; gap: 10px; }
.search-pop input { flex: 1; border: 2px solid var(--line); border-radius: 8px; padding: 12px 16px; font-size: 18px; background: var(--bg); outline: 0; }
.search-pop input:focus { border-color: var(--primary); }

/* ---------- ব্রেকিং টিকার ---------- */
.ticker { background: var(--card); border-bottom: 1px solid var(--line); }
.ticker .wrap { display: flex; align-items: center; height: 46px; gap: 14px; }
.ticker-label { background: var(--danger); color: #fff; font-weight: 700; padding: 5px 14px; border-radius: 6px; white-space: nowrap; display: flex; align-items: center; gap: 8px; position: relative; }
.ticker-label i { animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.ticker-track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.ticker-move { display: inline-flex; white-space: nowrap; animation: marquee 60s linear infinite; }
.ticker-track:hover .ticker-move { animation-play-state: paused; }
.ticker-move a { padding: 0 22px; font-weight: 500; position: relative; }
.ticker-move a::before { content: ''; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); transform: translateY(-50%); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- সেকশন ---------- */
main { min-height: 60vh; }
.section { padding: 28px 0; }
.section.alt { background: var(--bg-2); }
.sec-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--line); margin-bottom: 18px; position: relative; }
.sec-head h2 { font-size: 24px; padding-bottom: 8px; position: relative; display: flex; align-items: center; gap: 10px; }
.sec-head h2::after { content: ''; position: absolute; left: 0; bottom: -2px; height: 3px; width: 100%; background: var(--primary); }
html[data-theme="dark"] .sec-head h2::after { background: var(--accent); }
.sec-head h2::before { content: ''; width: 10px; height: 22px; background: var(--accent); border-radius: 3px; }
.sec-head .more { color: var(--danger); font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.sec-head .more:hover { gap: 10px; }

.kicker { color: var(--danger); font-weight: 700; }
.kicker::after { content: ' •'; color: var(--muted); font-weight: 400; }
.meta { color: var(--muted); font-size: 14px; display: flex; align-items: center; gap: 6px; }

/* HERO */
.hero { display: grid; grid-template-columns: 1.55fr 1fr 330px; gap: 24px; }
.lead-card { position: relative; }
.lead-card .thumb { aspect-ratio: 16/10; border-radius: var(--radius); }
.lead-card .lead-body { background: var(--card); margin: -70px 22px 0; position: relative; padding: 20px 24px; border-radius: var(--radius); box-shadow: var(--shadow-lg); border-top: 4px solid var(--accent); }
.lead-card h1 { font-size: 32px; line-height: 1.35; margin-bottom: 10px; }
.lead-card p { color: var(--text-2); font-size: 17px; margin-bottom: 10px; }
.hero-mid { display: flex; flex-direction: column; gap: 0; }
.hero-mid .first h3 { font-size: 22px; margin-top: 10px; }
.list-item { display: grid; grid-template-columns: 1fr 120px; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.list-item:last-child { border-bottom: 0; }
.list-item h3 { font-size: 17.5px; font-weight: 600; line-height: 1.5; }
.list-item .thumb { aspect-ratio: 4/3; border-radius: 6px; }
.hero-mid .first { padding-bottom: 14px; border-bottom: 1px solid var(--line); }

/* ট্যাব */
.tabs-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.tabs-head { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-2); }
.tabs-head button { border: 0; background: none; padding: 13px; font-weight: 700; font-size: 18px; cursor: pointer; color: var(--text-2); border-bottom: 3px solid transparent; }
.tabs-head button.on { background: var(--card); color: var(--primary); border-bottom-color: var(--danger); }
html[data-theme="dark"] .tabs-head button.on { color: var(--accent); }
.tabs-body { max-height: 470px; overflow-y: auto; padding: 0 14px; scrollbar-width: thin; }
.tabs-body .num-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.tabs-body .num-item:last-child { border: 0; }
.num-item .n { flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--bg-2); color: var(--primary); display: grid; place-items: center; font-weight: 700; font-family: var(--font-head); }
html[data-theme="dark"] .num-item .n { color: var(--accent); }
.num-item h4 { font-size: 16.5px; font-weight: 600; font-family: var(--font-body); line-height: 1.5; }
.tabs-foot { display: block; text-align: center; padding: 12px; background: var(--primary); color: #fff !important; font-weight: 700; }
.tabs-foot:hover { background: var(--primary-2); }
.side-stack { display: flex; flex-direction: column; gap: 20px; }

/* কার্ড গ্রিড */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card h3 { font-size: 18.5px; margin-top: 10px; line-height: 1.5; }
.card p { color: var(--text-2); font-size: 15.5px; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { margin-top: 6px; }

.col-block { border-right: 1px solid var(--line); padding-right: 22px; }
.col-block:last-child { border-right: 0; padding-right: 0; }
.col-block .card h3 { font-size: 19px; }
.col-block .mini { padding: 12px 0; border-bottom: 1px solid var(--line); }
.col-block .mini:last-child { border-bottom: 0; }
.col-block .mini h4 { font-size: 17px; font-weight: 600; font-family: var(--font-body); line-height: 1.55; }

/* ভিডিও সেকশন */
.video-sec { background: linear-gradient(135deg, #0a1f3d, #0f3b73); color: #fff; }
.video-sec .sec-head { border-color: rgba(255,255,255,.15); }
.video-sec .sec-head h2::after { background: var(--accent); }
.video-sec .sec-head .more { color: var(--accent); }
.video-grid { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 22px; }
.video-grid .card h3 { color: #fff; }
.video-grid .v-list .list-item { grid-template-columns: 150px 1fr; border-color: rgba(255,255,255,.12); }
.video-grid .v-list .list-item h3 { color: #fff; font-size: 16.5px; }
.video-grid .v-list .thumb .play i { width: 36px; height: 36px; font-size: 13px; }

/* জেলা */
.district { display: grid; grid-template-columns: 1fr 340px; gap: 28px; }
.district-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; }
.area-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.area-box h3 { font-size: 21px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.area-box h3 i { color: var(--danger); }
.area-box select { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); margin-bottom: 12px; font-size: 16px; cursor: pointer; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 8px; border: 0; background: var(--primary); color: #fff !important; font-weight: 700; cursor: pointer; transition: .2s; }
.btn:hover { background: var(--primary-2); transform: translateY(-1px); }
.btn.block { width: 100%; }
.btn.accent { background: var(--accent); color: #1b1f24 !important; }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--text) !important; }

/* মতামত */
.opinion-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.op-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; gap: 16px; box-shadow: var(--shadow); transition: .25s; position: relative; }
.op-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.op-card::before { content: '\201C'; position: absolute; right: 18px; top: -6px; font-size: 90px; color: var(--accent); opacity: .25; font-family: Georgia, serif; }
.op-card img { width: 78px; height: 78px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent); flex: 0 0 78px; }
.op-card h3 { font-size: 19px; }
.op-card .author { color: var(--danger); font-weight: 600; margin-top: 6px; font-size: 15px; }

/* ছবি গ্যালারি */
.photo-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.photo-grid .big { grid-row: span 2; }
.slider { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; height: 100%; min-height: 420px; }
.slider .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s; }
.slider .slide.on { opacity: 1; }
.slider .slide img { width: 100%; height: 100%; object-fit: cover; }
.slider .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 24px 22px; background: linear-gradient(transparent, rgba(0,0,0,.85)); color: #fff; font-family: var(--font-head); font-size: 24px; font-weight: 700; }
.slider .ctrl { position: absolute; top: 16px; right: 16px; display: flex; gap: 8px; z-index: 2; }
.slider .ctrl button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); cursor: pointer; color: #111; }
.slider .count { position: absolute; left: 16px; top: 16px; background: rgba(0,0,0,.55); color: #fff; padding: 4px 12px; border-radius: 20px; z-index: 2; font-size: 15px; }
.slider .bar { position: absolute; top: 0; left: 0; height: 4px; background: var(--danger); z-index: 3; width: 0; }
.photo-card { background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.photo-card .thumb { border-radius: 0; }
.photo-card h3 { font-size: 17px; padding: 12px 14px 14px; }

/* স্ট্রিপ */
.strip-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* জরিপ */
.poll { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.poll h3 { font-size: 19px; margin-bottom: 4px; display: flex; gap: 8px; align-items: center; }
.poll h3 i { color: var(--primary); }
.poll .q { font-weight: 600; margin: 8px 0 12px; line-height: 1.55; }
.poll label { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 8px; cursor: pointer; }
.poll label:hover { border-color: var(--primary); }
.poll .res { margin-bottom: 10px; }
.poll .res .t { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 4px; }
.poll .res .b { height: 9px; border-radius: 6px; background: var(--bg-2); overflow: hidden; }
.poll .res .b span { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 6px; transition: width 1s; }

/* বিজ্ঞাপন */
.ad-slot { display: flex; justify-content: center; margin: 6px 0; }
.ad-slot img { border-radius: 6px; }
.ad-demo { width: 728px; max-width: 100%; height: 90px; display: grid; place-items: center; border: 1px dashed var(--muted); color: var(--muted); border-radius: 8px; background: repeating-linear-gradient(45deg, var(--bg-2), var(--bg-2) 10px, var(--bg) 10px, var(--bg) 20px); font-size: 15px; }
.ad-demo.ad-wide { width: 970px; }
.ad-demo.ad-box { width: 300px; height: 250px; }
.ad-label { font-size: 11px; color: var(--muted); text-align: center; letter-spacing: 1px; }

/* ---------- আর্টিকেল ---------- */
.progress { position: fixed; top: 0; left: 0; height: 4px; background: linear-gradient(90deg, var(--accent), var(--danger)); z-index: 999; width: 0; }
.breadcrumb { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 15px; margin: 20px 0 14px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .cur { color: var(--danger); font-weight: 600; }
.article-layout { display: grid; grid-template-columns: 70px minmax(0, 1fr) 330px; gap: 30px; align-items: start; }
.share-rail { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.share-rail span { font-size: 13px; color: var(--muted); }
.share-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff !important; cursor: pointer; font-size: 17px; transition: transform .2s; }
.share-btn:hover { transform: scale(1.1); }
.s-fb { background: #1877f2; } .s-x { background: #111; } .s-wa { background: #25d366; } .s-li { background: #0a66c2; } .s-tg { background: #229ed9; } .s-cp { background: #6b7280; } .s-pr { background: var(--primary); }
.article h1 { font-size: 38px; line-height: 1.35; margin-bottom: 12px; }
.article .sub-kicker { color: var(--danger); font-weight: 700; font-size: 18px; margin-bottom: 6px; display: block; }
.byline { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 16px 0 20px; flex-wrap: wrap; }
.byline .who { display: flex; align-items: center; gap: 12px; }
.byline .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 18px; }
.byline strong { display: block; }
.byline small { color: var(--muted); font-size: 14px; }
.font-ctrl { display: flex; gap: 6px; }
.font-ctrl button { border: 1px solid var(--line); background: var(--card); border-radius: 6px; padding: 5px 11px; cursor: pointer; font-weight: 700; }
.font-ctrl button:hover { border-color: var(--primary); color: var(--primary); }
.article figure { margin: 0 0 22px; }
.article figure .thumb { aspect-ratio: auto; border-radius: var(--radius); }
.article figure .thumb img { height: auto; max-height: 620px; }
.article figcaption { color: var(--muted); font-size: 14.5px; padding: 8px 2px; border-bottom: 1px solid var(--line); }
.article .content { font-size: var(--afs, 19px); line-height: 1.9; }
.article .content p { margin-bottom: 1.1em; }
.article .content h2, .article .content h3 { margin: 1.2em 0 .6em; font-size: 1.25em; }
.article .content blockquote { border-left: 4px solid var(--accent); background: var(--bg-2); padding: 16px 20px; margin: 1.2em 0; border-radius: 0 8px 8px 0; font-style: italic; }
.article .content img { border-radius: 8px; margin: 1em auto; height: auto; }
.article .content iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 8px; margin: 1em 0; height: auto; }
.article .content a { color: var(--primary); text-decoration: underline; }
.article .content ul, .article .content ol { margin: 0 0 1em 1.4em; }
.article .content table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.article .content td, .article .content th { border: 1px solid var(--line); padding: 8px; }
.article .content .source { color: var(--muted); font-size: .85em; border-top: 1px dashed var(--line); padding-top: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; align-items: center; }
.tags a { background: var(--bg-2); border: 1px solid var(--line); padding: 5px 14px; border-radius: 20px; font-size: 15px; }
.tags a:hover { background: var(--primary); color: #fff !important; border-color: var(--primary); }
.inline-share { display: none; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.read-also { border: 1px solid var(--line); border-left: 4px solid var(--danger); border-radius: 8px; padding: 14px 18px; margin: 20px 0; background: var(--bg-2); }
.read-also b { color: var(--danger); display: block; margin-bottom: 6px; }
.read-also a { display: block; padding: 4px 0; font-weight: 600; }
.video-embed { aspect-ratio: 16/9; width: 100%; border-radius: var(--radius); overflow: hidden; background: #000; margin-bottom: 20px; }
.video-embed iframe, .video-embed video { width: 100%; height: 100%; border: 0; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0; }
.gallery a { border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.gallery a:hover img { transform: scale(1.06); }
.sticky-side { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 22px; }

/* লাইটবক্স */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 1000; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 6px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.15); border: 0; color: #fff; width: 50px; height: 50px; border-radius: 50%; font-size: 20px; cursor: pointer; }
.lightbox .x { top: 20px; right: 20px; } .lightbox .p { left: 20px; } .lightbox .nx { right: 20px; }

/* ক্যাটাগরি পেজ */
.page-head { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; padding: 34px 0; position: relative; overflow: hidden; }
.page-head::after { content: ''; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(217,164,65,.15); }
.page-head h1 { font-size: 34px; }
.page-head p { opacity: .8; }
.page-head .breadcrumb { color: rgba(255,255,255,.7); margin: 0 0 6px; }
.page-head .breadcrumb a:hover { color: #fff; }
.subcats { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.subcats a { background: rgba(255,255,255,.12); padding: 5px 14px; border-radius: 20px; font-size: 15px; }
.subcats a:hover { background: var(--accent); color: #111 !important; }
.cat-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 30px; padding: 28px 0; }
.cat-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; margin-bottom: 26px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.cat-top .card h3 { font-size: 26px; }
.row-card { display: grid; grid-template-columns: 260px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.row-card h3 { font-size: 21px; margin-bottom: 6px; }
.row-card p { color: var(--text-2); font-size: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pager { display: flex; justify-content: center; gap: 6px; margin: 28px 0 10px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; background: var(--card); font-weight: 600; }
.pager .on { background: var(--primary); color: #fff; border-color: var(--primary); }
.pager a:hover { border-color: var(--primary); }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty i { font-size: 46px; margin-bottom: 12px; opacity: .5; }

.search-bar { display: flex; gap: 10px; flex-wrap: wrap; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 20px; box-shadow: var(--shadow); }
.search-bar input, .search-bar select { border: 1px solid var(--line); border-radius: 8px; padding: 11px 14px; background: var(--bg); flex: 1; min-width: 150px; outline: 0; }
.search-bar input:focus { border-color: var(--primary); }
mark { background: #ffe58a; color: inherit; padding: 0 2px; border-radius: 3px; }

/* ---------- ফুটার ---------- */
.footer { background: #0a1a30; color: #b7c3d4; margin-top: 30px; }
.footer-top { padding: 44px 0 28px; display: grid; grid-template-columns: var(--fcols, 1.3fr 1fr 1fr 1fr); gap: 32px; }
.footer .f-logo { height: 110px; margin-bottom: 14px; }
.footer h4 { color: #fff; font-size: 19px; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); display: inline-block; }
.footer ul { list-style: none; columns: 2; }
.footer li { padding: 4px 0; }
.footer a:hover { color: var(--accent) !important; }
.footer .contact p { display: flex; gap: 10px; margin-bottom: 8px; }
.footer .contact i { color: var(--accent); margin-top: 5px; }
.social-row { display: flex; gap: 8px; flex-wrap: wrap; }
.social-row a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: .2s; }
.social-row a:hover { background: var(--accent); color: #111 !important; transform: translateY(-2px); }
.footer-mid { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; display: flex; gap: 10px; flex-wrap: wrap; }
.footer-mid a { background: rgba(255,255,255,.06); padding: 7px 14px; border-radius: 6px; font-size: 15px; }
.footer-bottom { background: #06111f; padding: 16px 0; font-size: 14.5px; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.to-top { position: fixed; right: 20px; bottom: 20px; width: 48px; height: 48px; border-radius: 12px; background: var(--danger); color: #fff; border: 0; cursor: pointer; font-size: 18px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: .3s; z-index: 90; }
.to-top.show { opacity: 1; pointer-events: auto; }

/* মোবাইল ড্রয়ার */
.drawer-bg { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 200; opacity: 0; pointer-events: none; transition: .3s; }
.drawer { position: fixed; top: 0; left: 0; bottom: 0; width: 300px; max-width: 85vw; background: var(--card); z-index: 201; transform: translateX(-100%); transition: .3s; overflow-y: auto; }
body.drawer-open .drawer-bg { opacity: 1; pointer-events: auto; }
body.drawer-open .drawer { transform: none; }
.drawer-head { background: var(--primary); padding: 16px; display: flex; align-items: center; justify-content: space-between; }
.drawer-head img { height: 60px; }
.drawer a.d-link { display: flex; justify-content: space-between; padding: 13px 18px; border-bottom: 1px solid var(--line); font-weight: 600; }
.drawer form { padding: 14px; display: flex; gap: 8px; }
.drawer form input { flex: 1; border: 1px solid var(--line); border-radius: 8px; padding: 10px; background: var(--bg); }

/* স্কেলেটন */
.skeleton { background: linear-gradient(90deg, var(--bg-2) 25%, var(--line) 50%, var(--bg-2) 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 8px; }
@keyframes sk { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.toast { position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(20px); background: #111; color: #fff; padding: 12px 22px; border-radius: 8px; opacity: 0; transition: .3s; z-index: 1001; }
.toast.show { opacity: 1; transform: translateX(-50%); }

/* অ্যাডমিন থেকে অংশ লুকালে লেআউট */
.navbar.no-sticky { position: relative; }
.article-layout.no-rail { grid-template-columns: minmax(0, 1fr) 330px; }
.article-layout.no-side { grid-template-columns: 70px minmax(0, 1fr); max-width: 980px; margin: 0 auto; }
.article-layout.no-rail.no-side { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.cat-layout.no-side { grid-template-columns: minmax(0, 1fr); }
.thumb, .lead-card .thumb, .area-box, .tabs-box, .op-card, .photo-card, .poll, .search-bar, .slider { border-radius: var(--radius); }

/* ---------- রেসপন্সিভ ---------- */
@media (max-width: 1180px) {
  .hero { grid-template-columns: 1.4fr 1fr; }
  .hero .side-stack { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 60px minmax(0, 1fr) 300px; gap: 22px; }
  .mega-cats { grid-template-columns: repeat(4, 1fr); }
  .menu > li > a { padding: 0 8px; font-size: 16px; }
  .menu > li > a::after { left: 8px; right: 8px; }
}
@media (max-width: 991px) {
  .menu { display: none; }
  .header-ad { display: none; }
  .hero, .district, .cat-layout, .cat-top { grid-template-columns: 1fr; }
  .g4, .strip-row { grid-template-columns: repeat(2, 1fr); }
  .g3.cols { grid-template-columns: 1fr; }
  .col-block { border-right: 0; padding-right: 0; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .video-grid .v-list { grid-column: 1 / -1; }
  .opinion-grid { grid-template-columns: 1fr 1fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .photo-grid .big { grid-column: 1 / -1; grid-row: auto; }
  .article-layout, .article-layout.no-rail, .article-layout.no-side { grid-template-columns: minmax(0, 1fr); }
  .share-rail { display: none; }
  .inline-share { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .mega .wrap { grid-template-columns: 1fr; }
  .mega-cats { grid-template-columns: repeat(3, 1fr); }
  .navbar .wrap { justify-content: space-between; }
  .nav-mini-logo { display: block; }
  .nav-home { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar .date .hijri, .topbar .last-upd { display: none; }
  .brand img { height: 64px; }
  .brand .brand-text strong { font-size: 24px; }
  .brand .brand-text span { font-size: 13px; }
  .masthead .wrap { justify-content: center; }
  .hero .side-stack, .g2, .g3, .g4, .strip-row, .opinion-grid, .district-grid, .video-grid, .photo-grid, .footer-top { grid-template-columns: 1fr; }
  .lead-card .lead-body { margin: -40px 10px 0; padding: 16px; }
  .lead-card h1 { font-size: 24px; }
  .article h1 { font-size: 27px; }
  .row-card { grid-template-columns: 130px 1fr; gap: 12px; }
  .row-card h3 { font-size: 17px; }
  .row-card p { display: none; }
  .list-item { grid-template-columns: 1fr 100px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .mega-cats { grid-template-columns: 1fr 1fr; }
  .slider { min-height: 260px; }
  .slider .cap { font-size: 18px; }
  .ad-demo.ad-box { width: 100%; }
  .footer ul { columns: 2; }
}
@media print {
  .topbar, .navbar, .ticker, .share-rail, .sticky-side, .footer, .to-top, .ad-slot, .inline-share, .font-ctrl, .related { display: none !important; }
  .article-layout { display: block; }
}
