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

@font-face {
    font-family: 'VarendraAP';
    src: url('../../fonts/VarendraAP-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}



:root {
    --primary: #005000;
    --theme-red: #e00000;
    --secondary: #222;
    --accent: #f5f5f5;
    --text: #333;
    --light-text: #666;
    --white: #fff;
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
    --font-bn: 'VarendraAP', 'Hind Siliguri', 'Anek Bangla', 'SolaimanLipi', sans-serif;
    --font-en: 'Inter', 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tt-primary-bg {
    background-color: var(--primary);
}

.news-title-1 {
    font-family: var(--font-bn);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-bn);
    background-color: #ffffff;
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

html {
    overflow-x: hidden;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

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



/* =========================================
   NEW AMAR SANGBAD STYLE HEADER
   ========================================= */
#main-nav {
    background: #ffffff !important;
    border-bottom: 1px solid #eaeaea;
    border-top: 1px solid #eaeaea;
}
#nav-menu {
    gap: 15px;
}
#nav-menu > li > a {
    color: #111111 !important;
    font-size: 17px;
    font-weight: 700;
    padding: 15px 5px !important;
    border-bottom: 3px solid transparent !important;
    transition: all 0.3s ease;
    background: transparent !important;
}
#nav-menu > li.active > a, 
#nav-menu > li:hover > a {
    color: #e00000 !important;
    border-bottom: 3px solid #e00000 !important;
    background: transparent !important;
}
.header-meta-links .meta-item {
    transition: color 0.3s;
}
.header-meta-links .meta-item:hover {
    color: #e00000 !important;
}
.dark-mode #main-nav, .dark-mode header.d-none.d-lg-block {
    background: #1a1a1a !important;
    border-color: #333 !important;
}
.dark-mode #nav-menu li a, .dark-mode .header-meta-links, .dark-mode .header-meta-links a {
    color: #eeeeee !important;
}
/* =========================================
   PREMIUM SECTION HEADER DESIGN (Black Arrow Badge)
   ========================================= */
.news-section-header, .section-header-premium {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background: #ffffff;
    height: 42px;
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05); /* Subtle shadow for the white bar */
    position: relative;
    border-radius: 2px;
}

.cat-title-badge, .section-title-badge {
    background: #005000;
    color: #ffffff !important;
    padding: 0 40px 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 19px;
    font-weight: 700;
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 0 100%);
    box-shadow: none;
    letter-spacing: 0.5px;
    position: relative;
    border-radius: 0;
    border-left: 5px solid #e30000;
}

.cat-title-badge::before, .section-title-badge::before,
.cat-title-badge::after, .section-title-badge::after {
    display: none;
}

.section-more-link, .more-link {
    font-size: 15px;
    font-weight: 700;
    color: #333333 !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    padding: 0 15px;
    height: 100%;
}

.section-more-link:hover, .more-link:hover {
    color: #e00000000 !important;
}

.section-more-link i, .more-link i {
    font-size: 18px;
    margin-left: 8px;
    color: #111111;
    transition: transform 0.3s ease;
}

.section-more-link:hover i, .more-link:hover i {
    color: #e00000000;
    transform: translateX(3px);
}

@media (max-width: 576px) {
    .cat-title-badge, .section-title-badge {
        font-size: 17px;
        padding: 0 30px 0 15px;
    }
}


/* Header and Footer Font Override (Remove custom body font from UI elements) */
header, #main-nav, .header-meta-links, footer, .footer, .footer-area {
    font-family: 'Hind Siliguri', 'Anek Bangla', 'SolaimanLipi', sans-serif !important;
}