/* =========================================
   1. FONT & VARIABLES
   ========================================= */
@font-face {
    font-family: 'SolaimanLipi';
    src: url('fonts/SolaimanLipi.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --font-primary: 'SolaimanLipi', 'Arial', sans-serif;
    
    /* Colors */
    --color-black: #111111;
    --color-dark-gray: #444444;
    --color-red: #ec1c24;
    --color-border: #e1e1e1;
    --color-white: #ffffff;
    --color-bg-pink: #fdecec;
}

/* =========================================
   2. GLOBAL RESET
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-white);
    color: var(--color-black);
    font-size: 18px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

ul { list-style: none; }

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

.border-line {
    border-top: 1px solid var(--color-border);
    width: 100%;
    height: 1px;
}

/* =========================================
   3. HEADER STYLES
   ========================================= */
header { background: var(--color-white); width: 100%; }

.mobile-top-bar { display: none; }

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0; /* Reduced padding */
    min-height: 80px;
}

.logo-area .main-logo { height: 45px; display: block; }

.highlights-area { display: flex; gap: 20px; } /* Reduced gap */

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 280px;
    font-size: 16px;
    color: var(--color-black);
    cursor: pointer;
}
.highlight-item:hover .news-text { color: var(--color-red); }
.highlight-item img {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 2px;
}
.red-icon { color: var(--color-red); margin-right: 5px; font-size: 14px; }

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 48px; /* Slightly reduced height */
}

.nav-left ul { display: flex; gap: 18px; } /* Reduced gap */
.nav-left ul li a {
    font-size: 19px;
    font-weight: 500;
    color: var(--color-black);
    display: block;
    white-space: nowrap;
}
.nav-left ul li a:hover { color: var(--color-red); }

.nav-right {
    display: flex;
    height: 100%;
    align-items: center;
    flex-shrink: 0;
}

.nav-tool {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px; /* Reduced padding */
    height: 30px;
    font-size: 17px;
    cursor: pointer;
    border-right: 1px solid var(--color-border);
    color: var(--color-black);
}
.nav-tool i { color: var(--color-dark-gray); margin-top: 2px; }
.nav-tool:last-child { border-right: none; padding-right: 0; }
.nav-tool:hover, .nav-tool:hover i { color: var(--color-red); }

.eng-btn {
    height: 48px;
    background-color: var(--color-bg-pink);
    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    margin: 0;
    padding: 0 15px;
}
.eng-btn:hover { background-color: #fce4e4; }
.menu-btn { padding-left: 15px; padding-right: 0; border: none; }
.menu-btn i { font-size: 20px; }

/* =========================================
   4. MAIN NEWS SECTION (Grid Layout)
   ========================================= */
.main-news-section {
    padding: 15px 0; /* Reduced padding */
    border-bottom: 1px solid var(--color-border);
}

.news-grid-layout {
    display: grid;
    /* 1st: 1fr, 2nd: 1.6fr, 3rd: 1fr */
    grid-template-columns: 1fr 1.6fr 1fr;
    gap: 18px; /* GAP REDUCED from 30px to 18px */
    align-items: start;
}

/* --- COMMON CARD STYLES --- */
.news-card-stacked, .mini-card-stacked {
    display: block;
    padding-bottom: 15px; /* Reduced */
    margin-bottom: 15px; /* Reduced */
    border-bottom: 1px solid #e1e1e1;
}

.news-top-row, .mini-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}

.news-info, .mini-title-area { flex: 1; }

/* TITLES: Font Weight Reduced to 500 (Medium) from 600/700 */
.news-title-md {
    font-size: 22px;
    font-weight: 550; 
    line-height: 1.35;
    color: var(--color-black);
    margin: 0;
}
.news-title-sm, .bold-title {
    font-size: 18px;
    font-weight: 550;
    line-height: 1.35;
    color: var(--color-black);
    margin: 0;
}
.news-card-stacked:hover .news-title-md,
.mini-card-stacked:hover .bold-title { color: var(--color-red); }

/* Thumbnails */
.news-thumb-right, .mini-thumb {
    width: 130px;
    flex-shrink: 0;
}
.mini-thumb { width: 90px; }

.news-thumb-right img, .mini-thumb img {
    width: 100%;
    height: 85px;
    object-fit: cover;
    border-radius: 2px;
}
.mini-thumb img { height: 60px; }

/* Excerpt & Time */
.news-bottom-row, .mini-bottom-row { width: 100%; }

.news-excerpt, .news-excerpt-sm {
    font-size: 16px;
    color: #444;
    line-height: 1.5;
    font-weight: 400;
    display: block;
    margin-bottom: 5px;
}
.news-excerpt-sm { font-size: 16px; margin-bottom: 4px; }

.news-time {
    font-size: 13px;
    color: #888;
    display: block;
}

/* List Items (Col 1) */
.text-list-container { margin-top: 5px; }
.text-news-item {
    display: block;
    padding: 10px 0; /* Reduced padding */
    border-top: 1px solid #e1e1e1;
    font-size: 18px;
    line-height: 1.4;
    color: var(--color-black);
    font-weight: 500;
}
.text-news-item.border-none { border-bottom: none; }
.text-news-item:hover { color: var(--color-red); }
.red-text { color: var(--color-red); }
.bullet { color: #ccc; margin: 0 5px; }


/* --- MIDDLE COLUMN SPECIFICS --- */
.grid-col-middle {
    border-left: 1px solid #e1e1e1;
    border-right: 1px solid #e1e1e1;
    padding: 0 15px; /* Reduced padding */
}
.section-divider {
    border-top: 1px solid #e1e1e1;
    margin: 15px 0; /* Reduced margin */
    width: 100%;
}

/* Top Feature */
.middle-featured-story {
    display: block;
    padding-bottom: 10px;
}
.feat-top-row {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 8px;
}
.feat-thumb-left { width: 50%; flex-shrink: 0; }
.feat-thumb-left img { width: 100%; height: auto; border-radius: 2px; }
.img-caption { font-size: 12px; color: #666; margin-top: 5px; display: block; }

.feat-title-area { width: 50%; }
.news-title-xl {
    font-size: 28px; /* Slightly reduced */
    font-weight: 600; /* Bold reduced */
    line-height: 1.3;
    margin-bottom: 8px;
    color: var(--color-black);
}
.middle-featured-story:hover .news-title-xl { color: var(--color-red); }
.feat-bottom-row { width: 100%; }

/* Middle Grid 2 */
.middle-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px; /* Reduced gap */
}
.border-left-item {
    border-left: 1px solid #e1e1e1;
    padding-left: 15px; /* Reduced */
}

/* Middle Grid 3 */
.middle-grid-three {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
}
.card-vertical-img, .card-text-only {
    display: block;
    padding-right: 12px; /* Reduced */
}
.middle-grid-three .border-left-item {
    border-left: 1px solid #e1e1e1;
    padding-left: 12px;
    padding-right: 12px;
}
.middle-grid-three a:last-child { padding-right: 0; }

.vert-thumb {
    position: relative;
    width: 100%;
    margin-bottom: 8px;
}
.vert-thumb img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 2px;
}
.video-icon-overlay {
    position: absolute;
    bottom: 5px;
    left: 5px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 10px;
}

/* --- RIGHT COLUMN SPECIFICS --- */
.ad-block-purple {
    background-color: #f3e5f5;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
    border-radius: 4px;
}
.ad-block-purple img { max-width: 100%; height: auto; border-radius: 2px; }

.cat-tag-inline {
    color: var(--color-red);
    font-weight: 600;
    font-size: 18px;
}
.cat-tag-red {
    color: var(--color-red);
    font-size: 13px;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}
.cat-tag-red::before { content: "• "; }

.inline-title {
    display: inline;
    font-size: 20px;
    font-weight: 500;
}
.news-card-stacked.border-none {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* =========================================
   5. RESPONSIVE DESIGN (Mobile)
   ========================================= */
@media (max-width: 991px) {
    .desktop-only, .desktop-tool { display: none !important; }

    .mobile-top-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 60px;
        padding-top: 5px;
        padding-bottom: 5px;
    }
    .m-logo img { height: 40px; margin-top: 5px; }
    .m-right-tools { display: flex; align-items: center; gap: 15px; }
    .m-tool { font-size: 18px; color: var(--color-dark-gray); }
    .m-tool.border-left {
        border-left: 1px solid #ddd;
        padding-left: 15px;
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 16px;
        font-weight: 500;
        height: 25px;
    }

    .navbar { height: 50px; padding: 0; overflow: hidden; }
    .nav-left {
        display: block;
        flex-grow: 1;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-left: 15px;
    }
    .nav-left::-webkit-scrollbar { display: none; }
    .nav-left ul { display: flex; gap: 20px; padding-right: 15px; }
    .nav-left ul li a { font-size: 17px; line-height: 50px; }

    .nav-right {
        background: #fff;
        padding-right: 15px;
        box-shadow: -5px 0 10px -5px rgba(0,0,0,0.1);
        z-index: 10;
    }
    .eng-btn { height: 50px; font-size: 15px; padding: 0 12px; }
    .menu-btn { padding-left: 12px; }

    /* Layout Gaps Reduced for Mobile */
    .news-grid-layout { 
        grid-template-columns: 1fr;
        gap: 20px; 
    }
    .grid-col-middle { 
        order: -1; 
        border: none; 
        padding: 0; 
        margin-bottom: 20px; 
    }

    .middle-featured-story .feat-top-row { flex-direction: column; gap: 10px; }
    .feat-thumb-left, .feat-title-area { width: 100%; }
    .feat-thumb-left { margin-bottom: 5px; }

    .middle-grid-two { grid-template-columns: 1fr; gap: 15px; }
    .border-left-item {
        border-left: none !important;
        padding-left: 0 !important;
        border-top: 1px solid #eee;
        padding-top: 15px;
        margin-top: 15px;
    }

    .middle-grid-three { grid-template-columns: 1fr; gap: 15px; }
    .card-vertical-img, .card-text-only {
        display: flex;
        gap: 15px;
        align-items: flex-start;
        padding-right: 0;
    }
    .vert-thumb { width: 120px; flex-shrink: 0; margin-bottom: 0; }
    .vert-thumb img { height: 80px; }
    
    .card-text-only { display: block; border-top: 1px solid #eee; padding-top: 15px; }
    .card-text-only:first-child { border-top: none; padding-top: 0; }
}


/* =========================================
   VIDEO CAROUSEL SECTION STYLES
   ========================================= */
.video-section {
    padding: 30px 0;
    background-color: #fff;
    border-bottom: 1px solid #e1e1e1;
}

/* --- Section Header (Blue Line Top) --- */
.video-header {
    border-top: 3px solid #00aeef; /* The blue line */
    padding-top: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.video-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-black);
    display: flex;
    align-items: center;
    gap: 10px;
}

.red-arrow {
    color: var(--color-red);
    font-size: 18px;
}

/* --- Carousel Wrapper --- */
.video-carousel-wrapper {
    position: relative;
    padding: 0 10px; /* Space for buttons ideally */
}

/* Track (Flex Container) */
.video-track {
    display: flex;
    gap: 20px;
    overflow-x: auto; /* Allow scrolling */
    scroll-behavior: smooth;
    padding-bottom: 15px; /* Space for shadow */
    /* Hide Scrollbar */
    scrollbar-width: none; /* Firefox */
}
.video-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* --- Video Card Styling --- */
.video-card {
    min-width: 270px; /* Fixed width for cards */
    max-width: 270px;
    background: #eaf6ff; /* Light blue background like screenshot */
    border-radius: 4px;
    overflow: hidden;
    display: block;
    transition: transform 0.2s;
}

.video-card:hover {
    transform: translateY(-3px);
}

/* Thumbnail Area */
.video-thumb {
    position: relative;
    width: 100%;
    height: 160px;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Red Play Icon Overlay (Top Left) */
.play-icon-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ec1c24; /* Red */
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Card Content Area */
.video-info {
    padding: 15px;
    text-align: center;
    height: 140px; /* Fixed height to align text */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.video-title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-black);
    margin-bottom: 10px;
}
.video-card:hover .video-title {
    color: var(--color-red);
}

.video-time {
    font-size: 13px;
    color: #666;
    display: block;
}

/* --- Navigation Buttons (Floating Arrows) --- */
.carousel-btn {
    position: absolute;
    top: 35%; /* Vertically centered on image */
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}
.carousel-btn:hover {
    background-color: #ec1c24;
}

.prev-btn { left: 0; }
.next-btn { right: 0; }

