/*
Theme Name: Rupali Bangladesh
Theme URI: https://rupalibangladesh.com/
Author: Expert WordPress Theme Developer
Author URI: https://rupalibangladesh.com/
Description: রূপালী বাংলাদেশ অনলাইন নিউজ পোর্টালের হুবহু ডিজাইনে তৈরি ক্লাসিক ওয়ার্ডপ্রেস থিম (Classic WordPress Theme)। সম্পূর্ণ রেসপন্সিভ, এসইও ফ্রেন্ডলি এবং আধুনিক নিউজপেপার লেআউট।
Version: 1.1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rupali-bangladesh
Tags: news, newspaper, bangla, responsive-layout, two-columns, three-columns, custom-menu, featured-images, full-width-template
*/

/* -------------------------------------------------------------
   TABLE OF CONTENTS
   1. CSS Reset & Typography
   2. Colors & Utilities
   3. Header & Navigation
   4. Top News & Lead Section
   5. News Grid & Widgets (Tabs & Poll)
   6. Two-Column Category Grids (National, Politics, Business, World)
   7. Special Reports & Lifestyle
   8. Entertainment & E-Paper Widget
   9. Sports Section
   10. Video Section
   11. District Filter (আমার এলাকার সংবাদ)
   12. Photo Gallery
   13. Footer
   14. Responsive Styles
------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Bengali:wght@400;500;600;700;800;900&family=Hind+Siliguri:wght@400;500;600;700&display=swap');

:root {
    --primary-red: #c00a0a;
    --primary-dark-red: #980606;
    --accent-red: #d32f2f;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --border-dark: #cbd5e1;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --dark-color: #0f172a;
    --title-color: #111827;
    --nav-bg: #ffffff;
    --footer-bg: #ffffff;
    --special-bg: #fff5ea;
    --video-title: #1d6fc6;
    --body-bg: #f1f5f9;
    --font-heading: 'Noto Serif Bengali', 'SolaimanLipi', serif;
    --font-body: 'Noto Serif Bengali', 'SolaimanLipi', serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-main);
    background-color: var(--body-bg);
    direction: ltr;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-red);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.site-container {
    max-width: 1240px;
    margin: 0 auto;
    background-color: var(--bg-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    min-height: 100vh;
}

.content-wrap {
    padding: 0 20px;
}

/* Visibility Utilities */
.mobile-only {
    display: none !important;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    .mobile-only {
        display: block !important;
    }
    button.mobile-only, a.mobile-only {
        display: inline-flex !important;
    }
}

/* -------------------------------------------------------------
   Header Styles
------------------------------------------------------------- */
.top-utility-bar {
    border-bottom: 1px solid var(--border-color);
    padding: 6px 20px;
    font-size: 13px;
    color: var(--text-muted);
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-date-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #4b5563;
}

.top-utility-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.top-utility-links a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #4b5563;
}

.top-utility-links a:hover {
    color: var(--primary-red);
}

.lang-switch {
    display: inline-flex;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    overflow: hidden;
    font-size: 12px;
}

.lang-switch a {
    padding: 2px 8px;
    background: #fff;
    color: #374151;
}

.lang-switch a.active {
    background: var(--primary-red);
    color: #fff;
}

/* -------------------------------------------------------------
   Sticky Header Container (রূপালী বাংলাদেশ স্টিকি হেডার)
------------------------------------------------------------- */
.site-sticky-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #ffffff;
    width: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
    transition: box-shadow 0.2s ease;
}

/* Main Header Area */
.main-header-area {
    padding: 10px 16px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    background: #ffffff;
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo h1, .site-logo a.logo-link {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--title-color);
    letter-spacing: -0.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.logo-rupali {
    color: var(--title-color);
}

.logo-bangladesh {
    color: var(--primary-red);
}

.mobile-menu-toggle, .mobile-search-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--title-color);
    border-radius: 4px;
    line-height: 1;
}

