/*
Theme Name: BN NewsPortal
Theme URI: https://example.com
Author: Your Name
Description: বাংলা নিউজ পোর্টালের জন্য পারফরম্যান্স-ফোকাসড WordPress থিম — ব্রেকিং নিউজ টিকার, কাস্টমাইজযোগ্য হোমপেজ সেকশন, ট্যাগ-ভিত্তিক related news, সোশ্যাল শেয়ার সহ।
Version: 1.0
Requires PHP: 7.4
Text Domain: bn-newsportal
*/

/* মূল CSS এখানে; বিস্তারিত স্টাইল assets/css/ ফোল্ডারে, functions.php থেকে enqueue করা হয়েছে */

body {
    font-family: 'Noto Sans Bengali', sans-serif;
    margin: 0;
    background: #fafafa;
    color: #1a1a1a;
}

a { color: inherit; }

* { box-sizing: border-box; }

/* ===== Site Header ===== */
.bn-site-header {
    background: #fff;
    border-bottom: 3px solid #b30000;
}

.bn-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.bn-site-branding img {
    max-height: 60px;
    width: auto;
    display: block;
}

.bn-site-title {
    font-size: 26px;
    font-weight: 700;
    color: #b30000;
    text-decoration: none;
}

/* ===== Primary Nav Menu ===== */
.bn-primary-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.bn-primary-nav li { position: relative; }

.bn-primary-nav a {
    display: inline-block;
    padding: 8px 14px;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 500;
    border-radius: 4px;
    transition: background 0.15s ease, color 0.15s ease;
}

.bn-primary-nav a:hover,
.bn-primary-nav .current-menu-item > a {
    background: #b30000;
    color: #fff;
}

@media (max-width: 700px) {
    .bn-header-inner { flex-direction: column; align-items: flex-start; }
    .bn-primary-nav ul { gap: 2px; }
    .bn-primary-nav a { padding: 6px 10px; font-size: 14px; }
}

/* ===== Sticky Header ===== */
.bn-sticky-header {
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}

/* ===== Ad Slots ===== */
.bn-ad-slot {
    max-width: 1200px;
    margin: 16px auto;
    padding: 0 20px;
    text-align: center;
    overflow-x: auto;
}

.bn-ad-bn_ad_header {
    margin: 0 auto 16px;
}

.bn-site-footer {
    background: #1a1a1a;
    color: #ccc;
    margin-top: 40px;
}

.bn-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px;
    text-align: center;
}

.bn-footer-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin: 0 0 12px;
    padding: 0;
}

.bn-footer-nav a { color: #ccc; text-decoration: none; font-size: 14px; }
.bn-footer-nav a:hover { color: #fff; }

.bn-copyright { font-size: 13px; color: #888; margin: 0; }

.homepage-sections {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.news-section { margin-bottom: 40px; }

.news-section h2 {
    font-size: 20px;
    border-left: 4px solid #b30000;
    padding-left: 10px;
    margin-bottom: 16px;
}

.news-grid,
.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 900px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
    .news-grid { grid-template-columns: 1fr; }
}

.single-news {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.single-news-header h1 {
    font-size: 28px;
    line-height: 1.4;
    margin: 10px 0;
}

.post-category-tag {
    display: inline-block;
    background: #b30000;
    color: #fff;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 3px;
    text-decoration: none;
}

.post-meta {
    font-size: 13px;
    color: #777;
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.post-featured-image img,
.post-video-embed {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 16px;
}

.post-content {
    font-size: 17px;
    line-height: 1.8;
}

.post-content p { margin-bottom: 1.2em; }
