/*
Theme Name: 2BanglaNews Theme
Theme URI: https://www.facebook.com/N.A.Lebu
Author: Nur Amin Lebu
Author URI: https://www.facebook.com/N.A.Lebu
Description: A newspaper theme developed by Nur Amin Lebu
Version: 1.0
Text Domain: 2banglanews
*/



:root {
    --primary-color: #1a365d; /* Dark Blue */
    --secondary-color: #dc2626; /* Red */
    --accent-color: #2563eb; /* Lighter Blue */
    --text-color: #1f2937;
    --light-bg: #f3f4f6;
    --border-color: #e5e7eb;
}

body {
    font-family: 'Hind Siliguri', sans-serif;
    color: var(--text-color);
    background-color: #f8f9fa; /* Light grey background for the whole site */
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: 0.2s;
}

a:hover {
    color: var(--accent-color);
}

/* --- Typography Helpers --- */
.fw-bold { font-weight: 700 !important; }
.fw-medium { font-weight: 500 !important; }

/* --- Header --- */
.top-bar {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
    color: #666;
}

.site-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
    line-height: 1;
}

.site-title span { color: var(--secondary-color); }

.main-navigation {
    background-color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.main-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.main-navigation ul li a {
    display: block;
    padding: 14px 18px;
    color: #fff;
    font-weight: 500;
    font-size: 1.05rem;
}

.main-navigation ul li a:hover {
    background-color: rgba(255,255,255,0.15);
}

/* --- Single Post Styles --- */
.entry-content p {
    margin-bottom: 1.5rem;
}

/* Tags Styling (Includes Sidebar Tag Cloud) */
.tags a,
.widget_tag_cloud a {
    display: inline-block;
    padding: 5px 12px;
    margin-right: 5px;
    margin-bottom: 5px;
    background-color: #fff;
    border: 1px solid #dee2e6;
    color: #495057;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.2s;
    text-decoration: none;
}

.tags a:hover,
.widget_tag_cloud a:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    text-decoration: none;
}

/* Archive Description Box */
.archive-description {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Related News Cards */
.hover-shadow:hover {
    transform: translateY(-3px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

.hover-primary:hover {
    color: var(--accent-color) !important;
}

/* --- Ticker --- */
.news-ticker-wrap {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
}

.ticker-title {
    background: var(--secondary-color);
    color: white;
    padding: 8px 20px;
    font-weight: bold;
    font-size: 0.95rem;
    position: relative;
}

.ticker-title:after {
    content: '';
    position: absolute;
    right: -10px;
    top: 0;
    border-top: 40px solid transparent; /* Adjust based on height */
    border-left: 10px solid var(--secondary-color);
    border-bottom: 0;
}

/* --- Category & Archive Styles --- */
.object-fit-cover {
    object-fit: cover;
}

.transition-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.transition-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1) !important;
}

/* Pagination */
.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border: 1px solid #dee2e6;
    color: var(--text-color);
    border-radius: 4px;
    font-weight: 600;
    background-color: #fff;
    text-decoration: none;
    padding: 0 10px;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.pagination .dots {
    border: none;
    background: transparent;
}

/* --- Footer --- */
.site-footer {
    background-color: #1a202c;
    color: #9ca3af;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.site-footer h3 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 25px;
    border-left: 4px solid var(--secondary-color);
    padding-left: 12px;
    font-weight: 700;
}

.site-footer a { color: #d1d5db; }
.site-footer a:hover { color: #fff; text-decoration: underline; }