/*  Base Styles */
@font-face {
    font-family: 'SolaimanLipi';
    src: url('./assets/font/SolaimanLipi/SolaimanLipi_22-02-2012.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SolaimanLipiB';
    src: url('./assets/font/SolaimanLipi/SolaimanLipi_Bold_10-03-12.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

* {
    font-family: Georgia, 'Times New Roman', Times, serif !important;
}

b, strong, .fw-bold {
    font-family: Georgia, 'Times New Roman', Times, serif !important;    
    font-weight: 700;
    letter-spacing: 0.2px;
}
:root {
    --maroon: #8b0000;
    --red: #d32f2f;
    --green: #1b5e20;
    --gray-bg: #ffffff; 
    --border: #ececec; 
    --text-main: #1a1a1a; 
}

body {
    background-color: #ffffff;
    background-image: radial-gradient(#e0e0e0 0.2px, transparent 0.2px);
    background-size: 24px 24px;
}
.featured-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 1) 0%,        
        rgba(93, 0, 0, 0.95) 30%, 
        rgba(93, 0, 0, 0.4) 70%,    
        transparent 100%);         
    padding: 100px 20px 25px;  
    z-index: 5;
}

.featured-overlay-content h2 {
    font-size: 2.2rem !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    line-height: 1.2;
    margin-bottom: 10px !important;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.8);
    
}

.featured-overlay-content .author-tag {
    background-color: #ffc107 !important;
    color: #000 !important;
    padding: 2px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.85rem;
    display: inline-block;
}
.main-featured-container:hover .featured-overlay-content {
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 1) 0%, 
        rgba(139, 0, 0, 1) 50%, 
        transparent 100%);
    transition: all 0.5s ease;
}


.main-featured-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9; 
}

.main-featured-container .featured-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 1) 0%, 
        rgba(139, 0, 0, 1) 50%, 
        transparent 100%);
    padding: 60px 20px 25px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.main-featured-container .news-badge {
    background-color: #f82b5d;
    color: white !important;
    padding: 3px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    display: inline-block;
    width: fit-content;
    font-weight: 600;
}

.main-featured-container h2 {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 2rem;
    line-height: 1.3;
    margin-top: 10px !important;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
    
    padding: 7px 0;

    /* লাইন ক্ল্যাম্পের মূল কোড */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;}

.main-featured-container .author-info {
    color: #e0e0e0 !important;
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.9;
}

.main-featured-container .img-zoom-hover img {
    transition: transform 0.6s ease;
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.main-featured-container:hover .img-zoom-hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .main-featured-container h2 {
        font-size: 1.4rem;
    }
    .main-featured-container {
        aspect-ratio: 4 / 3; 
    }
}



.border_brand {border-color: var(--maroon) !important;}
.bg-maroon { background-color: var(--maroon); }

