/* ============================================================
   খবর প্রতিদিন — মূল স্টাইলশিট
   অনুপ্রেরণা: ক্লাসিক বাংলাদেশি দৈনিক পত্রিকার অনলাইন সংস্করণ
   ============================================================ */

:root {
    --red: #b80000;
    --red-dark: #8c0000;
    --red-soft: #fdf2f2;
    --ink: #171717;
    --ink-soft: #333;
    --muted: #6b6b6b;
    --line: #e5e5e5;
    --line-dark: #d4d4d4;
    --soft: #f7f7f5;
    --cream: #fbf7f1;
    --white: #fff;
    --serif: 'Noto Serif Bengali', 'Hind Siliguri', serif;
    --sans: 'Hind Siliguri', 'Noto Sans Bengali', system-ui, sans-serif;
    --shadow: 0 6px 24px rgba(0, 0, 0, .06);
    --radius: 6px;
    --container: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0 0 14px; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--serif); line-height: 1.35; font-weight: 700; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 15px; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

::selection { background: var(--red); color: #fff; }

/* স্ক্রল প্রগ্রেস */
.reading-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0;
    background: var(--red);
    z-index: 9999;
    transition: width .1s linear;
}

/* ======================= আইকন ======================= */
.ico { display: inline-block; position: relative; vertical-align: -2px; }
.ico-search {
    width: 13px; height: 13px;
    border: 2px solid currentColor;
    border-radius: 50%;
}
.ico-search::after {
    content: '';
    position: absolute;
    width: 7px; height: 2px;
    background: currentColor;
    transform: rotate(45deg);
    right: -5px; bottom: -1px;
    border-radius: 2px;
}
.ico-calendar {
    width: 13px; height: 12px;
    border: 1.5px solid currentColor;
    border-radius: 2px;
}
.ico-calendar::before {
    content: '';
    position: absolute;
    top: 3px; left: 0; right: 0;
    height: 1.5px;
    background: currentColor;
}

/* ======================= টপ স্ট্রিপ ======================= */
.top-strip {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    color: var(--muted);
}
.top-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 38px;
}
.top-strip-left { display: flex; align-items: center; gap: 16px; }
.today-date { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-soft); font-weight: 500; }
.edition { padding-left: 16px; border-left: 1px solid var(--line); color: var(--muted); }
.top-strip-right { display: flex; align-items: center; gap: 18px; }
.top-strip-right > a { transition: color .18s; }
.top-strip-right > a:hover { color: var(--red); }
.top-social { display: flex; gap: 6px; padding-left: 16px; border-left: 1px solid var(--line); }
.top-social a {
    width: 22px; height: 22px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--soft);
    color: var(--ink-soft);
    font-size: 11px; font-weight: 600;
    transition: all .2s;
}
.top-social a:hover { background: var(--red); color: #fff; }

/* ======================= মাথা ======================= */
.masthead {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    padding-top: 24px;
    padding-bottom: 20px;
}
.masthead-left { display: flex; align-items: center; gap: 14px; }
.menu-toggle {
    display: none;
    width: 42px; height: 40px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;
    padding: 10px 9px;
}
.menu-toggle span {
    display: block;
    height: 2px;
    background: var(--ink);
    margin: 4px 0;
    border-radius: 2px;
}
.masthead-note { font-size: 12.5px; color: var(--muted); line-height: 1.4; max-width: 150px; }
.masthead-center { text-align: center; }
.logo { display: inline-block; text-align: center; }
.logo-main {
    display: block;
    font-family: var(--serif);
    font-size: 46px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.5px;
    color: var(--ink);
}
.logo-main em { color: var(--red); font-style: normal; }
.logo-tagline {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--muted);
    text-transform: uppercase;
}
.masthead-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.masthead-buttons { display: flex; gap: 8px; }
.btn-outline {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid var(--line-dark);
    border-radius: 3px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--ink-soft);
    transition: all .2s;
}
.btn-outline:hover { background: var(--red); border-color: var(--red); color: #fff; }
.header-search {
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 30px;
    overflow: hidden;
    background: var(--soft);
    width: 220px;
}
.header-search input {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 7px 14px;
    font-size: 13px;
    outline: none;
    min-width: 0;
}
.header-search button {
    border: 0;
    background: transparent;
    width: 36px;
    height: 34px;
    color: var(--ink-soft);
    display: grid;
    place-items: center;
}
.header-search button:hover { color: var(--red); }

/* ======================= নেভিগেশন ======================= */
.main-nav {
    background: var(--white);
    border-top: 2px solid var(--ink);
    border-bottom: 1px solid var(--line);
    z-index: 100;
}
.main-nav.is-sticky {
    position: fixed;
    top: 0; left: 0; right: 0;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .08);
    border-top: 2px solid var(--red);
    animation: navDrop .25s ease;
}
@keyframes navDrop { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nav-list { display: flex; align-items: stretch; flex-wrap: wrap; }
.nav-list > li { position: relative; }
.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 13px 14px;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--ink);
    border-bottom: 3px solid transparent;
    transition: all .18s;
}
.nav-link:hover { color: var(--red); border-bottom-color: var(--red); }
.nav-link.active { color: var(--red); border-bottom-color: var(--red); }
.caret { font-size: 10px; color: var(--muted); }
.dropdown {
    position: absolute;
    top: 100%; left: 0;
    min-width: 190px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .18s;
    z-index: 50;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
    display: block;
    padding: 9px 18px;
    font-size: 14.5px;
    border-left: 3px solid transparent;
}
.dropdown a:hover { background: var(--red-soft); color: var(--red); border-left-color: var(--red); }
.nav-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--red);
    color: #fff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .5px;
    white-space: nowrap;
}
.live-dot {
    width: 7px; height: 7px;
    background: #fff;
    border-radius: 50%;
    animation: pulse 1.2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

/* ======================= ব্রেকিং ======================= */
.breaking-bar {
    background: var(--red-soft);
    border-bottom: 1px solid #f3dada;
}
.breaking-inner { display: flex; align-items: stretch; min-height: 44px; }
.breaking-label {
    background: var(--red);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 0 16px;
    display: flex;
    align-items: center;
    letter-spacing: .5px;
    position: relative;
    flex-shrink: 0;
}
.breaking-label::after {
    content: '';
    position: absolute;
    right: -8px; top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 16px; height: 16px;
    background: var(--red);
}
.breaking-track-wrap {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-left: 18px;
}
.breaking-track {
    display: flex;
    align-items: center;
    gap: 38px;
    white-space: nowrap;
    animation: ticker 45s linear infinite;
    will-change: transform;
}
.breaking-track:hover { animation-play-state: paused; }
.breaking-track a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
}
.breaking-track a:hover { color: var(--red); }
.breaking-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ======================= সাধারণ সেকশন শিরোনাম ======================= */
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--ink);
    padding-bottom: 8px;
    margin-bottom: 20px;
    gap: 10px;
}
.section-head h2 {
    font-size: 25px;
    display: flex;
    align-items: center;
    gap: 11px;
    font-weight: 800;
}
.section-head h2::before {
    content: '';
    width: 6px;
    height: 23px;
    background: var(--red);
    border-radius: 1px;
    display: inline-block;
}
.section-head .section-more {
    font-size: 13.5px;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    transition: color .2s;
}
.section-head .section-more:hover { color: var(--red); }

/* ======================= প্রচ্ছদ শীর্ষ ======================= */
.home-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 34px;
    padding-top: 26px;
    padding-bottom: 10px;
}
.lead-story {
    position: relative;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}
.lead-story-inner {
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 28px;
    align-items: center;
}
.lead-copy { padding-right: 4px; }
.kicker {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 3px;
    letter-spacing: .4px;
    margin-bottom: 12px;
}
.kicker.light { background: var(--soft); color: var(--red); }
.lead-copy h1 {
    font-size: 33px;
    line-height: 1.38;
    margin-bottom: 13px;
    font-weight: 800;
    letter-spacing: -.2px;
}
.lead-copy h1 a:hover { color: var(--red); }
.lead-copy .summary {
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 15px;
}
.meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px 14px;
    font-size: 12.5px;
    color: var(--muted);
}
.meta .dot { width: 3px; height: 3px; background: var(--line-dark); border-radius: 50%; }
.meta a:hover { color: var(--red); }
.lead-image { position: relative; overflow: hidden; border-radius: var(--radius); }
.lead-image img { width: 100%; aspect-ratio: 16/10.4; object-fit: cover; transition: transform .5s ease; }
.lead-story:hover .lead-image img { transform: scale(1.035); }

/* শিরোনাম স্ট্রিপ */
.headline-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 18px 0 6px;
    border-bottom: 1px solid var(--line);
}
.headline-strip .strip-item {
    padding: 0 18px;
    border-left: 1px solid var(--line);
}
.headline-strip .strip-item:first-child { padding-left: 0; border-left: 0; }
.strip-item a {
    font-family: var(--serif);
    font-size: 16.5px;
    font-weight: 600;
    line-height: 1.55;
    display: block;
}
.strip-item a:hover { color: var(--red); }
.strip-item .meta { margin-top: 7px; font-size: 11.5px; }