.mobile-menu-toggle:active, .mobile-search-btn:active {
    background: #f1f5f9;
}

.header-ad-banner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Mobile Category Navigation Strip (হুবহু স্ক্রিনশট ১ অনুযায়ী) */
.mobile-cat-strip {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.mobile-cat-strip::-webkit-scrollbar {
    display: none;
}

.mobile-cat-list {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0 8px;
    margin: 0;
    white-space: nowrap;
    gap: 2px;
}

.mobile-cat-list li a {
    display: block;
    padding: 8px 12px;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.mobile-cat-list li a.active,
.mobile-cat-list li a:hover {
    color: var(--primary-red);
    border-bottom-color: var(--primary-red);
}

/* Header Search Popup (হুবহু স্ক্রিনশট ২ অনুযায়ী: [ Search here... | 🔍 | ✕ ]) */
.search-popup-wrap {
    display: none;
    padding: 8px 14px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    animation: fadeInDown 0.2s ease;
}

.search-popup-wrap.active {
    display: block;
}

.search-form-inner {
    max-width: 600px;
    margin: 0 auto;
}

.search-input-group {
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.search-field {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 12px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    color: var(--dark-color);
}

.search-field::placeholder {
    color: #94a3b8;
}

.search-submit, .search-close-btn {
    background: transparent;
    border: none;
    border-left: 1px solid #e2e8f0;
    cursor: pointer;
    padding: 8px 12px;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, color 0.15s ease;
}

.search-submit:hover, .search-close-btn:hover {
    color: var(--primary-red);
    background: #f8fafc;
}

/* Mobile Drawer Side Menu */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-drawer-overlay.active,
.mobile-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 310px;
    max-width: 86vw;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    z-index: 99999;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.28s;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.mobile-drawer.active,
.mobile-drawer.open {
    transform: translateX(0);
    visibility: visible;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid #f1f5f9;
    background: #f8fafc;
}

.drawer-logo {
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 4px;
}

.drawer-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: #64748b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-close-btn:hover {
    background: #e2e8f0;
    color: var(--primary-red);
}

.drawer-nav-list {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.drawer-item {
    border-bottom: 1px solid #f8fafc;
}

.drawer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.drawer-link:hover, .drawer-link:active {
    background: #fef2f2;
    color: var(--primary-red);
}

.drawer-submenu {
    list-style: none;
    padding: 4px 0 8px 36px;
    margin: 0;
    background: #f8fafc;
    display: none;
}

.drawer-submenu.active {
    display: block;
}

.drawer-submenu li a {
    display: block;
    padding: 8px 12px;
    font-size: 14px;
    color: #475569;
    text-decoration: none;
}

.drawer-submenu li a:hover {
    color: var(--primary-red);
}

/* Main Navigation */
.main-navigation-bar {
    border-bottom: 2px solid var(--primary-red);
    background: var(--nav-bg);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.main-menu {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    align-items: center;
}

.main-menu li {
    position: relative;
}

.main-menu li a {
    display: block;
    padding: 10px 13px;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.main-menu li.current-menu-item a,
.main-menu li a:hover {
    color: var(--primary-red);
    border-bottom-color: var(--primary-red);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-search-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #4b5563;
    padding: 6px;
    display: flex;
    align-items: center;
}

.nav-search-btn:hover {
    color: var(--primary-red);
}

/* -------------------------------------------------------------
   Section Headings & Accents
------------------------------------------------------------- */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--title-color);
    margin-bottom: 18px;
    padding-bottom: 4px;
}

.section-header.red-border {
    border-bottom-color: var(--primary-red);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--title-color);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.section-title::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 18px;
    background-color: var(--primary-red);
}

.section-more-link {
    font-size: 14px;
    color: #4b5563;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.section-more-link:hover {
    color: var(--primary-red);
}

/* -------------------------------------------------------------
   Top Lead Section Layout (Lead News + 5 Sub News Items)
   Mobile-First: Single column stack by default (হুবহু রূপালী বাংলাদেশ)
------------------------------------------------------------- */
.top-news-section {
    width: 100%;
}

.top-news-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 16px;
    margin-top: 10px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.lead-primary-card {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.lead-primary-card .lead-img-box {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #e2e8f0;
}

.lead-primary-card .lead-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.lead-primary-card .lead-img-box:hover img {
    transform: scale(1.02);
}

.lead-content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.lead-cat-tag {
    display: inline-block;
    color: var(--primary-red);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
}

.lead-primary-card h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.32;
    color: var(--dark-color);
    margin: 6px 0 10px 0;
}

.lead-primary-card h2 a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.15s ease;
}

.lead-primary-card h2 a:hover {
    color: var(--primary-red);
}

.lead-primary-card p.excerpt {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0 0 10px 0;
    display: none;
}

.news-meta-time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.clock-icon {
    font-size: 11px;
}

/* 5 Sub-Lead News List (আরও ৫টি সংবাদ - ছবি বামে, শিরোনাম ডানে - হুবহু রূপালী বাংলাদেশ) */
.lead-sub-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-top: 1px solid var(--border-color);
    padding-top: 4px;
}