body {
    /* background-color: var(--gray-bg);
    background-image: 
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 30px 30px;
    background-attachment: fixed; */
    /* design one end */
    /* background-color: #ffffff;
    background-image: repeating-linear-gradient(
        45deg,
        var(--gray-bg),
        var(--gray-bg) 10px,
        #ffffff 10px,
        #ffffff 20px
    );
    background-attachment: fixed; */

    /*background-color: var(--gray-bg);*/
    /*background-image: radial-gradient(var(--border) 1px, transparent 1px);*/
    /*background-size: 20px 20px;*/
    /*background-attachment: fixed;*/

    
    /*font-family: 'SolaimanLipi', sans-serif;*/
    /*color: var(--text-main);*/
    /*line-height: 1.6;*/
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

a:hover {
    color: var(--red);
}
.img-zoom-hover {
    border-radius: 5px;
    display: block;
    position: relative;
    aspect-ratio: 16 / 9; 
    overflow:hidden;
}

.img-zoom-hover img {
    transition: transform 0.3s ease-in-out !important;
    /* Image jate stretch na hoye phero box fill kore */
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.img-zoom-hover:hover img {
    transform: scale(1.03);
    border-radius: 5px !important;
    transform: scale(1.08);
}

.small-img-card {
    display: flex;
    gap: 10px;
    align-items: center;
}
.small-img-card img {
    aspect-ratio: 16 / 9;
    width: 100px !important;
    height: 60px !important;
}
.top-header {
    background: var(--maroon);
    color: white;
    font-size: 13px;
    padding: 6px 0;
}

.navbar-wrapper {
    position: sticky !important;
    top: 0;
    z-index: 9999;
    background: #fff;
}


.main-logo {
    max-height: 50px;
}

.nav-link {
    /*font-weight: 700;*/
    color: #333 !important;
    border-bottom: 3px solid transparent;
}
.mobile-menu-trigger {
    font-size: 28px;
    cursor: pointer;
    color: #333;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: -300px; 
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 9999;
    transition: 0.4s ease;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    padding: 20px;
}

.mobile-drawer.active {
    left: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}



.close-drawer {
    font-size: 30px;
    cursor: pointer;
    color: #ff0000;
}

.drawer-menu {
    list-style: none;
    padding: 0;
}

.drawer-menu li {
    margin-bottom: 15px;
}

.drawer-menu li a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: 500;
    display: block;
    transition: 0.3s;
}

.drawer-menu li a:hover {
    color: #007bff;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 9998;
}

.drawer-overlay.active {
    display: block;
}

.nav-link:hover {
    border-color: var(--green);
}
.trending-title {
    color: #fff;
    border: 1px solid var(--maroon);
    background: var(--maroon);
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 13px;
    margin-right: 8px;
    white-space: nowrap;
}
.trending-link {
    background: #fff;
    border: 1px solid var(--maroon);
    color: var(--maroon);
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 13px;
    margin-right: 8px;
    white-space: nowrap;
}
.trending-title, .btn-more {
    background: linear-gradient(90deg, #8b0000 0%, #e31e24 100%) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.2);
    transition: transform 0.2s ease;
}

.btn-more:hover {
    color:white;
    transform: translateY(-2px);
    background: linear-gradient(90deg, #e31e24 0%, #8b0000 100%) !important;
}



.sec-title {
    border-bottom: 2px solid var(--border);
    display: flex;
}

.title-text {
    border-left: 5px solid var(--red);
    padding-left: 15px;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: -2px; 
    background: #fff;
}

.banner-title {
    background: var(--maroon);
    color: #fff;
    padding: 15px;
    text-align: center;
    border-radius: 5px;
}

.news-img-wrapper img {
    width: 100%; 
    height: auto;
    object-fit: cover;
}

@media (min-width: 768px) {
    .news-img-wrapper {
        min-width: 300px;
        max-width: 300px;
    }
    .border-start-md {
        border-left: 1px solid #dee2e6 !important;
    }
}

@media (max-width: 767px) {
    .border-start-md {
        border-left: none !important; 
    }
    .content {
        padding-left: 0 !important; 
    }
    .title {
        font-size: 1.25rem; 
    }
}

/* Global News Card Styles */
.news-card-global {
    display: flex;
    gap: 2px;
    text-decoration: none;
    color: var(--text-main);
    transition: 0.3s;
}

.news-card-global:hover .title {
    color: var(--red);
}


.news-card-global .content {
    flex: 0 0 60%;
}
.news-card-global .img-box {
    flex: 0 0 40%;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.1);
}

.news-card-global .title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 5px;
    padding-top: 3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-card-global .description {
    font-size: 0.9rem;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Featured Big Card */
.featured-news-card {
    margin-bottom: 20px;
    padding-bottom: 15px;
}

.featured-news-card h2 {
    padding: 2px;
    color: var(--text-main);
    font-weight: 800;
    font-size: 1.8rem;
    margin-top: 15px;
    line-height: 1.5;
    max-height: calc(2 * 1.5 * 2rem);
    padding:6px 0 ;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow: hidden;
    text-overflow: ellipsis;
}
.featured-news-card img {
    max-height: 200px;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover;
}
/* Custom styling for Middle Featured Card in Entertainment */
.middle-featured-card {
    text-align: center;
}

.middle-featured-card img {
    width: 100%;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover;
    margin-bottom: 15px;
}

.middle-featured-card .title {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.4;
    color: var(--text-main);
}

.author-tag {
    background-color: #eee;
    padding: 2px 8px;
    font-size: 0.85rem;
    display: inline-block;
}

.news-card-v {
    background: transparent;
    text-decoration: none;
    color: var(--text-main);
    display: block;
    transition: 0.3s ease;
    height: 100%;
}

.news-card-v:hover .card-title {
    color: var(--maroon);
}


/* .img-box {*/
/*    position: relative;*/
/*}*/

/*.img-box::after {*/
/*    content: "";*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 50%;*/
/*    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);*/
/*    pointer-events: none;*/
/*} */
.news-card-v .img-box {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid rgba(0,0,0,0.1);
}

.news-card-v .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-card-v .img-box img:hover {
    transform: scale(1.05);
}

.news-card-v .card-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Saltamami Section Specific */
.saltamami-section .container-fluid {
    background: linear-gradient(135deg, #fdf2f2 0%, #fff5f5 100%) !important;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.banner-ad img, .nav-ad img {
    width: 100%;
    height: auto;
    display: block;
}
@media (max-width: 767px) {
    .row {
        margin-top: 20px !important;
    }
}
.section-title {
    border-bottom: 2px solid #570303; 
    margin: 25px 0;
    padding-bottom: 5px;
    display: block;
}

.section-title h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #570303;
    padding-left: 0;
}

.section-title h2::before {
    display: none;
}

/* Sidebar Tab Customization */
.sidebar-tabs .nav-link {
    color: var(--text-main);
    font-weight: 700;
    border: none;
    background-color: #eee;
    border-radius: 0;
    margin-right: 2px;
}

.sidebar-tabs .nav-link.active {
    background-color: #fff !important;
    border-top: 3px solid var(--maroon) !important;
}


.elaka-filter {
    background-color: var(--gray-bg);
    padding: 15px;
    border-bottom: 1px solid var(--border);
}

.elaka-filter select {
    border-radius: 0;
    border: 1px solid var(--border);
}

.btn-search-global {
    background-color: var(--maroon);
    color: white;
    border-radius: 0;
    padding: 6px 25px;
}

.btn-more {
    background-color: var(--maroon);
    color: white;
    width: 100%;
    border-radius: 4px;
    padding: 10px;
    font-weight: bold;
    text-decoration: none;
    display: block;
    text-align: center;
}

/* Footer */
.border-top-maroon {
    border-top: 4px solid var(--maroon);
}

.footer-logo {
    color: var(--red);
    font-weight: 700;
}

.footer-logo .green {
    color: var(--green);
}