/* --- Pagination Dots --- */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #ddd;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background-color: #666;
}

/* Responsive */
@media (max-width: 991px) {
    .video-card {
        min-width: 240px;
    }
    /* Hide Nav buttons on mobile */
    .carousel-btn {
        display: none;
    }
}


/* =========================================
   PHOTO STORIES SECTION (Overlay Style)
   ========================================= */
.photo-stories-section {
    padding: 30px 0;
    background-color: #fff9f9; /* Light Pinkish background from screenshot */
    border-bottom: 1px solid #e1e1e1;
}

.stories-carousel-wrapper {
    position: relative;
    padding: 0 10px;
}

/* Track */
.stories-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    scrollbar-width: none;
}
.stories-track::-webkit-scrollbar { display: none; }

/* --- Story Card Styling --- */
.story-card {
    min-width: 280px; /* Card Width */
    max-width: 280px;
    height: 160px; /* Fixed Height */
    position: relative;
    display: block;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.story-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.story-card:hover img {
    transform: scale(1.05); /* Slight Zoom effect */
}

/* Dark Gradient Overlay */
.story-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 10%, rgba(0,0,0,0.4) 50%, transparent 100%);
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
}

/* Category Tag (Yellow) */
.story-cat {
    color: #f7941d; /* Yellow/Orange color */
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 5px;
    display: block;
}

/* Title (White) */
.story-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Nav Buttons specific to this section */
.prev-btn-story, .next-btn-story {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    color: #000;
    border: 1px solid #ddd;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s;
}
.prev-btn-story { left: -15px; }
.next-btn-story { right: -15px; }

.prev-btn-story:hover, .next-btn-story:hover {
    background-color: #ec1c24;
    color: #fff;
    border-color: #ec1c24;
}

/* Responsive */
@media (max-width: 991px) {
    .prev-btn-story, .next-btn-story { display: none; } /* Mobile hide buttons */
    .story-card { min-width: 260px; height: 150px; }
}


/* =========================================
   MIXED SECTION (Tabs + Sports + Sidebar)
   ========================================= */
.mixed-news-section {
    padding: 30px 0;
    border-bottom: 1px solid #e1e1e1;
    background-color: #fff;
}

.mixed-grid-layout {
    display: grid;
    /* Col 1 (25%), Col 2 (45%), Col 3 (30%) approx */
    grid-template-columns: 1fr 1.8fr 1fr;
    gap: 25px;
    align-items: start;
}

/* --- COLUMN 1: TABBED LIST --- */
.tabbed-col {
    border-right: 1px solid #e1e1e1;
    padding-right: 15px;
}

.tab-header {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}

/* Tab Button Style */
.tab-btn {
    background: none;
    border: none;
    padding: 10px 15px;
    font-size: 18px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    position: relative;
    font-family: var(--font-primary);
}
.tab-btn:hover { color: var(--color-black); }

.tab-btn.active {
    color: var(--color-black);
    font-weight: 700;
}
.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-red);
}

/* Tab Content Items */
.numbered-item {
    display: flex;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    align-items: flex-start;
    text-decoration: none; /* Link underline remove */
}
.numbered-item.border-none { border-bottom: none; }

.news-rank {
    font-size: 30px;
    font-weight: 700;
    color: #ccc; /* Light Grey Number */
    line-height: 1;
    min-width: 25px;
}

.rank-title {
    font-size: 19px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--color-black);
    margin: 0;
}
.numbered-item:hover .rank-title { color: var(--color-red); }


/* --- COLUMN 2: SPORTS FOCUS --- */
.sports-focus-col {
    border-right: 1px solid #e1e1e1;
    padding-right: 15px;
}

.section-header-simple {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 10px;
}
.blue-dot {
    width: 12px;
    height: 12px;
    background-color: #00aeef;
    border-radius: 50%;
}
.section-header-simple h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-black);
    margin: 0;
}

.sports-overlay-card {
    position: relative;
    display: block;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
    height: 320px;
}
.sports-overlay-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.sports-overlay-card:hover img { transform: scale(1.03); }

.overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}
.overlay-title {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.overlay-time { color: #ddd; font-size: 13px; }

/* Sub Grid */
.sports-sub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.sub-sports-card { display: block; }
.sub-thumb {
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: 2px;
}
.sub-thumb img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}
.sub-title {
    font-size: 19px;
    font-weight: 550;
    line-height: 1.4;
    color: var(--color-black);
    margin-bottom: 5px;
}
.sub-sports-card:hover .sub-title { color: var(--color-red); }
.sub-time { font-size: 12px; color: #888; }


/* --- COLUMN 3: SIDEBAR MIXED --- */
.ad-block-rect {
    margin-bottom: 25px;
    text-align: center;
}
.ad-block-rect img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.side-mini-item {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #eee;
    align-items: flex-start;
}
.side-mini-item.border-none { border-bottom: none; }

.side-mini-info { flex: 1; }
.side-mini-title {
    font-size: 19px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--color-black);
    margin-bottom: 5px;
}
.side-mini-item:hover .side-mini-title { color: var(--color-red); }
.side-time { font-size: 12px; color: #888; }

.side-mini-thumb {
    width: 90px;
    flex-shrink: 0;
}
.side-mini-thumb img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 2px;
}

/* Responsive */
@media (max-width: 991px) {
    .mixed-grid-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .tabbed-col, .sports-focus-col {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #e1e1e1;
        padding-bottom: 20px;
    }
    .sports-overlay-card { height: 250px; }
}
/* --- ADVERTISEMENT BLOCK FIX --- */
.ad-block-rect {
    margin-bottom: 25px;
    text-align: center;
    background-color: #f4f4f4; /* Fallback color */
    position: relative;
    display: block;
    width: 100%;
}

.ad-block-rect img {
    max-width: 100%;
    height: auto; /* Maintains aspect ratio */
    display: block;
    margin: 0 auto;
    border-radius: 4px;
}

.ad-label {
    display: block;
    font-size: 10px;
    color: #999;
    text-align: right;
    margin-top: 2px;
}

/* Tab Active State Enhancement */
.tab-btn.active {
    color: var(--color-black);
    font-weight: 700;
    border-bottom: 3px solid var(--color-red); /* Ensure red line shows */
}

/* =========================================
   BANGLADESH SECTION STYLES
   ========================================= */
.bangladesh-section {
    padding: 30px 0;
    border-bottom: 1px solid #e1e1e1;
    background-color: #fff;
}

/* Header with Red Line Top */
.section-header-red-line {
    border-top: 3px solid #ec1c24; /* Red Border */
    padding-top: 10px;
    margin-bottom: 20px;
}
.section-header-red-line h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-black);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- Filter Bar --- */
.location-filter-bar {
    background-color: #f7f7f7;
    padding: 15px 20px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.loc-label {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-black);
    display: flex;
    align-items: center;
    gap: 8px;
}
.red-icon-sm {
    color: var(--color-red);
    font-size: 16px;
    border: 1px solid var(--color-red);
    border-radius: 50%;
    padding: 3px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loc-inputs {
    display: flex;
    gap: 10px;
}

.filter-select {
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: 16px;
    min-width: 120px;
    color: #666;
    outline: none;
}

.filter-search-btn {
    background-color: #1a4f9c; /* Dark Blue */
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    font-family: var(--font-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.filter-search-btn:hover { background-color: #143d7a; }


/* --- Grid Layout (3 Cols) --- */
.bd-grid-layout {
    display: grid;
    /* Left: 35%, Middle: 35%, Right: 30% (Approx) */
    grid-template-columns: 1.3fr 1.3fr 1fr;
    gap: 25px;
    align-items: start;
}

/* Col 1: Large Feature */
.bd-col-large {
    padding-right: 15px;
    border-right: 1px solid #e1e1e1;
}
.bd-feat-img {
    width: 100%;
    margin-bottom: 10px;
}
.bd-feat-img img {
    width: 100%;
    height: auto;
    border-radius: 2px;
}
.mt-10 { margin-top: 10px; }


/* Col 2: Middle List */
.bd-col-middle-list {
    padding-right: 15px;
    border-right: 1px solid #e1e1e1;
}

/* Shared List Item Style */
.bd-list-item {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    align-items: flex-start;
}
.bd-list-item.border-none { border-bottom: none; }
.bd-list-item.small-pad { padding-bottom: 10px; margin-bottom: 10px; }

.bd-info { flex: 1; }
.bd-list-item:hover .news-title-sm { color: var(--color-red); }

.news-excerpt-xs {
    font-size: 16px;
    color: #555;
    margin-top: 5px;
    margin-bottom: 5px;
    line-height: 1.4;
}

.bd-thumb {
    width: 110px;
    flex-shrink: 0;
}
.bd-thumb img {
    width: 100%;
    height: 75px;
    object-fit: cover;
    border-radius: 2px;
}


/* Col 3: Right Sidebar & See More Box */
.bd-col-right-sidebar {
    /* No border right */
}

/* See More Box */
.see-more-box {
    background-color: #f2f2f2;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    margin-top: 20px;
}
.box-title {
    font-size: 16px;
    font-weight: 600;
    color: #666;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding: 0 10px;
    background: #f2f2f2;
    z-index: 2;
}
/* Line behind text */
.see-more-box { position: relative; }
.see-more-box::before {
    content: '';
    position: absolute;
    top: 25px; /* Adjust based on title pos */
    left: 15px;
    right: 15px;
    height: 1px;
    background: #ddd;
    z-index: 1;
}

.box-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 3; /* Above the line */
}
.box-links li { display: inline-block; }
.box-links a {
    display: inline-block;
    background: #fff;
    border: 1px solid #dcdcdc;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    color: #3b5998; /* Blue link color */
    text-decoration: none;
    transition: all 0.2s;
}
.box-links a i { margin-right: 5px; }
.box-links a:hover {
    border-color: #3b5998;
    background-color: #e9efff;
}


/* --- Responsive --- */
@media (max-width: 991px) {
    .location-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .loc-inputs {
        flex-direction: column;
    }
    
    .bd-grid-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .bd-col-large, .bd-col-middle-list {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #eee;
        padding-bottom: 20px;
    }
}

/* =========================================
   WORLD SECTION STYLES (Updated Height)
   ========================================= */
.world-section {
    padding: 30px 0;
    border-bottom: 1px solid #e1e1e1;
    background-color: #fff;
}

/* Header Style */
.world-header {
    border-top: 1px solid #ccc;
    padding-top: 10px;
    margin-bottom: 25px;
}
.world-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-red);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- Layout Grid --- */
.world-grid {
    display: grid;
    /* Left: 40%, Right: 60% approx */
    grid-template-columns: 1fr 1.5fr;
    gap: 25px;
    align-items: start;
}

/* --- Left Column --- */
.world-left-col {
    border-right: 1px solid #e1e1e1;
    padding-right: 25px;
}

.world-feature-card {
    display: block;
}
/* UPDATED: Increased Height for Main Image */
.world-feat-img {
    width: 100%;
    margin-bottom: 15px;
}
.world-feat-img img {
    width: 100%;
    height: 400px; /* হাইট বাড়ানো হয়েছে */
    object-fit: cover;
    border-radius: 2px;
}

.world-feature-card:hover .news-title-lg {
    color: var(--color-red);
}


/* --- Right Grid (2x2) --- */
.world-right-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0; 
}

.world-sub-card {
    display: block;
    padding: 0 15px 20px 15px; /* Spacing adjusted */
    margin-bottom: 15px;
}

/* Borders logic */
.world-sub-card.border-right {
    border-right: 1px solid #e1e1e1;
    padding-right: 20px;
    margin-right: 0;
}
.world-sub-card:not(.border-right) {
    padding-left: 20px;
    padding-right: 0;
}
.world-sub-card.border-bottom {
    border-bottom: 1px solid #e1e1e1;
    margin-bottom: 20px;
    padding-bottom: 20px;
}
/* Fix top padding for bottom row */
.world-right-grid > a:nth-child(3),
.world-right-grid > a:nth-child(4) {
    padding-top: 0;
}

/* UPDATED: Increased Height for Grid Images */
.sub-img {
    width: 100%;
    margin-bottom: 12px;
}
.sub-img img {
    width: 100%;
    height: 180px; /* থাম্বনেইল হাইট বাড়ানো হয়েছে */
    object-fit: cover;
    border-radius: 2px;
}

.world-sub-card:hover .news-title-sm {
    color: var(--color-red);
}


/* --- Responsive --- */
@media (max-width: 991px) {
    .world-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .world-left-col {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #e1e1e1;
        padding-bottom: 20px;
    }
    .world-feat-img img {
        height: auto; /* Mobile auto height */
        max-height: 300px;
    }
    
    .world-right-grid {
        gap: 20px;
    }
    .world-sub-card {
        padding: 0 !important;
        border: none !important;
        margin-bottom: 0;
    }
    .sub-img img {
        height: 140px; /* Mobile grid height */
    }
}

/* =========================================
   ENTERTAINMENT SECTION STYLES
   ========================================= */
.entertainment-section {
    padding: 30px 0;
    border-bottom: 1px solid #e1e1e1;
    background-color: #fff;
}

/* Header (Grey Top Border) */
.ent-header {
    border-top: 2px solid #666; /* Grey Line */
    padding-top: 10px;
    margin-bottom: 25px;
}
.ent-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-red);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- Grid Layout (3 Columns) --- */
.ent-grid {
    display: grid;
    /* Left: 1fr, Middle: 1.5fr, Right: 1fr */
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 0; /* Gaps handled by padding/borders */
    align-items: start;
}

