@font-face {
    font-family: 'SolaimanLipi';
    src: url('https://fonts.maateen.me/solaiman-lipi/SolaimanLipi.eot');
    src: url('https://fonts.maateen.me/solaiman-lipi/SolaimanLipi.eot?#iefix') format('embedded-opentype'),
         url('https://fonts.maateen.me/solaiman-lipi/SolaimanLipi.woff2') format('woff2'),
         url('https://fonts.maateen.me/solaiman-lipi/SolaimanLipi.woff') format('woff'),
         url('https://fonts.maateen.me/solaiman-lipi/SolaimanLipi.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary: #c00;
    --secondary: #222;
    --accent: #f5f5f5;
    --text: #333;
    --light-text: #666;
    --white: #fff;
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
    --font-bn: 'Hind Siliguri', 'Anek Bangla', 'SolaimanLipi', sans-serif;
    --font-en: 'Inter', 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tt-primary-bg {
    background-color: var(--primary);
}

.news-title-1 {
    font-family: var(--font-bn);
}


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

body {
    font-family: var(--font-bn);
    background-color: #ffffff;
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

html {
    overflow-x: hidden;
    width: 100%;
}

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

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background: var(--white);
    border-bottom: 1px solid #eee;
}

.top-bar {
    background: #1a1a1a;
    color: #fff;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: none;
}

.top-bar a {
    color: #eee;
    transition: 0.3s;
}

.top-bar a:hover {
    color: var(--primary);
}

.logo-area {
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    display: block;
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

/* Nav */
nav {
    background: var(--white);
    border-top: 1px solid #eee;
    border-bottom: 3px solid var(--primary);
    position: relative;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Top Bar Premium Styles */
.top-bar-left span {
    font-size: 13px;
    font-weight: 500;
}

.top-bar-right .sep {
    color: rgba(255,255,255,0.2);
}

.top-nav-link {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-nav-link:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    color: #fff;
    font-size: 14px;
    transition: 0.3s;
}

.social-links a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.dark-mode-toggle {
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.dark-mode-toggle:hover {
    background: var(--primary);
}

/* Logo Area & Search Box */
.logo-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
}

.search-box-desktop form {
    position: relative;
    width: 320px;
}

.search-box-desktop input {
    width: 100%;
    padding: 12px 45px 12px 20px;
    border-radius: 30px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 14px;
    transition: 0.3s;
    font-family: var(--font-bn);
}

.search-box-desktop input:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(189, 2, 2, 0.1);
    outline: none;
}

.search-box-desktop button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.search-box-desktop button:hover {
    background: #a00202;
}

/* Sticky Nav Enhancement */
nav.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* Map Header Custom Styles */
.map_inner_block {
    margin-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 10px;
}

.catTitle {
    font-size: 18px;
    font-weight: 800;
    color: #222;
    margin: 0;
    position: relative;
    display: inline-block;
}

.catTitle .liner {
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
}

.premium-map-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow);
    border: 1px solid #edf2f7;
}

/* Add padding to body only on mobile/sticky */
@media (max-width: 991px) {
    body {
        padding-top: 50px;
    }
    nav {
        position: fixed;
        top: 0;
    }
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.sticky-logo {
    display: none; /* Hidden by default */
    margin-right: 20px;
    padding: 5px 0;
}

.sticky-logo img {
    height: 38px;
    width: auto;
    display: block;
}

nav.is-sticky .sticky-logo {
    display: block;
}

nav.is-sticky {
    padding: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    overflow: visible;
    margin: 0;
    padding: 0;
}

nav ul li {
    position: relative;
}

nav ul li a {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    font-weight: 600;
    color: var(--secondary);
    font-size: 16px; /* Slightly smaller to fit more */
    white-space: nowrap; /* Prevent wrapping */
}

nav.is-sticky ul li a {
    padding: 12px 10px;
    font-size: 15px;
}

nav ul li a:hover, nav ul li.active a {
    color: var(--primary);
}

/* Mobile Responsive Header */
@media (max-width: 991px) {
    .logo-area {
        display: none !important;
    }
    
    .search-box {
        display: none !important;
    }

    .top-bar {
        display: none !important;
    }

    .nav-container {
        padding: 5px 15px;
    }
    
    .mobile-menu-toggle {
        display: block;
        order: 1;
        font-size: 22px;
    }

    .sticky-logo {
        order: 2;
        margin: 0 auto;
        display: block !important;
    }

    .mobile-search-icon {
        display: block;
        order: 3;
        font-size: 20px;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        padding: 15px 0;
        max-height: 80vh;
        overflow-y: auto;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li a {
        padding: 12px 20px;
        border-bottom: 1px solid #f8fafc;
        width: 100%;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        border: none;
        background: #f8fafc;
        padding-left: 20px;
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }
}

/* Dropdown */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 1001;
    top: 100%;
    left: 0;
    border-top: 3px solid var(--primary);
    border-radius: 0 0 8px 8px;
    padding: 10px 0;
}

.dropdown-content a {
    color: var(--secondary) !important;
    padding: 12px 20px !important;
    display: block !important;
    border-bottom: 1px solid #f9f9f9;
    font-size: 15px !important;
    font-weight: 500 !important;
    text-transform: none;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: #f8f8f8;
    color: var(--primary) !important;
    padding-left: 25px !important; /* Subtle slide effect */
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Hero Section */
.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-top: 25px;
}

.main-news {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 500px;
}

.tabs-container {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    overflow: hidden;
    height: 500px;
    display: flex;
    flex-direction: column;
}

@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .main-news {
        height: 350px;
    }
    .tabs-container {
        height: auto;
        max-height: 500px;
    }
}

@media (max-width: 576px) {
    .main-news {
        height: 280px;
    }
    .news-overlay h2 {
        font-size: 20px;
    }
    .news-overlay p {
        display: none;
    }
}

.main-news img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    padding: 30px;
    color: var(--white);
}

