/*
Theme Name: WebMks News WN01
Theme URI: https://webmks.com/
Author: WebMks.com
Author URI: https://webmks.com/
Description: আধুনিক, দ্রুত ও মোবাইল-ফ্রেন্ডলি হালকা সবুজ বাংলা নিউজ থিম — ডার্ক মোড, লাইভ সার্চ, রিডিং প্রোগ্রেস, খবর শুনুন, SEO মার্কআপসহ।
Version: 2.8.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: webmks-news-wn01
Tags: news, magazine, two-columns, right-sidebar, custom-menu, featured-images, translation-ready, blog
*/

/* =========================================================
   ১. ডিজাইন টোকেন
   ========================================================= */
:root {
    --g-50: #f2fbf5;
    --g-100: #e1f6e8;
    --g-200: #c3ebd1;
    --g-300: #94dbb0;
    --g-400: #5cc486;
    --g-500: #2fa866;
    --g-600: #1b8a50;
    --g-700: #166f41;
    --g-800: #135937;
    --g-900: #0b3a23;

    --bg: #f5fbf7;
    --surface: #ffffff;
    --surface-2: #eef8f2;
    --text: #17261d;
    --muted: #5d7266;
    --line: #dbeee2;
    --accent: var(--g-600);
    --accent-soft: var(--g-100);
    --danger: #e5484d;
    --shadow: 0 1px 2px rgba(11, 58, 35, .06), 0 6px 18px rgba(11, 58, 35, .07);
    --shadow-lg: 0 10px 30px rgba(11, 58, 35, .14);
    --radius: 14px;
    --radius-sm: 9px;
    --font: 'HindSiliguri', 'Noto Sans Bengali', 'Kalpurush', 'Siyam Rupali', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --wrap: 1240px;
}

[data-theme="dark"] {
    --bg: #09130e;
    --surface: #101e16;
    --surface-2: #14261b;
    --text: #e4f2ea;
    --muted: #93aa9b;
    --line: #1f3628;
    --accent: #4ccb85;
    --accent-soft: #15301f;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 18px rgba(0, 0, 0, .35);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, .55);
}

/* =========================================================
   ২. রিসেট ও বেস
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.7;
    color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased;
    padding-bottom: env(safe-area-inset-bottom);
}
body.lock { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .15s, background .15s, border-color .15s; }
a:hover { color: var(--accent); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.4; font-weight: 700; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea { font: inherit; color: inherit; }
::selection { background: var(--g-300); color: var(--g-900); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.center { text-align: center; margin-top: 22px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--g-700); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 999; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--g-400); outline-offset: 2px; }

/* =========================================================
   ৩. হেডার
   ========================================================= */
#read-progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; background: linear-gradient(90deg, var(--g-400), var(--g-700)); z-index: 300; transition: width .1s linear; }