/* মিনি কার্ড */
.mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 20px;
}
.mini-card {
    display: flex;
    gap: 11px;
    background: var(--soft);
    padding: 10px;
    border-radius: var(--radius);
    transition: background .2s;
    align-items: flex-start;
}
.mini-card:hover { background: #efefeb; }
.mini-card img {
    width: 92px;
    height: 72px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
.mini-card h4 {
    font-family: var(--sans);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mini-card:hover h4 { color: var(--red); }
.mini-card .mini-meta { font-size: 11px; color: var(--muted); margin-top: 5px; }

.home-leaderboard {
    width: 100%;
    max-width: 728px;
    min-height: 90px;
    margin: 24px auto;
    border: 1px dashed var(--line-dark);
    background: #fafafa;
    border-radius: var(--radius);
    display: grid;
    place-items: center;
    min-height: 90px;
    padding: 12px 16px;
    color: #9a9a9a;
    text-align: center;
}
.home-leaderboard span {
    display: block;
    margin-bottom: 2px;
    font-size: 11.5px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #bbb;
}
.home-leaderboard strong {
    display: block;
    color: #8a8a8a;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 500;
}
.home-leaderboard small {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: #bbb;
}

/* আরও সংবাদ ফিড */
.latest-feed {
    margin-top: 22px;
    padding-top: 14px;
    border-top: 2px solid var(--ink);
}
.latest-feed-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}
.latest-feed-head h3 {
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 800;
    padding-left: 10px;
    border-left: 4px solid var(--red);
    line-height: 1.3;
}
.latest-feed-head a {
    font-size: 12.5px;
    color: var(--red);
    font-weight: 500;
    white-space: nowrap;
}
.latest-feed-item {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--line);
}
.latest-feed-item:last-child { border-bottom: 0; }
.latest-feed-item .lf-cat {
    flex: 0 0 62px;
    color: var(--red);
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.6;
}
.latest-feed-item .lf-title {
    flex: 1;
    font-family: var(--serif);
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.55;
}
.latest-feed-item:hover .lf-title { color: var(--red); }
.latest-feed-item .lf-time {
    flex: 0 0 auto;
    font-size: 11px;
    color: var(--muted);
    white-space: nowrap;
}

/* ======================= সাইডবার ======================= */
.home-sidebar { min-width: 0; }
.widget {
    margin-bottom: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
}
.widget-head {
    background: var(--ink);
    color: #fff;
    padding: 11px 16px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.widget-head::before {
    content: '';
    width: 4px; height: 15px;
    background: var(--red);
    margin-right: 8px;
    border-radius: 1px;
}
.widget-head span { flex: 1; }
.widget-head.red { background: var(--red); }
.widget-head.red::before { background: #fff; }
.widget-body { padding: 6px 16px 12px; }

.most-read-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    align-items: flex-start;
}
.most-read-item:last-child { border-bottom: 0; }
.most-read-num {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 800;
    color: #d9d9d9;
    line-height: 1;
    min-width: 30px;
    transition: color .2s;
}
.most-read-item:hover .most-read-num { color: var(--red); }
.most-read-item h4 {
    font-family: var(--sans);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.55;
    margin: 0;
}
.most-read-item:hover h4 { color: var(--red); }
.most-read-item .meta { font-size: 11px; margin-top: 5px; }

.ad-box {
    border: 1px dashed var(--line-dark);
    background: #fafafa;
    width: 100%;
    max-width: 350px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #aaa;
    border-radius: var(--radius);
    margin: 0 auto 26px;
    font-size: 12px;
    text-align: center;
    padding: 20px;
}
.ad-box strong { font-size: 14px; color: #999; font-weight: 500; }
.ad-box span { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #bbb; }
.ad-box.has-ad,
.home-leaderboard.has-ad,
.district-ad.has-ad {
    border: 0;
    background: transparent;
    padding: 0;
    min-height: 0;
    display: block;
    text-align: initial;
}

.epaper-card {
    background: linear-gradient(135deg, #1c1c1c 0%, #3a3a3a 100%);
    color: #fff;
    border-radius: var(--radius);
    padding: 22px;
    position: relative;
    overflow: hidden;
    margin-bottom: 26px;
}
.epaper-card::after {
    content: '';
    position: absolute;
    right: -30px; bottom: -30px;
    width: 120px; height: 120px;
    border: 14px solid rgba(255, 255, 255, .06);
    border-radius: 50%;
}
.epaper-card h3 { font-size: 20px; margin-bottom: 4px; }
.epaper-card p { font-size: 13px; color: #ccc; margin-bottom: 14px; }
.epaper-card .btn-epaper {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--red);
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}
.epaper-card .btn-epaper:hover { background: #fff; color: var(--red); }

.widget-tabs { display: flex; background: var(--soft); border-bottom: 1px solid var(--line); }
.widget-tab {
    flex: 1;
    text-align: center;
    padding: 10px 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--muted);
    border-bottom: 2px solid transparent;
    cursor: pointer;
}
.widget-tab.active { color: var(--red); border-bottom-color: var(--red); background: #fff; }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ======================= হোম সেকশন ======================= */
.home-section { padding-top: 34px; scroll-margin-top: 96px; }
.home-section.alt { background: var(--soft); padding: 34px 0; margin-top: 36px; }
.home-section.cream { background: var(--cream); padding: 34px 0; margin-top: 36px; }

.section-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 28px;
}
.section-lead { min-width: 0; }
.section-lead .thumb {
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 14px;
}
.section-lead .thumb img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform .55s ease;
}
.section-lead:hover .thumb img { transform: scale(1.035); }
.section-lead h3 {
    font-size: 25px;
    line-height: 1.42;
    margin-bottom: 9px;
    font-weight: 800;
}
.section-lead h3 a:hover { color: var(--red); }
.section-lead p { color: var(--ink-soft); font-size: 15px; line-height: 1.75; margin-bottom: 10px; }

.section-list { display: flex; flex-direction: column; min-width: 0; }
.list-item {
    display: flex;
    gap: 13px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    align-items: flex-start;
}
.list-item:first-child { padding-top: 0; }
.list-item:last-child { border-bottom: 0; padding-bottom: 0; }
.list-item img {
    width: 104px;
    height: 76px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
.list-item-content { min-width: 0; }
.list-item h4 {
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.58;
    margin-bottom: 5px;
}
.list-item:hover h4 { color: var(--red); }
.list-item .meta { font-size: 11.5px; }

/* ======================= ভিডিও ======================= */
.video-section { padding-top: 22px; }
.video-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #f1f2f4;
    border-left: 5px solid var(--red);
    padding: 10px 16px;
    margin-bottom: 14px;
    border-radius: 4px;
}
.video-head h2 {
    color: #1d1e22;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}
.video-more {
    background: var(--red);
    color: #fff;
    border-radius: 4px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}
.video-more:hover { background: var(--red-dark); }
.video-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: repeat(3, 168px);
    gap: 12px;
}
.video-lead,
.video-layout > a:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / span 2;
}
.video-layout > a:nth-child(2) { grid-column: 2; grid-row: 1; }
.video-layout > a:nth-child(3) { grid-column: 3; grid-row: 1; }
.video-layout > a:nth-child(4) { grid-column: 2; grid-row: 2; }
.video-layout > a:nth-child(5) { grid-column: 3; grid-row: 2; }
.video-layout > a:nth-child(6) { grid-column: 1; grid-row: 3; }
.video-layout > a:nth-child(7) { grid-column: 2; grid-row: 3; }
.video-layout > a:nth-child(8) { grid-column: 3; grid-row: 3; }
.video-lead,
.video-card {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #123d1f;
    color: #fff;
    min-height: 0;
    height: 100%;
}
.video-card .thumb,
.video-lead .thumb {
    display: block;
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.video-card .thumb img,
.video-lead .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}
.video-card:hover .thumb img,
.video-lead:hover .thumb img { transform: scale(1.04); }
.video-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(9,40,20,.96) 30%, rgba(9,40,20,.55) 70%, transparent);
    padding: 26px 12px 12px;
    z-index: 1;
}
.video-lead .video-caption {
    background: linear-gradient(to top, rgba(10,90,42,.97) 35%, rgba(10,90,42,.6) 72%, transparent);
    padding: 34px 16px 16px;
}
.video-caption h3,
.video-caption h2 {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-wrap: balance;
}
.video-lead .video-caption h2 { font-size: 22px; font-weight: 800; -webkit-line-clamp: 3; }
.video-caption .meta {
    color: rgba(255,255,255,.82);
    font-size: 11px;
    margin-top: 5px;
    justify-content: center;
}
.video-play {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e62117;
    display: grid;
    place-items: center;
    color: #fff;
    z-index: 2;
    box-shadow: 0 8px 20px rgba(0,0,0,.28);
    font-size: 14px;
}
.video-play::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 12px solid currentColor;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    margin-left: 2px;
}
.video-logo {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: #0a7a35;
    color: #fff;
    border: 2px solid rgba(255,255,255,.85);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    font-family: var(--serif);
    font-size: 7.5px;
    line-height: 1.1;
    text-align: center;
    padding: 4px;
}