/* --- Side Columns (Lists) --- */
.ent-col-list {
    padding: 0 20px;
}
.ent-col-list.border-right {
    border-right: 1px solid #e1e1e1;
    padding-left: 0; /* Leftmost col needs no left padding */
}
.ent-col-list.border-left {
    border-left: 1px solid #e1e1e1;
    padding-right: 0; /* Rightmost col needs no right padding */
}

/* List Item Style */
.ent-item {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    align-items: flex-start;
}
.ent-item.border-none {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.ent-info { flex: 1; }
.ent-item:hover .news-title-sm {
    color: var(--color-red);
}

.ent-thumb {
    width: 110px;
    flex-shrink: 0;
}
.ent-thumb img {
    width: 100%;
    height: 75px;
    object-fit: cover;
    border-radius: 2px;
}


/* --- Middle Column (Feature) --- */
.ent-col-feature {
    padding: 0 20px;
}

.ent-feature-card {
    display: block;
}
.ent-feat-img {
    width: 100%;
    margin-bottom: 15px;
}
.ent-feat-img img {
    width: 100%;
    height: 280px; /* Adjusted height for mid column */
    object-fit: cover;
    border-radius: 2px;
}

/* Reusing existing typography */
.ent-feature-card:hover .news-title-lg {
    color: var(--color-red);
}


/* --- Responsive --- */
@media (max-width: 991px) {
    .ent-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 30px;
    }
    
    .ent-col-list {
        padding: 0;
        border: none !important; /* Remove borders on mobile */
    }
    
    /* Order: Feature First */
    .ent-col-feature {
        order: -1;
        padding: 0;
        border-bottom: 1px solid #e1e1e1;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    
    .ent-feat-img img {
        height: auto;
    }
}

/* =========================================
   LIFESTYLE SECTION STYLES (4 Columns)
   ========================================= */
.lifestyle-section {
    padding: 30px 0;
    border-bottom: 1px solid #e1e1e1;
    background-color: #fff;
}

/* Header */
.life-header {
    border-top: 2px solid #666; /* Grey Top Line */
    padding-top: 10px;
    margin-bottom: 25px;
}
.life-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-red);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- 4 Column Grid --- */
.life-grid-four {
    display: grid;
    /* 4 Equal Columns */
    grid-template-columns: repeat(4, 1fr);
    gap: 0; /* Gaps handled by padding */
}

/* Vertical Card Style */
.life-card-vertical {
    display: block;
    padding: 0 15px; /* Side padding for spacing */
}

/* Borders between items */
.life-card-vertical.border-right {
    border-right: 1px solid #e1e1e1;
}

/* Fix padding for first and last item */
.life-grid-four .life-card-vertical:first-child {
    padding-left: 0;
}
.life-grid-four .life-card-vertical:last-child {
    padding-right: 0;
}

.life-thumb-lg {
    width: 100%;
    margin-bottom: 12px;
}
.life-thumb-lg img {
    width: 100%;
    height: 180px; /* Fixed height for consistent look */
    object-fit: cover;
    border-radius: 2px;
}

.life-info-vert h3 {
    margin-bottom: 8px;
}
.life-card-vertical:hover .news-title-md {
    color: var(--color-red);
}

/* Using existing .news-excerpt and .news-time classes */


/* --- Responsive --- */
@media (max-width: 991px) {
    .life-grid-four {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 30px;
    }
    .life-card-vertical {
        padding: 0 !important;
        border: none !important;
        border-bottom: 1px solid #eee !important;
        padding-bottom: 20px !important;
    }
    .life-card-vertical:last-child {
        border-bottom: none !important;
    }
    .life-thumb-lg img {
        height: auto;
    }
}


/* =========================================
   OPINION SECTION STYLES (CENTERED & HANGING)
   ========================================= */
.opinion-section {
    padding: 30px 0;
    border-bottom: 1px solid #e1e1e1;
    background-color: #fff;
}

/* Header */
.op-header {
    border-top: 2px solid #666;
    padding-top: 10px;
    margin-bottom: 25px;
}
.op-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-black);
    display: flex;
    align-items: center;
    gap: 8px;
}
.op-header h2 .red-arrow { font-size: 18px; color: var(--color-red); }

/* --- Grid Layout (Adjusted Ratio for Balance) --- */
.op-grid {
    display: grid;
    /* 1fr 1.4fr helps center content visually better than 1fr 2fr */
    grid-template-columns: 1fr 1.4fr; 
    gap: 50px; /* Increased gap */
    align-items: center; /* Vertically Centers Left & Right Columns */
}

/* --- Left Column: Hanging Card --- */
.op-col-left {
    padding-left: 15px; /* Compensate for negative margin */
}

.op-feat-card {
    display: block;
    border: 1px solid #ccc;
    padding: 0 0 25px 0;
    position: relative;
    background: #fff;
    transition: transform 0.2s;
}

/* The Hanging Box */
.op-hanging-box {
    background-color: #001030; /* Dark Blue */
    color: #fff;
    padding: 15px 20px;
    margin-left: -25px; /* Pulls box OUT left */
    margin-top: 30px;
    margin-bottom: 25px;
    width: calc(100% + 15px); /* Extends slightly right */
    box-shadow: 3px 3px 8px rgba(0,0,0,0.2);
}

.op-tags-line {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
}
.op-tag-yellow { color: #f7941d; }
.op-bullet-white { color: #fff; margin: 0 5px; font-size: 18px; }
.op-title-part { color: #fff; }

.op-title-main {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

/* Card Body */
.op-card-body { padding: 0 30px; }

.news-excerpt {
    font-size: 19px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Author Area */
.op-author-area {
    display: flex;
    align-items: center;
    gap: 15px;
}
.auth-icon-large {
    width: 65px; height: 65px;
    background-color: #e0e0e0;
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
}
.auth-details { display: flex; flex-direction: column; }
.auth-dash {
    display: block;
    width: 25px;
    border-top: 3px solid #ccc;
    margin-bottom: 5px;
}
.auth-name-bold {
    font-size: 19px;
    font-weight: 700;
    color: var(--color-black);
}

/* --- Right Column: List --- */
.op-col-right {
    padding-left: 0;
}

.op-list-item {
    display: flex;
    gap: 20px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #e1e1e1;
    align-items: flex-start;
}
.op-list-item.border-none {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.op-item-left { flex-shrink: 0; }
.auth-icon-circle {
    width: 55px; height: 55px;
    font-size: 20px;
    color: #888;
    background-color: #f1f1f1;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: 0.3s;
}

.op-item-right { flex: 1; }
.news-title-sm {
    font-size: 18px;
    font-weight: 550;
    line-height: 1.4;
    color: #111;
    margin-bottom: 5px;
}
.auth-name-sm {
    display: block;
    color: #666;
    font-size: 15px;
    font-weight: 500;
}

/* Hover Effects */
.op-feat-card:hover .op-hanging-box { background-color: #002050; }
.op-list-item:hover .news-title-sm { color: var(--color-red); }
.op-list-item:hover .auth-icon-circle {
    background-color: #e1e1e1;
    color: var(--color-red);
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .op-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .op-col-left { padding-left: 20px; }
}


/* =========================================
   BUSINESS SECTION STYLES
   ========================================= */
.business-section {
    padding: 30px 0;
    border-bottom: 1px solid #e1e1e1;
    background-color: #fff;
}

/* Header */
.bus-header {
    border-top: 2px solid #666; /* Grey Line */
    padding-top: 10px;
    margin-bottom: 25px;
}
.bus-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-red);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- Grid Layout --- */
.business-grid {
    display: grid;
    /* Col 1 is wider, Col 2 & 3 are equal */
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 0; /* Gaps handled by padding */
    align-items: start;
}

/* --- Column 1: Main Feature --- */
.bus-col-main {
    padding-right: 20px;
}
.bus-col-main.border-right {
    border-right: 1px solid #e1e1e1;
}

.bus-feature-card {
    display: block;
}
.bus-feat-img {
    width: 100%;
    margin-bottom: 15px;
}
.bus-feat-img img {
    width: 100%;
    height: auto; /* Height adapts based on content like image */
    max-height: 400px;
    object-fit: cover;
    border-radius: 2px;
}

.bus-feature-card:hover .news-title-lg {
    color: var(--color-red);
}


/* --- Columns 2 & 3: Sub Items --- */
.bus-col-sub {
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
/* Remove left padding for the last column if needed, but 20px is good for spacing */
.bus-col-sub.border-right {
    border-right: 1px solid #e1e1e1;
}

.bus-sub-item {
    display: block;
    padding-bottom: 20px;
}
.bus-sub-item.border-bottom {
    border-bottom: 1px solid #e1e1e1;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.bus-sub-img {
    width: 100%;
    margin-bottom: 10px;
}
.bus-sub-img img {
    width: 100%;
    height: 150px; /* Fixed height for sub items */
    object-fit: cover;
    border-radius: 2px;
}

.bus-sub-item:hover .news-title-sm {
    color: var(--color-red);
}


/* --- Responsive --- */
@media (max-width: 991px) {
    .business-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .bus-col-main, .bus-col-sub {
        padding: 0;
        border: none !important;
    }
    .bus-col-main {
        border-bottom: 1px solid #e1e1e1;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    .bus-sub-item {
        border-bottom: 1px solid #eee !important;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
}

/* =========================================
   SPECIAL 2-COL SECTION (Ektu Thamun & Haal Fashion)
   ========================================= */
.special-two-col-section {
    padding: 30px 0;
    border-bottom: 1px solid #e1e1e1;
    background-color: #fff;
}

.special-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

/* --- Left Column: Ektu Thamun --- */
.ektu-thamun-wrap {
    /* Basic Wrapper */
}

.et-header {
    background-color: #e6eff4; /* Light Blue Grey */
    text-align: center;
    padding: 10px;
    border-top: 2px solid #557c8f; /* Darker blue border */
    margin-bottom: 20px;
}
.et-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.et-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Feature wider than list */
    gap: 20px;
}

/* Feature Card */
.et-feature-card {
    display: block;
    border-right: 1px solid #e1e1e1;
    padding-right: 15px;
}
.et-feat-img {
    width: 100%;
    margin-bottom: 10px;
}
.et-feat-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 2px;
}
.et-feature-card:hover .news-title-md { color: var(--color-red); }

/* Side List */
.et-side-list {
    display: flex;
    flex-direction: column;
}
.et-mini-item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #eee;
}
.et-mini-item.border-none { border-bottom: none; }

.et-mini-info { flex: 1; }
.news-title-xs {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.35;
    color: #111;
    margin-bottom: 5px;
}
.et-mini-item:hover .news-title-xs { color: var(--color-red); }

.et-mini-thumb {
    width: 70px;
    flex-shrink: 0;
}
.et-mini-thumb img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 2px;
}


/* --- Right Column: Haal Fashion --- */
.haal-fashion-wrap {
    background-color: #fff9e6; /* Light Cream Background for entire box */
    height: 100%; /* Fill height */
}

/* Text Header Style */
.hf-header {
    text-align: center;
    padding: 10px 0;
    border-top: 3px solid #eeb713; /* Gold Top Border */
    border-bottom: 1px solid #eeb713; /* Gold Bottom Border */
    margin-bottom: 20px;
    background-color: #fff9e6;
    display: block;
}
.hf-header h3 {
    font-size: 28px;
    font-weight: 700;
    /* Gradient Text effect for colorful logo feel */
    background: -webkit-linear-gradient(45deg, #6a1b9a, #d81b60, #f57f17);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    line-height: 1;
}
.hf-subtitle {
    display: block;
    font-size: 12px;
    letter-spacing: 3px;
    color: #666;
    margin-top: 3px;
    text-transform: uppercase;
}

.hf-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
    padding: 0 15px 20px 15px; /* Inner Padding */
}

/* Feature Card */
.hf-feature-card {
    display: block;
    border-right: 1px solid #eaddc5; /* Darker cream border */
    padding-right: 15px;
}
.hf-feat-img {
    width: 100%;
    margin-bottom: 10px;
}
.hf-feat-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 2px;
}
.hf-feature-card:hover .news-title-md { color: var(--color-red); }

/* Side List */
.hf-side-list {
    display: flex;
    flex-direction: column;
}
.hf-mini-item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #eaddc5; /* Cream border */
}
.hf-mini-item.border-none { border-bottom: none; }

.hf-mini-info { flex: 1; }
.hf-mini-thumb {
    width: 70px;
    flex-shrink: 0;
}
.hf-mini-thumb img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 2px;
}
.hf-mini-item:hover .news-title-xs { color: var(--color-red); }


/* --- Responsive --- */
@media (max-width: 991px) {
    .special-grid {
        grid-template-columns: 1fr; /* Stack vertically on mobile */
        gap: 40px;
    }
    
    .et-content-grid, .hf-content-grid {
        grid-template-columns: 1fr; /* Stack inner grids on mobile */
    }
    
    .et-feature-card, .hf-feature-card {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #eee;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    .hf-feature-card {
        border-bottom-color: #eaddc5;
    }
}

/* =========================================
   FOR YOU SECTION STYLES (Based on Lifestyle 4-Col)
   ========================================= */
.foryou-section {
    padding: 30px 0;
    border-bottom: 1px solid #e1e1e1;
    background-color: #fff;
}

/* Header */
.foryou-header {
    border-top: 2px solid #666; /* Grey Top Line */
    padding-top: 10px;
    margin-bottom: 25px;
}
.foryou-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-red);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- 4 Column Grid --- */
.foryou-grid-four {
    display: grid;
    /* 4 Equal Columns */
    grid-template-columns: repeat(4, 1fr);
    gap: 0; /* Gaps handled by padding */
}