.lead-sub-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
    width: 100%;
}

.lead-sub-item:last-child {
    border-bottom: none;
}

.lead-sub-item .sub-thumb {
    width: 110px;
    height: 72px;
    min-width: 110px;
    max-width: 110px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    background: #e2e8f0;
}

.lead-sub-item .sub-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
    display: block;
}

.lead-sub-item .sub-thumb:hover img {
    transform: scale(1.04);
}

.lead-sub-content {
    flex: 1;
    min-width: 0;
}

.lead-sub-item h3 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.36;
    color: var(--title-color);
    margin: 0;
}

.lead-sub-item h3 a {
    color: var(--title-color);
    text-decoration: none;
    transition: color 0.15s ease;
}

.lead-sub-item h3 a:hover {
    color: var(--primary-red);
}

.top-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin-top: 12px;
}

/* Desktop Grid Expansion (992px and up) */
@media (min-width: 992px) {
    .top-news-grid {
        display: grid;
        grid-template-columns: 1.8fr 1.4fr 1.3fr;
        gap: 24px;
        margin-top: 18px;
    }

    .lead-primary-card h2 {
        font-size: 26px;
    }

    .lead-primary-card p.excerpt {
        display: block;
    }

    .lead-sub-list {
        border-top: none;
        padding-top: 0;
    }

    .lead-sub-item .sub-thumb {
        width: 120px;
        height: 78px;
        min-width: 120px;
    }

    .lead-sub-item h3 {
        font-size: 16px;
    }

    .top-sidebar {
        margin-top: 0;
    }
}

/* Middle 3 Cards Grid */
.news-row-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-color);
}

.news-card-thumb-top .card-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.news-card-thumb-top h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--title-color);
}

.news-row-flex-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-color);
}

.flex-news-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.flex-news-item .thumb {
    width: 105px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}

.flex-news-item h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
}

/* -------------------------------------------------------------
   Right Sidebar (Tabs & Poll)
------------------------------------------------------------- */
.top-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.live-video-box {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background: #000;
}

.live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-red);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

/* 2-Column 8-Post Sidebar Grid (Above Latest/Popular tabs) */
.sidebar-two-col-eight {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 12px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

.sidebar-two-col-eight .two-col-grid-item {
    display: flex;
    flex-direction: column;
}

.sidebar-two-col-eight .grid-item-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 6px;
    background: #f1f5f9;
}

.sidebar-two-col-eight .grid-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sidebar-two-col-eight .grid-item-thumb:hover img {
    transform: scale(1.04);
}

.sidebar-two-col-eight .grid-item-title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.sidebar-two-col-eight .grid-item-title a {
    color: var(--title-color);
    text-decoration: none;
    transition: color 0.15s ease;
}

.sidebar-two-col-eight .grid-item-title a:hover {
    color: var(--primary-red);
}

