/* ==========================================================
   বাংলা নিউজ পোর্টাল — ফ্রন্টএন্ড স্টাইল (thenews24.com লেআউট অনুসারে)
   ========================================================== */
:root {
    --primary: #006a4e;
    --primary-dark: #004d38;
    --accent: #e0203a;
    --text: #242424;
    --muted: #5d6166;
    --line: #e3e3e3;
    --heading-line: #b3d6c2;
    --bg-video: #eaf4ef;
    --bg-ent: #fdeff1;
    --bg-photo: #1b1b1b;
    --font: 'Tiro Bangla', 'Noto Serif Bengali', 'SolaimanLipi', serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); font-size: 16px; line-height: 1.55; background: #fff; }
a { color: inherit; text-decoration: none; transition: color .15s; }
a:hover { color: var(--primary); }
img { max-width: 100%; }
.container { max-width: 1290px; }
.btn, .form-control, .form-select { font-family: var(--font); }
.text-primary-site { color: var(--primary) !important; }
.bg-primary-site { background: var(--primary) !important; }
.btn-site { background: var(--primary); color: #fff; border: 0; border-radius: 3px; padding: 8px 18px; }
.btn-site:hover { background: var(--primary-dark); color: #fff; }

/* ---------- Header (নাগরিক প্রতিদিন ধাঁচ: বাঁয়ে মেনু/সার্চ+তারিখ, মাঝে লোগো, ডানে সোশ্যাল+লিংক) ---------- */
.site-header { background: #fff; padding: 16px 0 14px; }
.hdr-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.hdr-left { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; }
.hdr-tools { display: flex; align-items: center; gap: 10px; }
.hdr-icon { border: 0; background: none; color: #222; font-size: 24px; width: 38px; height: 38px; display: inline-grid; place-items: center; padding: 0; line-height: 1; border-radius: 50%; transition: color .15s, border-color .15s; }
.hdr-icon:hover { color: var(--accent); }
.hdr-icon.circle { border: 1.5px solid #222; font-size: 14px; width: 34px; height: 34px; }
.hdr-icon.circle:hover, .hdr-search.open .hdr-icon.circle { border-color: var(--accent); color: var(--accent); }
.hdr-search { position: relative; }
.search-drop { position: absolute; top: calc(100% + 12px); left: -58px; z-index: 1045; width: 360px; background: #f1f3f2; border-top: 3px solid var(--accent); box-shadow: 0 12px 28px rgba(0, 0, 0, .16); padding: 10px; display: none; gap: 6px; }
.search-drop::before { content: ''; position: absolute; top: -11px; left: 68px; border: 8px solid transparent; border-top: 0; border-bottom-color: var(--accent); }
.hdr-search.open .search-drop { display: flex; }
.search-drop input { flex: 1; min-width: 0; border: 1px solid #dcdcdc; background: #fff; padding: 7px 10px; font-family: var(--font); font-size: 15px; outline: 0; }
.search-drop input:focus { border-color: var(--primary); }
.search-drop button { border: 0; background: #fff; width: 42px; color: var(--accent); font-size: 16px; transition: background .15s, color .15s; }
.search-drop button:hover { background: var(--accent); color: #fff; }
.hdr-date { font-size: 15px; color: #333; white-space: nowrap; }
.hdr-date i, .hdr-date-m i { color: #666; margin-right: 3px; }
.hdr-center { text-align: center; }
.hdr-center .site-logo { display: inline-block; }
.hdr-right { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; min-width: 0; }
.hdr-social { display: flex; align-items: center; gap: 18px; }
.hdr-social a { font-size: 22px; color: #222; line-height: 1; }
.hdr-social a:hover { color: var(--accent); }
.hdr-links { display: flex; align-items: center; gap: 8px; font-size: 15px; white-space: nowrap; }
.hdr-links a:hover { color: var(--accent); }
.hdr-links .sep { color: #222; }
.hdr-links .reg-pill { background: var(--accent); color: #fff; padding: 2px 10px; border-radius: 3px; margin-left: 4px; }
.hdr-links .reg-pill:hover { background: #b8172b; color: #fff; }
.hdr-date-m { text-align: center; font-size: 13.5px; color: #444; padding-top: 8px; }
.text-accent { color: var(--accent) !important; }
.site-logo img { max-height: 82px; width: auto; }
.text-logo { display: inline-flex; align-items: center; gap: 12px; text-align: left; }
.text-logo .globe { width: 66px; height: 66px; border-radius: 50%; background: radial-gradient(circle at 32% 30%, #ff7182 0%, #f42a41 45%, #b3122a 100%); color: #fff; display: grid; place-items: center; font-size: 32px; box-shadow: inset -6px -6px 14px rgba(0, 0, 0, .25); flex: 0 0 auto; }
.text-logo .name { font-size: 40px; font-weight: 700; color: var(--primary); line-height: 1.05; display: block; white-space: nowrap; }
.text-logo .tag { display: block; font-size: 13.5px; color: var(--muted); margin-top: 3px; }

/* ---------- Navbar (দুই দাগের নিচে মাঝখানে মেনু, প্রচ্ছদ দিয়ে শুরু) ---------- */
.main-nav { background: #fff; position: sticky; top: 0; z-index: 1030; transition: box-shadow .2s; }
.main-nav .nav-inner { border-top: 4px double #222; border-bottom: 1px solid var(--line); }
.main-nav.stuck { box-shadow: 0 3px 12px rgba(0, 0, 0, .08); }
.main-nav.stuck .nav-inner { border-top-color: transparent; border-bottom-color: transparent; }
.nav-inner { display: flex; align-items: center; min-height: 56px; gap: 6px; }
.nav-logo { display: none; flex: 0 0 auto; }
.nav-logo img { height: 40px; width: auto; }
.nav-logo .mini { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--primary); font-size: 22px; white-space: nowrap; }
.nav-logo .mini .dot { width: 32px; height: 32px; border-radius: 50%; background: radial-gradient(circle at 32% 30%, #ff7182 0%, #f42a41 45%, #b3122a 100%); color: #fff; display: grid; place-items: center; font-size: 14px; }
.main-nav.stuck .nav-logo { display: block; }
.nav-menu { list-style: none; margin: 0 auto; padding: 0; display: flex; align-items: center; }
.nav-menu > li > a { display: block; padding: 14px 12px; font-size: 18px; color: #111; position: relative; white-space: nowrap; }
.nav-menu > li > a:hover, .nav-menu > li > a.active { color: var(--accent); }
.nav-menu > li > a.active::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 7px; height: 2px; background: var(--accent); }
.nav-menu .dropdown-toggle::after { vertical-align: .2em; }
.more-menu { padding: 10px; border-radius: 0; border: 1px solid var(--line); border-top: 3px solid var(--accent); box-shadow: 0 10px 25px rgba(0, 0, 0, .1); min-width: 520px; }
.more-menu.show { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px 8px; }
.more-menu a { display: block; padding: 7px 10px; font-size: 16px; border-bottom: 1px dashed #eee; }
.more-menu a:hover { background: #f2f8f4; color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }
.live-btn { background: #ffe8e8; color: #d40000; border-radius: 20px; padding: 3px 12px; font: 700 13px/1.6 Arial, sans-serif; display: inline-flex; align-items: center; gap: 6px; }
.live-btn .dot { width: 9px; height: 9px; background: #e00; border-radius: 50%; animation: blink 1s infinite; }
.lang-btn { background: #def0e6; border-radius: 20px; padding: 3px 13px; font: 15px Georgia, serif; }
.search-btn, .menu-btn { border: 0; background: none; color: #222; font-size: 20px; padding: 4px 8px; }
.search-btn:hover, .menu-btn:hover { color: var(--accent); }
.stuck-only { display: none; }
.main-nav.stuck .stuck-only { display: inline-block; }
.search-panel { border-top: 1px solid var(--line); background: #fafcfb; }
.search-panel form { max-width: 680px; margin: 12px auto; }
@keyframes blink { 50% { opacity: .2; } }

/* সব বিভাগের সাইড মেনু */
.side-menu { --bs-offcanvas-width: 300px; }
.side-menu .offcanvas-header { background: var(--primary); color: #fff; padding: 14px 18px; }
.side-menu .side-logo { color: #fff; font-weight: 700; font-size: 21px; }
.side-menu .btn-close { filter: invert(1) grayscale(1) brightness(2); opacity: .9; }
.side-links a { display: block; padding: 10px 6px; border-bottom: 1px solid #ececec; font-size: 17px; transition: padding .15s, color .15s; }
.side-links a:hover, .side-links a.active { color: var(--accent); padding-left: 12px; }

/* ---------- Breaking news ticker ---------- */
.breaking-bar { background: #fff; }
.breaking-inner { display: flex; align-items: stretch; height: 44px; margin: 10px 0 0; border: 1px solid #efd3d3; background: #fffafa; overflow: hidden; }
.breaking-label { background: var(--accent); color: #fff; font-weight: 700; font-size: 17px; padding: 0 16px 0 14px; display: flex; align-items: center; gap: 8px; white-space: nowrap; position: relative; z-index: 2; }
.breaking-label::after { content: ''; position: absolute; right: -14px; top: 0; border-left: 14px solid var(--accent); border-top: 22px solid transparent; border-bottom: 22px solid transparent; }
.breaking-label .pulse { width: 10px; height: 10px; border-radius: 50%; background: #fff; animation: blink 1s infinite; }
.breaking-bar.headlines .breaking-inner { border-color: #cfe4d7; background: #f6faf8; }
.breaking-bar.headlines .breaking-label { background: var(--primary); }
.breaking-bar.headlines .breaking-label::after { border-left-color: var(--primary); }
.breaking-track { flex: 1; overflow: hidden; display: flex; align-items: center; padding-left: 22px; }
.breaking-marquee { display: inline-flex; align-items: center; white-space: nowrap; will-change: transform; animation: ticker var(--speed, 60s) linear infinite; }
.breaking-track:hover .breaking-marquee { animation-play-state: paused; }
.breaking-marquee a { font-size: 17px; }
.breaking-marquee .sep { color: var(--accent); margin: 0 16px; font-size: 9px; }
.breaking-bar.headlines .sep { color: var(--primary); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Ads ---------- */
.ad-slot { text-align: center; }
.ad-slot img { max-width: 100%; height: auto; display: inline-block; }
.ad-slot .ad-label { font: 10px Arial, sans-serif; color: #999; letter-spacing: 1px; text-transform: uppercase; }

/* ---------- Common news cards ---------- */
.news-img { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #e3efe8; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; display: block; }
a.news-img:hover img, .news-card:hover .news-img img { transform: scale(1.04); }
.news-img .badge-video { position: absolute; left: 8px; top: 8px; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 13px; }
.news-title { font-weight: 700; line-height: 1.45; margin: 0; color: #222; }
.news-title a { color: #222; }
.news-title a:hover { color: var(--primary); }
.t-xl { font-size: 32px; line-height: 1.38; }
.t-lg { font-size: 25px; }
.t-md { font-size: 21px; }
.t-sm { font-size: 18.5px; }
.t-xs { font-size: 16.5px; }
.news-excerpt { color: var(--muted); font-size: 16px; line-height: 1.62; margin: 7px 0 0; }
.news-shoulder { color: var(--accent); font-size: 15px; display: block; margin-bottom: 2px; }
.meta-time { font-size: 13.5px; color: #8a8a8a; margin-top: 6px; }
.clamp-2, .clamp-3, .clamp-4 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-2 { -webkit-line-clamp: 2; }
.clamp-3 { -webkit-line-clamp: 3; }
.clamp-4 { -webkit-line-clamp: 4; }
.card-h { display: flex; gap: 12px; align-items: flex-start; }
.card-h .news-img { flex: 0 0 40%; max-width: 40%; }
.card-h.small .news-img { flex: 0 0 36%; max-width: 36%; }
.card-h.reverse { flex-direction: row-reverse; }
.card-h .card-body-text { flex: 1; min-width: 0; }
.card-v .news-title { margin-top: 10px; }
.list-item { padding: 13px 0; border-bottom: 1px solid var(--line); }
.list-item:first-child { padding-top: 0; }
.list-item:last-child { border-bottom: 0; }
@media (min-width: 992px) {
    .vline-r { border-right: 1px solid var(--line); }
    .vline-l { border-left: 1px solid var(--line); }
}

/* ---------- Section headings ---------- */
.section { padding: 30px 0; }
.section-title { font-size: 28px; font-weight: 700; border-bottom: 2px solid var(--heading-line); padding-bottom: 8px; margin-bottom: 22px; display: flex; justify-content: space-between; align-items: flex-end; }
.section-title a { color: #222; }
.section-title .more { font-size: 15px; color: var(--primary); font-weight: 400; }
.block-title { font-size: 24px; font-weight: 700; border-bottom: 2px solid var(--heading-line); padding-bottom: 6px; margin-bottom: 16px; }
.bar-title { font-size: 24px; font-weight: 700; border-bottom: 1px solid #ddd; padding-bottom: 8px; margin-bottom: 22px; position: relative; }
.bar-title::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 46px; height: 3px; background: var(--primary); }

/* ---------- Home: top block ---------- */
.top-block { padding-top: 22px; }
.lead-news .news-title { font-size: 32px; line-height: 1.38; }
.lead-news .news-excerpt { font-size: 17px; }
.sub-lead { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; margin: 18px 0 18px; }
@media (min-width: 768px) { .sub-lead > div + div { border-left: 1px solid var(--line); } }

/* ---------- Sidebar tabs ---------- */
.side-tabs { margin-top: 18px; }
.side-tabs .tab-head { display: flex; }
.side-tabs .tab-head button { flex: 1; border: 0; background: #e8eeea; padding: 10px 6px; font: 700 18px var(--font); color: #222; }
.side-tabs .tab-head button.active { background: var(--primary); color: #fff; }
.side-tabs .tab-content { border: 1px solid var(--line); border-top: 0; }
.side-tabs .tab-pane { max-height: 470px; overflow-y: auto; }
.num-item { display: flex; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.num-item .num { font-size: 32px; color: #a3cbb4; line-height: 1; min-width: 22px; }
.num-item a { font-weight: 700; font-size: 17px; line-height: 1.45; }
.all-news-btn { display: block; background: var(--primary); color: #fff !important; text-align: center; padding: 9px; font-weight: 700; margin-top: 8px; }
.all-news-btn:hover { background: var(--primary-dark); }

/* ---------- Video section ---------- */
.video-section { background: var(--bg-video); }
.video-card { position: relative; display: block; overflow: hidden; background: #000; }
.video-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: .93; transition: transform .45s; display: block; }
.video-card:hover img { transform: scale(1.03); }
.video-card .play { position: absolute; left: 14px; top: 14px; width: 48px; height: 48px; border-radius: 50%; background: #f42a41; color: #fff; display: grid; place-items: center; font-size: 18px; box-shadow: 0 0 0 4px rgba(255, 255, 255, .35); }
.video-card .v-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 50px 16px 14px; background: linear-gradient(transparent, rgba(0, 0, 0, .88)); color: #fff; font-weight: 700; font-size: 20px; line-height: 1.4; }
.video-card.big .v-title { font-size: 27px; }
.video-card.big .play { width: 58px; height: 58px; font-size: 22px; }
.video-small .video-card .play { width: 40px; height: 40px; font-size: 15px; left: 10px; top: 10px; }
.video-small .t { font-size: 17.5px; font-weight: 700; margin-top: 9px; line-height: 1.45; }

/* ---------- সারাদেশ ---------- */
.district-search { background: #e7eaef; border-radius: 4px; padding: 16px 24px; margin: 0 auto 26px; max-width: 1050px; }
.district-search label { font-weight: 700; font-size: 18px; white-space: nowrap; }
.district-search .form-select { background-color: #f5f6f8; border: 0; height: 44px; border-radius: 3px; }
.district-search .btn-site { height: 44px; width: 100%; }

/* ---------- মতামত ---------- */
.opinion-box { border: 1px dashed #9b9b9b; padding: 20px 30px 26px; }
.opinion-box .section-title { border-bottom: 1px dashed #b5b5b5; }
.opinion-feature { background: #e1e9e4; padding: 26px 30px; height: 100%; }
.opinion-feature .writer { display: flex; gap: 14px; align-items: center; margin-bottom: 22px; }
.opinion-feature .writer .info { background: #d0ddd5; padding: 6px 10px; font-size: 15.5px; line-height: 1.55; flex: 1; }
.writer-photo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex: 0 0 84px; background: #c8d8ce; }
.opinion-feature h3 { font-size: 27px; line-height: 1.45; }
.opinion-feature h3 a { text-decoration: underline; color: var(--primary); text-underline-offset: 5px; }
.opinion-feature p { font-size: 18px; line-height: 1.7; margin-top: 14px; }
.opinion-item { display: flex; gap: 16px; align-items: center; background: #fff; box-shadow: 0 3px 14px rgba(0, 0, 0, .08); padding: 12px 18px; margin-bottom: 16px; }
.opinion-item .writer-photo { width: 92px; height: 92px; flex-basis: 92px; }
.opinion-item h4 { font-size: 21px; line-height: 1.45; margin: 0 0 4px; }
.opinion-item h4 a { color: var(--primary); }
.opinion-item .by { color: #b8172b; font-size: 15px; }

/* ---------- বিনোদন ---------- */
.ent-section { background: var(--bg-ent); }
.ent-lead { background: #fff; box-shadow: 0 1px 8px rgba(0, 0, 0, .06); border-bottom: 2px solid var(--primary); }
.ent-lead .news-img { aspect-ratio: 4 / 3; height: 100%; }
.ent-lead .body { padding: 18px 18px 18px 4px; }
.ent-card { background: #fff; border-bottom: 1px solid var(--primary); height: 100%; box-shadow: 0 1px 6px rgba(0, 0, 0, .05); }
.ent-card .news-title { padding: 10px 10px 12px; margin: 0; }
.ent-side { background: #fff; padding: 6px 16px; box-shadow: 0 1px 8px rgba(0, 0, 0, .06); }

/* ---------- ফটো গ্যালারি ---------- */
.photo-section { background: var(--bg-photo); color: #fff; }
.photo-section .section-title { border-color: #5c5c5c; color: #fff; }
.photo-section .section-title a { color: #fff; }
.photo-card { display: block; position: relative; color: #fff; }
.photo-card:hover { color: #c9e3d3; }
.photo-card .img-wrap { position: relative; overflow: hidden; }
.photo-card .img-wrap img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; transition: transform .45s; }
.photo-card:hover .img-wrap img { transform: scale(1.04); }
.photo-card .cam { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px; border-radius: 50%; background: #f42a41; color: #fff; display: grid; place-items: center; font-size: 18px; }
.photo-card .p-title { font-weight: 700; margin-top: 10px; font-size: 20px; line-height: 1.4; }
.photo-card.big .p-title { font-size: 26px; }

/* ---------- Poll & widgets ---------- */
.widget { border: 1px solid var(--line); padding: 16px; margin-bottom: 22px; background: #fff; }
.widget-title { font-size: 20px; font-weight: 700; border-bottom: 2px solid var(--heading-line); padding-bottom: 6px; margin-bottom: 14px; }
.poll-question { font-size: 18px; font-weight: 700; line-height: 1.5; margin-bottom: 12px; }
.poll-option { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--line); margin-bottom: 8px; border-radius: 3px; cursor: pointer; }
.poll-option:hover { border-color: var(--primary); }
.poll-result { margin-bottom: 10px; }
.poll-result .bar { height: 10px; background: #e6efea; border-radius: 6px; overflow: hidden; }
.poll-result .bar span { display: block; height: 100%; background: var(--primary); border-radius: 6px; transition: width .6s; }

/* ---------- Category page ---------- */
.cat-title { font-size: 30px; color: var(--primary); display: inline-block; border-bottom: 3px solid var(--primary); padding-bottom: 2px; margin: 20px 0 22px; font-weight: 700; }
.cat-lead .news-title { font-size: 28px; }
.sub-cats a { display: inline-block; border: 1px solid #d2e6da; padding: 3px 12px; margin: 0 6px 8px 0; border-radius: 20px; font-size: 15px; color: var(--primary); }
.load-more-wrap { text-align: center; margin: 28px 0 10px; }
.load-more-wrap .btn-site { padding: 9px 40px; }

/* ---------- Details page ---------- */
.breadcrumb-site { font-size: 15px; color: #555; margin: 18px 0 10px; }
.breadcrumb-site a { color: var(--primary); }
.detail-shoulder { color: var(--accent); font-size: 19px; font-weight: 700; }
.detail-title { font-size: 36px; font-weight: 700; line-height: 1.42; margin: 4px 0 18px; }
.detail-excerpt { font-size: 19px; color: #444; border-left: 4px solid var(--heading-line); padding-left: 14px; margin-bottom: 18px; }
.detail-img img { width: 100%; height: auto; display: block; }
.detail-img figcaption { font-size: 14.5px; color: #666; padding: 7px 0 4px; }
.byline { display: flex; align-items: center; gap: 10px; margin: 16px 0 6px; }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.byline .name { font-size: 17px; }
.byline-bar { width: 32px; height: 4px; background: #e2e2e2; margin: 14px 0 4px; }
.meta-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding: 4px 0 14px; margin-bottom: 20px; gap: 10px; }
.dates { font-size: 14.5px; color: #555; }
.dates b { color: #222; font-weight: 700; }
.dates span + span { margin-left: 18px; }
.share-btns { display: flex; align-items: center; gap: 5px; }
.share-btns a, .share-btns button.s { width: 36px; height: 36px; display: inline-grid; place-items: center; color: #fff; border-radius: 4px; border: 0; font-size: 17px; }
.share-btns .fb { background: #1877f2; }
.share-btns .tw { background: #000; }
.share-btns .wa { background: #25d366; }
.share-btns .li { background: #0a66c2; }
.share-btns .cp { background: #6c757d; }
.share-btns .tool-btn { background: none; border: 0; color: #333; font-size: 19px; padding: 0 6px; }
.article-body { font-size: 19px; line-height: 1.85; text-align: justify; word-wrap: break-word; }
.article-body p { margin-bottom: 1.1em; }
.article-body img { max-width: 100%; height: auto; }
.article-body iframe { max-width: 100%; }
.article-body blockquote { border-left: 4px solid var(--primary); padding: 6px 16px; background: #f4f9f6; }
.article-body table { width: 100%; border-collapse: collapse; margin-bottom: 1em; }
.article-body td, .article-body th { border: 1px solid #ddd; padding: 6px 10px; }
.video-embed { position: relative; aspect-ratio: 16 / 9; margin: 16px 0; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tags a { border: 1px solid #cfcfcf; padding: 3px 12px; margin: 0 6px 6px 0; display: inline-block; font-size: 15px; }
.tags a:hover { border-color: var(--primary); }
.sidebar-title { font-size: 22px; font-weight: 700; border-bottom: 1px solid #ddd; padding-bottom: 8px; margin-bottom: 6px; position: relative; }
.sidebar-title::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 36px; height: 3px; background: var(--primary); }
.side-item { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.side-item .t { flex: 1; font-weight: 700; font-size: 17px; line-height: 1.45; }
.side-item .thumb { flex: 0 0 104px; }
.reporter-card { display: flex; gap: 18px; align-items: center; background: #f3f8f5; padding: 18px; margin-bottom: 24px; }
.reporter-card img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; }

/* ---------- List pages ---------- */
.list-row { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.list-row .news-img { flex: 0 0 260px; max-width: 260px; }
.filter-box { background: #f2f7f4; padding: 16px; margin-bottom: 18px; }

/* ---------- আর্কাইভ ---------- */
.archive-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.archive-quick a { font-size: 14px; padding: 3px 12px; border: 1px solid #cfe0d6; border-radius: 20px; background: #fff; }
.archive-quick a:hover, .archive-quick a.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.archive-day { margin-top: 18px; padding: 6px 12px; background: #f2f7f4; border-left: 4px solid var(--accent); font-weight: 700; font-size: 16px; }
.archive-search-box { background: #f2f7f4; border-top: 3px solid var(--primary); padding: 18px; height: 100%; }
.archive-days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.archive-day-card { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2px; padding: 14px 8px; border: 1px solid var(--line); border-top: 3px solid var(--accent); background: #fff; transition: transform .15s, box-shadow .15s; }
.archive-day-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, .08); color: inherit; }
.archive-day-card .w { font-weight: 700; color: var(--accent); font-size: 16px; }
.archive-day-card .d { font-size: 15px; }
.archive-day-card .c { font-size: 13.5px; color: var(--primary); }
.archive-day-card.empty { opacity: .6; }
.archive-day-card.more { background: var(--primary); border-color: var(--primary); color: #fff; }
.archive-day-card.more .w, .archive-day-card.more .c { color: #fff; }
@media (max-width: 575.98px) { .archive-days { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Auth pages ---------- */
.auth-card { max-width: 480px; margin: 40px auto; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0, 0, 0, .05); padding: 30px; }
.auth-card h1 { font-size: 26px; font-weight: 700; color: var(--primary); }
.register-wrap { margin: 30px auto 50px; }
.register-info { background: linear-gradient(160deg, var(--primary), var(--primary-dark)); color: #fff; padding: 30px; height: 100%; }
.register-info li { margin-bottom: 10px; }
.register-form { border: 1px solid var(--line); padding: 28px; background: #fff; }
.form-label { font-weight: 700; }
.req { color: var(--accent); }

/* ---------- ক্যামেরায় ছবি তোলা (সাংবাদিক নিবন্ধন) ---------- */
.cam-field { border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: #fff; height: 100%; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s; }
.cam-field.is-invalid { border-color: #dc3545; box-shadow: 0 0 0 .15rem rgba(220, 53, 69, .15); }
.cam-field.has-file { border-color: var(--heading-line); }
.cam-preview { position: relative; height: 170px; border: 2px dashed #cfd6dc; border-radius: 8px; background: #f6f8f9; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 10px; }
.cam-field.has-file .cam-preview { border-style: solid; border-color: var(--primary); background: #111; }
.cam-preview img { width: 100%; height: 100%; object-fit: contain; }
.cam-preview.face img { object-fit: cover; }
.cam-empty { text-align: center; color: #8a949c; font-size: 14px; padding: 0 12px; }
.cam-empty i { display: block; font-size: 40px; margin-bottom: 8px; color: #b9c2c8; }
.cam-file { text-align: center; color: #fff; font-size: 13px; word-break: break-all; padding: 0 12px; }
.cam-file i { display: block; font-size: 42px; color: #ff6b6b; margin-bottom: 6px; }
.cam-clear { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .65); color: #fff; display: flex; align-items: center; justify-content: center; }
.cam-clear:hover { background: var(--accent); }
.cam-field.from-camera .cam-preview::after { content: "ক্যামেরায় তোলা"; position: absolute; left: 6px; bottom: 6px; background: var(--primary); color: #fff; font-size: 12px; padding: 1px 9px; border-radius: 20px; }
.cam-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.cam-actions .btn { flex: 1 1 auto; white-space: nowrap; }
.cam-error { color: #dc3545; font-size: 13.5px; margin-top: 4px; }
.cam-error:empty { display: none; }

.cam-modal .modal-content { overflow: hidden; }
.cam-stage { position: relative; width: 100%; aspect-ratio: 4 / 3; max-height: 68vh; background: #000; overflow: hidden; }
.cam-stage video, .cam-stage .cam-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cam-stage video.mirror { transform: scaleX(-1); }
.cam-stage .cam-shot { object-fit: contain; background: #111; z-index: 2; }
.cam-guide { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 82%; aspect-ratio: 1.586; border: 3px dashed rgba(255, 255, 255, .92); border-radius: 14px; box-shadow: 0 0 0 9999px rgba(0, 0, 0, .45); pointer-events: none; z-index: 1; }
.cam-modal[data-shape="face"] .cam-guide { width: 38%; aspect-ratio: 3 / 4; border-radius: 50%; }
.cam-stage.captured .cam-guide { display: none; }
.cam-status { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 24px; background: rgba(0, 0, 0, .65); }
.cam-status p { max-width: 440px; margin-bottom: 14px; }
.cam-tip { padding: 10px 16px; font-size: 14.5px; background: #fff8e1; color: #6b5400; }
@media (max-width: 575.98px) {
    .cam-stage { max-height: none; }
    .cam-modal[data-shape="face"] .cam-stage { aspect-ratio: 3 / 4; }
    .cam-modal[data-shape="face"] .cam-guide { width: 62%; }
    .cam-guide { width: 90%; }
    .cam-modal .modal-footer .btn { flex: 1 1 auto; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0 24px; background: #fff; margin-top: 30px; }
.site-footer h6 { font-weight: 700; font-size: 18px; margin-bottom: 4px; }
.site-footer p { font-size: 15.5px; margin-bottom: 12px; color: #333; }
.footer-logo { max-width: 100%; }
.footer-logo img { max-width: 100%; max-height: 70px; }
.site-footer .text-logo { gap: 10px; }
.site-footer .text-logo .globe { width: 54px; height: 54px; font-size: 26px; }
.site-footer .text-logo .name { font-size: 32px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 992px) { .footer-links { justify-content: flex-end; } }
@media (max-width: 1199.98px) {
    .site-footer .text-logo .globe { width: 46px; height: 46px; font-size: 22px; }
    .site-footer .text-logo .name { font-size: 27px; }
}
@media (max-width: 400px) { .site-footer .text-logo .name { font-size: 23px; } }
.footer-links a { border: 1px solid #dcdcdc; padding: 6px 10px; font-size: 14.5px; }
.footer-links a:hover { border-color: var(--primary); }
.footer-social a { width: 38px; height: 38px; border: 1px solid var(--primary); border-radius: 50%; display: inline-grid; place-items: center; color: var(--primary); margin: 0 3px; }
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer-bottom { background: #212529; color: #fff; text-align: center; padding: 14px 0; font-size: 15px; }
.back-to-top { position: fixed; right: 28px; bottom: 60px; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--primary); background: #fff; color: var(--primary); display: none; place-items: center; z-index: 1040; font-size: 18px; }
.back-to-top.show { display: grid; }

/* ---------- Pagination ---------- */
.pagination { justify-content: center; margin-top: 26px; }
.page-link { color: var(--primary); }
.active > .page-link, .page-link.active { background: var(--primary); border-color: var(--primary); }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .nav-menu > li > a { padding: 14px 8px; font-size: 16px; }
    .text-logo .name { font-size: 34px; }
    .hdr-social { gap: 14px; }
    .hdr-social a { font-size: 19px; }
    .hdr-links, .hdr-date { font-size: 14px; }
}
@media (max-width: 991.98px) {
    .site-header { padding: 10px 0 10px; }
    .hdr-grid { grid-template-columns: auto 1fr auto; gap: 8px; }
    .hdr-left { gap: 0; }
    .hdr-tools { gap: 4px; }
    .hdr-icon { font-size: 21px; }
    .hdr-icon.circle { width: 32px; height: 32px; }
    .search-drop { position: fixed; left: 10px; right: 10px; top: 62px; width: auto; }
    .search-drop::before { display: none; }
    .text-logo { gap: 8px; }
    .text-logo .globe { width: 46px; height: 46px; font-size: 22px; }
    .text-logo .name { font-size: 28px; }
    .text-logo .tag { font-size: 12px; }
    .main-nav .nav-inner { border-top-width: 3px; min-height: 48px; }
    .nav-menu { margin: 0; overflow-x: auto; scrollbar-width: none; flex: 1; }
    .nav-menu::-webkit-scrollbar { display: none; }
    .nav-menu > li > a { padding: 13px 10px; }
    .nav-menu .more-li { display: none; }
    .main-nav.stuck .nav-logo { display: none; }
    .lead-news .news-title, .t-xl { font-size: 26px; }
    .detail-title { font-size: 28px; }
    .opinion-box { padding: 16px; }
}
@media (max-width: 767.98px) {
    body { font-size: 15.5px; }
    .section { padding: 22px 0; }
    .section-title { font-size: 24px; }
    .t-lg { font-size: 22px; }
    .t-md { font-size: 19px; }
    .detail-title { font-size: 25px; }
    .article-body { font-size: 18px; text-align: left; }
    .list-row .news-img { flex-basis: 120px; max-width: 120px; }
    .list-row .news-excerpt { display: none; }
    .breaking-label { font-size: 15px; padding: 0 10px; }
    .breaking-marquee a { font-size: 16px; }
    .video-card.big .v-title { font-size: 21px; }
    .ent-lead .body { padding: 14px; }
    .opinion-feature { padding: 18px; }
    .text-logo .globe { width: 38px; height: 38px; font-size: 18px; }
    .text-logo .name { font-size: 22px; }
    .text-logo .tag { display: none; }
    .hdr-icon { width: 32px; }
    .back-to-top { right: 14px; bottom: 24px; }
}

/* ---------- Print ---------- */
@media print {
    .hdr-tools, .hdr-right, .main-nav, .breaking-bar, .site-footer, .footer-bottom, .share-btns, .ad-slot, aside, .back-to-top, .related-news { display: none !important; }
}