/* ---------- ভিডিও লাইটবক্স প্লেয়ার ---------- */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.video-modal.open { display: flex; }
.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .88);
}
.video-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(940px, 100%);
    margin: 0 auto;
}
.video-modal-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
}
.video-modal-frame iframe,
.video-modal-frame video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #000;
}
.video-modal-close {
    position: absolute;
    top: -46px;
    right: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
}
.video-modal-close:hover { background: var(--red); }
.video-modal-title {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    margin: 12px 4px 0;
    text-align: center;
}

/* ---------- আর্টিকেলের ভিডিও প্লেয়ার ---------- */
.article-video { margin: 20px 0 26px; }
.article-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}
.article-video-frame iframe,
.article-video-frame video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 767px) {
    .video-modal { padding: 12px; }
    .video-modal-close { top: -42px; width: 34px; height: 34px; }
    .video-modal-title { font-size: 13px; }
}

/* ======================= ম্যাগাজিন ক্যাটাগরি সেকশন ======================= */
.magazine-head {
    border-bottom: 1px solid var(--ink);
    padding-bottom: 10px;
    margin-bottom: 22px;
}
.magazine-head h2 { font-size: 24px; gap: 0; }
.magazine-head h2::before { display: none; }
.magazine-head h2::after {
    content: '›';
    color: var(--red);
    font-size: 29px;
    line-height: .8;
    margin-left: 8px;
    font-weight: 700;
}
.magazine-head .section-more { display: none; }

.magazine-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.14fr) minmax(0, 1fr);
    align-items: stretch;
}
.magazine-side {
    min-width: 0;
    padding-right: 22px;
    display: flex;
    flex-direction: column;
}
.magazine-side:last-child { padding-right: 0; padding-left: 22px; }
.magazine-feature {
    min-width: 0;
    padding: 0 24px;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
}
.magazine-item {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    padding: 0 0 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--line);
}
.magazine-item:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.magazine-item-text { min-width: 0; flex: 1; }
.magazine-item h4 {
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
    margin-bottom: 5px;
    transition: color .2s;
}
.magazine-item:hover h4 { color: var(--red); }
.magazine-item img {
    width: 108px;
    height: 78px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}
.magazine-item .meta { font-size: 11.5px; }
.magazine-feature .thumb { display: block; overflow: hidden; margin-bottom: 14px; }
.magazine-feature .thumb img {
    width: 100%;
    aspect-ratio: 6/5;
    object-fit: cover;
    transition: transform .55s ease;
}
.magazine-feature:hover .thumb img { transform: scale(1.035); }
.magazine-feature h3 {
    font-size: 19px;
    line-height: 1.48;
    font-weight: 800;
    margin-bottom: 8px;
}
.magazine-feature h3 a:hover { color: var(--red); }
.magazine-feature p {
    color: var(--ink-soft);
    font-size: 13.5px;
    line-height: 1.72;
    margin-bottom: 9px;
}
.magazine-feature .meta { font-size: 11.5px; }

/* ======================= চার বিভাগের হোম স্ট্রিপ ======================= */
.home-quad { padding-top: 34px; }
.quad-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
}
.quad-col {
    min-width: 0;
    border-top: 1px solid var(--line);
    padding-top: 12px;
}
.quad-head {
    border-bottom: 1px solid var(--line);
    padding-bottom: 9px;
    margin-bottom: 2px;
}
.quad-head h2 {
    display: flex;
    align-items: center;
    font-size: 21px;
    line-height: 1.3;
    font-weight: 800;
}
.quad-head h2 a:hover { color: var(--red); }
.quad-head h2 span {
    color: var(--red);
    font-size: 25px;
    line-height: .8;
    margin-left: 6px;
}
.quad-list { display: flex; flex-direction: column; }
.quad-lead {
    display: block;
    padding: 13px 0 12px;
    border-bottom: 1px solid var(--line);
}
.quad-lead .thumb {
    display: block;
    overflow: hidden;
    margin-bottom: 10px;
}
.quad-lead .thumb img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform .5s ease;
}
.quad-lead:hover .thumb img { transform: scale(1.035); }
.quad-lead h3 {
    font-size: 17px;
    line-height: 1.5;
    font-weight: 800;
}
.quad-lead:hover h3 { color: var(--red); }
.quad-lead p {
    margin: 6px 0 0;
    color: var(--ink-soft);
    font-size: 13.5px;
    line-height: 1.65;
}
.quad-lead .meta {
    margin-top: 7px;
    color: var(--red);
    font-size: 11.5px;
}
.quad-lead .meta .dot { background: currentColor; opacity: .35; }
.quad-item {
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
}
.quad-item:last-child { border-bottom: 0; }
.quad-item h4 {
    font-family: var(--serif);
    font-size: 15px;
    line-height: 1.55;
    font-weight: 700;
}
.quad-item:hover h4 { color: var(--red); }

@media (max-width: 900px) {
    .quad-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .quad-grid { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 980px) {
    .magazine-grid { grid-template-columns: 1fr 1fr; }
    .magazine-feature {
        grid-column: 1 / -1;
        order: -1;
        border: 0;
        border-bottom: 1px solid var(--line);
        padding: 0 0 22px;
        margin-bottom: 22px;
    }
    .magazine-feature .thumb img { aspect-ratio: 16/9; }
    .magazine-side { padding-right: 20px; }
    .magazine-side:last-child {
        padding-right: 0;
        padding-left: 20px;
        border-left: 1px solid var(--line);
    }
}
@media (max-width: 640px) {
    .magazine-grid { grid-template-columns: 1fr; }
    .magazine-side,
    .magazine-side:last-child { padding: 0; border-left: 0; }
    .magazine-side + .magazine-side {
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid var(--line);
    }
    .magazine-feature { padding-bottom: 18px; margin-bottom: 18px; }
}

/* দুই কলাম গ্রিড সেকশন */
.two-col-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}
.news-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.news-card .thumb { overflow: hidden; }
.news-card .thumb img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    transition: transform .5s ease;
}
.news-card:hover .thumb img { transform: scale(1.04); }
.news-card .card-body { padding: 14px 16px 17px; flex: 1; display: flex; flex-direction: column; }
.news-card .card-body h3 {
    font-size: 19px;
    line-height: 1.48;
    margin-bottom: 8px;
}
.news-card .card-body h3 a:hover { color: var(--red); }
.news-card .card-body p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 10px; }
.news-card .meta { margin-top: auto; }