.tabbed-news-widget {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
}

.tab-headers {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    background: #f8fafc;
}

.tab-btn {
    flex: 1;
    padding: 10px;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #4b5563;
    border-bottom: 2px solid transparent;
}

.tab-btn.active {
    color: var(--primary-red);
    border-bottom-color: var(--primary-red);
    background: #fff;
}

.tab-content {
    padding: 12px 14px;
}

.ranked-news-list {
    list-style: none;
}

.ranked-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
}

.ranked-item:last-child {
    border-bottom: none;
}

.rank-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #fee2e2;
    color: var(--primary-red);
    font-weight: 800;
    font-size: 14px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ranked-item p {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: #1f2937;
}

/* -------------------------------------------------------------
   Online Poll (অনলাইন জরিপ) Widget - হুবহু রূপালী বাংলাদেশ ডিজাইন
------------------------------------------------------------- */
.poll-widget-box {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    padding: 16px 14px 18px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.poll-title-wrap {
    text-align: center;
    padding-bottom: 8px;
    border-bottom: 1.5px solid var(--dark-color);
    margin-bottom: 12px;
}

.poll-main-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
    letter-spacing: -0.2px;
}

.poll-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.poll-date-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.poll-clock-icon {
    stroke: #64748b;
}

.poll-download-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--dark-color);
    padding: 2px 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease;
}

.poll-download-btn:hover {
    color: var(--primary-red);
}

.poll-img-banner {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 14px;
    background: #e2e8f0;
}

.poll-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.poll-question-text {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.48;
    color: var(--dark-color);
    margin-bottom: 16px;
    text-align: left;
}

/* 3 Options Rows (সবুজ, লাল, নীল সার্কেল এবং আয়তাকার ইনপুট বক্স) */
.poll-options-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.poll-option-row {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.poll-radio-ring {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border-width: 3.5px;
    border-style: solid;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #ffffff;
    transition: all 0.2s ease;
}

.poll-radio-ring.ring-green {
    border-color: #059669;
}

.poll-radio-ring.ring-red {
    border-color: #ef4444;
}

.poll-radio-ring.ring-blue {
    border-color: #2563eb;
}

.poll-radio-ring .ring-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.poll-radio-ring.ring-green .ring-dot {
    background-color: #059669;
}

.poll-radio-ring.ring-red .ring-dot {
    background-color: #ef4444;
}

.poll-radio-ring.ring-blue .ring-dot {
    background-color: #2563eb;
}

.poll-option-row.selected .poll-radio-ring .ring-dot {
    opacity: 1;
    transform: scale(1);
}

.poll-option-box {
    flex: 1;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 8px 14px;
    background: #ffffff;
    color: #1e293b;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.poll-option-row:hover .poll-option-box {
    border-color: #94a3b8;
    background: #f8fafc;
}

.poll-option-row.selected .poll-option-box {
    border-color: var(--dark-color);
    font-weight: 700;
    color: var(--dark-color);
    background: #f1f5f9;
}

.poll-voter-count {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-color);
    margin: 16px 0 16px;
}

/* 6 Circular Social Share Icons */
.poll-social-share-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.poll-social-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.poll-social-circle:hover {
    transform: translateY(-2px);
    opacity: 0.92;
    color: #ffffff;
}

.social-fb {
    background-color: #3b5998;
}

.social-msg {
    background-color: #0084ff;
}

.social-x {
    background-color: #000000;
}

.social-wa {
    background-color: #25d366;
}

.social-in {
    background-color: #0077b5;
}

.social-copy {
    background-color: #166534;
}

/* -------------------------------------------------------------
   Two-Column 8 News Grid (হুবহু স্ক্রিনশট অনুযায়ী: ২ কলামের ৮টি নিউজ)
------------------------------------------------------------- */
.two-col-eight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 16px;
    row-gap: 22px;
    padding: 20px 0 24px;
    border-bottom: 1px solid var(--border-color);
}