.news-overlay h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

/* News Ticker */
.ticker-wrapper {
    background: #fff;
    border-bottom: 1px solid #eee;
    height: 40px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 30px;
    margin-top: 15px;
}

.ticker-title {
    background: var(--primary);
    color: #fff;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: bold;
    z-index: 2;
}

.ticker-content {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
}

.ticker-content marquee {
    padding-top: 8px;
    font-size: 18px;
    font-weight: 600;
}

.ticker-content a {
    margin-right: 50px;
}

/* Sidebar Tabs */
.tabs-container {
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 450px;
}

.tab-buttons {
    display: flex;
    background: #f1f1f1;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: none;
    font-family: var(--font-bn);
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

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

.tab-content {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

/* Custom Scrollbar */
.tab-content::-webkit-scrollbar {
    width: 6px;
}
.tab-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.tab-content::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}
.tab-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Section Header Premium */
/* Section Header Premium - Ultra High End */
.section-header-premium, .news-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0;
    position: relative;
    background: #fdfdfd;
    height: 42px;
    overflow: visible;
    border-radius: 4px 4px 0 0;
}

.cat-title-badge, .section-title-badge {
    background: linear-gradient(45deg, var(--primary), #e60000);
    color: #fff;
    padding: 0 35px 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 19px;
    font-weight: 800;
    position: relative;
    clip-path: polygon(0 0, 88% 0, 100% 100%, 0% 100%);
    box-shadow: 4px 0 10px rgba(189, 2, 2, 0.2);
    letter-spacing: 0.5px;
}

.cat-title-badge::before, .section-title-badge::before {
    content: '';
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    margin-right: 12px;
    box-shadow: 0 0 8px rgba(255,255,255,0.8);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.news-section-header::after, .section-header-premium::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #eee;
}

.more-link, .section-more-link {
    padding: 0 15px;
    height: 100%;
    font-size: 13px;
    font-weight: 800;
    color: #333;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    text-decoration: none;
    border-left: 1px solid #eee;
}

.more-link i, .section-more-link i {
    font-size: 10px;
    margin-left: 8px;
    color: var(--primary);
}

.more-link:hover, .section-more-link:hover {
    background: #f1f5f9;
    color: var(--primary);
}

.more-link:hover i, .section-more-link:hover i {
    transform: translateX(3px);
}

@media (max-width: 576px) {
    .cat-title-badge, .section-title-badge {
        font-size: 16px;
        padding: 0 25px 0 15px;
    }
}

/* News Layouts */
.featured-news-main {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.featured-news-main img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: 0.5s;
}

.featured-news-main:hover img {
    transform: none;
}

.featured-news-main h2 {
    font-size: 24px;
    margin-top: 15px;
    line-height: 1.4;
    color: #222;
    font-weight: 800;
}

@media (max-width: 768px) {
    .featured-news-main img {
        height: 250px;
    }
    .featured-news-main h2 {
        font-size: 20px;
    }
}

.news-list-side {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-list-item {
    display: flex;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
}

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

.news-list-item img {
    width: 100px;
    height: 70px;
    border-radius: 6px;
    object-fit: cover;
}

.news-list-item h4 {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;
    color: #333;
}

/* Map Sidebar Dropdowns */
.map-search-filters {
    background: #f8fafc;
    padding: 15px;
    border-radius: 0 0 10px 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    border: 1px solid #e2e8f0;
    border-top: none;
}

.map-search-filters select {
    width: 100%;
    padding: 8px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    font-family: var(--font-bn);
}

.btn-map-search {
    grid-column: span 1;
    background: #bd0202;
    color: #fff;
    border: none;
    padding: 8px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
}

.news-grid-medium {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.news-card-medium img {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    object-fit: cover;
}

.news-card-medium h3 {
    font-size: 18px;
    margin-top: 12px;
    font-weight: 700;
}

.side-list {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.side-list h3 {
    border-left: 4px solid var(--primary);
    padding-left: 10px;
    margin-bottom: 20px;
}

.side-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    position: relative;
}

.side-item:last-child { border: none; }

.side-item img {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
}

.side-number {
    background: var(--primary);
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    position: absolute;
    top: -5px;
    left: -5px;
    border: 2px solid #fff;
    z-index: 5;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.side-item h4 {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #222;
}

.side-item h4:hover {
    color: var(--primary);
}

.side-item > div:last-child {
    flex: 1;
}

img {
    max-width: 100% !important;
    height: auto;
}

@media (max-width: 576px) {
    .news-list-item img {
        width: 100px;
        height: 70px;
    }
    .news-list-item h4 {
        font-size: 15px;
    }
}

/* Category Blocks */
.cat-block, .layout-triple-row, .sports-section, .layout-politics {
    margin-bottom: 60px !important;
    margin-top: 20px;
}

.cat-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #eee;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.cat-title h2 {
    color: var(--primary);
    position: relative;
}

.cat-title h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--primary);
}

/* Category Page Hero Section */
.category-hero-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 50px;
    height: 460px; /* Slightly increased to fit content */
    min-height: 460px;
    max-height: 460px;
    overflow: hidden;
}