/* ======================= মতামত ======================= */
.opinion-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.opinion-card {
    background: #fff;
    border: 1px solid #efe6da;
    border-radius: var(--radius);
    padding: 22px;
    position: relative;
    transition: box-shadow .25s;
}
.opinion-card:hover { box-shadow: var(--shadow); }
.opinion-card::before {
    content: '“';
    position: absolute;
    top: 4px; right: 16px;
    font-family: var(--serif);
    font-size: 54px;
    color: #eadfd0;
    line-height: 1;
}
.opinion-author { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; }
.opinion-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.opinion-author strong { display: block; font-size: 14px; font-weight: 600; }
.opinion-author span { font-size: 12px; color: var(--muted); display: block; }
.opinion-card h3 { font-size: 18px; line-height: 1.5; margin-bottom: 8px; }
.opinion-card h3 a:hover { color: var(--red); }
.opinion-card p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ======================= ফটো স্ট্রিপ ======================= */
.photo-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.photo-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    display: block;
}
.photo-card img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    transition: transform .5s ease;
}
.photo-card:hover img { transform: scale(1.05); }
.photo-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .1) 55%, transparent 100%);
}
.photo-card .photo-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 14px;
    color: #fff;
    z-index: 2;
}
.photo-caption h4 {
    font-family: var(--sans);
    font-size: 14.5px;
    line-height: 1.5;
    font-weight: 600;
    margin: 0 0 4px;
}
.photo-caption span { font-size: 11px; color: #ddd; }

/* ======================= নিউজলেটার ======================= */
.newsletter-band {
    background: var(--red);
    color: #fff;
    padding: 34px 0;
    margin-top: 44px;
    position: relative;
    overflow: hidden;
}
.newsletter-band::before {
    content: '';
    position: absolute;
    top: -80px; left: -60px;
    width: 240px; height: 240px;
    border: 34px solid rgba(255, 255, 255, .07);
    border-radius: 50%;
}
.newsletter-band::after {
    content: '';
    position: absolute;
    right: 6%; bottom: -120px;
    width: 220px; height: 220px;
    border: 30px solid rgba(255, 255, 255, .06);
    border-radius: 50%;
}
.newsletter-inner {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}
.newsletter-text { flex: 1; min-width: 250px; }
.newsletter-text h3 { font-size: 24px; margin-bottom: 3px; }
.newsletter-text p { margin: 0; font-size: 14px; color: #ffdcdc; }
.newsletter-form { display: flex; gap: 0; min-width: 380px; flex: 0 0 auto; }
.newsletter-form input {
    flex: 1;
    padding: 12px 18px;
    border: 0;
    border-radius: 5px 0 0 5px;
    outline: none;
    min-width: 0;
    color: var(--ink);
}
.newsletter-form button {
    background: var(--ink);
    color: #fff;
    border: 0;
    padding: 0 24px;
    border-radius: 0 5px 5px 0;
    font-weight: 600;
    font-size: 14px;
    transition: background .2s;
}
.newsletter-form button:hover { background: #000; }
.newsletter-msg { flex-basis: 100%; font-size: 13px; min-height: 0; }
.newsletter-msg.success { color: #d4ffd4; }
.newsletter-msg.error { color: #ffd6d6; }

/* ======================= ফুটার ======================= */
.site-footer {
    background: #141414;
    color: #cfcfcf;
    padding-top: 48px;
    font-size: 14px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
    gap: 34px;
    padding-bottom: 40px;
}
.footer-logo {
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    display: inline-block;
    margin-bottom: 12px;
}
.footer-brand p { color: #9c9c9c; line-height: 1.8; font-size: 13.5px; margin-bottom: 16px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: #242424;
    display: grid;
    place-items: center;
    font-size: 13px;
    color: #ddd;
    transition: all .2s;
}
.footer-social a:hover { background: var(--red); color: #fff; }
.footer-col h4 {
    color: #fff;
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 9px;
    border-bottom: 1px solid #2a2a2a;
    position: relative;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0;
    width: 34px; height: 2px;
    background: var(--red);
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul a { color: #a6a6a6; font-size: 13.5px; transition: all .2s; }
.footer-col ul a:hover { color: #fff; padding-left: 4px; }
.footer-contact p { color: #a6a6a6; font-size: 13.5px; line-height: 1.7; margin-bottom: 10px; }
.footer-contact p span { color: #fff; font-weight: 500; }
.footer-bottom { border-top: 1px solid #262626; padding: 16px 0; }
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: #8a8a8a;
}
.footer-bottom p { margin: 0; }
.footer-credit span { color: #bbb; }

/* ======================= পেজ হিরো ======================= */
.page-hero {
    background: var(--soft);
    border-bottom: 1px solid var(--line);
    padding: 26px 0;
    margin-bottom: 30px;
}
.page-hero .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--muted);
    margin-bottom: 6px;
    flex-wrap: wrap;
}
.page-hero .breadcrumb a:hover { color: var(--red); }
.page-hero h1 { font-size: 34px; line-height: 1.3; }
.page-hero p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; }

/* ======================= ক্যাটাগরি ও গ্রিড ======================= */
.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 36px;
    padding-bottom: 40px;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.news-grid .news-card { border: 1px solid var(--line); }
.news-grid .card-body { padding: 13px 15px 15px; }
.news-grid .card-body h3 { font-size: 17.5px; }

.category-lead {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 26px;
    padding-bottom: 24px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--line);
    align-items: center;
}
.category-lead .thumb img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius); }
.category-lead h2 { font-size: 30px; line-height: 1.4; margin-bottom: 10px; }
.category-lead h2 a:hover { color: var(--red); }
.category-lead p { color: var(--ink-soft); font-size: 15px; line-height: 1.75; }

/* ======================= জেলা ফিল্টার ক্যাটাগরি ======================= */
.district-page { padding-top: 28px; padding-bottom: 44px; }
.district-title { margin-bottom: 18px; }
.district-title h1 {
    display: flex;
    align-items: center;
    font-size: 29px;
    line-height: 1.25;
    font-weight: 800;
}
.district-title h1 a:hover { color: var(--red); }
.district-title h1 span {
    color: var(--red);
    font-size: 31px;
    line-height: .8;
    margin-left: 8px;
}
.district-title p { color: var(--muted); font-size: 13.5px; margin-top: 5px; }

.district-filter {
    display: grid;
    grid-template-columns: 188px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) 118px;
    gap: 14px;
    align-items: center;
    background: #eaf4f6;
    border: 1px solid #d9e9ec;
    padding: 14px 16px;
    margin-bottom: 22px;
}
.district-filter-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}
.district-filter-label svg { color: var(--red); flex-shrink: 0; }
.district-select {
    width: 100%;
    height: 40px;
    border: 1px solid #c9dce1;
    border-radius: 3px;
    background: #fff;
    color: #344a51;
    font-family: var(--sans);
    font-size: 14px;
    padding: 0 11px;
    outline: none;
}
.district-select:focus { border-color: #1450a3; }
.district-search {
    height: 40px;
    border: 0;
    border-radius: 3px;
    background: #1450a3;
    color: #fff;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: background .2s;
}
.district-search:hover { background: #0d3d80; }
.district-filter-note {
    margin: -8px 0 18px;
    padding: 10px 13px;
    background: #fff7f7;
    border-left: 3px solid var(--red);
    color: var(--ink-soft);
    font-size: 13.5px;
}
.district-filter-note strong { color: var(--ink); }
.district-filter-note a { color: var(--red); font-weight: 600; margin-left: 9px; }

.district-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.18fr) 350px;
    align-items: start;
}
.district-lead { min-width: 0; padding-right: 22px; }
.district-lead .thumb { display: block; overflow: hidden; margin-bottom: 13px; }
.district-lead .thumb img {
    width: 100%;
    aspect-ratio: 11/10;
    object-fit: cover;
    border-radius: 2px;
    transition: transform .55s ease;
}
.district-lead:hover .thumb img { transform: scale(1.035); }
.district-lead h2 { font-size: 20px; line-height: 1.45; font-weight: 800; margin-bottom: 8px; }
.district-lead h2 a:hover { color: var(--red); }
.district-lead .meta { font-size: 11.5px; }

.district-center { min-width: 0; padding: 0 22px; border-left: 1px solid var(--line); }
.district-row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 0 0 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--line);
}
.district-row:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.district-row-copy { flex: 1; min-width: 0; }
.district-row h3 { font-size: 16.5px; line-height: 1.5; font-weight: 700; margin-bottom: 7px; }
.district-row:hover h3 { color: var(--red); }
.district-row p { color: var(--ink-soft); font-size: 13px; line-height: 1.65; margin-bottom: 7px; }
.district-row .meta { font-size: 11px; }
.district-row img {
    width: 102px;
    height: 84px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.district-rail { min-width: 0; padding-left: 22px; border-left: 1px solid var(--line); }
.district-mini {
    display: flex;
    justify-content: space-between;
    gap: 11px;
    padding: 0 0 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--line);
}
.district-mini h3 { font-size: 14.5px; line-height: 1.55; font-weight: 600; margin-bottom: 6px; }
.district-mini:hover h3 { color: var(--red); }
.district-mini .meta { font-size: 11px; }
.district-mini img {
    width: 76px;
    height: 60px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}
.district-ad {
    min-height: 250px;
    margin-top: 22px;
    padding: 20px;
    background: #f7f2ea;
    border: 1px solid #eadfce;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    color: #98866e;
}
.district-ad span { font-size: 11px; letter-spacing: 1.5px; }
.district-ad strong { font-size: 19px; color: #b19c7f; }
.district-ad small { font-size: 12px; }

@media (max-width: 900px) {
    .district-filter { grid-template-columns: 1fr 1fr 1fr; }
    .district-filter-label { grid-column: 1 / -1; }
    .district-search { grid-column: 1 / -1; }
    .district-grid { grid-template-columns: 1fr 1fr; }
    .district-rail {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 20px 0 0;
        margin-top: 22px;
        border-left: 0;
        border-top: 1px solid var(--line);
    }
    .district-mini { margin-bottom: 0; }
    .district-ad { margin-top: 0; min-height: 180px; }
}
@media (max-width: 760px) {
    .district-page { padding-top: 20px; }
    .district-filter { grid-template-columns: 1fr; gap: 10px; padding: 13px; }
    .district-grid { grid-template-columns: 1fr; }
    .district-lead { padding-right: 0; }
    .district-center {
        padding: 20px 0 0;
        margin-top: 20px;
        border-left: 0;
        border-top: 1px solid var(--line);
    }
    .district-rail {
        display: block;
        padding-top: 20px;
        margin-top: 20px;
    }
    .district-mini { margin-bottom: 14px; }
    .district-ad { margin-top: 18px; }
    .district-title h1 { font-size: 25px; }
}

/* ======================= ফিচার + গ্রিড ক্যাটাগরি ======================= */
.feature-grid-page { padding-top: 28px; padding-bottom: 44px; }
.feature-grid-title { margin-bottom: 20px; }
.feature-grid-title h1 {
    display: flex;
    align-items: center;
    font-size: 29px;
    line-height: 1.25;
    font-weight: 800;
}
.feature-grid-title h1 a:hover { color: var(--red); }
.feature-grid-title h1 span {
    color: var(--red);
    font-size: 31px;
    line-height: .8;
    margin-left: 8px;
}

.feature-grid-layout {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.55fr);
    gap: 26px;
    align-items: start;
}
.fg-lead { min-width: 0; }
.fg-lead .thumb { display: block; overflow: hidden; margin-bottom: 13px; }
.fg-lead .thumb img {
    width: 100%;
    aspect-ratio: 11/10;
    object-fit: cover;
    border-radius: 2px;
    transition: transform .55s ease;
}
.fg-lead:hover .thumb img { transform: scale(1.03); }
.fg-lead h2 { font-size: 21px; line-height: 1.45; font-weight: 800; margin-bottom: 9px; }
.fg-lead h2 a:hover { color: var(--red); }
.fg-lead p { color: var(--ink-soft); font-size: 14px; line-height: 1.7; margin-bottom: 8px; }
.fg-lead .meta { font-size: 11.5px; }

.fg-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 22px;
}
.fg-card { min-width: 0; }
.fg-card .thumb { display: block; overflow: hidden; margin-bottom: 10px; }
.fg-card .thumb img {
    width: 100%;
    aspect-ratio: 1.3;
    object-fit: cover;
    border-radius: 2px;
    transition: transform .55s ease;
}
.fg-card:hover .thumb img { transform: scale(1.035); }
.fg-card h3 { font-size: 16.5px; line-height: 1.48; font-weight: 700; margin-bottom: 7px; }
.fg-card h3 a:hover { color: var(--red); }
.fg-card .meta { font-size: 11px; }

@media (max-width: 900px) {
    .feature-grid-layout { grid-template-columns: 1fr; }
    .fg-lead { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
    .fg-lead .thumb { margin-bottom: 0; grid-row: span 4; }
    .fg-lead h2, .fg-lead p, .fg-lead .meta { grid-column: 2; }
}
@media (max-width: 640px) {
    .feature-grid-page { padding-top: 20px; }
    .feature-grid-title h1 { font-size: 25px; }
    .fg-lead { display: block; }
    .fg-lead .thumb { margin-bottom: 13px; }
    .fg-cards { grid-template-columns: 1fr; gap: 20px; }
}

/* ======================= স্পটলাইট (বড় ফিচার + কার্ড + তালিকা) ======================= */
.spotlight-page { padding-top: 28px; padding-bottom: 44px; }
.spotlight-page-title { margin-bottom: 20px; }
.spotlight-page-title h1 {
    display: flex;
    align-items: center;
    font-size: 29px;
    line-height: 1.25;
    font-weight: 800;
}
.spotlight-page-title h1 a:hover { color: var(--red); }
.spotlight-page-title h1 span {
    color: var(--red);
    font-size: 31px;
    line-height: .8;
    margin-left: 8px;
}

.spotlight-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}
.spotlight-main { min-width: 0; }
.spotlight-main .thumb {
    display: block;
    overflow: hidden;
    margin-bottom: 15px;
    border-radius: 3px;
}
.spotlight-main .thumb img {
    width: 100%;
    aspect-ratio: 1.56;
    object-fit: cover;
    transition: transform .55s ease;
}
.spotlight-main:hover .thumb img { transform: scale(1.025); }
.spotlight-main h2 {
    font-size: 30px;
    line-height: 1.42;
    font-weight: 800;
    letter-spacing: -.2px;
    margin-bottom: 8px;
}
.spotlight-main h2 a:hover { color: var(--red); }
.spotlight-main > p {
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.8;
    margin: 12px 0 0;
}

.spotlight-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    font-size: 11.5px;
    line-height: 1.5;
    color: var(--muted);
}
.spotlight-meta a:hover { color: var(--red); }
.spotlight-meta .sep { color: #c9c9c9; }

.spotlight-side { min-width: 0; }
.spotlight-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}
.spotlight-card { min-width: 0; }
.spotlight-card .thumb {
    display: block;
    overflow: hidden;
    margin-bottom: 10px;
    border-radius: 3px;
}
.spotlight-card .thumb img {
    width: 100%;
    aspect-ratio: 1.24;
    object-fit: cover;
    transition: transform .55s ease;
}
.spotlight-card:hover .thumb img { transform: scale(1.035); }
.spotlight-card h3 {
    font-size: 17px;
    line-height: 1.5;
    font-weight: 700;
    margin-bottom: 7px;
}
.spotlight-card h3 a:hover { color: var(--red); }