/* Vertical Card Style */
.foryou-card-vertical {
    display: block;
    padding: 0 15px; /* Side padding for spacing */
}

/* Borders between items */
.foryou-card-vertical.border-right {
    border-right: 1px solid #e1e1e1;
}

/* Fix padding for first and last item */
.foryou-grid-four .foryou-card-vertical:first-child {
    padding-left: 0;
}
.foryou-grid-four .foryou-card-vertical:last-child {
    padding-right: 0;
}

.foryou-thumb-lg {
    width: 100%;
    margin-bottom: 12px;
}
.foryou-thumb-lg img {
    width: 100%;
    height: 180px; /* Fixed height consistent with lifestyle */
    object-fit: cover;
    border-radius: 2px;
}

.foryou-info-vert h3 {
    margin-bottom: 8px;
}
.foryou-card-vertical:hover .news-title-md {
    color: var(--color-red);
}

/* Reusing global .news-excerpt and .news-time classes */


/* --- Responsive --- */
@media (max-width: 991px) {
    .foryou-grid-four {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 30px;
    }
    .foryou-card-vertical {
        padding: 0 !important;
        border: none !important;
        border-bottom: 1px solid #eee !important;
        padding-bottom: 20px !important;
    }
    .foryou-card-vertical:last-child {
        border-bottom: none !important;
    }
    .foryou-thumb-lg img {
        height: auto;
    }
}

/* =========================================
   PHOTO SECTION (WEB STORY STYLE) - FINAL
   ========================================= */
.photo-section-real {
    padding: 30px 0;
    border-bottom: 1px solid #e1e1e1;
    background-color: #fff;
}

/* Header Style */
.photo-header {
    border-top: 2px solid #666; /* Grey Line */
    padding-top: 10px;
    margin-bottom: 25px;
}
.photo-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-red);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- Layout Grid --- */
.photo-layout-grid {
    display: grid;
    /* Left: 60%, Right: 40% approx */
    grid-template-columns: 1.6fr 1fr;
    gap: 30px;
    align-items: start;
}

/* === LEFT: WEB STORY PLAYER === */
.story-player-container {
    position: relative;
    width: 100%;
    height: 420px; /* Fixed height for player */
    background-color: #000;
    overflow: hidden;
    margin-bottom: 15px;
    border-radius: 4px;
}

.story-player-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
}

/* --- Progress Bars --- */
.story-progress-bars {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    z-index: 10;
    display: flex;
    gap: 5px;
}
.prog-segment {
    flex: 1;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
}
.prog-fill {
    height: 100%;
    width: 0%;
    background-color: #fff;
    border-radius: 2px;
}
/* Animation Keyframes */
@keyframes fillStoryBar {
    from { width: 0%; }
    to { width: 100%; }
}
/* States managed by JS */
.prog-segment.active .prog-fill {
    animation: fillStoryBar 5s linear forwards;
}
.prog-segment.passed .prog-fill { width: 100%; }
.prog-segment.waiting .prog-fill { width: 0%; }


/* --- Counter (Top Left) --- */
.story-counter {
    position: absolute;
    top: 25px; /* Below progress bars */
    left: 15px;
    background-color: rgba(0,0,0,0.6);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    z-index: 5;
}

/* --- Controls (Top Right) --- */
.story-controls {
    position: absolute;
    top: 25px; /* Below progress bars */
    right: 15px;
    display: flex;
    gap: 8px;
    z-index: 5;
}
.ctrl-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.6);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: background 0.2s;
}
.ctrl-btn:hover { background-color: rgba(0,0,0,0.9); }

/* --- Caption Overlay (Bottom) --- */
.story-caption-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 15px 15px 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: #fff;
    z-index: 5;
}
.story-caption-overlay p {
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
    color: #f0f0f0;
    font-weight: 500;
}

/* --- Info Below Player --- */
.story-info-below .news-title-lg {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    margin-top: 0;
}
.story-info-below .news-title-lg:hover { color: var(--color-red); }


/* === RIGHT: STATIC PHOTO GRID (2 Columns) === */
.photo-right-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.photo-card-sm {
    display: block;
    text-decoration: none;
}

.photo-thumb-sm {
    position: relative;
    width: 100%;
    height: 110px;
    margin-bottom: 8px;
    overflow: hidden;
    border-radius: 2px;
}
.photo-thumb-sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.photo-card-sm:hover .photo-thumb-sm img {
    transform: scale(1.05);
}

/* Camera Icon Overlay */
.camera-icon {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: #ec1c24; /* Red */
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    z-index: 2;
}

.photo-card-sm .news-title-sm {
    font-size: 19px;
    font-weight: 550;
    line-height: 1.3;
    color: #333;
    margin-bottom: 4px;
}
.photo-card-sm:hover .news-title-sm { color: var(--color-red); }


/* --- Responsive --- */
@media (max-width: 991px) {
    .photo-layout-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .story-player-container {
        height: 300px;
    }
}

/* =========================================
   VIDEO SECTION STYLES (DARK THEME)
   ========================================= */
.video-section-dark {
    padding: 40px 0;
    background-color: #333333; /* Dark Grey Background matches screenshot */
    color: #fff;
}

/* Header */
.video-header {
    /* No top border in screenshot for this dark section, usually */
    margin-bottom: 25px;
}
.video-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #f7941d; /* Yellow/Gold Color from screenshot */
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}
.gold-arrow {
    font-size: 18px;
    color: #f7941d;
}

/* --- Layout Grid --- */
.video-layout-grid {
    display: grid;
    /* Left: 60%, Right: 40% approx */
    grid-template-columns: 1.6fr 1fr;
    gap: 30px;
    align-items: start;
}

/* Common Play Icon Style */
.vid-play-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 32px;
    height: 32px;
    background-color: #ec1c24; /* Red Circle */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    z-index: 5;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.vid-play-icon i {
    margin-left: 2px; /* Center visual fix for play triangle */
}


/* === LEFT COLUMN: LARGE VIDEO === */
.vid-col-large {
    /* Main container */
}

.vid-card-lg {
    display: block;
    text-decoration: none;
}

.vid-thumb-lg {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 15px;
}
.vid-thumb-lg img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}

.vid-title-lg {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    color: #fff; /* White Text */
    margin-bottom: 10px;
}

.vid-time {
    font-size: 13px;
    color: #bbb; /* Light Grey Time */
}

/* Hover Effect */
.vid-card-lg:hover .vid-title-lg {
    color: #f7941d; /* Gold on hover */
}


/* === RIGHT COLUMN: SMALL GRID === */
.vid-col-small-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.vid-card-sm {
    display: block;
    text-decoration: none;
}

.vid-thumb-sm {
    position: relative;
    width: 100%;
    height: 110px;
    overflow: hidden;
    margin-bottom: 10px;
    border-radius: 2px;
}
.vid-thumb-sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.vid-card-sm:hover .vid-thumb-sm img {
    transform: scale(1.05);
}

.vid-title-sm {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: #fff; /* White Text */
    margin-bottom: 8px;
}

/* Hover Effect */
.vid-card-sm:hover .vid-title-sm {
    color: #f7941d; /* Gold on hover */
}


/* --- Responsive --- */
@media (max-width: 991px) {
    .video-layout-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}


/* =========================================
   CATEGORY WISE SECTION (4 Cols)
   ========================================= */
.category-wise-section {
    padding: 30px 0;
    border-bottom: 1px solid #e1e1e1;
    background-color: #fff;
}

/* 4 Column Grid */
.cat-grid-four {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: start;
}

/* Column Styles */
.cat-col {
    /* Individual column wrapper */
}

/* Header */
.cat-header {
    border-top: 1px solid #ccc; /* Grey Top Line */
    padding-top: 10px;
    margin-bottom: 15px;
}
.cat-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-red); /* Red Title */
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
}
.cat-header .red-arrow {
    font-size: 14px;
}

/* Big News Card */
.cat-big-news {
    display: block;
    margin-bottom: 15px;
}
.cat-thumb {
    width: 100%;
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: 2px;
}
.cat-thumb img {
    width: 100%;
    height: 140px; /* Fixed height for consistency */
    object-fit: cover;
    transition: transform 0.3s;
}
.cat-big-news:hover .cat-thumb img {
    transform: scale(1.05);
}

.cat-big-news .news-title-md {
    font-size: 19px;
    font-weight: 550;
    line-height: 1.4;
    color: #111;
    margin: 0;
}
.cat-big-news:hover .news-title-md {
    color: var(--color-red);
}

/* List Items (Text Only) */
.cat-list {
    display: flex;
    flex-direction: column;
}

.cat-list-item {
    padding: 12px 0;
    border-top: 1px solid #eee; /* Separator Line */
    font-size: 17px;
    color: #333;
    line-height: 1.4;
    font-weight: 500;
    text-decoration: none;
    display: block;
}
.cat-list-item.border-none {
    border-bottom: none; /* Last item might not need border if grid spacing handles it */
}

.cat-list-item:hover {
    color: var(--color-red);
}


/* --- Responsive --- */
@media (max-width: 991px) {
    .cat-grid-four {
        grid-template-columns: 1fr 1fr; /* 2 cols on tablet */
        gap: 30px;
    }
}
@media (max-width: 576px) {
    .cat-grid-four {
        grid-template-columns: 1fr; /* 1 col on mobile */
    }
}


/* =========================================
   CATEGORY WISE SECTION (4 COLS)
   ========================================= */
.category-wise-section {
    padding: 30px 0;
    border-bottom: 1px solid #e1e1e1;
    background-color: #fff;
}

/* Grid Layout */
.cat-grid-four {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 Equal Columns */
    gap: 25px;
    align-items: start;
}

/* Header Style */
.cat-header {
    border-top: 1px solid #ccc; /* Grey Line on Top */
    padding-top: 10px;
    margin-bottom: 15px;
}
.cat-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-red); /* Red Title */
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}
.cat-header .red-arrow {
    font-size: 14px;
}

/* Main Feature News */
.cat-feature {
    display: block;
    margin-bottom: 15px;
}
.cat-thumb {
    width: 100%;
    height: 140px; /* Fixed height for consistency */
    overflow: hidden;
    margin-bottom: 10px;
    border-radius: 2px;
}
.cat-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.cat-feature:hover .cat-thumb img {
    transform: scale(1.05);
}
.cat-feature .news-title-md {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: #000;
    margin: 0;
}
.cat-feature:hover .news-title-md {
    color: var(--color-red);
}