.cat-hero-main {
    height: 100%;
}

.cat-hero-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.news-card.big-hero, .news-card.side-hero {
    position: relative;
    height: 100%;
    margin-bottom: 0;
    overflow: hidden;
    border-radius: 10px;
}

.news-card.big-hero a, .news-card.side-hero a {
    display: block;
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden; /* Contain everything */
}

.news-card.big-hero img, .news-card.side-hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    z-index: 1; /* Below overlay */
    transition: transform 0.5s;
}

.news-card:hover img {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.95) 100%) !important;
    padding: 25px !important;
    color: #fff !important;
    z-index: 5 !important; /* Above image */
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    min-height: 150px;
}

.side-hero .hero-overlay {
    padding: 15px !important;
}

.hero-overlay h3 {
    font-size: 24px !important;
    margin-bottom: 8px !important;
    line-height: 1.3 !important;
    color: #ffffff !important;
    text-shadow: 0 2px 6px rgba(0,0,0,1) !important;
    display: block !important;
    visibility: visible !important;
}

.side-hero .hero-overlay h3 {
    font-size: 18px !important;
}

.hero-overlay p {
    font-size: 14px !important;
    opacity: 1 !important;
    margin-bottom: 12px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    visibility: visible !important;
}

.cat-badge {
    background: var(--primary);
    color: #fff;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 11px;
    margin-bottom: 8px;
    display: inline-block;
}

