/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Noto Sans Devanagari', 'Poppins', sans-serif;
    background: #f4f4f4;
    color: #222;
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* ===== TOP TICKER BAR ===== */
.top-ticker-bar {
    background: #cc0000;
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}
.ticker-wrapper { display: flex; align-items: center; gap: 15px; }
.ticker-label {
    background: #000;
    padding: 3px 10px;
    border-radius: 3px;
    font-weight: 700;
    white-space: nowrap;
}
.ticker-content { overflow: hidden; white-space: nowrap; }
.ticker-content a { color: #fff; margin-right: 30px; }
.ticker-content a:hover { text-decoration: underline; }

/* ===== HEADER ===== */
.site-header { background: #fff; padding: 15px 0; border-bottom: 1px solid #eee; }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo-text { font-size: 32px; font-weight: 700; color: #222; letter-spacing: 1px; }
.logo-text span { color: #cc0000; }

/* ===== NAVIGATION ===== */
.main-navigation { background: #1a2a4a; }
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.primary-menu { list-style: none; display: flex; }
.primary-menu li a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    transition: background 0.3s;
}
.primary-menu li a:hover,
.primary-menu li.current-menu-item a { background: #cc0000; }
.nav-search { display: flex; align-items: center; gap: 10px; }
.nav-search form { display: flex; }
.nav-search input {
    padding: 8px 12px;
    border: none;
    outline: none;
    border-radius: 3px 0 0 3px;
}
.nav-search button {
    padding: 8px 12px;
    background: #cc0000;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 0 3px 3px 0;
}
.notification-bell { color: #fff; font-size: 18px; }

/* ===== MAIN LAYOUT ===== */
.main-content-area { padding: 30px 0; }
.content-wrapper { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }

/* ===== HERO POST ===== */
.hero-post { position: relative; border-radius: 8px; overflow: hidden; margin-bottom: 30px; }
.hero-post img { width: 100%; height: 450px; object-fit: cover; }
.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: #fff;
}
.hero-overlay h2 { font-size: 26px; margin: 10px 0; }

/* ===== CATEGORY TAG ===== */
.category-tag {
    display: inline-block;
    background: #0044cc;
    color: #fff;
    padding: 3px 10px;
    font-size: 12px;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: 600;
}

/* ===== POST META ===== */
.post-meta { font-size: 13px; color: #888; margin: 10px 0; }
.post-meta i { margin-right: 5px; color: #cc0000; }
.post-meta a { color: #0044cc; margin-left: 10px; }

/* ===== SECTION HEADER ===== */
.section-header {
    background: #0044cc;
    color: #fff;
    padding: 10px 15px;
    margin-bottom: 20px;
}
.section-header h3 { font-size: 18px; text-transform: uppercase; }

/* ===== POST CARDS ===== */
.post-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    background: #fff;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.post-thumb img { width: 100%; height: 200px; object-fit: cover; }
.post-info { padding: 15px; }
.post-info h2 { font-size: 20px; margin: 10px 0; }
.post-info h2 a:hover { color: #cc0000; }
.post-info p { color: #555; font-size: 14px; }

/* ===== SIDEBAR ===== */
.sidebar-widget {
    background: #fff;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}
.tab-header { display: flex; border-bottom: 1px solid #eee; }
.tab-btn {
    flex: 1;
    padding: 12px;
    background: #f9f9f9;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: #666;
    border-bottom: 3px solid transparent;
}
.tab-btn.active { color: #0044cc; border-bottom-color: #0044cc; background: #fff; }
.tab-content { display: none; padding: 15px; }
.tab-content.active { display: block; }

.side-post { display: flex; gap: 12px; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid #eee; }
.side-post:last-child { border-bottom: none; margin-bottom: 0; }
.side-thumb img { width: 80px; height: 70px; object-fit: cover; border-radius: 4px; }
.side-info h4 { font-size: 14px; margin-top: 5px; line-height: 1.4; }
.side-info h4 a:hover { color: #cc0000; }

.categories-widget .widget-heading {
    background: #0044cc;
    color: #fff;
    padding: 10px 15px;
    font-size: 16px;
    text-transform: uppercase;
}
.categories-widget ul { list-style: none; padding: 15px; }
.categories-widget ul li { padding: 8px 0; border-bottom: 1px dashed #eee; }
.categories-widget ul li a:hover { color: #cc0000; padding-left: 5px; transition: 0.3s; }

/* ===== SINGLE POST ===== */
.single-post-area .single-title { font-size: 32px; margin: 15px 0; line-height: 1.3; }
.single-thumb { margin: 20px 0; border-radius: 8px; overflow: hidden; }
.single-content { font-size: 17px; line-height: 1.8; color: #333; }
.single-content p { margin-bottom: 20px; }
.single-content img { border-radius: 8px; margin: 20px 0; }
.post-tags { margin: 30px 0; padding: 15px; background: #f9f9f9; border-radius: 5px; }

/* ===== RELATED POSTS ===== */
.related-posts { margin-top: 40px; }
.related-posts h3 { border-bottom: 2px solid #cc0000; padding-bottom: 10px; margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.related-card img { height: 150px; width: 100%; object-fit: cover; border-radius: 5px; }
.related-card h4 { font-size: 15px; margin-top: 8px; }

/* ===== FOOTER ===== */
.site-footer { background: #1a2a4a; color: #ccc; padding: 40px 0 0; margin-top: 40px; }
.footer-widgets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding-bottom: 30px; }
.footer-col h3 { color: #fff; margin-bottom: 15px; }
.footer-col ul { list-style: none; }
.footer-col ul li { padding: 5px 0; }
.social-links a { display: inline-block; margin-right: 10px; font-size: 20px; color: #fff; }
.footer-bottom { background: #0f1a30; text-align: center; padding: 15px; font-size: 14px; }


/* ===== SOCIAL SHARE BUTTONS ===== */
.post-share-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 25px 0;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.share-label {
    font-weight: 700;
    color: #333;
    margin-right: 10px;
    font-size: 15px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    color: #ffffff;
    font-size: 17px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Brand Colors */
.share-btn.facebook { background-color: #1877F2; }
.share-btn.twitter  { background-color: #000000; }
.share-btn.telegram { background-color: #0088cc; }
.share-btn.linkedin { background-color: #0A66C2; }
.share-btn.whatsapp { background-color: #25D366; }
.share-btn.email    { background-color: #555555; }

/* Hover Effect */
.share-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    opacity: 0.95;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .share-btn {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }
    .share-label {
        width: 100%;
        margin-bottom: 5px;
    }
}

/* ===== AUTHOR BOX ===== */
.author-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.author-avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
}
.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #222;
}
.author-info p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* ===== RELATED POSTS SECTION (Blue Header) ===== */
.related-posts-section {
    margin: 40px 0;
}
.related-header {
    background: #0044cc;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px 4px 0 0;
    margin-bottom: 0;
    display: inline-block;
    width: 100%;
}
.related-header h3 {
    font-size: 18px;
    text-transform: uppercase;
    margin: 0;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    background: #fff;
    padding: 20px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.related-card {
    border-radius: 6px;
    overflow: hidden;
}
.related-thumb {
    position: relative;
    display: block;
}
.related-thumb img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}
.category-tag-overlay {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #0044cc;
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: 600;
}
.related-info {
    padding: 10px 5px;
}
.related-info h4 {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 5px;
}
.related-info h4 a:hover {
    color: #cc0000;
}
.related-info .post-meta {
    font-size: 11px;
    color: #888;
}
.related-info .post-meta i {
    margin-right: 3px;
}

/* ===== SIDEBAR NEW WIDGETS ===== */
.widget-heading-blue {
    background: #0044cc;
    color: #fff;
    padding: 12px 15px;
    font-size: 16px;
    text-transform: uppercase;
    margin: 0;
}
.recent-posts-widget,
.archives-widget {
    background: #fff;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}
.recent-posts-list,
.archives-list {
    list-style: none;
    padding: 10px 15px;
    margin: 0;
}
.recent-posts-list li,
.archives-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    line-height: 1.5;
}
.recent-posts-list li:last-child,
.archives-list li:last-child {
    border-bottom: none;
}
.recent-posts-list li a:hover,
.archives-list li a:hover {
    color: #cc0000;
    padding-left: 5px;
    transition: 0.3s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
    .author-box {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== SCROLL TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #0044cc;
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .content-wrapper { grid-template-columns: 1fr; }
    .post-card { grid-template-columns: 1fr; }
    .footer-widgets { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .primary-menu { flex-wrap: wrap; }
    .nav-inner { flex-direction: column; }
    .logo-text { font-size: 22px; }
    .hero-post img { height: 250px; }
}