/* List Items */
.cat-list-group {
    display: flex;
    flex-direction: column;
}
.cat-list-link {
    padding: 10px 0;
    border-top: 1px solid #eee; /* Separator Line */
    font-size: 15px;
    color: #333;
    line-height: 1.4;
    font-weight: 500;
    text-decoration: none;
    display: block;
}
.cat-list-link.border-none {
    border-bottom: none;
}
.cat-list-link:hover {
    color: var(--color-red);
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .cat-grid-four {
        grid-template-columns: 1fr 1fr; /* 2 Columns on Tablet */
        gap: 30px;
    }
}
@media (max-width: 576px) {
    .cat-grid-four {
        grid-template-columns: 1fr; /* 1 Column on Mobile */
    }
}

/* =========================================
   OTHERS SECTION (3 Cols Card Style)
   ========================================= */
.others-section {
    padding: 30px 0 50px 0;
    background-color: #fff;
    border-bottom: 1px solid #e1e1e1;
}

/* Section Header */
.sec-main-header {
    border-top: 2px solid #666; /* Top Grey Line */
    padding-top: 10px;
    margin-bottom: 25px;
}
.sec-main-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin: 0;
}

/* Grid Layout */
.others-grid-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Equal Columns */
    gap: 25px;
}

/* Card Styling */
.other-card {
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    transition: box-shadow 0.3s;
}
.other-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Small Red Header inside Card */
.card-cat-tag {
    font-size: 14px;
    font-weight: 700;
    color: #ec1c24; /* Red */
    border-bottom: 2px solid #ec1c24;
    display: inline-block;
    padding-bottom: 3px;
    margin-bottom: 15px;
    width: fit-content;
}

/* Thumbnail */
.other-feat-link {
    display: block;
    text-decoration: none;
    margin-bottom: 15px;
}
.other-thumb {
    width: 100%;
    height: 180px;
    overflow: hidden;
    margin-bottom: 12px;
    background: #f5f5f5; /* Fallback */
}
.other-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Contain used to show full illustration/product */
    /* If you want full cover like standard news, use 'cover' */
    /* object-fit: cover; */ 
    transition: transform 0.3s;
}
.other-feat-link:hover .other-thumb img {
    transform: scale(1.05);
}

/* Main Title inside Card */
.other-title-lg {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: #111;
    margin: 0;
}
.other-feat-link:hover .other-title-lg {
    color: #ec1c24;
}

/* List Items */
.other-list-group {
    margin-bottom: 20px;
    flex-grow: 1; /* Pushes button to bottom */
}
.other-list-item {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    color: #444;
    line-height: 1.4;
    text-decoration: none;
}
.other-list-item.border-none {
    border-bottom: none;
}
.other-list-item:hover {
    color: #ec1c24;
}

/* Helper for Red Text */
.red-text { color: #ec1c24; }

/* Blue Button Area */
.card-btn-area {
    text-align: center;
    border-top: 1px solid #eee; /* Light separator above button */
    padding-top: 20px;
}
.btn-blue-sm {
    display: inline-block;
    background-color: #0071bc; /* Blue Color */
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 30px;
    border-radius: 2px;
    text-decoration: none;
    transition: background 0.3s;
}
.btn-blue-sm:hover {
    background-color: #005a9c; /* Darker Blue */
    color: #fff;
}


/* --- Responsive --- */
@media (max-width: 991px) {
    .others-grid-three {
        grid-template-columns: 1fr 1fr; /* 2 cols */
    }
}
@media (max-width: 576px) {
    .others-grid-three {
        grid-template-columns: 1fr; /* 1 col */
    }
}

/* =========================================
   FOOTER SECTION STYLES (FULL & FINAL)
   ========================================= */
.main-footer {
    background-color: #fff;
    padding: 40px 0 30px 0;
    border-top: 1px solid #e1e1e1;
    margin-top: 40px;
    /* গ্লোবাল ফন্ট ফ্যামিলি বা ব্র্যান্ড ফন্ট */
    font-family: 'SolaimanLipi', 'Hind Siliguri', 'Arial', sans-serif;
}

/* Common Divider Line */
.footer-divider {
    height: 1px;
    background-color: #e1e1e1;
    margin: 30px 0;
}

/* 1. Logo Row */
.footer-logo-row {
    margin-bottom: 30px;
}
.footer-logo {
    height: 35px; /* লোগোর সাইজ অ্যাডজাস্টমেন্ট */
    width: auto;
}

/* 2. Main Links Grid */
.footer-links-grid {
    display: grid;
    /* ইমেজের মতো ৬ কলাম */
    grid-template-columns: repeat(6, 1fr); 
    gap: 20px;
}

.footer-links-grid a {
    font-size: 16px;
    color: #111;
    text-decoration: none;
    font-weight: 500;
    /* ব্র্যান্ড ফন্ট ফ্যামিলি এখানে নিশ্চিত করা হয়েছে */
    font-family: 'SolaimanLipi', 'Hind Siliguri', 'Arial', sans-serif;
}

.footer-links-grid a:hover {
    color: var(--color-red);
}

/* 3. Social & Apps Row */
.footer-social-apps-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.follow-text {
    display: block;
    font-size: 14px;
    color: #444;
    margin-bottom: 12px;
    font-weight: 600;
}

/* Social Icons */
.footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.social-icons {
    display: flex;
    gap: 10px;
}
.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: opacity 0.3s;
}
.social-btn:hover { opacity: 0.85; }