.hero-overlay .meta {
    font-size: 12px;
    opacity: 0.8;
}

/* 4 Column News Grid */
.news-grid-4 {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 40px !important; /* Large gap for clear separation */
    margin-bottom: 60px;
}

.news-grid-4 .news-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0; /* Subtle border for definition */
}

.news-grid-4 .news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

.news-grid-4 .img-container {
    display: block;
    height: 110px !important; /* Tiny image height */
    overflow: hidden;
}

.news-grid-4 img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

.news-grid-4 .news-card-content {
    padding: 10px !important; /* Minimal padding */
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-grid-4 h3 {
    font-size: 14px !important; /* Smallest headline */
    line-height: 1.4;
    margin-bottom: 5px;
    font-weight: 600;
    flex: 1;
}

.cat-label {
    color: var(--primary);
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

.card-meta {
    font-size: 12px;
    color: #999;
    margin-top: 10px;
}

@media (max-width: 1200px) {
    .news-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .category-hero-section {
        grid-template-columns: 1fr;
        height: auto;
    }
    .cat-hero-main {
        height: 400px;
    }
    .cat-hero-side {
        height: auto;
        flex-direction: row;
    }
    .side-hero {
        height: 250px !important;
        flex: 1;
    }
    .news-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .cat-hero-side {
        flex-direction: column;
    }
    .news-grid-4 {
        grid-template-columns: 1fr;
    }
    .hero-overlay h3 {
        font-size: 22px;
    }
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.news-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-card-content {
    padding: 15px;
}

.news-card-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Reporter Info */
.reporter-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--light-text);
}

.reporter-photo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ddd;
}

.news-single-title {
    font-size: 38px;
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 800;
    color: #222;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.news-breadcrumb {
    margin-bottom: 15px;
    color: var(--light-text);
    font-size: 14px;
    margin-top: 50px;
    border-top: 5px solid #eee;
    padding-top: 30px;
}

.news-main-media {
    margin-bottom: 25px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    background: #fff;
}

.article-meta {
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
}

.article-content {
    font-size: 19px;
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: normal;
}

.article-content img {
    max-width: 100% !important;
    height: auto !important;
}

/* Footer */
footer {
    background: var(--secondary);
    color: var(--white);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-bottom {
    margin-top: 50px;
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
}

@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .logo-area { flex-direction: column; text-align: center; }
}

/* Article Meta */
.article-meta {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.meta-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reporter-photo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #eee;
    border: 1px solid #ddd;
    flex-shrink: 0;
}

.reporter-name {
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 3px;
    color: var(--secondary);
}

.reporter-name i {
    color: var(--primary);
    font-size: 14px;
    margin-right: 5px;
}