.two-col-grid-item {
    display: flex;
    flex-direction: column;
}

.two-col-grid-item .grid-item-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
    background: #e2e8f0;
}

.two-col-grid-item .grid-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.two-col-grid-item .grid-item-thumb:hover img {
    transform: scale(1.03);
}

.two-col-grid-item .grid-item-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--dark-color);
    margin: 0;
}

.two-col-grid-item .grid-item-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.15s ease;
}

.two-col-grid-item .grid-item-title a:hover {
    color: var(--primary-red);
}

/* -------------------------------------------------------------
   Category Two-Column Grids (জাতীয় ও রাজনীতি, বাণিজ্য ও বিশ্ব)
------------------------------------------------------------- */
.two-column-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-color);
}

.cat-column-inner {
    display: flex;
    flex-direction: column;
}

/* Header with circle arrow and solid black underline (হুবহু স্ক্রিনশট) */
.cat-column-header-black {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 6px;
    border-bottom: 2.5px solid var(--dark-color);
    margin-bottom: 14px;
}

.cat-column-header-black .cat-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
    line-height: 1.2;
}

.cat-column-header-black .cat-title a {
    color: var(--dark-color);
    text-decoration: none;
}

.cat-column-header-black .cat-more-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.cat-column-header-black .cat-more-circle:hover {
    background: var(--dark-color);
    color: #ffffff;
}

/* 1. Big Clean Lead Article */
.cat-lead-clean {
    margin-bottom: 16px;
}

.cat-lead-clean .thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 2px;
    overflow: hidden;
    background: #f1f5f9;
    margin-bottom: 10px;
}

.cat-lead-clean .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cat-lead-clean:hover .thumb img {
    transform: scale(1.03);
}

.cat-lead-clean h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.cat-lead-clean h3 a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.15s ease;
}

.cat-lead-clean h3 a:hover {
    color: var(--primary-red);
}

/* 2. Middle Row: 2-Column Grid */
.cat-sub-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}

.cat-sub-card {
    display: flex;
    flex-direction: column;
}

.cat-sub-card .thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 2px;
    overflow: hidden;
    background: #f1f5f9;
    margin-bottom: 8px;
}

.cat-sub-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cat-sub-card:hover .thumb img {
    transform: scale(1.04);
}

.cat-sub-card h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.cat-sub-card h4 a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.15s ease;
}

.cat-sub-card h4 a:hover {
    color: var(--primary-red);
}

/* 3. Bottom List: 5 Items with Dashed Dividers */
.cat-dashed-list {
    border-top: 1px dashed #cbd5e1;
}

.cat-dashed-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px dashed #cbd5e1;
}

.cat-dashed-item .thumb {
    width: 120px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 2px;
    overflow: hidden;
    background: #f1f5f9;
}

.cat-dashed-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cat-dashed-item:hover .thumb img {
    transform: scale(1.04);
}

.cat-dashed-item h5 {
    font-family: var(--font-heading);
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    flex: 1;
}

.cat-dashed-item h5 a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.15s ease;
}

.cat-dashed-item h5 a:hover {
    color: var(--primary-red);
}

/* -------------------------------------------------------------
   Politics (রাজনীতি) Lead Overlay & Stacked Cards Styles
   (হুবহু আপলোড করা স্ক্রিনশট ডিজাইন)
------------------------------------------------------------- */
.cat-lead-overlay {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    background: var(--dark-color);
    margin-bottom: 12px;
}

.cat-lead-overlay .thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--dark-color);
}

.cat-lead-overlay .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.95);
    transition: transform 0.4s ease;
}

.cat-lead-overlay:hover .thumb img {
    transform: scale(1.04);
}

.cat-lead-overlay .overlay-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    align-items: flex-end;
    padding: 14px 16px;
    pointer-events: none;
}

.cat-lead-overlay .overlay-content h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    color: #ffffff;
    margin: 0;
    pointer-events: auto;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.cat-lead-overlay .overlay-content h3 a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.15s ease;
}

