:root {
    --primary-blue: #0056b3;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --accent-red: #ff0000;
}

body {
    font-family: 'Hind Siliguri', sans-serif;
    background-color: var(--light-bg);
    color: #1e293b;
    scroll-behavior: smooth;
}

/* ==================== HEADER & TICKER ==================== */
.sticky-header-container {
    position: sticky;
    top: 0;
    z-index: 2000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.ticker-container {
    background: var(--accent-red);
    height: 40px;
    display: flex;
    align-items: center;
}
.ticker-label {
    background: #b30000;
    color: white;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap;
}
marquee { 
    color: white; 
    font-size: 15px; 
    font-weight: 500; 
}

.navbar-floating {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 10px 0;
}
.nav-link { 
    font-weight: 600; 
    color: #334155 !important; 
    font-size: 15px;
}
.nav-link:hover, .nav-link.active { 
    color: var(--primary-blue) !important; 
}

/* মেনু ডিভাইডার */
@media (min-width: 1200px) {
    .navbar-nav .nav-item:not(:last-child) {
        position: relative;
    }
    .navbar-nav .nav-item:not(:last-child)::after {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        height: 18px;
        width: 1px;
        background-color: #cbd5e1;
    }
}

.navbar-nav .nav-link {
    margin: 0 5px !important;
    padding: 8px 15px !important;
    border-radius: 8px;
}

.navbar-nav .nav-link.active {
    background-color: var(--primary-blue) !important;
    color: #fff !important;
}

/* ==================== LIVE SECTION ==================== */
.live-section { 
    background: var(--light-bg); 
    padding: 40px 0; 
}
.video-frame-wrapper {
    margin: 0 auto;
    padding: 0 22px;
}
.video-container { 
    position: relative; 
    width: 100%; 
    padding-top: 56.25%; 
    background: #000; 
    border-radius: 15px;
    overflow: hidden;
    border: 8px solid #222;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.video-container iframe { 
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    border: none; 
}
.live-indicator {
    position: absolute; 
    top: 20px; 
    left: 115px;
    background: var(--accent-red);
    color: #fff; 
    padding: 5px 15px; 
    border-radius: 4px; 
    font-weight: bold; 
    z-index: 10;
    animation: pulse 1.5s infinite;
}
@keyframes pulse { 
    0% { opacity: 1; } 
    50% { opacity: 0.5; } 
    100% { opacity: 1; } 
}

/* ==================== FOOTER ==================== */
footer { 
    background: var(--dark-bg); 
    color: #94a3b8; 
    padding: 60px 0 20px; 
    margin-top: 60px; 
}
.footer-logo { 
    color: #fff; 
    font-weight: 800; 
    font-size: 26px; 
    margin-bottom: 15px; 
}
.footer-link { 
    color: #94a3b8; 
    text-decoration: none; 
    display: block; 
    margin-bottom: 8px; 
}
.footer-link:hover { 
    color: #fff; 
}

/* Responsive */
@media (max-width: 768px) { 
    .video-frame-wrapper { padding: 0 15px; } 
    .live-indicator { left: 30px; }
}

/* ==================== CONTENT STYLES ==================== */

/* Section Header */
.section-header {
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    border-left: 5px solid var(--primary-blue); 
    padding-left: 15px; 
    margin: 40px 0 20px;
}
.section-header h3 { 
    font-weight: 700; 
    margin: 0; 
    font-size: 22px; 
}
.view-all { 
    text-decoration: none; 
    color: var(--primary-blue); 
    font-weight: 600; 
    font-size: 14px; 
}

/* News Cards */
.news-card {
    border: none; 
    background: #fff; 
    border-radius: 12px; 
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); 
    transition: 0.3s; 
    height: 100%;
}
.news-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 12px 24px rgba(0,0,0,0.1); 
}
.img-box { 
    position: relative; 
    height: 180px; 
    overflow: hidden; 
}
.img-box img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: 0.5s; 
}
.news-card:hover .img-box img { 
    transform: scale(1.08); 
}
.cat-badge { 
    position: absolute; 
    top: 12px; 
    left: 12px; 
    padding: 3px 10px; 
    font-size: 11px; 
    color: #fff; 
    border-radius: 4px; 
    font-weight: 600; 
}

.card-content { 
    padding: 15px; 
}
.card-title { 
    font-size: 16px; 
    font-weight: 700; 
    line-height: 1.4; 
    margin-bottom: 8px; 
}
.card-title a { 
    text-decoration: none; 
    color: #0f172a; 
    transition: 0.2s; 
}
.card-title a:hover { 
    color: var(--primary-blue); 
}