.publish-info {
    font-size: 13px;
    color: var(--light-text);
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.meta-link {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
}

.meta-link:hover {
    text-decoration: underline;
}

.social-share {
    margin-top: 15px;
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on mobile */
}

.share-label {
    font-size: 14px;
    font-weight: bold;
    color: var(--light-text);
    margin-right: 5px;
}

.share-btn {
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: transform 0.2s;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-btn.fb { background: #1877F2; }
.share-btn.msg { background: #0084FF; }
.share-btn.tw { background: #1DA1F2; }
.share-btn.wa { background: #25D366; }
.share-btn.pr { background: #666; }
.share-btn.cp { background: #444; }

@media (max-width: 768px) {
    .article-meta {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .meta-info {
        display: flex;
        align-items: center;
        gap: 10px;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 5px;
    }
    .meta-info::-webkit-scrollbar {
        height: 2px;
    }
    .reporter-photo {
        width: 35px;
        height: 35px;
    }
    .reporter-name {
        font-size: 15px;
        margin-bottom: 0;
        margin-right: 10px;
    }
    .publish-info {
        font-size: 11px;
        gap: 8px;
    }
    .sep {
        display: inline;
    }
    .social-share {
        margin-top: 5px;
        justify-content: flex-start;
        border-top: 1px solid #f5f5f5;
        padding-top: 10px;
    }
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin-top: 20px;
}
.page-item {
    margin: 0 5px;
}
.page-link {
    padding: 8px 16px;
    border: 1px solid #ddd;
    color: var(--primary);
    border-radius: 5px;
    background: #fff;
    text-decoration: none;
}
.page-item.active .page-link {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.page-item.disabled .page-link {
    color: #ccc;
    pointer-events: none;
}

/* Single News Page Responsiveness */
.news-container-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

@media (max-width: 992px) {
    .news-container-grid {
        grid-template-columns: 1fr;
    }
    
    .news-container-grid aside {
        margin-top: 30px;
    }
}

.news-container-grid h1 {
    font-size: 38px;
    line-height: 1.3;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .news-container-grid h1 {
        font-size: 26px;
    }
    
    .article-content {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-item {
    margin: 0 5px;
}

.page-link {
    padding: 8px 16px;
    border: 1px solid #ddd;
    color: var(--primary);
    border-radius: 5px;
    background: #fff;
    text-decoration: none;
    font-weight: 600;
}

.page-item.active .page-link {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.page-item.disabled .page-link {
    color: #ccc;
    pointer-events: none;
}
/* ============================================================
   NEWS PORTAL PREMIUM LAYOUTS (MATCHING SCREENSHOTS)
   ============================================================ */

/* Section Header Style */
.news-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #e2e8f0;
    margin-bottom: 25px;
    height: 42px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
}

.section-title-badge {
    background: #bd0202;
    color: #fff;
    padding: 0 25px;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 800;
    position: relative;
}

.section-more-link {
    padding-right: 15px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

/* Layout 1: Politics / Entertainment (Featured Left, List Right) */
.layout-politics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.politics-featured {
    display: flex;
    flex-direction: column;
}

.politics-featured img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 8px;
}

.politics-featured h2 {
    font-size: 24px;
    margin-top: 15px;
    font-weight: 800;
    line-height: 1.4;
}

@media (max-width: 991px) {
    .layout-politics {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .politics-featured img {
        height: 250px;
    }
}

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

.politics-list-item {
    display: flex;
    gap: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.politics-list-item img {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: 4px;
}

.politics-list-item h4 {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

/* Layout 2: Sports (Complex Grid) */
.layout-sports-top {
    display: grid;
    grid-template-columns: 1.2fr 2fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.sports-text-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sports-text-card h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 10px;
}

.sports-text-card p {
    color: #666;
    font-size: 14px;
}

.sports-main-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.sports-side-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
}

.layout-sports-bottom {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.sports-bottom-item img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 8px;
}

.sports-bottom-item h4 {
    font-size: 16px;
    margin-top: 10px;
    font-weight: 700;
}

@media (max-width: 991px) {
    .layout-sports-top {
        grid-template-columns: 1fr;
    }
    .sports-text-card {
        order: 2;
        margin-top: 15px;
    }
    .sports-main-img {
        order: 1;
    }
    .sports-side-card {
        order: 3;
        margin-top: 20px;
    }
    .layout-sports-bottom {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .layout-sports-bottom {
        grid-template-columns: 1fr;
    }
    .sports-text-card h2 {
        font-size: 22px;
    }
}

/* Layout 3: 3-Column Grid (Lifestyle, etc.) */
.layout-triple-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.triple-col-block {
    display: flex;
    flex-direction: column;
}

.triple-featured {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 220px;
    margin-bottom: 15px;
}

.triple-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.triple-featured .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.triple-list-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.triple-list-item img {
    width: 90px;
    height: 65px;
    object-fit: cover;
    border-radius: 4px;
}

.triple-list-item h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
}

@media (max-width: 991px) {
    .layout-triple-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .triple-featured {
        height: 250px;
    }
}

/* Poll Widget Styling */
.poll-widget {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.poll-header {
    background: #bd0202;
    color: #fff;
    padding: 12px 15px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
}

.poll-body {
    padding: 20px;
}

/* Additional Mobile Fixes */
@media (max-width: 768px) {
    .ticker-wrapper {
        height: 40px !important;
        flex-direction: row !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .ticker-title {
        width: auto !important;
        padding: 0 15px !important;
        font-size: 13px !important;
        white-space: nowrap;
    }

    .ticker-content {
        flex: 1;
    }

    /* Prevent Bootstrap Row Overflow */
    .row {
        margin-left: -10px !important;
        margin-right: -10px !important;
    }
    .col-lg-9, .col-lg-3, .col-md-7, .col-md-5, .col-md-6 {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}


/* Final Mobile Responsive Overrides */
@media (max-width: 768px) {
    .news-container-grid {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .infinite-article {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow-x: hidden !important;
    }

/* ============================================================
   ULTIMATE MOBILE RESPONSIVE FIX (NO SCROLL)
   ============================================================ */
@media (max-width: 991px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    * {
        max-width: 100% !important;
        box-sizing: border-box !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    /* Shrink container to 95% to create safe gutters */
    .container, .container-fluid {
        width: 95% !important;
        max-width: 95% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        overflow: hidden !important;
    }

    .row {
        display: block !important; /* Force vertical stack */
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }

    [class*="col-"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 20px;
    }

    /* Fix Nav & Header */
    .logo-area { display: none !important; }
    
    #main-nav { 
        position: fixed !important;
        top: 0 !important;
        width: 100% !important;
        border-top: none !important; 
    }
    .nav-container { width: 100% !important; padding: 0 !important; }

    /* Fix Grid Sections */
    .hero-grid, .layout-politics, .layout-sports-top, .layout-sports-bottom, 
    .layout-triple-row, .news-grid, .category-hero-section {
        display: block !important;
        width: 100% !important;
        overflow: hidden !important;
        margin-bottom: 40px !important;
    }

    .news-card, .news-list-item, .side-item, .triple-col-block, .featured-news-main, 
    .politics-featured, .sports-main-img, .triple-featured {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 25px !important;
    }

    .main-news, .tabs-container {
        margin-bottom: 50px !important;
        margin-top: 0 !important;
        display: block !important;
        clear: both !important;
        position: relative !important;
    }

    .tabs-container {
        margin-top: 50px !important;
    }

    /* Fix SVG Map */
    .svg-map-wrapper, .svg-map-container, svg {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    /* Fix Ticker */
    .ticker-wrapper {
        display: flex !important;
        width: 100% !important;
        height: 40px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 5px;
    }
    
    .ticker-title {
        font-size: 11px !important;
        padding: 0 10px !important;
    }
    
    .ticker-content { overflow: hidden !important; flex: 1; }

    /* Fix Dropdowns */
    .dropdown-content {
        min-width: auto !important;
        width: 100% !important;
    }

    /* Typography Safety */
    h1 { font-size: 22px !important; line-height: 1.3 !important; }
    h2 { font-size: 19px !important; line-height: 1.3 !important; }
    h3 { font-size: 17px !important; }
    h4 { font-size: 15px !important; }
    p { font-size: 14px !important; line-height: 1.6 !important; }
}

    .publish-info .sep {
        display: none !important;
    }
/* Ajax Search Popup Styles */
.search-overlay {
    display: none;
    position: fixed !important;
    z-index: 99999 !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0,0,0,0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.close-overlay {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
}

.search-overlay-content {
    position: relative;
    top: 15%;
    width: 80%;
    margin: auto;
    max-width: 700px;
}

.search-box-large {
    position: relative;
    width: 100%;
}

.search-box-large input {
    width: 100%;
    padding: 15px 50px 15px 25px;
    font-size: 24px;
    border: none;
    border-radius: 50px;
    background: #fff;
    color: #333;
    font-family: var(--font-bn);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.search-box-large i {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    color: #bd0202;
}

.search-results-ajax {
    margin-top: 30px;
    max-height: 60vh;
    overflow-y: auto;
    padding: 10px;
}

.ajax-result-item {
    background: rgba(255,255,255,0.1);
    margin-bottom: 12px;
    border-radius: 10px;
    transition: 0.3s;
}

.ajax-result-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(10px);
}

.ajax-result-item a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    color: #fff;
    text-decoration: none;
}

.ajax-result-item img {
    width: 70px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
}

.ajax-result-item span {
    font-size: 17px;
    font-weight: 600;
}

.no-result {
    color: #aaa;
    text-align: center;
    font-size: 18px;
}

@media (max-width: 768px) {
    .search-overlay-content {
        width: 90%;
        top: 10%;
    }
    .search-box-large input {
        font-size: 18px;
        padding: 12px 40px 12px 20px;
    }
    .ajax-result-item span {
        font-size: 15px;
    }
}
    .news-main-media {
        border-radius: 8px !important;
        margin: 15px 0 !important;
        width: 100% !important;
    }

    .news-main-media img {
        width: 100% !important;
        height: auto !important;
    }

    .article-content {
        font-size: 17px !important;
        line-height: 1.7 !important;
    }

    .article-content img {
        max-width: 100% !important;
        height: auto !important;
    }

    aside {
        margin-top: 30px !important;
        width: 100% !important;
    }
}

/* Premium Unique Footer */
footer {
    background: #fff;
    border-top: 1px solid #eee;
    padding: 0;
    font-family: var(--font-bn);
}

.footer-top {
    background: #f8f9fa;
    border-bottom: 1px solid #eef0f2;
    padding: 10px 0;
}

.footer-nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.footer-nav-links li {
    font-size: 14px;
    color: #555;
    position: relative;
}

.footer-nav-links li:not(:last-child)::after {
    content: '|';
    margin-left: 15px;
    color: #ccc;
}

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

.social-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #666;
    transition: 0.3s;
}

.social-circle:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.footer-middle {
    padding: 35px 0;
    background: #fff;
}

.footer-info-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer-brand img {
    max-height: 70px;
    width: auto;
}

.editorial-info {
    text-align: left;
    color: #444;
}

.editorial-info p {
    margin: 0;
    line-height: 1.5;
    font-size: 14px;
    font-weight: 500;
}

.editorial-info span {
    font-weight: 700;
    color: #222;
}

.footer-bottom-unique {
    background: #000;
    color: #fff;
    padding: 12px 0;
    font-size: 13px;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-unique a {
    color: #ff9800;
    font-weight: 700;
}

@media (max-width: 768px) {
    .footer-info-grid {
        flex-direction: column;
        text-align: center;
    }
    .editorial-info {
        text-align: center;
    }
    .footer-nav-links {
        justify-content: center;
    }
    .footer-social {
        justify-content: center;
        margin-top: 15px;
    }
    .footer-bottom-flex {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* Swiper Slider Overrides */
.featured-slider {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.featured-slider .swiper-slide {
    position: relative;
}

.featured-slider .swiper-button-next,
.featured-slider .swiper-button-prev {
    color: #fff !important;
    background: rgba(0,0,0,0.3);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

.featured-slider .swiper-button-next:after,
.featured-slider .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.featured-slider .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
    width: 10px;
    height: 10px;
}

.featured-slider .swiper-pagination-bullet-active {
    background: #bd0202; /* Red color matching the theme */
    opacity: 1;
    width: 25px;
    border-radius: 5px;
}

@media (max-width: 991px) {
    .featured-slider .swiper-button-next,
    .featured-slider .swiper-button-prev {
        display: none;
    }
}