.spotlight-list { display: flex; flex-direction: column; }
.spotlight-row {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
}
.spotlight-row:last-child { border-bottom: 0; padding-bottom: 0; }
.spotlight-row > img {
    width: 104px;
    height: 76px;
    object-fit: cover;
    border-radius: 3px;
}
.spotlight-row-copy { min-width: 0; }
.spotlight-row h3 {
    font-size: 16.5px;
    line-height: 1.45;
    font-weight: 700;
    margin-bottom: 5px;
}
.spotlight-row:hover h3 { color: var(--red); }
.spotlight-row p {
    color: var(--ink-soft);
    font-size: 12.5px;
    line-height: 1.65;
    margin: 5px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 900px) {
    .spotlight-layout { grid-template-columns: 1fr; gap: 26px; }
    .spotlight-main {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 18px;
        align-items: start;
    }
    .spotlight-main .thumb { grid-row: span 4; margin-bottom: 0; }
    .spotlight-main h2,
    .spotlight-main .spotlight-meta,
    .spotlight-main > p { grid-column: 2; }
    .spotlight-main > p { margin-top: 10px; }
}

@media (max-width: 640px) {
    .spotlight-page { padding-top: 20px; }
    .spotlight-page-title h1 { font-size: 25px; }
    .spotlight-main { display: block; }
    .spotlight-main .thumb { margin-bottom: 13px; }
    .spotlight-main h2 { font-size: 24px; }
    .spotlight-main > p { font-size: 14px; }
    .spotlight-duo { grid-template-columns: 1fr; gap: 18px; }
    .spotlight-row { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; }
    .spotlight-row > img { width: 92px; height: 68px; }
    .spotlight-row h3 { font-size: 15.5px; }
}

/* ======================= দুই কলাম তালিকা (২টি বড় + ৩টি ছোট) ======================= */
.list-split-page { padding-top: 28px; padding-bottom: 44px; }
.list-split-page-title { margin-bottom: 20px; }
.list-split-page-title h1 {
    display: flex;
    align-items: center;
    font-size: 29px;
    line-height: 1.25;
    font-weight: 800;
}
.list-split-page-title h1 a:hover { color: var(--red); }
.list-split-page-title h1 span {
    color: var(--red);
    font-size: 31px;
    line-height: .8;
    margin-left: 8px;
}

.list-split-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    align-items: start;
}
.list-split-main { min-width: 0; padding-right: 28px; }
.list-split-side {
    min-width: 0;
    padding-left: 26px;
    border-left: 1px solid var(--line);
}

.list-split-feature {
    display: grid;
    grid-template-columns: minmax(0, .78fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--line);
}
.list-split-feature:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.list-split-feature .thumb { display: block; overflow: hidden; border-radius: 2px; }
.list-split-feature .thumb img {
    width: 100%;
    aspect-ratio: 1.72;
    object-fit: cover;
    transition: transform .55s ease;
}
.list-split-feature:hover .thumb img { transform: scale(1.03); }
.list-split-feature h2 {
    font-size: 22.5px;
    line-height: 1.48;
    font-weight: 800;
    letter-spacing: -.15px;
    margin-bottom: 8px;
}
.list-split-feature h2 a:hover { color: var(--red); }
.list-split-feature p {
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.75;
    margin: 0;
}

.list-split-mini {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--line);
}
.list-split-mini:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.list-split-mini h3 {
    font-size: 17px;
    line-height: 1.5;
    font-weight: 700;
    margin-bottom: 9px;
}
.list-split-mini h3 a:hover { color: var(--red); }
.list-split-mini-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 76px;
    gap: 12px;
    align-items: start;
}
.list-split-mini-body p {
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.65;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.list-split-mini-thumb {
    display: block;
    width: 76px;
    height: 56px;
    overflow: hidden;
    border-radius: 2px;
}
.list-split-mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.list-split-mini-thumb:hover img { transform: scale(1.04); }

@media (max-width: 900px) {
    .list-split-layout { grid-template-columns: 1fr; }
    .list-split-main { padding-right: 0; }
    .list-split-side {
        padding: 22px 0 0;
        margin-top: 22px;
        border-left: 0;
        border-top: 1px solid var(--line);
    }
}

@media (max-width: 640px) {
    .list-split-page { padding-top: 20px; }
    .list-split-page-title h1 { font-size: 25px; }
    .list-split-feature { display: block; padding-bottom: 18px; margin-bottom: 18px; }
    .list-split-feature .thumb { margin-bottom: 12px; }
    .list-split-feature h2 { font-size: 21px; }
    .list-split-feature p { font-size: 14px; }
    .list-split-mini h3 { font-size: 16px; }
    .list-split-mini-body { grid-template-columns: minmax(0, 1fr) 72px; gap: 10px; }
    .list-split-mini-thumb { width: 72px; height: 54px; }
}

/* ---------------- ম্যাগাজিন গ্রিড ক্যাটাগরি ---------------- */
.magazine-grid-page { padding-top: 24px; padding-bottom: 38px; }
.magazine-grid-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--ink);
}
.magazine-grid-title h1 { font-size: 27px; line-height: 1.2; }
.magazine-grid-title h1 a:hover { color: var(--red); }
.magazine-grid-title h1 span { color: var(--red); font-size: 31px; line-height: .8; margin-left: 8px; }