/* Social Brand Colors */
.social-btn.fb { background-color: #1877f2; }
.social-btn.x-twitter { background-color: #000; }
.social-btn.insta { 
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); 
}
.social-btn.yt { background-color: #ff0000; }
.social-btn.gnews { background-color: #4285F4; }

/* Apps Buttons */
.footer-apps {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.app-buttons {
    display: flex;
    gap: 15px;
}
.app-btn img {
    height: 40px;
    width: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* 4. Secondary Links Row (About, Ads etc.) */
.footer-secondary-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.footer-secondary-links a {
    font-size: 14px;
    color: #666;
    text-decoration: none;
    font-family: 'SolaimanLipi', 'Hind Siliguri', sans-serif;
}
.footer-secondary-links a:hover {
    color: var(--color-red);
    text-decoration: underline;
}
.dot-sep {
    color: #ccc;
    font-size: 12px;
    margin: 0 5px;
}

/* 5. Copyright Row */
.footer-copyright {
    text-align: center;
    color: #888;
    font-size: 13px;
    margin-top: -10px; /* ডিভাইডারের একটু কাছে আনার জন্য */
}
.footer-copyright p {
    margin: 0;
}
.v-line {
    margin: 0 8px;
    color: #ccc;
}


/* --- Responsive Design --- */
@media (max-width: 991px) {
    .footer-links-grid {
        grid-template-columns: repeat(3, 1fr); /* ট্যাবলেটে ৩ কলাম */
    }
    .footer-social-apps-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-apps {
        align-items: flex-start;
        margin-top: 15px;
    }
}

@media (max-width: 576px) {
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr); /* মোবাইলে ২ কলাম */
    }
    .app-buttons {
        flex-direction: row;
    }
    .footer-secondary-links {
        flex-direction: column;
        gap: 8px;
    }
    .dot-sep {
        display: none; /* মোবাইলে ডট সেপারেটর হাইড করা ভালো */
    }
    .v-line {
        display: none;
    }
    .footer-copyright p span {
        display: block; /* মোবাইলে কপিরাইট দুই লাইনে ভাঙার জন্য */
        margin-top: 5px;
    }
}


/* =========================================
   SINGLE NEWS PAGE STYLES (FULL)
   ========================================= */

.single-news-container {
    padding: 30px 0 50px 0;
    background-color: #fff;
    font-family: 'SolaimanLipi', 'Hind Siliguri', sans-serif; 
}

/* --- 3-Column Sticky Grid Layout --- */
.news-layout-grid {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) 320px;
    gap: 30px;
    align-items: start;
    position: relative;
}

/* ================= 1. LEFT STICKY SHARE BAR ================= */
.left-share-col {
    height: 100%;
}

/* Initially Hidden State */
.sticky-share-wrapper {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    padding: 10px 5px;
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    z-index: 100;
    border: 1px solid #f0f0f0;

    /* Hidden Properties */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease-in-out;
}

/* Visible State (Added via JS) */
.sticky-share-wrapper.show-on-scroll {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Arrow Button */
.share-toggle-btn {
    width: 100%;
    text-align: center;
    background-color: #666;
    color: #fff;
    border-radius: 20px 20px 0 0;
    padding: 6px 0;
    margin-top: -11px;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 12px;
}

.share-label-text {
    font-size: 11px;
    color: #666;
    margin-bottom: 8px;
    text-align: center;
}

/* Icons */
.share-circle, .tool-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 16px;
    transition: transform 0.2s;
}
.share-circle:hover, .tool-circle:hover { transform: scale(1.1); }

/* Left Bar Colors */
.fb { background-color: #1877f2; color: #fff; }
.x { background-color: #000; color: #fff; }
.red-share { background-color: #ffcccc; color: #ec1c24; }
.blue-txt { background-color: #0071bc; color: #fff; font-weight: 600; font-size: 13px; }
.dark-icon { background-color: #555; color: #fff; }
.light-icon { background-color: #eee; color: #555; }

.sep-line-hz {
    width: 20px;
    height: 1px;
    background-color: #ddd;
    margin: 5px 0 10px 0;
}

@media (max-width: 991px) {
    .m-logo img {
        height: 60px;
        margin-top: 5px;
    }
}

/* Google News Icon */
.gnews-icon-box {
    width: 36px;
    height: 36px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4285F4;
    font-size: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}


/* ================= 2. MAIN ARTICLE CONTENT ================= */
.news-main-col {
    width: 100%;
}

/* Category */
.news-cat-wrapper { margin-bottom: 10px; }
.cat-link-blue {
    color: #0071bc;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
}
.cat-link-blue:hover { border-color: #0071bc; }

/* Headline */
.main-headline-real {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.35;
    color: #111;
    margin-bottom: 15px;
}

.headline-sep {
    width: 30px;
    height: 4px;
    background-color: #ddd;
    margin-bottom: 15px;
}

/* Author */
.author-line {
    font-size: 16px;
    margin-bottom: 15px;
    color: #111;
}
.auth-name { font-weight: 700; }
.auth-loc { color: #666; font-weight: 400; margin-left: 5px; }

/* Meta Row & RESTORED TOP ICONS */
.meta-action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee; /* Added separator line */
}
.publish-date { font-size: 14px; color: #666; }

/* Top Action Icons Group (Restored) */
.action-icons-group {
    display: flex;
    gap: 8px;
}
.circle-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    transition: opacity 0.2s;
}
.circle-btn:hover { opacity: 0.8; }

/* Top Icon Colors */
.bg-fb { background-color: #1877f2; }
.bg-x { background-color: #000; }
.bg-share { background-color: #ec1c24; }
.bg-grey { background-color: #e1e1e1; color: #555; }
.bg-grey:hover { background-color: #d1d1d1; }


/* Featured Image */
.featured-image-wrap { margin: 0 0 30px 0; width: 100%; }
.featured-image-wrap img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 2px;
}
.img-caption-real {
    font-size: 15px;
    color: #444;
    padding: 10px 0 0 0;
    line-height: 1.4;
}
.cap-sep { color: #ccc; margin: 0 6px; }
.photo-credit { color: #777; font-size: 14px; }

/* --- Body Text Styles --- */
.news-body-content p {
    font-size: 20px;
    line-height: 1.6;
    color: #111;
    margin-bottom: 25px;
    font-weight: 400;
}

/* Highlight Box */
.news-highlight-box {
    background-color: #fff9e6;
    border-top: 3px solid #ec1c24;
    padding: 25px 30px;
    margin: 35px 0;
}
.news-highlight-box p {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    margin-bottom: 0;
}


@media (max-width: 991px) {
    .m-logo img
Specificity: (0,1,1)
 {
        height: 50px;
        margin-top: 5px;
    }
}

/* ================= 3. RIGHT STICKY SIDEBAR ================= */
.sticky-sidebar-right {
    position: sticky;
    top: 20px;
    align-self: start;
    height: fit-content;
}

.sidebar-widget { margin-bottom: 30px; }
.widget-header {
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}
.widget-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin: 0;
    padding-bottom: 8px;
    border-bottom: 3px solid #111;
    display: inline-block;
    margin-bottom: -1px;
}
.widget-header .red-arrow { font-size: 14px; color: #ec1c24; }

/* List Items */
.latest-item.small-thumb-layout {
    display: flex;
    gap: 15px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    align-items: flex-start;
}
.latest-item.border-none { border-bottom: none; }

.latest-thumb { flex-shrink: 0; width: 100px; height: 70px; }
.latest-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }

.latest-text .news-title-sm {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
    color: #111;
    margin-bottom: 5px;
}
.latest-item:hover .news-title-sm { color: #ec1c24; }
.news-time-sm { font-size: 13px; color: #888; }


/* =========================================
   PRINT STYLES
   ========================================= */
.print-brand-logo { display: none; }

@media print {
    /* Hide unwanted elements */
    header, footer, 
    .news-sidebar, .left-share-col,
    .headline-sep, .btn-blue-sm, 
    .nav-tool, .top-header, .mobile-top-bar, .navbar {
        display: none !important;
    }

    /* Show Print Logo */
    .print-brand-logo {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 2px solid #000;
    }
    .print-brand-logo img { height: 40px; width: auto; }
    .print-date { font-size: 14px; color: #000; font-weight: 600; }

    /* Layout Reset */
    .single-news-container { padding: 0; margin: 0; }
    .news-layout-grid { display: block; }
    .news-main-col { width: 100%; }

    /* Font Colors */
    body { background-color: #fff; color: #000; font-family: serif; }
    a { text-decoration: none; color: #000 !important; }
    .main-headline-real { font-size: 24pt; color: #000; }
    .news-body-content p { font-size: 12pt; line-height: 1.5; color: #000; }
}


/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 991px) {
    .news-layout-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .left-share-col { display: none; } /* Hide left on mobile */
    .sticky-sidebar-right { position: static; }
}
@media (max-width: 576px) {
    .main-headline-real { font-size: 26px; }
    .meta-action-row { flex-direction: column; align-items: flex-start; gap: 10px; }
    .news-body-content p { font-size: 18px; }
}



/* =========================================
   SUGGESTION NEWS SECTION
   ========================================= */

.suggestion-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e1e1e1; /* Separator line from top content */
}

/* Heading */
.suggestion-heading {
    font-size: 20px;
    font-weight: 700;
    color: #444;
    margin-bottom: 25px;
    font-family: 'SolaimanLipi', 'Hind Siliguri', sans-serif;
}

/* Grid Layout (4 Columns) */
.suggestion-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 items in a row */
    gap: 25px;
}

/* Card Style */
.suggestion-card {
    text-decoration: none;
    display: block;
    group: hover; /* For potential hover effects */
}

.sugg-thumb {
    width: 100%;
    height: 140px; /* Fixed height for uniformity */
    overflow: hidden;
    margin-bottom: 15px;
    background-color: #f5f5f5;
    border-radius: 2px;
}

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

.suggestion-card:hover .sugg-thumb img {
    transform: scale(1.05); /* Slight zoom on hover */
}

.sugg-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: #111;
    margin: 0 0 8px 0;
    font-family: 'SolaimanLipi', 'Hind Siliguri', sans-serif;
}

.logo-area .main-logo {
    height: 75px;
    display: block;
}

.suggestion-card:hover .sugg-title {
    color: #ec1c24; /* Red on hover */
}

.sugg-date {
    font-size: 13px;
    color: #888;
}

/* --- Responsive Layout --- */
@media (max-width: 991px) {
    .suggestion-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .suggestion-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
    .sugg-thumb {
        height: 180px; /* Taller image on mobile */
    }
}

/* Print Style */
@media print {
    .suggestion-section {
        display: none !important; /* Hide suggestions on print */
    }
}

/* =========================================
   MOBILE RESPONSIVE UPDATE (Thumbnail Left, Text Right)
   ========================================= */

@media (max-width: 576px) {
    /* Grid Layout for Mobile Card */
    .suggestion-card {
        display: grid;
        /* বাম পাশে ১১০ পিক্সেল ছবির জন্য, ডান পাশে বাকি জায়গা */
        grid-template-columns: 110px 1fr; 
        grid-template-rows: auto auto; /* দুই সারি: টাইটেল এবং তারিখ */
        gap: 0 15px; /* মাঝখানের গ্যাপ */
        align-items: start;
        border-bottom: 1px solid #eee;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    /* 1. Thumbnail (Left Side) */
    .sugg-thumb {
        grid-column: 1; /* ১ম কলামে (বামে) */
        grid-row: 1 / span 2; /* পুরো উচ্চতা জুড়ে */
        height: 80px; /* মোবাইলে ছবির ফিক্সড উচ্চতা */
        width: 100%;
        margin-bottom: 0;
        border-radius: 4px;
    }

    /* 2. Title (Right Side - Top) */
    .sugg-title {
        grid-column: 2; /* ২য় কলামে (ডানে) */
        grid-row: 1; /* ১ম সারিতে */
        font-size: 16px;
        margin-bottom: 5px;
        margin-top: -3px; /* ছবির ওপরের সাথে সমান করার জন্য */
    }

    /* 3. Date (Right Side - Bottom) */
    .sugg-date {
        grid-column: 2; /* ২য় কলামে (ডানে) */
        grid-row: 2; /* ২য় সারিতে */
        margin-top: auto;
    }

    /* লাস্ট আইটেমের বর্ডার রিমুভ */
    .suggestion-card:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
}



/* =========================================
   SINGLE CATEGORY PAGE STYLES
   ========================================= */

.cat-page-container {
    padding: 30px 0 50px 0;
    font-family: 'SolaimanLipi', 'Hind Siliguri', sans-serif;
}

/* 1. Category Title (Red Heading) */
.cat-header-title {
    border-bottom: 2px solid #e1e1e1;
    margin-bottom: 25px;
    position: relative;
}
.cat-header-title h1 {
    color: #ec1c24; /* Brand Red */
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    display: inline-block;
    border-bottom: 3px solid #ec1c24;
    padding-bottom: 5px;
    margin-bottom: -2px;
}

/* 2. Main Layout Grid (Left 2.5fr : Right 1fr) */
.cat-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr; 
    gap: 30px;
}

/* --- LEFT CONTENT AREA --- */
.cat-content-area {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Top Hero Row (Big Overlay Card + Standard Card) */
.cat-hero-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* 60% - 40% Split */
    gap: 20px;
}

/* Big Overlay Card Styles */
.cat-big-card {
    position: relative;
    height: 350px;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    display: block;
}
.cat-big-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.cat-big-card:hover img { transform: scale(1.05); }

.big-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0));
    padding: 20px;
    color: #fff;
}
.yellow-tag {
    color: #fdd835;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 5px;
    display: block;
}
.big-card-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    color: #fff;
}
.white-time { font-size: 13px; color: #ddd; }


/* Standard Card Styles */
.std-card {
    text-decoration: none;
    display: block;
    color: #111;
}
.std-thumb {
    height: 180px;
    width: 100%;
    overflow: hidden;
    margin-bottom: 10px;
    border-radius: 4px;
}
.std-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.std-card:hover .std-thumb img { transform: scale(1.05); }

.std-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
    transition: color 0.2s;
    color: #111;
}
.std-card:hover .std-title { color: #ec1c24; }

.std-excerpt {
    font-size: 17px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.std-time { font-size: 13px; color: #888; }
.red-kicker { color: #ec1c24; font-weight: 700; margin-right: 5px; }


/* Bottom Grid (3 Columns) */
.cat-bottom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}


/* --- RIGHT SIDEBAR --- */
.sidebar-ad-widget {
    margin-bottom: 30px;
    text-align: center;
}
.ad-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
    display: block;
}
.ad-box {
    width: 100%;
    max-width: 300px;
    height: 250px;
    background-color: #f5f5f5;
    border: 1px solid #e1e1e1;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.ad-box img { width: 100%; height: 100%; object-fit: cover; }


/* Sidebar Tabs */
.sidebar-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}
.tab-btn {
    flex: 1;
    padding: 10px;
    text-align: center;
    font-weight: 700;
    cursor: pointer;
    color: #666;
    border-bottom: 3px solid transparent;
}
.tab-btn.active {
    color: #111;
    border-bottom: 3px solid #111;
}

/* Numbered List */
.numbered-list-item {
    display: flex;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    align-items: flex-start;
}
.numbered-list-item:last-child { border-bottom: none; }

.num-count {
    font-size: 24px;
    font-weight: 700;
    color: #ccc;
    line-height: 1;
    min-width: 25px;
}
.list-title {
    font-size: 19px;
    color: #111;
    line-height: 1.4;
    font-weight: 600;
    margin: 0;
}
.numbered-list-item:hover .list-title { color: #ec1c24; }
.red-tag-sm { color: #ec1c24; font-size: 14px; margin-right: 5px; }


/* --- RESPONSIVE --- */
@media (max-width: 991px) {
    .cat-layout { grid-template-columns: 1fr; gap: 40px; }
    .cat-bottom-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
    .cat-hero-row { grid-template-columns: 1fr; }
    .cat-bottom-grid { grid-template-columns: 1fr; }
    .cat-big-card { height: 250px; }
    .big-card-title { font-size: 20px; }
}

/* =========================================
   TEXT SIZE UPDATE (CATEGORY PAGE)
   ========================================= */

/* ১. বড় কার্ডের টাইটেল (Hero Big Card) */
.big-card-title {
    font-size: 30px; /* আগে ছিল 24px */
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    color: #fff;
}

/* ২. সাধারণ কার্ডের টাইটেল (Standard Card Title) */
.std-title {
    font-size: 22px; /* আগে ছিল 18px */
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
    transition: color 0.2s;
    color: #111;
}

/* ৩. সাধারণ কার্ডের বিস্তারিত টেক্সট (Standard Card Excerpt) */
.std-excerpt {
    font-size: 19px; /* আগে ছিল 15px */
    color: #444; /* একটু গাঢ় করা হলো */
    line-height: 1.6;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ৪. সাইডবারের লিস্ট টাইটেল (Sidebar List Title) */
.list-title {
    font-size: 19px; /* আগে ছিল 16px */
    color: #111;
    line-height: 1.4;
    font-weight: 600;
    margin: 0;
}


/* =========================================
   SINGLE CATEGORY PAGE STYLES
   ========================================= */

.cat-page-container {
    padding: 30px 0 50px 0;
    font-family: 'SolaimanLipi', 'Hind Siliguri', sans-serif;
}

/* 1. Category Title (Red Heading) */
.cat-header-title {
    border-bottom: 2px solid #e1e1e1;
    margin-bottom: 25px;
    position: relative;
}
.cat-header-title h1 {
    color: #ec1c24; /* Brand Red */
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    display: inline-block;
    border-bottom: 3px solid #ec1c24;
    padding-bottom: 5px;
    margin-bottom: -2px;
}

/* 2. Main Layout Grid (Left 2.5fr : Right 1fr) */
.cat-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr; 
    gap: 30px;
}

/* --- LEFT CONTENT AREA --- */
.cat-content-area {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Top Hero Row (Big Overlay Card + Standard Card) */
.cat-hero-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* 60% - 40% Split */
    gap: 20px;
}

/* Big Overlay Card Styles */
.cat-big-card {
    position: relative;
    height: 350px;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    display: block;
}
.cat-big-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.cat-big-card:hover img { transform: scale(1.05); }

.big-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0));
    padding: 20px;
    color: #fff;
}
.yellow-tag {
    color: #fdd835;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 5px;
    display: block;
}
.big-card-title {
    font-size: 30px; /* Increased Size */
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    color: #fff;
}
.white-time { font-size: 13px; color: #ddd; }


/* Standard Card Styles */
.std-card {
    text-decoration: none;
    display: block;
    color: #111;
}
.std-thumb {
    height: 180px;
    width: 100%;
    overflow: hidden;
    margin-bottom: 10px;
    border-radius: 4px;
}
.std-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.std-card:hover .std-thumb img { transform: scale(1.05); }

.std-title {
    font-size: 22px; /* Increased Size */
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
    transition: color 0.2s;
    color: #111;
}
.std-card:hover .std-title { color: #ec1c24; }

.std-excerpt {
    font-size: 17px; /* Increased Size */
    color: #444;
    line-height: 1.6;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.std-time { font-size: 13px; color: #888; }
.red-kicker { color: #ec1c24; font-weight: 700; margin-right: 5px; }


/* Bottom Grid (3 Cards) */
.cat-bottom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}


/* --- RIGHT SIDEBAR --- */
.sidebar-ad-widget {
    margin-bottom: 30px;
    text-align: center;
}
.ad-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
    display: block;
}
.ad-box {
    width: 100%;
    max-width: 300px;
    height: 250px;
    background-color: #f5f5f5;
    border: 1px solid #e1e1e1;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.ad-box img { width: 100%; height: 100%; object-fit: cover; }


/* Sidebar Tabs */
.sidebar-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}
.tab-btn {
    flex: 1;
    padding: 10px;
    text-align: center;
    font-weight: 700;
    cursor: pointer;
    color: #666;
    border-bottom: 3px solid transparent;
}
.tab-btn.active {
    color: #111;
    border-bottom: 3px solid #111;
}

/* Numbered List */
.numbered-list-item {
    display: flex;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    align-items: flex-start;
}
.numbered-list-item:last-child { border-bottom: none; }

.num-count {
    font-size: 24px;
    font-weight: 700;
    color: #ccc;
    line-height: 1;
    min-width: 25px;
}
.list-title {
    font-size: 19px; /* Increased Size */
    color: #111;
    line-height: 1.4;
    font-weight: 600;
    margin: 0;
}
.numbered-list-item:hover .list-title { color: #ec1c24; }
.red-tag-sm { color: #ec1c24; font-size: 14px; margin-right: 5px; }


/* =========================================
   HORIZONTAL NEWS LIST (CENTERED)
   ========================================= */

.cat-horizontal-list {
    margin-top: 50px;       
    padding-top: 30px;
    border-top: 1px solid #e1e1e1;
    
    display: flex;
    flex-direction: column;
    gap: 25px;

    /* Centering Style */
    max-width: 900px;       
    margin-left: auto;      
    margin-right: auto;     
    width: 100%;
}

.horiz-news-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    text-decoration: none;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
    gap: 25px;
}
.horiz-news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Text Area */
.horiz-news-text {
    flex: 1;
}

.horiz-title {
    font-size: 24px;  
    font-weight: 700;
    line-height: 1.4;
    color: #111;
    margin: 0 0 10px 0;
    transition: color 0.2s;
}
.horiz-news-item:hover .horiz-title { color: #ec1c24; }

.horiz-excerpt {
    font-size: 17px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 12px;
}

.horiz-time { font-size: 14px; color: #888; }

/* Thumbnail Area */
.horiz-thumb {
    flex-shrink: 0;
    width: 260px;     
    height: 160px;
    border-radius: 4px;
    overflow: hidden;
}
.horiz-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.horiz-news-item:hover .horiz-thumb img { transform: scale(1.05); }


/* --- RESPONSIVE --- */
@media (max-width: 991px) {
    .cat-layout { grid-template-columns: 1fr; gap: 40px; }
    .cat-bottom-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .cat-horizontal-list { margin-top: 30px; }
    .horiz-news-item { flex-direction: column-reverse; }
    .horiz-thumb { width: 100%; height: 200px; }
}
@media (max-width: 576px) {
    .cat-hero-row { grid-template-columns: 1fr; }
    .cat-bottom-grid { grid-template-columns: 1fr; }
    .cat-big-card { height: 250px; }
    .big-card-title { font-size: 20px; }
}

/* =========================================
   LOAD MORE BUTTON STYLES
   ========================================= */

/* Initially hide extra news items */
.hidden-news {
    display: none !important;
}

/* Button Container */
.load-more-container {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
}

/* Button Style */
.load-more-btn {
    padding: 12px 40px;
    background-color: #fff;
    color: #111;
    border: 1px solid #ccc;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-family: 'SolaimanLipi', 'Hind Siliguri', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.load-more-btn:hover {
    background-color: #f9f9f9;
    border-color: #ec1c24; /* Red border on hover */
    color: #ec1c24;
}

.load-more-btn i {
    font-size: 14px;
}


/* =========================================
   VIDEO PAGE STYLES
   ========================================= */

/* 1. Video Page Header (White Area) */
.video-page-header {
    padding: 20px 0;
    background-color: #fff;
    font-family: 'SolaimanLipi', 'Hind Siliguri', sans-serif;
}

.vid-sec-title {
    color: #ec1c24; /* Red Brand Color */
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 15px 0;
}

.vid-sub-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.vid-sub-nav a {
    text-decoration: none;
    color: #111;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    padding-right: 15px;
}

/* Add separator dots after items except the last one */
.vid-sub-nav a:not(:last-child)::after {
    content: "•";
    position: absolute;
    right: 0;
    color: #0071bc; /* Blue dot */
    font-size: 12px;
    top: 50%;
    transform: translateY(-50%);
}
.vid-sub-nav a:hover { color: #ec1c24; }


/* 2. Video Hero Section (Dark Theme) */
.video-hero-dark-wrapper {
    background-color: #333; /* Dark Grey Background */
    padding: 30px 0 50px 0;
    color: #fff;
    font-family: 'SolaimanLipi', 'Hind Siliguri', sans-serif;
}

.video-hero-grid {
    display: grid;
    /* Left Column (Big) : Right Column (Grid of 4) */
    grid-template-columns: 1.8fr 1.2fr; 
    gap: 20px;
}

/* --- Left Main Video --- */
.video-card-big {
    display: block;
    text-decoration: none;
    color: #fff;
    background-color: #222; /* Card bg slightly darker */
    height: 100%; /* Match height */
}

.vid-thumb-big {
    position: relative;
    width: 100%;
    height: 380px; /* Fixed height for consistency */
    overflow: hidden;
}
.vid-thumb-big img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.video-card-big:hover .vid-thumb-big img { transform: scale(1.05); }

.vid-text-big {
    padding: 15px;
}
.vid-title-big {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 10px 0;
    color: #fff;
}
.video-card-big:hover .vid-title-big { color: #ccc; }


/* --- Right Sub Videos (Grid of 4) --- */
.video-sub-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 Columns */
    gap: 20px;
}

.video-card-small {
    display: block;
    text-decoration: none;
    color: #fff;
    background-color: #222;
}

.vid-thumb-small {
    position: relative;
    width: 100%;
    height: 140px;
    overflow: hidden;
}
.vid-thumb-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.video-card-small:hover .vid-thumb-small img { transform: scale(1.05); }

.vid-text-small {
    padding: 10px;
}
.vid-title-sm {
    font-size: 18px;
    font-weight: 550;
    line-height: 1.4;
    margin: 0 0 8px 0;
    color: #fff;
    /* Limit lines */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.video-card-small:hover .vid-title-sm { color: #ccc; }


/* --- Common Play Icon Style --- */
.play-icon-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
    background-color: #ec1c24; /* Red Circle */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.play-icon-overlay.sm {
    width: 30px;
    height: 30px;
    font-size: 12px;
}

/* Time Style */
.vid-time {
    font-size: 13px;
    color: #bbb; /* Light grey text */
}


/* --- Responsive --- */
@media (max-width: 991px) {
    .video-hero-grid {
        grid-template-columns: 1fr; /* Stack main and sub grid */
    }
    .vid-thumb-big {
        height: auto;
        aspect-ratio: 16/9;
    }
}

@media (max-width: 576px) {
    .video-sub-col-grid {
        grid-template-columns: 1fr; /* Stack small videos */
    }
    .vid-sec-title { font-size: 26px; }
}

/* =========================================
   BANGLADESH VIDEO SECTION (EXACT DESIGN)
   ========================================= */

.video-sec-bd {
    padding: 30px 0 50px 0;
    background-color: #fff;
    border-top: 1px solid #e1e1e1; /* Top separator line */
    font-family: 'SolaimanLipi', 'Hind Siliguri', sans-serif;
}

/* Header */
.bd-sec-header {
    margin-bottom: 20px;
}
.bd-sec-header h2 {
    font-size: 26px;
    font-weight: 700;
    color: #111;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.bd-sec-header .red-arrow {
    color: #ec1c24;
    font-size: 14px;
}


/* --- Main Layout Grid --- */
/* Left Content (3 parts) : Right Sidebar (1 part) */
.bd-layout-grid {
    display: grid;
    grid-template-columns: 3fr 1fr; 
    gap: 25px;
}


/* --- Left Content Area --- */
.bd-main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Top Row: Big Video (2fr) : Small Video (1fr) */
.bd-top-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

/* Big Video Card (Overlay Style) */
.bd-big-card {
    display: block;
    position: relative;
    text-decoration: none;
    height: 100%;
}
.bd-thumb-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 2px;
}
.bd-thumb-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.bd-big-card:hover .bd-thumb-overlay img { transform: scale(1.05); }

/* Overlay Gradient & Text */
.bd-overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0));
    padding: 15px;
    color: #fff;
}
.bd-title-lg {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 8px 0;
    color: #fff;
}
.bd-time-white {
    font-size: 13px;
    color: #ddd;
    opacity: 0.9;
}


/* Small Video Card (Standard Style) */
.bd-small-card {
    display: block;
    text-decoration: none;
    color: #111;
}
.bd-thumb-std {
    position: relative;
    width: 100%;
    /* Aspect Ratio approx 16:9 */
    padding-bottom: 56.25%; 
    background: #f0f0f0;
    overflow: hidden;
    border-radius: 2px;
    margin-bottom: 10px;
}
.bd-thumb-std img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.bd-small-card:hover .bd-thumb-std img { transform: scale(1.05); }

.bd-card-body h4.bd-title-sm {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 8px 0;
    color: #111;
    transition: color 0.2s;
}
.bd-small-card:hover .bd-card-body h4 { color: #ec1c24; }

.bd-time-gray {
    font-size: 13px;
    color: #666;
}


/* Divider Line */
.bd-divider-line {
    height: 1px;
    background-color: #e1e1e1;
    width: 100%;
}


/* Bottom Row: 3 Small Videos */
.bd-bottom-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}


/* --- Right Sidebar Column --- */
.grey-box-ad {
    background-color: #f5f5f5;
    height: 250px; /* Or adjust to match top row height if needed */
    width: 100%;
    border-radius: 2px;
}


/* --- Play Button (Red Corner) --- */
.play-btn-corner {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 36px;
    height: 36px;
    background-color: #ec1c24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.play-btn-corner.sm {
    width: 30px;
    height: 30px;
    font-size: 12px;
}


/* --- Responsive --- */
@media (max-width: 991px) {
    .bd-layout-grid {
        grid-template-columns: 1fr; /* Sidebar goes down */
    }
    .bd-sidebar-col { display: none; } /* Hide sidebar on tablet/mobile if wanted */
}

@media (max-width: 768px) {
    .bd-top-row {
        grid-template-columns: 1fr; /* Stack top row */
    }
    .bd-big-card {
        height: 250px; /* Fixed height on mobile */
    }
    .bd-bottom-row {
        grid-template-columns: 1fr; /* Stack bottom row */
    }
}


/* =========================================
   VIDEO CAROUSEL SECTION STYLES
   ========================================= */

.video-carousel-sec {
    padding: 30px 0 50px 0;
    background-color: #fff;
    border-top: 1px solid #e1e1e1;
    font-family: 'SolaimanLipi', 'Hind Siliguri', sans-serif;
}

/* Wrapper */
.carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden; /* Hide overflow */
}

/* Individual Slide */
.video-slide {
    display: none; /* Hidden by default */
    width: 100%;
    animation: fadeEffect 0.5s ease-in-out;
}
.video-slide.active {
    display: block; /* Show active slide */
}

/* Slide Animation */
@keyframes fadeEffect {
    from {opacity: 0.8;}
    to {opacity: 1;}
}

/* Image Box */
.slide-image-box {
    position: relative;
    width: 100%;
    height: 450px; /* Fixed height like screenshot */
    border-radius: 2px;
    overflow: hidden;
}
.slide-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Top Left Play Button */
.top-left-play-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background-color: #ec1c24; /* Red */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    z-index: 2;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Gradient Overlay & Text */
.slide-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* Dark gradient from bottom */
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0));
    padding: 40px 30px 25px 30px;
    color: #fff;
}

.slide-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.slide-time {
    font-size: 14px;
    color: #ccc;
    font-weight: 500;
}


/* Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 30px;
    cursor: pointer;
    padding: 10px;
    z-index: 10;
    transition: color 0.3s;
}
.slider-arrow:hover {
    color: #fff;
}
.prev-slide { left: 10px; }
.next-slide { right: 10px; }


/* Dots Navigation (Below Image) */
.slider-dots-container {
    text-align: center;
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    height: 10px;
    width: 10px;
    background-color: #bbb; /* Grey inactive */
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}
.dot.active, .dot:hover {
    background-color: #333; /* Black active */
}


/* Responsive */
@media (max-width: 768px) {
    .slide-image-box { height: 250px; }
    .slide-title { font-size: 20px; }
    .top-left-play-btn { width: 40px; height: 40px; font-size: 16px; }
}


/* =========================================
   SELECTED VIDEOS SECTION STYLES
   ========================================= */

.selected-videos-sec {
    padding: 40px 0 60px 0;
    background-color: #fff;
    font-family: 'SolaimanLipi', 'Hind Siliguri', sans-serif;
}

/* Header Style */
.simple-sec-header {
    border-bottom: 2px solid #ddd; /* Grey underline */
    margin-bottom: 30px;
}
.simple-sec-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #666; /* Grey text color like screenshot */
    margin: 0;
    padding-bottom: 10px;
    display: inline-block;
}

/* Grid Layout (4 Columns with Borders) */
.selected-vid-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0; /* Gap is 0 to manage borders manually */
}

/* Individual Card */
.sel-vid-card {
    text-decoration: none;
    color: #111;
    padding: 0 15px; /* Padding for spacing inside borders */
    border-right: 1px solid #e1e1e1; /* Vertical separator line */
    display: flex;
    flex-direction: column;
}

/* First item has no left padding */
.sel-vid-card:first-child {
    padding-left: 0;
}
/* Last item has no right border and padding */
.sel-vid-card:last-child {
    border-right: none;
    padding-right: 0;
}

/* Thumbnail */
.sel-vid-thumb {
    position: relative;
    width: 100%;
    height: 160px; /* Adjust height based on look */
    margin-bottom: 15px;
    border-radius: 2px;
    overflow: hidden;
}
.sel-vid-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.sel-vid-card:hover .sel-vid-thumb img { transform: scale(1.05); }

/* Play Button (Reusing class) */
.play-btn-corner {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 36px;
    height: 36px;
    background-color: #ec1c24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Text Content */
.sel-vid-title {
    font-size: 24px;
    font-weight:600;
    line-height: 1.4;
    color: #111;
    margin: 0 0 10px 0;
    transition: color 0.2s;
}
.sel-vid-card:hover .sel-vid-title { color: #ec1c24; }

.sel-vid-desc {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.sel-vid-date {
    font-size: 13px;
    color: #999; /* Light grey date */
    margin-top: auto; /* Pushes date to bottom if flex is used */
    display: block;
}


/* --- Responsive --- */
@media (max-width: 991px) {
    .selected-vid-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 cols on tablet */
        gap: 30px;
    }
    .sel-vid-card {
        border-right: none; /* Remove side borders */
        padding: 0;
        border-bottom: 1px solid #eee; /* Add bottom borders instead */
        padding-bottom: 20px;
    }
    .sel-vid-card:last-child { border-bottom: none; }
}

@media (max-width: 576px) {
    .selected-vid-grid {
        grid-template-columns: 1fr; /* 1 col on mobile */
    }
}


/* =========================================
   SPORTS VIDEO SECTION STYLES
   ========================================= */

.video-sec-sports {
    padding: 30px 0 60px 0;
    background-color: #fff;
    border-top: 1px solid #e1e1e1;
    font-family: 'SolaimanLipi', 'Hind Siliguri', sans-serif;
}

/* Layout Grid: Left (45%) : Right (55%) approx */
.sports-layout-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr; 
    gap: 20px;
}

/* --- Left Column: Big Vertical Card --- */
.sports-big-card {
    display: block;
    height: 100%;
    text-decoration: none;
}
.sports-thumb-overlay {
    position: relative;
    width: 100%;
    height: 100%; /* Fill container height */
    min-height: 400px; /* Ensure minimum height */
    border-radius: 2px;
    overflow: hidden;
}
.sports-thumb-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.sports-big-card:hover .sports-thumb-overlay img { transform: scale(1.05); }


/* --- Right Column: Top Grid + Bottom Wide --- */
.sports-right-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Top Row (2 items) */
.sports-sub-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    height: 50%; /* Top half */
}

.sports-thumb-overlay.sm {
    height: 100%;
    min-height: 180px;
}
.sports-sm-card {
    display: block;
    height: 100%;
    text-decoration: none;
}
.sports-sm-card:hover img { transform: scale(1.05); }


/* Bottom Row (1 item) */
.sports-sub-bottom {
    height: 50%; /* Bottom half */
}
.sports-thumb-overlay.wide {
    height: 100%;
    min-height: 200px;
}
.sports-wide-card {
    display: block;
    height: 100%;
    text-decoration: none;
}
.sports-wide-card:hover img { transform: scale(1.05); }


/* --- Overlay Styles (Shared) --- */
.sports-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0));
    padding: 20px 15px 15px 15px;
    color: #fff;
    pointer-events: none; /* Let clicks pass through if needed */
}

/* Titles */
.sports-title-lg {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.sports-title-med {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.sports-title-sm {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 6px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    /* Limit lines for small cards */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sports-time {
    font-size: 13px;
    color: #ddd;
    font-weight: 500;
}


/* --- Responsive --- */
@media (max-width: 991px) {
    .sports-layout-grid {
        grid-template-columns: 1fr; /* Stack layout on tablet */
    }
    .sports-thumb-overlay {
        height: 300px; /* Fixed height for big card on mobile */
    }
}

@media (max-width: 576px) {
    .sports-sub-top {
        grid-template-columns: 1fr; /* Stack small cards on mobile */
    }
    .sports-thumb-overlay.sm {
        height: 200px;
    }
}


/* =========================================
   MORE VIDEOS SECTION STYLES
   ========================================= */

.more-videos-sec {
    padding: 30px 0 60px 0;
    background-color: #fff;
    font-family: 'SolaimanLipi', 'Hind Siliguri', sans-serif;
    /* Optional: Limit width to center content if desired, or keep full container */
}

/* List Container */
.more-vid-list {
    display: flex;
    flex-direction: column;
    /* Optional: Max width for better readability on large screens */
    max-width: 900px; 
    margin: 0 auto; 
}

/* Individual Item */
.more-vid-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    text-decoration: none;
    padding: 25px 0;
    border-bottom: 1px solid #e1e1e1; /* Separator line */
    gap: 25px;
}
.more-vid-item:last-child {
    border-bottom: none;
}

/* Left Text Area */
.more-vid-text {
    flex: 1; /* Takes remaining space */
}

.mv-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    color: #111;
    margin: 0 0 10px 0;
    transition: color 0.2s;
}
.more-vid-item:hover .mv-title { color: #ec1c24; }

.red-prefix {
    color: #ec1c24;
    font-weight: 700;
}

.mv-time {
    font-size: 14px;
    color: #888;
}

/* Right Thumbnail Area */
.more-vid-thumb {
    flex-shrink: 0;
    width: 220px; /* Fixed width for consistency */
    height: 125px;
    position: relative;
    border-radius: 2px;
    overflow: hidden;
}

.more-vid-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.more-vid-item:hover .more-vid-thumb img { transform: scale(1.05); }


/* --- Responsive --- */
@media (max-width: 576px) {
    .more-vid-item {
        flex-direction: column-reverse; /* Stack Image on top of Text */
        gap: 15px;
    }
    .more-vid-thumb {
        width: 100%;
        height: 200px;
    }
    .mv-title {
        font-size: 18px;
    }
}


/* =========================================
   SEARCH BOX STYLES (ADDED)
   ========================================= */
.main-search-area {
    display: none; /* শুরুতে লুকানো থাকবে */
    background-color: #f8f9fa;
    border-bottom: 1px solid #e1e1e1;
    padding: 20px 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 5px 10px rgba(0,0,0,0.05);
}

/* যখন জাভাস্ক্রিপ্ট দিয়ে active ক্লাস যোগ হবে */
.main-search-area.active {
    display: block;
    animation: slideDown 0.3s ease;
}

/* হেডার রিলেটিভ পজিশন করা যাতে সার্চ বক্স ঠিকমত বসে */
header {
    position: relative;
}

.search-form-grid {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 20px;
    font-size: 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-primary);
    outline: none;
    transition: border-color 0.3s;
}

.search-input:focus {
    border-color: var(--color-red);
}

.search-submit-btn {
    background-color: var(--color-red);
    color: #fff;
    border: none;
    padding: 0 25px;
    height: 50px; /* ইনপুটের উচ্চতার সমান */
    font-size: 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-submit-btn:hover {
    background-color: #c4161c;
}

.close-search {
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.3s;
}

.close-search:hover {
    color: var(--color-red);
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* মোবাইলে সার্চ বক্স অ্যাডজাস্টমেন্ট */
@media (max-width: 576px) {
    .search-form-grid {
        gap: 10px;
    }
    .search-input {
        font-size: 16px;
        padding: 10px 15px;
        height: 45px;
    }
    .search-submit-btn {
        height: 45px;
        padding: 0 15px;
    }
}

/* =========================================
   AJAX SEARCH RESULTS STYLES
   ========================================= */
.ajax-results-box {
    position: absolute;
    top: 60px; /* ইনপুট ফিল্ডের নিচে */
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 0 0 8px 8px;
    z-index: 1001;
    display: none; /* শুরুতে লুকানো */
    overflow: hidden;
    border: 1px solid #eee;
}

.search-results-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.search-results-list li {
    border-bottom: 1px solid #f1f1f1;
}

.ajax-search-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    text-decoration: none;
    transition: background 0.2s;
}

.ajax-search-item:hover {
    background-color: #f9f9f9;
}

.s-thumb {
    width: 60px;
    height: 40px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
}

.s-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.s-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.ajax-search-item:hover h4 {
    color: var(--color-red);
}

.s-info span {
    font-size: 12px;
    color: #888;
}

.view-all-li {
    text-align: center;
    background-color: #f8f8f8;
}

.view-all-results {
    display: block;
    padding: 12px;
    font-weight: 600;
    color: var(--color-red);
    font-size: 15px;
}

.view-all-results:hover {
    text-decoration: underline;
}

.no-results {
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 15px;
}

.eng-btn.active-lang {
    background-color: #e1e1e1;
    color: var(--color-red);
    font-weight: bold;
}

/* =========================================
   TRANSLATION LAYOUT FIX (FINAL)
   Tools Top, Menu Bottom (Scrollable)
   ========================================= */
@media screen and (min-width: 992px) {
    /* যখন পেজ ইংরেজিতে অনুবাদ করা হবে */
    body.translated-ltr .navbar {
        flex-wrap: wrap;      /* ভেঙে নিচে নামার অনুমতি */
        padding-top: 15px;
        padding-bottom: 15px;
        gap: 0;
    }

    /* ১. টুলসগুলো (Search, Login) সবার উপরে থাকবে */
    body.translated-ltr .nav-right {
        width: 100%;
        order: 1;             /* অর্ডার ১ মানে এটি প্রথমে দেখাবে */
        justify-content: flex-end; /* ডানদিকে থাকবে */
        border-bottom: 1px solid #e1e1e1; /* নিচে হালকা দাগ */
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    /* ২. ক্যাটাগরি মেনু নিচে থাকবে এবং স্ক্রল করা যাবে */
    body.translated-ltr .nav-left {
        width: 100%;
        order: 2;             /* অর্ডার ২ মানে এটি পরে দেখাবে */
        overflow: hidden;     /* বাইরে যাওয়া অংশ লুকাবে */
    }

    body.translated-ltr .nav-left ul {
        display: flex;
        flex-wrap: nowrap !important; /* এক লাইনেই থাকবে, ভাঙবে না */
        overflow-x: auto;            /* হরাইজন্টাল স্ক্রল চালু হবে */
        white-space: nowrap;         /* টেক্সট ভাঙবে না */
        justify-content: flex-start; /* বাম দিক থেকে শুরু */
        padding-bottom: 5px;         /* স্ক্রলবারের জন্য জায়গা */
        gap: 20px;
    }

    /* সুন্দর স্ক্রলবার ডিজাইন (Optional) */
    body.translated-ltr .nav-left ul::-webkit-scrollbar {
        height: 4px;
    }
    body.translated-ltr .nav-left ul::-webkit-scrollbar-track {
        background: #f1f1f1; 
    }
    body.translated-ltr .nav-left ul::-webkit-scrollbar-thumb {
        background: var(--color-red); /* আপনার ব্র্যান্ড কালার */
        border-radius: 4px;
    }
}

