
/* 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 */
    --secondary-color: #1a1a1a;
    --accent-color: #f8f9fa;
    --border-color: #e5e7eb;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --news-font: 'Hind Siliguri', sans-serif;
    --ui-font: 'Inter', sans-serif;
}

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

/* Header Redesign */
#midHeader {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.logo img {
    max-height: 80px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.02);
}

#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);
}

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

#top-nav nav ul li a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-main);
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

#top-nav nav ul li a:hover {
    color: var(--primary-color);
    background-color: rgba(139, 0, 0, 0.05);
}

/* Section Titles */
.common-border-box .title, 
#video-gallery .title,
#static_opinion .menu-link {
    font-family: var(--news-font);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

/* News Cards */
.common-card-content, .flex-content {
    border: none !important;
    padding: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
}

.common-card-content:hover, .flex-content:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.imgWrep img {
    border-radius: 6px;
    transition: transform 0.5s ease;
}

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

.title {
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 700;
    margin-top: 10px;
    color: var(--text-main);
    transition: color 0.2s ease;
}

.title:hover {
    color: var(--primary-color) !important;
}

/* Lead Section */
.topfirst-leadnews .title {
    font-size: 2rem;
    line-height: 1.2;
}

.topfirst-leadnews .summery {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-top: 15px;
}

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

.tab_bar_block_stories li a {
    color: var(--text-main) !important;
}

/* Breaking News Ticker */
.breaking-news-ticker {
    background: #fff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
    margin-bottom: 15px;
    font-family: var(--news-font);
}

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

.ticker-label {
    background: var(--primary-color);
    color: #fff;
    padding: 4px 15px;
    font-weight: 700;
    border-radius: 4px;
    margin-right: 20px;
    white-space: nowrap;
    font-size: 0.9rem;
    position: relative;
}

.ticker-label::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 10px solid var(--primary-color);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

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

.ticker-content marquee {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-main);
}

.ticker-content marquee span {
    margin: 0 20px;
    color: var(--primary-color);
}

/* Footer Improvements */
footer {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 3rem 0;
}

footer a {
    color: #cbd5e1;
    transition: color 0.2s ease;
}

footer a:hover {
    color: #fff;
}

/* Glassmorphism for search/notification dropdowns */
.dropdown_menu {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border-radius: 12px !important;
}

/* Buttons */
.more a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.more a i {
    transition: transform 0.2s ease;
}

.more a:hover i {
    transform: translateX(4px);
}