.mg-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 20px;
    align-items: start;
}
.mg-main { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.mg-layout.mg-no-rail { grid-template-columns: 1fr; }

.mg-lead {
    display: grid;
    grid-template-columns: minmax(0, .86fr) minmax(0, 1fr);
    border: 1px solid var(--line);
    background: var(--white);
}
.mg-lead-thumb { display: block; overflow: hidden; }
.mg-lead-thumb img {
    width: 100%;
    height: 100%;
    min-height: 265px;
    object-fit: cover;
    transition: transform .55s ease;
}
.mg-lead:hover .mg-lead-thumb img { transform: scale(1.03); }
.mg-lead-copy {
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.mg-lead-copy h2 {
    font-size: 27px;
    line-height: 1.46;
    font-weight: 800;
    letter-spacing: -.2px;
    margin-bottom: 10px;
}
.mg-lead-copy h2 a:hover { color: var(--red); }
.mg-lead-copy p {
    color: var(--ink-soft);
    font-size: 14.5px;
    line-height: 1.8;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mg-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}
.mg-card { background: var(--white); padding: 12px 14px 14px; min-width: 0; }
.mg-card-thumb { display: block; overflow: hidden; }
.mg-card-thumb img {
    width: 100%;
    aspect-ratio: 1.6;
    object-fit: cover;
    transition: transform .5s ease;
}
.mg-card:hover .mg-card-thumb img { transform: scale(1.04); }
.mg-card h3 {
    font-size: 16.5px;
    line-height: 1.55;
    font-weight: 700;
    margin-top: 10px;
}
.mg-card h3 a:hover { color: var(--red); }

.mg-rail {
    min-width: 0;
    border: 1px solid var(--line);
    background: var(--white);
}
.mg-rail-top { border-bottom: 1px solid var(--line); padding: 12px; }
.mg-rail-top a { display: block; overflow: hidden; }
.mg-rail-top img {
    width: 100%;
    aspect-ratio: 1.72;
    object-fit: cover;
    transition: transform .5s ease;
}
.mg-rail-top:hover img { transform: scale(1.03); }
.mg-rail-top h3 {
    font-size: 17px;
    line-height: 1.55;
    font-weight: 700;
    margin-top: 10px;
}
.mg-rail-top h3 a:hover { color: var(--red); }

.mg-rail-list { display: flex; flex-direction: column; }
.mg-rail-row {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    padding: 10px 12px;
}
.mg-rail-row + .mg-rail-row { border-top: 1px solid var(--line); }
.mg-rail-row img {
    width: 100%;
    aspect-ratio: 1.44;
    object-fit: cover;
    transition: transform .5s ease;
}
.mg-rail-row:hover img { transform: scale(1.04); }
.mg-rail-row h4 {
    font-size: 14px;
    line-height: 1.55;
    font-weight: 600;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mg-rail-row:hover h4 { color: var(--red); }

@media (max-width: 1080px) {
    .mg-layout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .magazine-grid-page { padding-top: 18px; }
    .magazine-grid-title h1 { font-size: 24px; }
    .mg-lead { grid-template-columns: 1fr; }
    .mg-lead-thumb img { min-height: 0; aspect-ratio: 1.7; }
    .mg-lead-copy { padding: 15px 16px 17px; }
    .mg-lead-copy h2 { font-size: 21px; }
    .mg-lead-copy p { font-size: 14px; }
    .mg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    .mg-grid { grid-template-columns: 1fr; }
    .mg-card h3 { font-size: 16px; }
    .mg-rail-row { grid-template-columns: 84px minmax(0, 1fr); }
}

.pagination {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 32px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}
.page-btn {
    min-width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 4px;
    font-size: 14px;
    color: var(--ink-soft);
    transition: all .18s;
}
.page-btn:hover { border-color: var(--red); color: var(--red); }
.page-btn.active { background: var(--red); border-color: var(--red); color: #fff; }
.page-btn.disabled { color: #bbb; cursor: not-allowed; }
.page-dots { color: var(--muted); padding: 0 3px; }

/* ======================= আর্টিকেল ======================= */
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 38px;
    padding: 30px 0 50px;
}
.article-head .kicker { margin-bottom: 13px; }
.article-head h1 {
    font-size: 40px;
    line-height: 1.35;
    letter-spacing: -.4px;
    margin-bottom: 14px;
    font-weight: 800;
}
.article-head .summary {
    font-size: 18px;
    line-height: 1.75;
    color: #444;
    border-left: 3px solid var(--red);
    padding-left: 16px;
    margin-bottom: 18px;
}
.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 12px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 22px;
}
.author-info { display: flex; align-items: center; gap: 10px; }
.author-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--red-soft);
    color: var(--red);
    display: grid;
    place-items: center;
    font-family: var(--serif);
    font-weight: 700;
    font-size: 16px;
    object-fit: cover;
}
.author-info strong { font-size: 14px; display: block; line-height: 1.3; }
.author-info span { font-size: 12px; color: var(--muted); }
.share-buttons { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.share-buttons span { font-size: 12.5px; color: var(--muted); margin-right: 3px; }
.share-btn {
    width: 32px; height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--soft);
    color: var(--ink-soft);
    font-size: 13px;
    border: 1px solid var(--line);
    transition: all .2s;
}
.share-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }

.article-figure { margin: 0 0 22px; }
.article-figure img { width: 100%; border-radius: var(--radius); }
.article-figure figcaption {
    font-size: 12.5px;
    color: var(--muted);
    margin-top: 8px;
    padding-left: 10px;
    border-left: 2px solid var(--line-dark);
}

.article-body { font-size: 17.5px; line-height: 1.95; color: #222; }
.article-body p { margin: 0 0 20px; }
.article-body h2 { font-size: 26px; margin: 30px 0 14px; }
.article-body h3 { font-size: 21px; margin: 26px 0 12px; }
.article-body blockquote {
    margin: 26px 0;
    padding: 16px 22px;
    background: var(--soft);
    border-left: 4px solid var(--red);
    font-family: var(--serif);
    font-size: 19px;
    line-height: 1.8;
    color: #333;
}
.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 24px; }
.article-body li { margin-bottom: 8px; }
.article-body a { color: var(--red); text-decoration: underline; }
.article-body img { border-radius: var(--radius); margin: 22px 0; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; }
.tag-row .tag {
    display: inline-block;
    padding: 5px 13px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 30px;
    font-size: 12.5px;
    color: var(--ink-soft);
    transition: all .2s;
}
.tag-row .tag:hover { background: var(--red); border-color: var(--red); color: #fff; }

.article-share-bottom {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 0;
    margin-top: 22px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
}
.article-share-bottom strong { font-size: 14px; }

.author-box {
    display: flex;
    gap: 16px;
    background: var(--soft);
    border-radius: var(--radius);
    padding: 20px;
    margin-top: 26px;
    align-items: flex-start;
}
.author-box img, .author-box .author-avatar { width: 58px; height: 58px; font-size: 24px; flex-shrink: 0; }
.author-box h4 { font-family: var(--sans); font-size: 16px; margin-bottom: 3px; }
.author-box .role { font-size: 12px; color: var(--red); margin-bottom: 6px; display: block; }
.author-box p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.7; }

/* কমেন্ট */
.comments-section { margin-top: 34px; }
.comments-section h3 {
    font-size: 22px;
    padding-bottom: 9px;
    border-bottom: 2px solid var(--ink);
    margin-bottom: 18px;
}
.comment {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 12px;
}
.comment-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--red-soft);
    color: var(--red);
    display: grid;
    place-items: center;
    font-weight: 700;
    flex-shrink: 0;
}
.comment-body strong { font-size: 14px; }
.comment-body .comment-date { font-size: 11.5px; color: var(--muted); margin-left: 8px; }
.comment-body p { margin: 5px 0 0; font-size: 14.5px; color: #333; }
.comment-form { margin-top: 24px; background: var(--soft); padding: 22px; border-radius: var(--radius); }
.comment-form h4 { font-family: var(--sans); font-size: 17px; margin-bottom: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.comment-form input, .comment-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--line-dark);
    border-radius: 5px;
    outline: none;
    margin-bottom: 12px;
    background: #fff;
    transition: border-color .2s;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--red); }