.cat-lead-overlay .overlay-content h3 a:hover {
    color: #fca5a5;
}

/* Stacked cards with light background */
.cat-stacked-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cat-stack-card {
    background: #f8fafc;
    border-radius: 2px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background-color 0.2s ease;
}

.cat-stack-card:hover {
    background: #f1f5f9;
}

.cat-stack-card .thumb {
    width: 130px;
    height: 80px;
    border-radius: 2px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e2e8f0;
}

.cat-stack-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cat-stack-card:hover .thumb img {
    transform: scale(1.04);
}

.cat-stack-card h5 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    flex: 1;
}

.cat-stack-card h5 a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.15s ease;
}

.cat-stack-card h5 a:hover {
    color: var(--primary-red);
}

/* -------------------------------------------------------------
   Special Report (বিশেষ প্রতিবেদন) - হুবহু আপলোড করা স্ক্রিনশট ডিজাইন
------------------------------------------------------------- */
.special-report-cream-section {
    background-color: var(--special-bg);
    padding: 26px 16px;
    margin: 24px 0;
    border-top: 1px solid rgba(251, 191, 36, 0.4);
    border-bottom: 1px solid rgba(251, 191, 36, 0.4);
}

.special-report-container {
    max-width: 800px;
    margin: 0 auto;
}

.special-report-slider-wrap {
    max-width: 680px;
    margin: 0 auto;
}

.special-report-card {
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.special-report-card .card-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: var(--dark-color);
    overflow: hidden;
}

.special-report-card .card-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.special-report-card:hover .card-thumb-wrap img {
    transform: scale(1.02);
}

.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    z-index: 5;
}

.slider-nav-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.slider-nav-btn.prev-btn {
    left: 12px;
}

.slider-nav-btn.next-btn {
    right: 12px;
}

.special-report-card .card-body {
    padding: 16px 20px 20px;
    background: #ffffff;
}

.special-report-card .card-body h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    color: var(--dark-color);
}

.special-report-card .card-body h3 a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.15s ease;
}

.special-report-card .card-body h3 a:hover {
    color: var(--primary-red);
}

.cat-featured-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 14px;
}

.cat-featured-card .thumb {
    aspect-ratio: 16 / 10;
    border-radius: 4px;
    overflow: hidden;
}

.cat-featured-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.cat-list-vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* -------------------------------------------------------------
   Special Report (বিশেষ প্রতিবেদন) & Lifestyle
------------------------------------------------------------- */
.four-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-color);
}

.card-item-four {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-item-four .thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 4px;
    overflow: hidden;
}

.card-item-four h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--title-color);
}

/* -------------------------------------------------------------
   Entertainment (বিনোদন) & E-Paper
------------------------------------------------------------- */
.entertainment-wrapper {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-color);
}

.ent-top-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 18px;
}

.ent-bottom-four {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.epaper-widget-box {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px;
    background: #fdf2f2;
    text-align: center;
}

.epaper-widget-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 10px;
}

.epaper-widget-box img {
    margin: 0 auto 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    max-height: 220px;
}

.epaper-btn {
    display: inline-block;
    background: var(--primary-red);
    color: #fff;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
}

/* -------------------------------------------------------------
   Sports (খেলা)
------------------------------------------------------------- */
.sports-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.sports-lead-center {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sports-lead-center .thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    overflow: hidden;
}

.sports-lead-center h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.35;
    color: var(--title-color);
}

.sports-side-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* -------------------------------------------------------------
   Video Section (ভিডিও)
------------------------------------------------------------- */
.video-section-area {
    background: var(--title-color);
    color: #fff;
    padding: 24px;
    border-radius: 6px;
    margin: 24px 0;
}

.video-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #374151;
    padding-bottom: 10px;
    margin-bottom: 18px;
}

.video-section-header h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-five-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.video-card-item .video-thumb-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.video-play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
}