.site-header { background: var(--surface); position: relative; z-index: 100; }
.topbar { background: linear-gradient(90deg, var(--g-800), var(--g-600)); color: #eafff2; font-size: 14px; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.topbar-date { display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; }
.topbar-date .sep { opacity: .5; }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.social { display: flex; gap: 4px; }
.social a { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .13); color: #fff; font-size: 13px; }
.social a:hover { background: #fff; color: var(--g-700); }
.en-link { border: 1px solid rgba(255, 255, 255, .45); padding: 1px 12px; border-radius: 99px; font-size: 13px; }
.en-link:hover { background: #fff; color: var(--g-700); }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; transition: background .15s, transform .15s; }
.icon-btn:hover { background: rgba(127, 200, 160, .22); }
.topbar .icon-btn { width: 30px; height: 30px; background: rgba(255, 255, 255, .15); color: #fff; }

.mainbar { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 120; transition: box-shadow .2s; }
.mainbar.scrolled { box-shadow: var(--shadow); }
.admin-bar .mainbar { top: 32px; }
.mainbar-in { display: flex; align-items: center; gap: 18px; min-height: 76px; transition: min-height .2s; }
.mainbar.scrolled .mainbar-in { min-height: 58px; }
.logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.logo img { max-height: 52px; width: auto; transition: max-height .2s; }
.mainbar.scrolled .logo img { max-height: 40px; }
.logo-text { font-size: 28px; font-weight: 800; color: var(--g-700); letter-spacing: -.3px; }
[data-theme="dark"] .logo-text { color: var(--accent); }
.menu-btn { display: none; background: var(--accent-soft); color: var(--accent); }

.primary-nav { flex: 1; min-width: 0; }
.primary-nav .menu { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.primary-nav .menu > li { position: relative; }
.primary-nav .menu > li > a { display: block; padding: 8px 13px; border-radius: 99px; font-weight: 600; font-size: 16.5px; }
.primary-nav .menu > li > a:hover, .primary-nav .menu > li.current-menu-item > a, .primary-nav .menu > li.current-cat > a { background: var(--accent-soft); color: var(--accent); }
.primary-nav .sub-menu, .primary-nav .children {
    position: absolute; left: 0; top: 100%; min-width: 200px; background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s; z-index: 50;
}
.primary-nav li:hover > .sub-menu, .primary-nav li:hover > .children, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a, .primary-nav .children a { display: block; padding: 7px 12px; border-radius: 7px; font-size: 15.5px; }
.primary-nav .sub-menu a:hover, .primary-nav .children a:hover { background: var(--accent-soft); color: var(--accent); }
.primary-nav .sub-menu .sub-menu { left: 100%; top: 0; }

.mainbar-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.btn-all { background: var(--g-600); color: #fff; padding: 7px 16px; border-radius: 99px; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.btn-all:hover { background: var(--g-700); color: #fff; }
#open-search { background: var(--accent-soft); color: var(--accent); }
#open-search:hover { background: var(--accent); color: #fff; }

.trend { background: var(--surface-2); border-bottom: 1px solid var(--line); }
.trend-in { display: flex; align-items: center; gap: 14px; min-height: 42px; overflow: hidden; }
.trend-label { color: var(--accent); font-weight: 700; white-space: nowrap; font-size: 15px; }
.trend-list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.trend-list::-webkit-scrollbar { display: none; }
.trend-list a { white-space: nowrap; font-size: 14.5px; padding: 2px 12px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); }
.trend-list a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ব্রেকিং টিকার */
.ticker { background: var(--surface); border-bottom: 1px solid var(--line); }
.ticker-in { display: flex; align-items: center; gap: 14px; height: 46px; }
.ticker-label { background: var(--danger); color: #fff; font-weight: 700; padding: 3px 14px; border-radius: 99px; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 15px; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); } 100% { box-shadow: 0 0 0 9px rgba(255, 255, 255, 0); } }
.ticker-track { overflow: hidden; flex: 1; min-width: 0; position: relative; }
.ticker-move { display: flex; width: max-content; animation: ticker 75s linear infinite; }
.ticker-set { display: flex; flex: 0 0 auto; gap: 38px; padding-right: 38px; white-space: nowrap; }
.ticker-track:hover .ticker-move, .ticker-track:focus-within .ticker-move { animation-play-state: paused; }
.ticker-move a { font-weight: 600; font-size: 16px; color: var(--text); position: relative; }
.ticker-move a:hover { color: var(--accent); }
.ticker-move a::before { content: '●'; color: var(--g-500); font-size: 9px; margin-right: 10px; vertical-align: middle; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* হোমপেজ: বিভাগ ড্রপডাউন */
.cat-browser { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cb-select { position: relative; display: inline-flex; align-items: center; background: var(--surface); border: 2px solid var(--g-500); border-radius: 99px; padding: 0 40px 0 40px; height: 44px; min-width: 240px; max-width: 100%; box-shadow: var(--shadow); }
.cb-select > i:first-child { position: absolute; left: 15px; color: var(--accent); pointer-events: none; }
.cb-select .cb-caret { position: absolute; right: 15px; color: var(--accent); font-size: 13px; pointer-events: none; }
.cb-select select { appearance: none; -webkit-appearance: none; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-weight: 700; font-size: 17px; width: 100%; height: 100%; cursor: pointer; padding: 0; text-overflow: ellipsis; }
.cb-select select option { color: #17261d; background: #fff; }
.cb-select:focus-within { box-shadow: 0 0 0 4px rgba(47, 168, 102, .25); }
#cb-grid { transition: opacity .2s; }
#cb-grid.loading { opacity: .4; pointer-events: none; }
.cb-head .cb-select { flex: 0 1 320px; }

/* ড্রয়ার */
.drawer-bg { position: fixed; inset: 0; background: rgba(5, 25, 15, .55); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: .25s; z-index: 400; }
.drawer-bg.open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; left: 0; bottom: 0; width: min(88vw, 340px); background: var(--surface); z-index: 410; transform: translateX(-102%); transition: transform .28s cubic-bezier(.4, 0, .2, 1); overflow-y: auto; padding: 14px 16px 24px; box-shadow: var(--shadow-lg); }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.drawer-menu li { position: relative; border-bottom: 1px solid var(--line); }
.drawer-menu a { display: block; padding: 11px 6px; font-weight: 600; }
.drawer-menu .sub-menu, .drawer-menu .children { display: none; padding-left: 14px; background: var(--surface-2); border-radius: 8px; margin-bottom: 8px; }
.drawer-menu .sub-open > .sub-menu, .drawer-menu .sub-open > .children { display: block; }
.drawer-menu .sub-menu a, .drawer-menu .children a { font-weight: 500; }
.sub-toggle { position: absolute; right: 0; top: 4px; width: 38px; height: 38px; border-radius: 8px; color: var(--muted); }
.sub-open > .sub-toggle i { transform: rotate(180deg); }
.drawer-foot { margin-top: 18px; }
.drawer-en { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 7px 16px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.drawer-foot .social a { background: var(--accent-soft); color: var(--accent); width: 36px; height: 36px; }

/* সার্চ ওভারলে */
.search-overlay { position: fixed; inset: 0; background: rgba(6, 34, 20, .82); backdrop-filter: blur(8px); z-index: 500; opacity: 0; visibility: hidden; transition: .22s; display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 0; }
.search-overlay.open { opacity: 1; visibility: visible; }
.search-close { position: absolute; top: 16px; right: 16px; color: #fff; font-size: 22px; background: rgba(255, 255, 255, .12); }
.search-box { width: 100%; max-width: 680px; }
.search-box form { display: flex; align-items: center; background: var(--surface); border-radius: 99px; padding: 6px 6px 6px 22px; box-shadow: var(--shadow-lg); gap: 10px; }
.search-box form > i { color: var(--muted); }
.search-box input { flex: 1; border: 0; background: transparent; outline: 0; font-size: 19px; min-width: 0; padding: 10px 0; }
.search-box form button { background: var(--g-600); color: #fff; padding: 10px 24px; border-radius: 99px; font-weight: 700; }
.live-results { margin-top: 14px; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.live-results:empty { display: none; }
.live-results a { display: flex; gap: 12px; padding: 10px 14px; align-items: center; border-bottom: 1px solid var(--line); }
.live-results a:last-child { border: 0; }
.live-results a:hover { background: var(--accent-soft); }
.live-results img { width: 64px; height: 46px; object-fit: cover; border-radius: 8px; }
.live-results strong { display: block; font-size: 16px; line-height: 1.4; }
.live-results small { color: var(--muted); }
.lr-empty { padding: 18px; text-align: center; color: var(--muted); margin: 0; }

/* =========================================================
   ৪. লেআউট ও সেকশন
   ========================================================= */
.site-main { min-height: 50vh; padding-bottom: 20px; }
.block { padding: 30px 0; }
.block.alt { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; padding-top: 24px; padding-bottom: 20px; align-items: start; }
.block > .layout { padding-top: 0; }
.layout-side { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.sticky-side { position: sticky; top: 84px; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.ad-slot { max-width: var(--wrap); margin: 14px auto; padding: 0 16px; text-align: center; overflow: hidden; }
.layout-side .ad-slot { padding: 0; margin: 0; }
.ad-slot img, .ad-slot iframe { max-width: 100%; margin: 0 auto; }

.sec-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 18px; }
.sec-title { font-size: 23px; position: relative; padding-left: 16px; }
.sec-title::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 6px; height: 26px; border-radius: 4px; background: linear-gradient(var(--g-400), var(--g-700)); }
.sec-title a:hover { color: var(--accent); }
.sec-subs { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.sec-subs a { font-size: 14.5px; padding: 1px 12px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.sec-subs a:hover, .sec-subs a.active { background: var(--accent); color: #fff; }
.sec-more { margin-left: auto; font-size: 15px; font-weight: 700; color: var(--accent); display: inline-flex; gap: 6px; align-items: center; }
.sec-more i { font-size: 12px; transition: transform .2s; }
.sec-more:hover i { transform: translateX(4px); }
.box .sec-head { margin-bottom: 10px; }
.box .sec-title { font-size: 19px; }

.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--g-600); color: #fff; padding: 10px 26px; border-radius: 99px; font-weight: 700; box-shadow: 0 6px 16px rgba(27, 138, 80, .3); transition: transform .15s, background .15s; }
.btn:hover { background: var(--g-700); color: #fff; transform: translateY(-2px); }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.two-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.two-cols .col > .c-card { margin-bottom: 8px; }

/* =========================================================
   ৫. কার্ড কম্পোনেন্ট
   ========================================================= */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
.c-img { display: block; position: relative; overflow: hidden; background: var(--g-100); }
.c-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.c-title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .3s, color .15s; }
.c-title a:hover { background-size: 100% 2px; color: var(--accent); }
.c-meta { color: var(--muted); font-size: 13.5px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.c-meta i { font-size: 12px; }
.dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); display: inline-block; }
.c-excerpt { color: var(--muted); font-size: 15.5px; margin: 6px 0 8px; line-height: 1.6; }
.chip { display: inline-block; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 13px; padding: 1px 11px; border-radius: 99px; margin-bottom: 6px; }
.chip:hover { background: var(--accent); color: #fff; }

.c-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.c-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.c-card .c-img { aspect-ratio: 16 / 9; }
.c-card:hover .c-img img { transform: scale(1.06); }
.c-card .c-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.c-card .c-title { font-size: 18.5px; margin-bottom: 8px; }
.c-card .c-meta { margin-top: auto; }
.c-play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(transparent 40%, rgba(0, 0, 0, .45)); }
.c-play i { width: 52px; height: 52px; border-radius: 50%; background: rgba(27, 138, 80, .92); color: #fff; display: grid; place-items: center; font-size: 18px; padding-left: 3px; box-shadow: 0 0 0 6px rgba(255, 255, 255, .25); transition: transform .2s; }
.c-card:hover .c-play i { transform: scale(1.12); }

.c-overlay { position: relative; border-radius: var(--radius); overflow: hidden; height: 100%; min-height: 220px; background: var(--g-800); box-shadow: var(--shadow); }
.c-overlay .c-img { position: absolute; inset: 0; }
.c-overlay:hover .c-img img { transform: scale(1.06); }
.c-overlay::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4, 28, 16, .92) 0%, rgba(4, 28, 16, .45) 45%, transparent 75%); pointer-events: none; }
.c-overlay .c-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px; z-index: 2; color: #fff; }
.c-overlay .chip { background: var(--g-500); color: #fff; }
.c-overlay .c-title { font-size: 20px; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.c-overlay .c-title a:hover { color: #fff; }
.c-overlay .c-meta { color: rgba(255, 255, 255, .8); margin-top: 6px; }

.c-mini { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px dashed var(--line); position: relative; }
.c-mini:last-child { border-bottom: 0; }
.c-mini .c-img { flex: 0 0 96px; height: 68px; border-radius: 10px; }
.c-mini:hover .c-img img { transform: scale(1.1); }
.c-mini .c-title { font-size: 16.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.c-mini .c-meta { margin-top: 3px; font-size: 13px; }
.c-rank { position: absolute; left: -2px; top: 6px; z-index: 3; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 8px; background: var(--g-600); color: #fff; font-size: 14px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.c-mini .c-rank + .c-img { margin-left: 6px; }
.c-mini:nth-child(-n+3) .c-rank { background: linear-gradient(135deg, #f7b733, #e48a00); }

.c-row { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s; }
.c-row:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.c-row .c-img { border-radius: 10px; aspect-ratio: 16 / 10; }
.c-row:hover .c-img img { transform: scale(1.06); }
.c-row .c-title { font-size: 21px; margin-bottom: 4px; }
.list { display: flex; flex-direction: column; gap: 16px; }

/* হিরো */
.hero { padding: 22px 0 8px; background: linear-gradient(180deg, var(--g-100), transparent 70%); }
[data-theme="dark"] .hero { background: linear-gradient(180deg, #0f2417, transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.55fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 520px; }
.hero-main { grid-row: 1 / 3; }
.hero-main .c-title { font-size: 31px; }
.hero-main .c-body { padding: 24px; }
.hero-side .c-title { font-size: 17.5px; }
.hero-main > *, .hero-side > * { height: 100%; }

.feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; }
.feature-big .c-overlay { min-height: 360px; }
.feature-big .c-title { font-size: 25px; }
.feature-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 16px; box-shadow: var(--shadow); }

.video-block { background: linear-gradient(135deg, var(--g-900), var(--g-700)); color: #fff; }
.video-block .sec-title a, .video-block .sec-more { color: #fff; }
.video-block .sec-title::before { background: #fff; }
.video-block .sec-subs a { background: rgba(255, 255, 255, .14); color: #fff; }
.video-block .sec-subs a:hover, .video-block .sec-subs a.active { background: #fff; color: var(--g-800); }
.video-block .c-card { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
.video-block .c-title a { color: #fff; }
.video-block .c-meta { color: rgba(255, 255, 255, .7); }
#video-grid.loading { opacity: .4; pointer-events: none; }

.photo-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.photo-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; display: block; box-shadow: var(--shadow); }
.photo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.photo-item:hover img { transform: scale(1.1); }
.photo-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); color: #fff; font-size: 14px; line-height: 1.35; }
.photo-item:hover { color: #fff; }

/* সাইডবার ট্যাব */
.tabs-box { padding: 0; overflow: hidden; }
.tab-head { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface-2); }
.tab-head button { padding: 13px; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; }
.tab-head button.active { color: var(--accent); background: var(--surface); border-bottom-color: var(--accent); }
.tab-pane { display: none; padding: 6px 16px 10px; }
.tab-pane.active { display: block; animation: fadeUp .3s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.map-box svg { max-width: 100%; height: auto; margin: 0 auto; }
.map-box .catTitle { font-size: 19px; margin-bottom: 8px; }
.map-box .liner { display: none; }
.map-box a:hover path { fill: var(--g-500); }

/* =========================================================
   ৬. সিঙ্গেল পোস্ট
   ========================================================= */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14.5px; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--accent); }
.crumbs i.fa-angle-right { font-size: 12px; opacity: .6; }
.article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); min-width: 0; }
.article-title { font-size: 36px; line-height: 1.35; letter-spacing: -.2px; margin: 4px 0 14px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; color: var(--muted); font-size: 14.5px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.article-meta .by { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); }
.article-meta .by img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--g-300); }
.article-meta .m i { color: var(--accent); margin-right: 4px; }
.article-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; }
.tools-right { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.tool { min-width: 36px; height: 36px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; font-size: 14px; }
.tool:hover, .tool.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.tool-a { font-weight: 700; padding: 0 4px; }
.share { display: flex; gap: 7px; flex-wrap: wrap; }
.share a, .share button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 15px; transition: transform .15s; }
.share a:hover, .share button:hover { transform: translateY(-3px); color: #fff; }
.s-fb { background: #1877f2; } .s-x { background: #111; } .s-wa { background: #25d366; } .s-tg { background: #229ed9; } .s-copy { background: var(--g-600); }
.s-copy.ok { background: var(--g-800); }
.article-img { margin: 6px 0 20px; border-radius: var(--radius); overflow: hidden; }
.article-img img { width: 100%; }
.article-img figcaption { background: var(--surface-2); color: var(--muted); font-size: 14px; padding: 8px 14px; }

.entry { font-size: 19px; line-height: 1.95; word-wrap: break-word; }
.entry p { margin-bottom: 1.25em; }
.entry h2, .entry h3, .entry h4 { margin: 1.4em 0 .6em; }
.entry h2 { font-size: 1.5em; padding-left: 14px; border-left: 5px solid var(--g-500); }
.entry h3 { font-size: 1.25em; }
.entry a { color: var(--accent); border-bottom: 1px solid var(--g-300); }
.entry a:hover { background: var(--accent-soft); }
.entry img { border-radius: 10px; margin: 1em auto; }
.entry blockquote { margin: 1.4em 0; padding: 16px 22px; background: var(--accent-soft); border-left: 5px solid var(--g-500); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 1.05em; }
.entry blockquote p:last-child { margin: 0; }
.entry ul, .entry ol { margin: 0 0 1.2em 1.4em; }
.entry ul { list-style: disc; } .entry ol { list-style: decimal; }
.entry table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .92em; display: block; overflow-x: auto; }
.entry th, .entry td { border: 1px solid var(--line); padding: 8px 12px; }
.entry th { background: var(--accent-soft); }
.entry iframe, .entry video { max-width: 100%; }
.entry .wp-caption { max-width: 100%; }
.entry .wp-caption-text, .entry figcaption { font-size: 14px; color: var(--muted); text-align: center; }
.alignleft { float: left; margin: 0 1em 1em 0; } .alignright { float: right; margin: 0 0 1em 1em; } .aligncenter { margin-left: auto; margin-right: auto; }
.page-links { margin: 14px 0; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 20px 0; }
.post-tags i { color: var(--accent); }
.post-tags a { background: var(--surface-2); border: 1px solid var(--line); padding: 2px 14px; border-radius: 99px; font-size: 14.5px; }
.post-tags a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.share-bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; background: var(--surface-2); border-radius: var(--radius); padding: 12px 16px; }
.author-box { display: flex; gap: 16px; margin: 22px 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(135deg, var(--g-50), var(--surface)); }
[data-theme="dark"] .author-box { background: var(--surface-2); }
.author-box img { width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--g-300); flex: none; }
.author-box small { color: var(--accent); font-weight: 700; }
.author-box p { margin: 4px 0 0; color: var(--muted); font-size: 15.5px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 26px; }
.post-nav a { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px; display: block; background: var(--surface); }
.post-nav a:hover { border-color: var(--g-400); background: var(--accent-soft); }
.post-nav small { display: block; color: var(--accent); font-weight: 700; }
.post-nav span { font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; }
.post-nav .next { text-align: right; grid-column: 2; }
.post-nav .prev:only-child { grid-column: 1; }
.related { margin-top: 10px; }
.related .sec-head { margin-top: 10px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; box-shadow: var(--shadow-lg); background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.page-box { max-width: 900px; margin: 0 auto; padding: 28px; }

/* মন্তব্য */
.comments { margin: 26px 0; }
.comments-title, .comment-reply-title { font-size: 21px; margin-bottom: 14px; }
.comment-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.comment-list .comment-body { background: var(--surface-2); border-radius: var(--radius-sm); padding: 14px; position: relative; }
.comment-list .avatar { border-radius: 50%; float: left; margin-right: 12px; }
.comment-list .children { margin-left: 28px; margin-top: 12px; display: flex; flex-direction: column; gap: 12px; }
.comment-meta { font-size: 14px; color: var(--muted); }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.comment-form input:focus, .comment-form textarea:focus { outline: 0; border-color: var(--g-500); box-shadow: 0 0 0 3px var(--g-100); }
.comment-form .submit { background: var(--g-600); color: #fff; padding: 10px 26px; border-radius: 99px; font-weight: 700; border: 0; cursor: pointer; }
.comment-form .submit:hover { background: var(--g-700); }

/* =========================================================
   ৭. আর্কাইভ, পেজিনেশন, ৪০৪
   ========================================================= */
.page-head { display: flex; align-items: center; gap: 16px; background: linear-gradient(135deg, var(--g-700), var(--g-500)); color: #fff; border-radius: var(--radius); padding: 20px 24px; margin-bottom: 18px; box-shadow: var(--shadow); }
.page-head > i { font-size: 30px; width: 58px; height: 58px; border-radius: 16px; background: rgba(255, 255, 255, .18); display: grid; place-items: center; flex: none; }
.page-head h1 { font-size: 28px; }
.page-head p { margin: 2px 0 0; opacity: .9; font-size: 15.5px; }
.page-head small { opacity: .85; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chips a { background: var(--surface); border: 1px solid var(--line); padding: 3px 16px; border-radius: 99px; font-weight: 600; font-size: 15px; }
.chips a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 26px 0 8px; }
.pagination .page-numbers { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; }
.pagination .page-numbers:hover { border-color: var(--g-400); color: var(--accent); }
.pagination .current { background: var(--g-600); color: #fff; border-color: var(--g-600); box-shadow: 0 6px 14px rgba(27, 138, 80, .3); }
.pagination .dots { border: 0; background: none; }
.empty { text-align: center; padding: 40px 20px; }
.empty > i { font-size: 46px; color: var(--g-300); }
.inline-search { display: flex; max-width: 460px; margin: 16px auto; border: 2px solid var(--g-300); border-radius: 99px; overflow: hidden; background: var(--surface); }
.inline-search input { flex: 1; border: 0; padding: 10px 18px; background: transparent; outline: 0; min-width: 0; }
.inline-search button { background: var(--g-600); color: #fff; padding: 0 20px; }
.error-box { text-align: center; padding: 44px 20px; margin-bottom: 30px; }
.error-code { font-size: 96px; font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--g-400), var(--g-700)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-box h1 { font-size: 26px; margin: 8px 0; }
.error-box p { color: var(--muted); }

/* উইজেট */
.widget-title { font-size: 19px; margin-bottom: 10px; padding-left: 12px; border-left: 5px solid var(--g-500); }
.widget ul li { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.widget ul li:last-child { border: 0; }

/* =========================================================
   ৮. ফুটার
   ========================================================= */
.site-footer { margin-top: 40px; background: linear-gradient(180deg, var(--g-800), var(--g-900)); color: #d9efe2; position: relative; }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 26px; background: var(--bg); border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.footer-top { padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 34px; }
.f-col h4 { color: #fff; font-size: 18px; margin-bottom: 14px; position: relative; padding-bottom: 8px; }
.f-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--g-400); }
.f-list li { padding: 5px 0; }
.f-list a { opacity: .88; }
.f-list a:hover { color: #fff; opacity: 1; padding-left: 4px; }
.f-about .logo img { max-height: 56px; filter: brightness(0) invert(1); }
.f-about .logo-text { color: #fff; }
.f-info { margin: 14px 0; font-size: 15.5px; opacity: .9; line-height: 1.8; }
.site-footer .social a { width: 36px; height: 36px; }
.f-pub { margin-top: 14px; font-size: 14.5px; opacity: .85; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); background: rgba(0, 0, 0, .18); }
.wmks-credit { color: #cfe9da; }
.wmks-credit a { color: #fff; border-bottom: 1px dashed rgba(255, 255, 255, .6); }

#to-top { position: fixed; right: 18px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; background: var(--g-600); color: #fff; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(14px); transition: .25s; z-index: 150; }
#to-top.show { opacity: 1; visibility: visible; transform: none; }
#to-top:hover { background: var(--g-700); }

.bottom-nav { display: none; }

/* =========================================================
   ৯. রেসপন্সিভ
   ========================================================= */
@media (max-width: 1100px) {
    .layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .photo-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .primary-nav .menu > li > a { padding: 8px 9px; font-size: 15.5px; }
    .btn-all { display: none; }
}
@media (max-width: 900px) {
    .menu-btn { display: grid; }
    .primary-nav { display: none; }
    .mainbar-in { min-height: 64px; justify-content: space-between; }
    .mainbar-in .logo { margin: 0 auto 0 4px; }
    .layout { grid-template-columns: minmax(0, 1fr); }
    .sticky-side { position: static; }
    .hero-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
    .hero-main { grid-column: 1 / 3; grid-row: auto; }
    .hero-main .c-overlay { min-height: 330px; }
    .hero-side .c-overlay { min-height: 190px; }
    .hero-main .c-title { font-size: 25px; }
    .feature { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .article-title { font-size: 29px; }
    .topbar-date .bn-date, .topbar-date .sep { display: none; }
    .admin-bar .mainbar { top: 46px; }
}
@media (max-width: 680px) {
    body { font-size: 16.5px; padding-bottom: 66px; }
    .grid-3, .two-cols { grid-template-columns: 1fr 1fr; }
    .two-cols { grid-template-columns: 1fr; gap: 24px; }
    .grid { gap: 14px; }
    .c-card .c-title { font-size: 16.5px; }
    .c-card .c-body { padding: 10px 11px 12px; }
    .c-row { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 10px; }
    .c-row .c-title { font-size: 17px; }
    .c-row .c-excerpt { display: none; }
    .c-row .c-img { aspect-ratio: 1; }
    .photo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .article { padding: 16px; border-radius: var(--radius-sm); }
    .article-title { font-size: 25px; }
    .entry { font-size: 18px; line-height: 1.9; }
    .post-nav { grid-template-columns: 1fr; }
    .post-nav .next { grid-column: 1; }
    .page-head { padding: 14px 16px; }
    .page-head h1 { font-size: 22px; }
    .page-head > i { width: 46px; height: 46px; font-size: 22px; }
    .sec-title { font-size: 20px; }
    .trend-label { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 26px; }
    /* টপবার: একই লাইনে তারিখ + সোশ্যাল আইকন + থিম বাটন (লগইন নিচের মেনু/ড্রয়ারে আছে) */
    .topbar-in { gap: 8px; min-height: 38px; }
    .topbar-date { flex: 1 1 auto; min-width: 0; font-size: 13.5px; }
    .topbar-date .d-eng { overflow: hidden; text-overflow: ellipsis; }
    .topbar-date .dname { display: none; }
    .topbar-right { flex: 0 0 auto; gap: 8px; }
    .topbar .topbar-right .en-link, .topbar .topbar-auth { display: none; }
    .social { gap: 5px; }
    .social a { width: 26px; height: 26px; font-size: 12px; }
    .ticker-in { height: 42px; gap: 10px; }
    .ticker-label { font-size: 14px; padding: 2px 11px; }
    .ticker-move a { font-size: 15px; }
    /* খবরের টুলবার: শেয়ার আইকন এক লাইনে, বাকি বাটন ৪টি করে দুই লাইনে */
    .article-tools { display: block; padding: 10px 0 12px; }
    .article-tools .share { margin-bottom: 10px; }
    .tools-right { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
    .tools-right .tool { min-width: 0; width: 100%; padding: 0 6px; font-size: 13px; gap: 5px; white-space: nowrap; overflow: hidden; }
    .tools-right .tool-a { display: inline-flex; align-items: center; justify-content: center; height: 36px; font-size: 17px; border: 1px dashed var(--line); border-radius: 99px; }
    .hero-main .c-body { padding: 16px; }
    .hero-main .c-title { font-size: 21px; }
    .hero-side .c-title { font-size: 15px; }
    .hero-side .c-body { padding: 10px; }
    .hero-side .chip, .hero-side .c-meta { display: none; }
    #to-top { bottom: 78px; right: 14px; }
    .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; background: var(--surface); border-top: 1px solid var(--line); z-index: 130; padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -6px 20px rgba(11, 58, 35, .1); }
    .bottom-nav a, .bottom-nav button { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px 0 7px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
    .bottom-nav i { font-size: 18px; }
    .bottom-nav a:hover, .bottom-nav button:hover { color: var(--accent); }
}
@media (max-width: 420px) {
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr 1fr; }
    .social a { width: 24px; height: 24px; font-size: 11px; }
    .social { gap: 4px; }
    .tools-right .tool { font-size: 12.5px; padding: 0 4px; }
}

/* প্রিন্ট */
@media print {
    .topbar, .trend, .ticker, .mainbar, .layout-side, .article-tools, .share-bottom, .post-nav, .related, .comments, .site-footer, .bottom-nav, #to-top, #read-progress, .post-tags { display: none !important; }
    body { background: #fff; color: #000; }
    .article { border: 0; box-shadow: none; padding: 0; }
    .layout { display: block; }
    .wmks-credit { display: block !important; color: #000; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
    /* শিরোনাম টিকার ফোনের "অ্যানিমেশন বন্ধ" সেটিং থাকলেও চলবে */
    .ticker-move { animation: ticker 75s linear infinite !important; }
}


/* =========================================================
   ১০. ই-পেপার, আর্কাইভ, লগইন/রেজিস্ট্রেশন, পাঠক অ্যাকাউন্ট (v2.1)
   ========================================================= */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.muted { color: var(--muted); }
.live-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--danger); background: rgba(229, 72, 77, .1); padding: 1px 10px; border-radius: 99px; vertical-align: middle; }
.live-badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--danger); animation: jpulse 1.4s infinite; }
@keyframes jpulse { 0% { box-shadow: 0 0 0 0 rgba(229, 72, 77, .6); } 70% { box-shadow: 0 0 0 7px rgba(229, 72, 77, 0); } 100% { box-shadow: 0 0 0 0 rgba(229, 72, 77, 0); } }
.btn-ghost { display: inline-flex; align-items: center; gap: 6px; padding: 9px 20px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; justify-content: center; }
.btn-danger { background: var(--danger); }
.btn-danger:hover { background: #c93a3f; }

/* টোস্ট */
#wmks-toast { position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 20px); background: var(--g-900); color: #fff; padding: 10px 20px; border-radius: 99px; box-shadow: var(--shadow-lg); font-size: 15px; opacity: 0; pointer-events: none; transition: .25s; z-index: 400; max-width: 90vw; text-align: center; }
#wmks-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* নোটিশ */
.notice { padding: 11px 16px; border-radius: var(--radius-sm); margin: 0 0 14px; font-weight: 600; border: 1px solid; }
.notice-error { background: rgba(229, 72, 77, .1); color: var(--danger); border-color: rgba(229, 72, 77, .35); }
.notice-success { background: var(--accent-soft); color: var(--accent); border-color: var(--g-300); }

/* হেডারে ইউজার মেনু */
.topbar-auth { display: flex; align-items: center; gap: 8px; margin-left: 4px; }
.auth-link { color: #fff; font-weight: 600; font-size: 14.5px; opacity: .92; }
.auth-link:hover { color: #fff; opacity: 1; text-decoration: underline; }
.auth-btn { background: #fff; color: var(--g-800); padding: 2px 14px; border-radius: 99px; font-weight: 700; font-size: 14px; }
.auth-btn:hover { background: var(--g-100); color: var(--g-900); }
.user-menu { position: relative; }
.um-btn { display: flex; align-items: center; gap: 7px; color: #fff; font-size: 14.5px; font-weight: 600; padding: 2px 6px 2px 2px; border-radius: 99px; background: rgba(255, 255, 255, .15); }
.um-btn img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.um-btn i { font-size: 10px; opacity: .8; }
.um-pop { position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: 6px; display: none; z-index: 300; }
.user-menu.open .um-pop { display: block; }
.um-pop a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 8px; font-size: 15px; color: var(--text); }
.um-pop a i { width: 16px; color: var(--accent); text-align: center; }
.um-pop a:hover { background: var(--accent-soft); color: var(--accent); }
.um-pop .um-out { border-top: 1px solid var(--line); margin-top: 4px; border-radius: 0 0 8px 8px; }
.btn-ep { background: var(--g-800); }
.drawer-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.drawer-quick a { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; background: var(--surface-2); font-weight: 600; font-size: 15px; }
.drawer-quick a i { color: var(--accent); }

/* ফরম ও অথ কার্ড */
.auth-card { max-width: 460px; margin: 10px auto; padding: 30px 28px; text-align: center; }
.auth-icon { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 10px; display: grid; place-items: center; font-size: 28px; background: var(--accent-soft); color: var(--accent); }
.auth-card h1 { font-size: 26px; }
.auth-sub { color: var(--muted); margin: 6px 0 18px; font-size: 15.5px; }
.auth-form { text-align: left; display: flex; flex-direction: column; gap: 14px; }
.auth-form label { display: flex; flex-direction: column; gap: 5px; font-weight: 600; font-size: 15.5px; }
.auth-form label small { font-weight: 400; color: var(--muted); font-size: 13px; }
.auth-form input[type=text], .auth-form input[type=email], .auth-form input[type=password], .auth-form input[type=url], .auth-form input[type=search], .auth-form textarea, .ep-filter input, .ep-filter select { width: 100%; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font-weight: 400; }
.auth-form input:focus, .auth-form textarea:focus, .ep-filter input:focus, .ep-filter select:focus { outline: 2px solid var(--g-300); border-color: var(--accent); }
.auth-form input:disabled { opacity: .6; }
.auth-form .check, .auth-row .check { flex-direction: row; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; }
.auth-form .check input { width: auto; }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 15px; }
.auth-row a, .auth-foot a { color: var(--accent); font-weight: 700; }
.auth-foot { margin: 18px 0 0; color: var(--muted); font-size: 15.5px; }
.pw { position: relative; display: block; }
.pw input { padding-right: 44px !important; }
.pw-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; color: var(--muted); }
.inline-form { margin-top: 14px; }

/* অ্যাকাউন্ট */
.acc-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 22px; align-items: start; }
.acc-side { position: sticky; top: 76px; padding: 0; overflow: hidden; }
.acc-user { text-align: center; padding: 22px 14px 14px; background: linear-gradient(180deg, var(--accent-soft), transparent); }
.acc-user img { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 8px; object-fit: cover; border: 3px solid var(--surface); box-shadow: var(--shadow); }
.acc-user h3 { font-size: 18px; }
.acc-user small { color: var(--muted); word-break: break-all; }
.acc-nav { display: flex; flex-direction: column; padding: 6px 8px 10px; }
.acc-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-weight: 600; font-size: 15.5px; }
.acc-nav a i { width: 18px; text-align: center; color: var(--accent); }
.acc-nav a:hover, .acc-nav a.active { background: var(--accent-soft); color: var(--accent); }
.acc-nav a.out { color: var(--danger); }
.acc-nav a.out i { color: var(--danger); }
.acc-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.acc-h { font-size: 20px; margin-bottom: 14px; display: flex; align-items: center; gap: 9px; }
.acc-h i { color: var(--accent); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 12px; }
.stat { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 8px; text-align: center; }
.stat b { display: block; font-size: 28px; color: var(--accent); line-height: 1.2; }
.stat span { font-size: 14px; color: var(--muted); }
.stat:hover { border-color: var(--accent); }
.avatar-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.avatar-row img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.avatar-row > div { display: flex; flex-direction: column; gap: 6px; }
.my-comments li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.my-comments li:last-child { border: 0; }
.my-comments a { font-weight: 700; }
.my-comments p { margin: 4px 0; color: var(--muted); font-size: 15.5px; }
.my-comments small { color: var(--muted); }
.danger-box { border-color: rgba(229, 72, 77, .4); }
.follow-chips { margin-bottom: 0; }
.chip-btn { background: var(--surface); border: 1px solid var(--line); padding: 3px 16px; border-radius: 99px; font-weight: 600; font-size: 15px; display: inline-flex; gap: 6px; align-items: center; }
.chip-btn i { font-size: 11px; }
.chip-btn.on, .chip-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.follow-row { margin-bottom: 12px; }
.btn-follow { display: inline-flex; align-items: center; gap: 7px; padding: 7px 18px; border-radius: 99px; font-weight: 700; background: var(--accent); color: #fff; }
.btn-follow.on { background: var(--surface); color: var(--accent); border: 1px solid var(--accent); }

/* ই-পেপার */
.ep-filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-bottom: 18px; }
.ep-filter label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 14.5px; min-width: 150px; }
.ep-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ep-grid-sm { grid-template-columns: repeat(4, 1fr); }
.ep-card { display: flex; flex-direction: column; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.ep-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.ep-cover { display: block; aspect-ratio: 3 / 4; background: var(--surface-2); overflow: hidden; }
.ep-cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ep-info { display: flex; flex-direction: column; padding: 0 12px 12px; font-size: 15px; }
.ep-info small { color: var(--muted); }
.ep-big { grid-column: span 2; grid-row: span 2; }
.ep-side { max-width: 240px; margin: 0 auto; }
.ep-all { display: block; text-align: center; margin-top: 12px; font-weight: 700; color: var(--accent); }
.ep-head h1 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ep-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; padding: 12px 16px; }
.ep-bar h1 { font-size: 22px; }
.ep-bar-title small { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.ep-bar-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ep-jump { display: flex; gap: 6px; align-items: center; }
.ep-jump input { padding: 5px 10px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); color: var(--text); }
.ep-viewer { position: relative; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.ep-viewer:fullscreen { background: #000; border: 0; border-radius: 0; display: flex; align-items: center; padding: 0; }
.ep-stage { --z: 1; max-height: 86vh; overflow: auto; text-align: center; border-radius: 8px; }
.ep-viewer:fullscreen .ep-stage { max-height: 100vh; width: 100%; height: 100vh; }
.ep-page { display: none; width: calc(100% * var(--z)); max-width: none; margin: 0 auto; height: auto; background: #fff; }
.ep-stage .ep-page.active { display: block; }
.ep-viewer:not(:fullscreen) .ep-page { max-width: calc(900px * var(--z)); }
.ep-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(11, 58, 35, .75); color: #fff; z-index: 5; display: grid; place-items: center; }
.ep-nav:hover { background: var(--g-600); }
.ep-prev { left: 8px; }
.ep-next { right: 8px; }
.ep-counter { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); background: rgba(11, 58, 35, .8); color: #fff; padding: 2px 14px; border-radius: 99px; font-size: 14px; z-index: 5; }
.ep-thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 12px 2px; scrollbar-width: thin; }
.ep-th { position: relative; flex: 0 0 auto; width: 84px; border: 2px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface); }
.ep-th img { width: 100%; height: 112px; object-fit: cover; object-position: top; }
.ep-th span { position: absolute; left: 4px; bottom: 4px; background: rgba(11, 58, 35, .85); color: #fff; font-size: 12px; padding: 0 7px; border-radius: 9px; }
.ep-th.active { border-color: var(--accent); }
.ep-pdf { padding: 8px; }

@media (max-width: 1100px) {
    .ep-grid, .ep-grid-sm { grid-template-columns: repeat(3, 1fr); }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .acc-layout { grid-template-columns: 1fr; }
    .acc-side { position: static; }
    .acc-nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
    .acc-nav a { white-space: nowrap; }
    .acc-user { display: none; }
}
@media (max-width: 680px) {
    .ep-grid, .ep-grid-sm { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .ep-big { grid-column: span 2; grid-row: auto; }
    .ep-big .ep-cover { aspect-ratio: 4 / 3; }
    .auth-card { padding: 24px 18px; }
    .um-btn span { display: none; }
    .ep-nav { width: 36px; height: 36px; }
    .ep-bar-actions .tool span { display: none; }
    .topbar-date .sep, .topbar-date .bn-date { display: none; }
}
@media print {
    .ep-bar, .ep-thumbs, .ep-nav, .ep-counter, .live-badge { display: none !important; }
    .ep-stage { max-height: none; overflow: visible; }
    .ep-stage .ep-page { display: block; page-break-after: always; max-width: 100%; width: 100%; }
}


/* =========================================================
   ১১. অটো ই-পেপার (ছাপা পত্রিকার ঢং), ফটো কার্ড, মন্তব্য-লক (v2.2)
   ========================================================= */
.np-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.np-page {
    --np-paper: #fffdf7; --np-ink: #141414; --np-sub: #4b4b45; --np-line: #1b1b1b; --np-soft: #d9d4c4;
    --np-head: 'NpSerif', 'NpHead', 'HindSiliguri', 'Noto Sans Bengali', serif;
}
[data-theme="dark"] .np-page { --np-paper: #1a1f1b; --np-ink: #ecece4; --np-sub: #b4b9ae; --np-line: #cfd3c7; --np-soft: #3a423b; }

.np-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; margin-bottom: 14px; }
.np-tb-l { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.np-tb-r { display: flex; flex-wrap: wrap; gap: 6px; }


/* ---------- ই-পেপার: A3 পত্রিকার পাতা (ছাপা কাগজ — সবসময় সাদা-হলুদ কাগজ, ডার্ক মোডেও) ---------- */
.np-vbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 8px 12px; margin-bottom: 10px; }
.np-vb-pages, .np-vb-tools { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.np-pg, .np-zoom { font-weight: 700; min-width: 74px; text-align: center; font-size: 15px; }
.np-zoom { min-width: 48px; color: var(--muted); }
.np-pdf { background: var(--g-600); color: #fff; border-color: var(--g-600); }
.np-pdf:hover { background: var(--g-700); border-color: var(--g-700); }
.np-pdf.busy { opacity: .75; pointer-events: none; }
.np-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: thin; }
.np-chips:empty { display: none; }
.np-chip-p { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; padding: 5px 14px 5px 6px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.np-chip-p b { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 14px; }
.np-chip-p.on { background: var(--g-600); border-color: var(--g-600); color: #fff; }
.np-chip-p.on b { background: #fff; color: var(--g-700); }

.np-book { position: relative; }
.np-book .np-src, .np-book.np-ready .np-src { display: none; }
.np-building { text-align: center; padding: 60px 10px; color: var(--muted); }
.np-book.np-ready .np-building { display: none; }
.np-stage { overflow: auto; background: #cdd9d1; border-radius: var(--radius); padding: 14px; text-align: left; -webkit-overflow-scrolling: touch; }
[data-theme="dark"] .np-stage { background: #0d1a13; }
.np-sheet-wrap { margin: 0 auto; position: relative; }
.np-sheet-wrap.off { display: none; }

.np-sheet {
    --ink: #151512; --sub: #3d3d36; --rule: #1b1b18; --soft: #d8d2bf; --paper: #fffdf6; --green: #0f6b3a;
    --head: 'NpHead', 'HindSiliguri', 'Noto Sans Bengali', sans-serif; --body: 'HindSiliguri', 'Noto Sans Bengali', sans-serif;
    width: 1100px; height: 1556px; box-sizing: border-box; position: relative; background: var(--paper); color: var(--ink);
    padding: 26px 34px 22px; border-top: 8px solid #0f6b3a; display: flex; flex-direction: column; transform-origin: 0 0; box-shadow: 0 6px 26px rgba(0, 0, 0, .28);
    font-family: var(--body); line-height: 1.5; text-align: left;
}
.np-sheet *, .np-sheet *::before, .np-sheet *::after { box-sizing: border-box; }
.np-sheet a, .np-sheet a:hover { color: inherit; text-decoration: none; }
.np-sheet a:hover { color: #0e6b3a; }
.np-sheet img { max-width: none; }

/* মাস্টহেড (প্রথম পাতা) */
.np-mast { flex: 0 0 auto; }
.np-mast-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-bottom: 10px; height: 118px; }
.np-mast-l, .np-mast-r { display: flex; flex-direction: column; font-size: 15px; line-height: 1.5; color: var(--sub); }
.np-mast-l b, .np-mast-r b { color: var(--ink); font-size: 17px; }
.np-mast-r { text-align: right; align-items: flex-end; }
.np-mast-logo { text-align: center; max-width: 520px; }
.np-mast-logo .logo { display: inline-flex; justify-content: center; }
.np-mast-logo .logo img { max-height: 84px; width: auto; max-width: 480px; margin: 0 auto; display: block; }
.np-mast-logo .logo-text { font-family: 'NpMast', var(--head); font-size: 62px; line-height: 1.2; color: var(--ink); }
.np-tag { margin: 0; font-size: 14px; color: var(--sub); text-align: center; }
.np-rule { height: 9px; border-top: 4px solid var(--green); border-bottom: 1px solid var(--green); flex: 0 0 auto; }
.np-index { background: #eef6ef; padding: 0 10px; flex: 0 0 auto; height: 34px; display: flex; align-items: center; gap: 0; overflow: hidden; white-space: nowrap; font-size: 14.5px; font-weight: 700; border-bottom: 1px solid var(--rule); }
.np-index span { padding: 0 14px; border-left: 1px solid var(--soft); }
.np-index span:first-child { padding-left: 0; border-left: 0; color: #fff; background: #b3262b; margin-left: -10px; padding: 0 14px; line-height: 34px; margin-right: 4px; }

/* ভেতরের পাতার হেডার */
.np-ph { flex: 0 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; height: 46px; padding-bottom: 6px; border-bottom: 4px solid var(--green); }
.np-ph-site { font-family: 'NpMast', var(--head); font-size: 28px; line-height: 1.2; }
.np-ph-pg { font-weight: 700; font-size: 17px; background: var(--green); color: #fff; padding: 0 16px; line-height: 1.55; }
.np-ph-date { text-align: right; font-size: 14.5px; color: var(--sub); }
.np-sheet-body { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; padding-top: 14px; }

/* লিড (প্রথম পাতা) */
.np-lead { flex: 0 0 auto; display: grid; grid-template-columns: 600px minmax(0, 1fr); gap: 24px; padding: 0 0 14px; margin-bottom: 14px; border-bottom: 3px double var(--rule); }
.np-lead.np-lead-solo { grid-template-columns: minmax(0, 1fr); }
.np-lead .np-img { aspect-ratio: 3 / 2; margin: 0; }
.np-lead-t { min-height: 0; overflow: hidden; display: flex; flex-direction: column; }
.np-kicker { align-self: flex-start; font-weight: 700; font-size: 15px; color: #fff; background: var(--green); padding: 0 12px; line-height: 1.6; margin-bottom: 8px; }
.np-lead .np-title { font-size: 40px; line-height: 1.24; margin-bottom: 8px; }
.np-lead .np-ex { font-size: 17px; line-height: 1.62; color: var(--ink); flex: 1 1 auto; min-height: 0; overflow: hidden; }
.np-lead .np-by { font-size: 13px; }

/* কলাম */
.np-cols { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr; grid-template-rows: minmax(0, 1fr); column-gap: 12px; }
.np-vr { background: var(--rule); width: 1px; }
.np-col { min-width: 0; min-height: 0; overflow: hidden; display: block; }

/* খবর */
.np-st { padding: 12px 0; border-bottom: 1px solid var(--soft); margin: 0; }
.np-st:first-child { padding-top: 0; }
.np-st:last-child { border-bottom: 0; }
.np-img { display: block; aspect-ratio: 3 / 2; background: var(--soft); overflow: hidden; margin: 0 0 8px; }
.np-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.np-title { margin: 0 0 5px; font-family: var(--head); font-weight: 700; font-size: 21px; line-height: 1.3; }
.np-ex { margin: 0; font-size: 14.5px; line-height: 1.62; color: var(--sub); text-align: justify; }
.np-by { display: block; font-size: 12.5px; color: #6b6b60; margin-top: 4px; }
.np-sec-h { background: var(--green); color: #fff; border-left: 8px solid #b3262b; font-weight: 700; font-size: 18px; line-height: 1.6; padding: 0 12px; margin: 14px 0 2px; }
.np-cat { display: block; font-size: 12.5px; font-weight: 700; color: var(--green); margin-bottom: 2px; }
.np-col .np-sec-h:first-child { margin-top: 0; }

.np-sh-foot { flex: 0 0 auto; display: flex; justify-content: space-between; align-items: center; height: 30px; margin-top: 8px; padding: 0 12px; background: var(--green); font-size: 12.5px; color: #fff; }
.np-credit { font-size: 11px; opacity: .85; letter-spacing: .2px; }
.np-end { text-align: center; color: #6b6b60; font-size: 14px; padding: 14px 0; }

.np-empty { text-align: center; padding: 60px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.np-empty > i { font-size: 54px; color: var(--g-300); }

@media (max-width: 680px) {
    .np-stage { padding: 8px; border-radius: 10px; }
    .np-vbar { padding: 8px; }
    .np-vb-tools .tool span { display: none; }
    .np-vb-tools .np-pdf span { display: inline; }
    .np-pg { min-width: 64px; font-size: 14px; }
}


/* নিচের আর্কাইভ প্যানেল */
.np-archive { margin-top: 22px; padding: 18px; }
.np-arch-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 12px; }
.np-arch-head h2 { font-size: 21px; color: var(--accent); }
.np-arch-head p { margin: 0; color: var(--muted); font-size: 15px; }
.np-strip { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: thin; scroll-behavior: smooth; }
.np-chip { flex: 0 0 auto; width: 74px; text-align: center; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 6px 4px; line-height: 1.2; display: flex; flex-direction: column; }
.np-chip small { color: var(--muted); font-size: 12.5px; }
.np-chip b { font-size: 24px; color: var(--text); }
.np-chip span { font-size: 13px; color: var(--muted); }
.np-chip:hover { border-color: var(--accent); }
.np-chip.is-today small::after { content: ' ●'; color: var(--danger); font-size: 8px; }
.np-chip.active { background: var(--g-600); border-color: var(--g-600); box-shadow: 0 6px 14px rgba(27, 138, 80, .3); }
.np-chip.active small, .np-chip.active b, .np-chip.active span { color: #fff; }
.np-arch-grid { display: grid; grid-template-columns: 1fr 340px; gap: 22px; align-items: start; margin-top: 6px; border-top: 1px dashed var(--line); padding-top: 16px; }
.np-go { display: flex; flex-direction: column; gap: 10px; }
.np-go label { font-weight: 700; }
.np-go-row { display: flex; gap: 8px; flex-wrap: wrap; }
.np-go input[type=date] { flex: 1; min-width: 160px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); }
.np-go .btn, .np-go .btn-ghost { justify-content: center; }
.np-cal { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; background: var(--surface); }
.np-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.np-cal-nav { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); }
.np-cal-nav.off { opacity: .35; }
.np-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; }
.np-cal-w { font-size: 12.5px; color: var(--muted); font-weight: 700; padding: 2px 0; }
.np-cal-d { padding: 5px 0; border-radius: 8px; font-size: 15px; color: var(--muted); opacity: .55; }
.np-cal-d.has { opacity: 1; color: var(--text); background: var(--accent-soft); font-weight: 700; }
.np-cal-d.has:hover { background: var(--accent); color: #fff; }
.np-cal-d.sel { background: var(--g-600); color: #fff; }
.np-cal-d.now { outline: 2px solid var(--danger); outline-offset: -2px; }

/* হোমপেজের ই-পেপার কার্ড */
.ep-side { position: relative; }
.ep-mast { font-family: 'NpMast', 'HindSiliguri', serif; text-align: center; padding: 6px 8px 4px; font-size: 22px; line-height: 1.2; border-bottom: 3px double var(--line); background: var(--surface-2); }
.ep-heads { margin-top: 12px; }
.ep-heads li { padding: 7px 0; border-top: 1px dotted var(--line); font-weight: 600; font-size: 15.5px; line-height: 1.45; }
.ep-heads li:first-child { border-top: 1px solid var(--line); }

/* ফটো কার্ড (পপআপ) */
.pc-modal { position: fixed; inset: 0; z-index: 600; background: rgba(5, 25, 15, .72); backdrop-filter: blur(3px); display: none; align-items: center; justify-content: center; padding: 14px; overflow-y: auto; }
.pc-modal.open { display: flex; }
.pc-box { position: relative; background: var(--surface); border-radius: var(--radius); padding: 18px; width: 100%; max-width: 560px; box-shadow: var(--shadow-lg); max-height: 100%; overflow-y: auto; }
.pc-box h3 { font-size: 19px; margin-bottom: 10px; color: var(--accent); }
.pc-x { position: absolute; right: 12px; top: 12px; width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; }
.pc-tabs { display: flex; gap: 6px; margin-bottom: 10px; }
.pc-tabs button { padding: 5px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface-2); font-size: 14.5px; font-weight: 600; }
.pc-tabs button.on { background: var(--g-600); border-color: var(--g-600); color: #fff; }
.pc-stage { position: relative; background: var(--surface-2); border-radius: 10px; overflow: hidden; }
.pc-stage canvas { display: block; width: 100%; height: auto; }
.pc-load { position: absolute; inset: 0; display: none; place-items: center; background: var(--surface-2); color: var(--muted); }
.pc-modal.busy .pc-load { display: grid; }
.pc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pc-actions .btn, .pc-actions .btn-ghost { padding: 8px 18px; font-size: 15px; box-shadow: none; }
.pc-hint { margin: 10px 0 0; font-size: 14px; color: var(--muted); }

/* মন্তব্য: লগইন ছাড়া */
.comments-locked .cl-box { text-align: center; background: var(--surface-2); border: 1px dashed var(--g-300); border-radius: var(--radius); padding: 28px 18px; }
.comments-locked .cl-box > i { font-size: 38px; color: var(--g-400); }
.comments-locked h3 { font-size: 20px; margin: 6px 0 4px; }
.comments-locked p { color: var(--muted); margin-bottom: 14px; }
.cl-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }

@media (max-width: 1000px) {
    .np-arch-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .np-tb-r .tool span { display: none; }
    .np-chip { width: 66px; }
}
@media print {
    @page { size: 297mm 420mm; margin: 0; }
    html, body { background: #fff !important; }
    .np-toolbar, .np-vbar, .np-chips, .np-archive, .pc-modal, .live-badge, .breadcrumb, .crumbs, .topbar, .trend, .ticker, .mainbar, .site-footer, .bottom-nav, #to-top, .np-building { display: none !important; }
    .np-page { padding: 0; max-width: none; margin: 0; }
    .np-stage { overflow: visible !important; background: none !important; padding: 0 !important; border-radius: 0; }
    .np-sheet-wrap, .np-sheet-wrap.off { display: block !important; width: 297mm !important; height: 419.6mm !important; margin: 0 !important; page-break-after: always; break-after: page; overflow: hidden; }
    .np-sheet { transform: scale(1.0204) !important; box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .np-sheet-wrap:last-child { page-break-after: auto; break-after: auto; }
}
}