.comment-form textarea { resize: vertical; min-height: 110px; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--red);
    color: #fff;
    border: 0;
    padding: 10px 22px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: background .2s;
}
.btn:hover { background: var(--red-dark); }
.btn-dark { background: var(--ink); }
.btn-dark:hover { background: #000; }

/* সাইডবার স্টিকি */
.sticky-sidebar { position: sticky; top: 20px; align-self: start; }

/* ======================= সার্চ ======================= */
.search-page-form {
    display: flex;
    max-width: 720px;
    margin-bottom: 10px;
    border: 2px solid var(--ink);
    border-radius: 6px;
    overflow: hidden;
}
.search-page-form input {
    flex: 1;
    border: 0;
    padding: 13px 18px;
    font-size: 16px;
    outline: none;
    min-width: 0;
}
.search-page-form button {
    border: 0;
    background: var(--ink);
    color: #fff;
    padding: 0 26px;
    font-weight: 600;
    font-size: 15px;
}
.search-page-form button:hover { background: var(--red); }
.search-result-info { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.search-result-list .search-item {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}
.search-item img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius); }
.search-item h3 { font-size: 21px; line-height: 1.45; margin-bottom: 7px; }
.search-item h3 a:hover { color: var(--red); }
.search-item p { font-size: 14px; color: #555; line-height: 1.7; margin-bottom: 8px; }

/* ======================= স্ট্যাটিক পেজ ======================= */
.static-page { padding: 10px 0 50px; }
.static-page .content-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    font-size: 16.5px;
    line-height: 1.9;
}
.static-page .content-box h2 { font-size: 25px; margin: 26px 0 12px; }
.static-page .content-box h2:first-child { margin-top: 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-info-item {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}
.contact-info-item .icon-circle {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--red-soft);
    color: var(--red);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-weight: 700;
}
.contact-info-item strong { display: block; font-size: 14px; }
.contact-info-item span { font-size: 13.5px; color: var(--muted); }

/* ======================= ই-পেপার / আর্কাইভ ======================= */
.epaper-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    padding-bottom: 40px;
}
.epaper-item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    display: grid;
    place-items: center;
    gap: 10px;
    text-align: center;
    transition: box-shadow .2s;
}
.epaper-item:hover { box-shadow: var(--shadow); }
.epaper-thumb {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(160deg, #fafafa, #eee);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--red);
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 700;
}
.epaper-item span { font-size: 13px; color: var(--muted); }

.archive-list { padding-bottom: 40px; }
.archive-year { margin-bottom: 22px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.archive-year h3 {
    background: var(--soft);
    font-family: var(--sans);
    font-size: 16px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--line);
}
.archive-months { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 16px; }
.archive-months a {
    padding: 5px 14px;
    border: 1px solid var(--line);
    border-radius: 30px;
    font-size: 13px;
    transition: all .2s;
}
.archive-months a:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ======================= অ্যালার্ট ======================= */
.alert {
    padding: 12px 16px;
    border-radius: 5px;
    font-size: 14px;
    margin-bottom: 16px;
    border: 1px solid transparent;
}
.alert-success { background: #eef9ee; color: #1f6b26; border-color: #cfe8d1; }
.alert-error { background: #fdf0f0; color: #9c1c1c; border-color: #f3d2d2; }
.alert-warning { background: #fff8e8; color: #8a6100; border-color: #f3e2b8; }
.alert-info { background: #eef4fd; color: #1e4f8a; border-color: #d3e2f6; }

/* ======================= ব্যাক টু টপ ======================= */
.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    border: 0;
    font-size: 19px;
    box-shadow: 0 6px 18px rgba(184, 0, 0, .3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .25s;
    z-index: 90;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ======================= ড্রয়ার ======================= */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s;
    z-index: 200;
}
.drawer-overlay.show { opacity: 1; visibility: visible; }
.mobile-drawer {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 320px;
    max-width: 86%;
    background: #fff;
    z-index: 210;
    transform: translateX(-100%);
    transition: transform .3s ease;
    overflow-y: auto;
    padding: 18px;
    box-shadow: 6px 0 30px rgba(0, 0, 0, .15);
}
.mobile-drawer.open { transform: translateX(0); }
.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}
.drawer-head .logo-main { font-size: 23px; }
.drawer-close {
    border: 0;
    background: var(--soft);
    width: 34px; height: 34px;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    color: var(--ink);
}
.drawer-search { display: flex; margin: 16px 0; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.drawer-search input { flex: 1; border: 0; padding: 9px 12px; outline: none; min-width: 0; }
.drawer-search button { border: 0; background: var(--red); color: #fff; padding: 0 14px; font-size: 13px; }
.drawer-menu li { border-bottom: 1px solid #f2f2f2; }
.drawer-menu a { display: block; padding: 10px 4px; font-size: 15px; font-weight: 500; }
.drawer-menu a:hover { color: var(--red); }
.drawer-social { display: flex; gap: 10px; margin-top: 18px; }
.drawer-social a {
    flex: 1;
    text-align: center;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 4px;
    font-size: 12.5px;
}

/* ======================= রেসপন্সিভ ======================= */
@media (max-width: 1150px) {
    .home-top { grid-template-columns: minmax(0, 1fr) 290px; gap: 26px; }
    .lead-copy h1 { font-size: 29px; }
    .nav-link { padding: 12px 10px; font-size: 14.5px; }
    .newsletter-form { min-width: 320px; }
}

@media (max-width: 991px) {
    .masthead { grid-template-columns: auto 1fr auto; }
    .masthead-note { display: none; }
    .menu-toggle { display: block; }
    .masthead-right { gap: 8px; }
    .header-search { width: 180px; }
    .logo-main { font-size: 38px; }
    .home-top { grid-template-columns: 1fr; }
    .home-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
    .home-sidebar .widget, .home-sidebar .ad-box, .home-sidebar .epaper-card { margin-bottom: 0; }
    .content-layout, .article-layout { grid-template-columns: 1fr; }
    .sticky-sidebar { position: static; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .photo-strip { grid-template-columns: repeat(2, 1fr); }
    .article-head h1 { font-size: 34px; }
    .nav-list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .nav-list::-webkit-scrollbar { display: none; }
    .nav-link { white-space: nowrap; }
    .nav-live { display: none; }
}

@media (max-width: 900px) {
    .video-layout { grid-template-columns: 1fr 1fr; grid-template-rows: auto; grid-auto-rows: 170px; }
    .video-layout > a:nth-child(1) { grid-column: 1 / -1; grid-row: auto; }
    .video-layout > a { grid-column: auto; grid-row: auto; }
}
@media (max-width: 767px) {
    .container { padding: 0 15px; }
    .video-layout { grid-template-columns: 1fr; grid-auto-rows: 210px; }
    .video-layout > a:nth-child(1) { grid-column: auto; }
    .video-caption h2 { font-size: 17px; }
    .video-lead .video-caption h2 { font-size: 19px; }
    .video-logo { width: 40px; height: 40px; font-size: 7px; }
    .top-strip-left .edition, .top-strip-right > a { display: none; }
    .top-strip-inner { min-height: 34px; }
    .masthead { padding-top: 16px; padding-bottom: 14px; }
    .logo-main { font-size: 30px; }
    .logo-tagline { font-size: 9.5px; letter-spacing: 2px; }
    .masthead-buttons { display: none; }
    .header-search { width: 150px; }
    .main-nav { position: relative; }
    .nav-list { padding-bottom: 0; }
    .nav-link { padding: 10px 11px; font-size: 14px; }
    .home-top { padding-top: 18px; gap: 24px; }
    .lead-story-inner { grid-template-columns: 1fr; gap: 16px; }
    .lead-image { order: -1; }
    .lead-copy h1 { font-size: 26px; line-height: 1.4; }
    .lead-copy .summary { font-size: 15px; }
    .headline-strip { grid-template-columns: 1fr; padding: 4px 0; }
    .headline-strip .strip-item { padding: 12px 0; border-left: 0; border-bottom: 1px solid var(--line); }
    .headline-strip .strip-item:last-child { border-bottom: 0; }
    .mini-grid { grid-template-columns: 1fr; }
    .latest-feed-item { gap: 8px; }
    .latest-feed-item .lf-cat, .latest-feed-item .lf-time { display: none; }
    .latest-feed-item .lf-title { font-size: 14.5px; }
    .home-sidebar { grid-template-columns: 1fr; }
    .section-head h2 { font-size: 22px; }
    .section-grid { grid-template-columns: 1fr; gap: 20px; }
    .section-lead h3 { font-size: 21px; }
    .two-col-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .opinion-grid { grid-template-columns: 1fr; }
    .photo-strip { gap: 10px; }
    .photo-card img { aspect-ratio: 1/1; }
    .newsletter-inner { flex-direction: column; align-items: stretch; }
    .newsletter-form { min-width: 0; width: 100%; }
    .newsletter-text h3 { font-size: 21px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .page-hero h1 { font-size: 26px; }
    .category-lead { grid-template-columns: 1fr; gap: 16px; }
    .category-lead h2 { font-size: 24px; }
    .category-lead .thumb { order: -1; }
    .article-head h1 { font-size: 27px; line-height: 1.42; }
    .article-head .summary { font-size: 16px; }
    .article-body { font-size: 16.5px; line-height: 1.9; }
    .article-meta { flex-direction: column; align-items: flex-start; }
    .form-row { grid-template-columns: 1fr; }
    .search-item { grid-template-columns: 130px 1fr; gap: 14px; }
    .search-item h3 { font-size: 16.5px; }
    .epaper-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .static-page .content-box { padding: 20px; }
    .article-layout { padding-top: 22px; }
    .section-head .section-more { font-size: 12.5px; }
    .footer-bottom-inner { flex-direction: column; }
}

@media (max-width: 520px) {
    .home-leaderboard { max-width: 100%; }
    .news-grid { grid-template-columns: 1fr; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form input { border-radius: 5px 5px 0 0; }
    .newsletter-form button { border-radius: 0 0 5px 5px; padding: 11px; }
    .search-item { grid-template-columns: 1fr; }
    .search-item img { aspect-ratio: 16/8; }
    .epaper-grid { grid-template-columns: 1fr; }
    .logo-main { font-size: 27px; }
    .header-search { display: none; }
    .masthead { grid-template-columns: auto 1fr; }
    .masthead-center { text-align: right; }
    .masthead-right { display: none; }
    .mini-card img { width: 84px; height: 66px; }
    .breaking-label { font-size: 11.5px; padding: 0 11px; }
}

/* ======================= অ্যাডিশনাল ======================= */
.home-main { min-width: 0; }
.section-grid.reverse .section-lead { order: 2; }
.section-grid.reverse .section-list { order: 1; }
.ad-slot { text-align: center; padding: 20px 0 0; }
.ad-slot img { margin: 0 auto; }
.ad-box small { font-size: 11px; color: #bbb; }
.copyright-text { color: #8a8a8a; }
/* বিভাগ চিপ */
.cat-chip-list { display: flex; flex-wrap: wrap; gap: 7px; padding: 10px 0 6px; }
.cat-chip-list a {
    padding: 4px 11px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 30px;
    font-size: 12.5px;
    color: var(--ink-soft);
    transition: all .2s;
}
.cat-chip-list a:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* সম্পর্কিত সংবাদ */
.related-block { margin-top: 34px; }
.related-block h3 {
    font-size: 21px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--ink);
    margin-bottom: 16px;
}
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card .thumb { overflow: hidden; border-radius: 5px; margin-bottom: 8px; }
.related-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .4s; }
.related-card:hover img { transform: scale(1.04); }
.related-card h4 { font-family: var(--sans); font-size: 14px; line-height: 1.55; font-weight: 600; }
.related-card:hover h4 { color: var(--red); }
.related-card .meta { font-size: 11px; margin-top: 4px; }

/* আরও খবর লিংক */
.latest-strip { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 4px; }
.latest-strip a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 14.5px;
    font-weight: 500;
}
.latest-strip a:last-child { border-bottom: 0; }
.latest-strip a::before {
    content: '';
    width: 5px; height: 5px;
    background: var(--red);
    border-radius: 50%;
    flex-shrink: 0;
}
.latest-strip a:hover { color: var(--red); }
.latest-strip time { margin-left: auto; font-size: 11.5px; color: var(--muted); white-space: nowrap; }

@media (max-width: 767px) {
    .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
    .related-grid { grid-template-columns: 1fr; }
}
/* ======================= লাইভ টিভি ======================= */
.live-hero h1 { display: flex; align-items: center; gap: 10px; }
.live-hero h1 .live-dot { width: 10px; height: 10px; }
.live-page { padding-bottom: 46px; }
.live-player-box {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
}
.live-player-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--line);
    background: var(--soft);
}
.live-player-top strong { font-size: 16px; }
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--red);
    color: #fff;
    border-radius: 999px;
    padding: 4px 11px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .4px;
}
.live-player-wrap {
    background: #000;
    aspect-ratio: 16/9;
    display: grid;
    place-items: center;
}
.live-frame,
.live-video {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    background: #000;
}
.live-empty {
    text-align: center;
    color: #fff;
    padding: 24px;
}
.live-empty strong {
    display: block;
    margin-bottom: 6px;
    font-size: 19px;
}
.live-empty p {
    margin: 0;
    color: #d7d7d7;
    font-size: 13.5px;
}
.live-controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 13px 14px;
    border-top: 1px solid var(--line);
    background: #fff;
}
.live-controls .btn,
.live-controls .btn-outline { justify-content: center; }
.live-hint {
    color: var(--muted);
    font-size: 12.5px;
}
.live-side {
    margin-top: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
    align-items: start;
}
.live-note {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    background: #fff;
}
.live-note h3 { margin-bottom: 7px; font-size: 18px; }
.live-note p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.75; }
.live-ad {
    min-height: 90px;
    border: 1px dashed var(--line-dark);
    background: var(--soft);
    border-radius: var(--radius);
    display: grid;
    place-items: center;
    text-align: center;
    padding: 12px 16px;
    color: var(--muted);
}
.live-ad span {
    display: block;
    margin-bottom: 2px;
    font-size: 12.5px;
}
.live-ad strong {
    display: block;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.35;
}
.live-ad small {
    display: block;
    margin-top: 2px;
    font-size: 12px;
}
.live-leaderboard { margin-top: 22px; }
.live-leaderboard-inner {
    min-height: 90px;
    border: 1px dashed var(--line-dark);
    background: var(--soft);
    border-radius: var(--radius);
    display: grid;
    place-items: center;
    text-align: center;
    width: 100%;
    max-width: 728px;
    margin: 0 auto;
    padding: 12px 16px;
}
.live-leaderboard-inner span {
    display: block;
    margin-bottom: 2px;
    color: var(--muted);
    font-size: 12.5px;
}
.live-leaderboard-inner strong {
    display: block;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.35;
}
.live-leaderboard-inner small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
}

@media (max-width: 991px) {
    .live-side { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .live-controls .btn,
    .live-controls .btn-outline { flex: 1 1 auto; }
    .live-hint { width: 100%; }
    .live-leaderboard-inner strong { font-size: 16px; }
}

/* ই-পেপার ভিউয়ার */
.epaper-viewer { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; align-items: start; }
.epaper-preview {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--soft);
    box-shadow: var(--shadow);
}
.epaper-preview img { width: 100%; }
.epaper-side {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    position: sticky;
    top: 20px;
}
.epaper-side h3 { font-size: 22px; margin-bottom: 2px; }
.epaper-side .epaper-date { color: var(--red); font-size: 13px; margin-bottom: 14px; }
.epaper-side p { font-size: 14px; color: var(--muted); line-height: 1.75; }
.epaper-side .btn { width: 100%; margin-top: 6px; }
.epaper-help { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; }
.epaper-help strong { font-size: 13.5px; }
.epaper-help p { font-size: 12.5px; margin: 4px 0 0; }

/* আর্টিকেল লেআউটে ছোট স্ক্রিন */
@media (max-width: 991px) {
    .epaper-viewer { grid-template-columns: 1fr; }
    .epaper-side { position: static; }
}

/* ======================= প্রিন্ট প্রিভিউ ======================= */
.share-btn.print-btn { background: #fff; font-size: 14px; padding: 0; cursor: pointer; }
.print-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 15px;
    border-radius: 30px;
    border: 1px solid var(--line);
    background: var(--soft);
    color: var(--ink-soft);
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
}
.print-share-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }

body.print-modal-open { overflow: hidden; }
.print-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(12, 13, 16, .72);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, visibility .22s ease;
}
.print-modal.open { opacity: 1; visibility: visible; }
.print-modal-box {
    width: min(980px, 100%);
    height: min(92vh, 1080px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
    transform: translateY(14px) scale(.985);
    transition: transform .24s ease;
}
.print-modal.open .print-modal-box { transform: none; }
.print-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 16px;
    background: #17181c;
    color: #fff;
    flex-shrink: 0;
}
.print-modal-head strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.4; }
.print-modal-head span { display: block; font-size: 11px; color: #9aa0ab; }
.print-modal-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.btn-print-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 6px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, opacity .2s;
}
.btn-print-download:hover { background: rgba(255, 255, 255, .18); }
.btn-print-download:disabled { opacity: .65; cursor: wait; }
.btn-print-action {
    padding: 8px 17px;
    border: 1px solid var(--red);
    border-radius: 6px;
    background: var(--red);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}