.video-play-btn {
    width: 36px;
    height: 36px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.video-card-item h4 {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    color: #e5e7eb;
}

/* -------------------------------------------------------------
   Saradesh (সারাদেশ) & District Filter (আমার এলাকার সংবাদ)
------------------------------------------------------------- */
.saradesh-section-wrap {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-color);
}

.district-filter-box {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: #f8fafc;
    padding: 16px;
}

.district-filter-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
    border-bottom: 2px solid var(--primary-red);
    padding-bottom: 6px;
}

.district-filter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 14px;
    background: #fff;
}

.filter-submit-btn {
    background: var(--primary-red);
    color: #fff;
    border: none;
    padding: 9px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* -------------------------------------------------------------
   Photo Gallery (ফটো গ্যালারি)
------------------------------------------------------------- */
.photo-gallery-wrap {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 18px;
    margin-bottom: 20px;
}

.photo-gallery-main {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
}

.photo-gallery-main img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.photo-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    color: #fff;
    padding: 20px 16px 12px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
}

.photo-gallery-thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.gallery-sub-thumb {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.gallery-sub-thumb img {
    width: 100%;
    height: 100%;
}

.gallery-sub-thumb .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 12px;
    padding: 4px 6px;
    text-align: center;
}

.gallery-more-btn {
    display: block;
    width: 100%;
    background: var(--title-color);
    color: #fff;
    text-align: center;
    padding: 10px;
    font-weight: 700;
    border-radius: 4px;
    margin-top: 14px;
}

.gallery-more-btn:hover {
    background: var(--primary-red);
    color: #fff;
}

/* -------------------------------------------------------------
   Site Footer
------------------------------------------------------------- */
.site-footer {
    background: var(--footer-bg);
    border-top: 2px solid var(--primary-red);
    padding: 30px 20px 20px;
    color: #374151;
    font-size: 14px;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 10px;
}

.footer-social-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.footer-social-icons a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e5e7eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #374151;
}

.footer-social-icons a:hover {
    background: var(--primary-red);
    color: #fff;
}

.app-store-badges {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    font-size: 13px;
    color: #6b7280;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* -------------------------------------------------------------
   Responsive Breakpoints
------------------------------------------------------------- */
@media (max-width: 1024px) {
    .video-five-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .four-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .site-container {
        box-shadow: none;
    }

    .content-wrap {
        padding: 0 14px;
    }

    .top-utility-bar {
        padding: 5px 14px;
        flex-direction: row;
        justify-content: space-between;
    }

    .top-date-time {
        font-size: 12px;
    }

    /* Mobile Sticky Header */
    .site-sticky-header {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        z-index: 9999;
        background: #ffffff;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    }

    .main-header-area {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 8px 12px;
        position: static;
        box-shadow: none;
        gap: 0;
    }

    .site-logo {
        flex: 1;
        justify-content: center;
        text-align: center;
    }

    .site-logo h1, .site-logo a.logo-link {
        font-size: 24px;
        font-weight: 800;
    }

    .lead-primary-card h2 {
        font-size: 22px;
        font-weight: 800;
        line-height: 1.28;
        margin: 8px 0 10px 0;
        color: var(--dark-color);
    }

    .lead-sub-item {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        padding: 10px 0;
        gap: 12px;
        border-bottom: 1px solid #e5e7eb;
        width: 100%;
    }

    .lead-sub-item .sub-thumb {
        width: 110px;
        height: 72px;
        min-width: 110px;
        border-radius: 4px;
    }

    .lead-sub-item h3 {
        font-size: 15px;
        line-height: 1.36;
        font-weight: 700;
        color: var(--title-color);
        margin: 0;
    }

    .news-row-three,
    .news-row-flex-three,
    .two-column-block,
    .entertainment-wrapper,
    .sports-grid,
    .saradesh-section-wrap,
    .photo-gallery-wrap,
    .footer-top-grid {
        grid-template-columns: 1fr;
    }

    .cat-featured-card {
        grid-template-columns: 1fr;
    }

    .video-five-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ent-top-three,
    .ent-bottom-four {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------------------------
   Lead + Stacked cards layout (বিনোদন, খেলা, তথ্য-প্রযুক্তি, ফিচার, শিক্ষা)
   Mobile fix: single column, prevent grid blowout
------------------------------------------------------------- */
.cat-lead-stack-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}
.cat-lead-stack-grid > * {
    min-width: 0;
}
.cat-lead-stack-grid .cat-stack-card h5 {
    min-width: 0;
    overflow-wrap: anywhere;
}
.cat-lead-stack-grid .cat-lead-clean {
    align-self: stretch;
}
.cat-lead-stack-grid .cat-lead-clean .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cat-stack-card .thumb img {
    display: block;
    min-height: 100%;
}

@media (max-width: 768px) {
    .cat-lead-stack-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
    .cat-lead-stack-grid .cat-lead-clean {
        width: 100%;
    }
    .cat-lead-stack-grid .cat-lead-clean h3 {
        font-size: 19px !important;
    }
    .cat-lead-stack-grid .cat-stack-card .thumb {
        width: 110px;
        height: 72px;
    }
}

/* -------------------------------------------------------------
   Single Post Page (moved from inline styles so it can be responsive)
   Desktop values are identical to the previous inline styles.
------------------------------------------------------------- */
.single-post-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.5fr) minmax(0, 1fr);
    gap: 24px;
    padding: 24px 0;
}

.single-post-layout > * {
    min-width: 0;
}

.single-post-layout .entry-header {
    margin-bottom: 18px;
}

.single-post-layout .entry-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
    overflow-wrap: break-word;
}