/* বিস্তারিত নিউজ পেজ (bistarito.blade.php) */
.details-wrapper { 
    background: #fff; 
    padding: 25px; 
    border-radius: 8px; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
    margin-bottom: 20px; 
}
.main-title { 
    font-size: 32px; 
    font-weight: 700; 
    line-height: 1.4; 
    color: #000; 
    margin-bottom: 15px; 
}
.reporter-info { 
    font-size: 14px; 
    color: #666; 
    border-top: 1px solid #eee; 
    border-bottom: 1px solid #eee; 
    padding: 10px 0; 
    margin-bottom: 20px; 
}
.article-body { 
    font-size: 19px; 
    line-height: 1.8; 
    color: #333; 
    text-align: justify; 
}
.feature-img-box { 
    max-width: 700px; 
    margin: 0 auto 20px auto; 
}
.feature-img-box img { 
    width: 100%; 
    border-radius: 8px; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); 
}

/* ক্যাটাগরি পেজ */
.category-header { 
    border-bottom: 3px solid var(--primary-blue); 
    margin: 30px 0; 
    padding-bottom: 5px; 
}
.category-header h2 { 
    font-weight: 800; 
    color: #000; 
    display: inline-block; 
}
.main-feat-card { 
    background: #fff; 
    border-radius: 12px; 
    overflow: hidden; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); 
    margin-bottom: 40px; 
}
.main-feat-img { 
    height: 450px; 
    width: 100%; 
    object-fit: cover; 
}
.main-feat-content { 
    padding: 30px; 
}
.news-grid-card { 
    background: #fff; 
    border-radius: 10px; 
    overflow: hidden; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); 
    height: 100%; 
    transition: 0.3s; 
    border: 1px solid #eee; 
}
.news-grid-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); 
}
.grid-img { 
    height: 180px; 
    width: 100%; 
    object-fit: cover; 
}
.grid-content { 
    padding: 15px; 
}
.grid-title { 
    font-size: 17px; 
    font-weight: 700; 
    line-height: 1.4; 
    color: #1e293b; 
    text-decoration: none; 
    display: block; 
}
.grid-title:hover { 
    color: var(--primary-blue); 
}
.news-meta { 
    font-size: 12px; 
    color: #64748b; 
    margin-top: 10px; 
}

/* Sidebar */
.sidebar-title { 
    font-size: 20px; 
    font-weight: 700; 
    color: #fff; 
    background: var(--primary-blue); 
    padding: 10px 15px; 
    border-radius: 5px 5px 0 0; 
    margin-bottom: 0; 
}
.latest-news-list { 
    background: #fff; 
    border: 1px solid #eee; 
    border-radius: 0 0 5px 5px; 
    padding: 10px; 
    list-style: none; 
}
.latest-item { 
    border-bottom: 1px solid #f1f5f9; 
    padding: 12px 0; 
    transition: 0.3s; 
    display: flex; 
    align-items: flex-start; 
    gap: 10px; 
    text-decoration: none; 
}
.latest-item:hover { 
    background: #f8fafc; 
}
.latest-num { 
    background: #e2e8f0; 
    color: #475569; 
    font-weight: 700; 
    min-width: 28px; 
    height: 28px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 50%; 
    font-size: 14px; 
}
.latest-text { 
    font-size: 15px; 
    font-weight: 600; 
    color: #1e293b; 
    line-height: 1.4; 
}

/* Advertisement Spaces */
.ad-space, .ad-sidebar, .ad-banner-horizontal {
    background: #f1f5f9; 
    border: 2px dashed #cbd5e1; 
    border-radius: 8px; 
    padding: 30px 15px; 
    text-align: center; 
    margin-top: 25px; 
    color: #64748b; 
}

.somoy-card {
    border: none; 
    background: #fff; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.06); 
    height: 100%; 
    transition: 0.3s; 
    border-radius: 8px; 
    overflow: hidden; 
}
.card-thumb { 
    position: relative; 
    height: 140px; 
    overflow: hidden; 
}
.card-thumb img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.list-news-item { 
    display: flex; 
    gap: 15px; 
    padding: 15px 0; 
    border-bottom: 1px solid #e2e8f0; 
    text-decoration: none; 
}
.list-news-img { 
    width: 100px; 
    height: 80px; 
    object-fit: cover; 
    border-radius: 6px; 
}
.list-news-text { 
    font-weight: 600; 
    color: #334155; 
    font-size: 15px; 
    line-height: 1.3; 
}