.btn-print-action:hover { background: #950000; }
.btn-print-action:disabled { opacity: .6; cursor: wait; }
.btn-print-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s;
}
.btn-print-close:hover { background: rgba(255, 255, 255, .2); }
.print-modal iframe {
    display: block;
    width: 100%;
    flex: 1;
    min-height: 0;
    border: 0;
    background: #f0eeea;
}
/* ফেসবুক পোস্ট ছবি */
.fb-card-preview {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 18px;
    background: #efede8;
    display: flex;
    align-items: center;
    justify-content: center;
}
#fbCardCanvas {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(92vh - 116px);
    aspect-ratio: 1 / 1;
    background: #8b0d12;
    box-shadow: 0 16px 46px rgba(0, 0, 0, .28);
}

@media (max-width: 640px) {
    .print-modal { padding: 0; }
    .print-modal-box { width: 100%; height: 100vh; height: 100dvh; border-radius: 0; }
    .print-modal-head span { display: none; }
    .print-modal-head { padding: 10px 12px; gap: 8px; }
    .print-modal-actions { gap: 6px; }
    .btn-print-download { padding: 7px 10px; font-size: 12px; }
    .btn-print-action { padding: 7px 12px; font-size: 12.5px; }
    #fbCardCanvas { max-height: calc(100dvh - 96px); }
}

@media print {
    .print-modal { display: none !important; }
}