
/* Premium Bangla Newspaper Styles */

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

:root {
    --primary-color: #8B0000; /* Deep Maroon */
    --primary-dark: #660000;
    --secondary-color: #1a1a1a;
    --accent-color: #f8f9fa;
    --border-color: #e5e7eb;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --news-font: 'Noto Sans Bengali', 'Siyam Rupali', 'Hind Siliguri', sans-serif;
    --ui-font: 'Inter', 'Siyam Rupali', sans-serif;
}

/* Base Styles */
body {
    font-family: var(--news-font) !important;
    color: var(--text-main);
    background-color: #fff;
    line-height: 1.6;
}

/* Top Utility Bar */
.top-utility-bar {
    background-color: var(--accent-color);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    position: relative;
    z-index: 200001;
    display: block !important;
}

.date-info {
    font-weight: 500;
}

.newspaper-accent {
    color: var(--primary-color) !important;
    font-weight: 600;
}

#Clock-main, #Clock {
    font-family: var(--ui-font);
    font-weight: 600;
    color: var(--primary-color);
}

.utility-links a {
    margin-left: 20px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* Header */
header.non-sticky {
    z-index: 200000;
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.logo img {
    max-height: 80px;
}

/* Navigation Menu */
#top-nav {
    background-color: #fff;
    border-top: 2px solid var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li a {
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

nav ul li a:hover {
    color: var(--primary-color);
    background-color: var(--accent-color);
    border-bottom-color: var(--primary-color);
}

/* Breaking News Ticker */
.breaking-news-ticker {
    background-color: var(--primary-color);
    color: white;
    padding: 0;
    overflow: hidden;
    height: 40px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--primary-dark);
    margin-bottom: 20px;
}

.ticker-wrapper {
    display: flex;
    width: 100%;
    align-items: center;
}

.ticker-label {
    background-color: var(--primary-dark);
    color: white;
    padding: 0 20px;
    font-weight: 700;
    height: 40px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.ticker-label::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 10px solid var(--primary-dark);
}

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

.ticker-content marquee {
    padding-top: 4px;
}

.ticker-content a {
    color: white !important;
    text-decoration: none;
    font-weight: 500;
    margin: 0 15px;
}

/* Editorial Sections */
.premium-news-section {
    padding: 20px 0;
}

.common-border-box {
    background-color: #fff;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    height: 100%;
    transition: box-shadow 0.3s ease;
}

.common-border-box:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Section Titles */
.common-border-box .title, 
#video-gallery .title,
.premium-news-section h3,
.premium-news-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    font-family: var(--news-font);
}

.common-border-box .title::before,
#video-gallery .title::before,
.premium-news-section h3::before,
.premium-news-section h2::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Lead News Style */
.lead-news .title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-top: 15px;
    color: var(--text-main);
}

.lead-news .summery {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-top: 10px;
    line-height: 1.6;
}

/* News Cards */
.news-content-box .title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-main);
    margin: 10px 0;
}

.imgWrep {
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    background-color: #f0f0f0;
}

.imgWrep img {
    transition: transform 0.5s ease;
    width: 100%;
    height: auto;
    display: block;
}

.common-card-content:hover img, 
.flex-content:hover img {
    transform: scale(1.05);
}

/* Sidebar Styling */
.tab_bar_block_stories {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 15px;
}

.tab_bar_block_stories li {
    flex: 1;
    text-align: center;
}

.tab_bar_block_stories li.active a {
    border-bottom: 3px solid var(--primary-color);
    color: var(--primary-color) !important;
}

.tab_bar_block_stories li a {
    display: block;
    padding: 10px;
    font-weight: 700;
    color: var(--text-muted) !important;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 4rem 0;
    margin-top: 40px;
}

footer h4 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;
}

footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .lead-news .title {
        font-size: 1.6rem;
    }
    
    .ticker-label {
        padding: 0 10px;
        font-size: 0.9rem;
    }
    
    .top-utility-bar .utility-links {
        display: none;
    }
    
    .top-utility-bar .date-info {
        text-align: center;
        width: 100%;
        font-size: 0.8rem;
    }
    
    nav ul {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 5px;
    }
    
    nav ul li a {
        padding: 10px 15px;
        font-size: 1rem;
        white-space: nowrap;
    }
}