.single-post-layout .entry-meta {
    font-size: 13px;
    color: #6b7280;
    display: flex;
    gap: 16px;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    padding: 8px 0;
}

.entry-content {
    font-size: 17px;
    line-height: 1.8;
    color: #27272a;
    overflow-wrap: break-word;
}

/* Post body content from the editor must never be wider than the screen */
.entry-content img,
.entry-content video,
.entry-content embed,
.entry-content object,
.entry-content iframe,
.entry-content figure,
.entry-content .wp-caption {
    max-width: 100%;
}

.entry-content img,
.entry-content video {
    height: auto;
}

.entry-content iframe[src*="youtube"],
.entry-content iframe[src*="youtu.be"],
.entry-content iframe[src*="vimeo"],
.entry-content iframe[src*="dailymotion"] {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.entry-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.entry-content pre {
    max-width: 100%;
    overflow-x: auto;
}

.entry-content a {
    overflow-wrap: anywhere;
}

/* -------------------------------------------------------------
   Mobile Responsive Fixes (max-width: 768px)
   Layout-only fixes. No colours, fonts or visual style changed.
------------------------------------------------------------- */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    touch-action: manipulation;
}

@media (max-width: 768px) {
    /* Safety net: nothing should ever make the page scroll sideways.
       'clip' (unlike 'hidden') keeps position: sticky working. */
    @supports (overflow-x: clip) {
        body {
            overflow-x: clip;
        }
    }

    /* Prevent iOS Safari from zooming the page when the search box is focused */
    .search-field {
        font-size: 16px;
    }

    /* Single post: one column, article first, then sidebar */
    .single-post-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        padding: 16px 0;
    }

    .single-post-layout .entry-title {
        font-size: 24px;
        line-height: 1.38;
    }

    .single-post-layout .entry-meta {
        flex-wrap: wrap;
        gap: 4px 14px;
    }

    .single-post-layout .post-tags {
        line-height: 2.1;
    }

    .entry-content .alignleft,
    .entry-content .alignright {
        float: none;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .entry-content iframe {
        max-width: 100%;
    }

    .single-sidebar {
        width: 100%;
    }
}

@media (max-width: 360px) {
    .content-wrap {
        padding: 0 12px;
    }
}
