/*
Theme Name: प्रदीप कुमार थीम 
Author: Pradeep
Version: 1.0
*/
/* --- BASE --- */
body { margin:0; font-family: system-ui, sans-serif; background:#f5f5f5; color:#1a1a1a; }
a { text-decoration:none; color:inherit; }

.container{
    max-width:1200px;
    margin:auto;
    padding:0 12px;
}


/* --- HEADER --- */
.main-header { background:#fff; position:sticky; top:0; z-index:9999; box-shadow:0 2px 5px rgba(0,0,0,0.1); }
.header-top { display:flex; justify-content:space-between; align-items:center; padding:10px 15px; border-bottom:1px solid #eee; }
.main-nav { overflow-x:auto; white-space:nowrap; background:#fff; border-bottom:1px solid #eee; }
.main-nav::-webkit-scrollbar { display:none; }
.nav-container a { display:inline-block; padding:12px 15px; font-weight:700; color:#444; }
.nav-container a.active { color:#ff4500; border-bottom:3px solid #ff4500; }

/* --- NEWS FEED --- */
.lead-news { background:#fff; margin-bottom:10px; }
.lead-news img { width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; }
.lead-news h1 { padding:12px 15px; font-size:20px; line-height:1.4; margin:0; }

.cat-block, .feed { background:#fff; margin-bottom:10px; padding:0 15px; }
.block-title { font-size:18px; font-weight:800; padding:15px 0 5px; border-bottom:3px solid #ff4500; display:inline-block; margin-bottom:10px; }

/* भास्कर लिस्ट स्टाइल (फोटो दाएं) */
.block-item-small a { display:flex; justify-content:space-between; padding:15px 0; border-top:1px solid #eee; gap:15px; }
.small-text { flex:1; }
.small-text h3 { font-size:16px; font-weight:700; margin:0; line-height:1.4; }
.small-thumb img { width:100px; height:75px; object-fit:cover; border-radius:4px; }

/* कैटेगरी की पहली बड़ी खबर */
.block-item-first { margin-bottom:15px; }
.block-item-first img { width:100%; height:auto; border-radius:8px; aspect-ratio:16/9; object-fit:cover; }

/* साइड नेविगेशन */
.sidenav { height:100%; width:0; position:fixed; z-index:10000; top:0; left:0; background:#fff; transition:0.3s; padding-top:60px; box-shadow:2px 0 5px rgba(0,0,0,0.2); overflow-x:hidden; }
.sidenav a { padding:10px 20px; font-size:18px; display:block; font-weight:700; border-bottom:1px solid #eee; }
.closebtn { position:absolute; top:10px; right:20px; font-size:30px !important; }








/* --- FOOTER STYLES --- */
.main-footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 40px 15px 10px;
    margin-top: 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-about, .footer-links, .footer-social {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 15px;
}

.footer-logo span {
    color: #ff4500;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
}

.footer-links h3, .footer-social h3 {
    font-size: 18px;
    border-left: 4px solid #ff4500;
    padding-left: 10px;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    font-size: 14px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #ff4500;
    padding-left: 5px;
}

/* सोशल आइकन्स */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 12px;
}

.social-icons .facebook { background: #3b5998; }
.social-icons .twitter { background: #1da1f2; }
.social-icons .whatsapp { background: #25d366; }

/* कॉपीराइट पट्टी */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 12px;
    color: #777;
}





/* --- SINGLE POST PAGE --- */
.single-post-container {
    background: #fff;
    padding: 20px 15px;
    max-width: 800px;
    margin: 0 auto;
}

.post-meta-top {
    margin-bottom: 10px;
}

.cat-name a {
    color: #ff4500;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 14px;
}

.post-date {
    color: #666;
    font-size: 13px;
    margin-left: 10px;
}

.post-headline {
    font-size: 24px;
    line-height: 1.3;
    font-weight: 800;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.post-content p {
    margin-bottom: 20px;
}

.post-share {
    margin: 30px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
}

.wa-btn {
    background: #25d366;
    color: #fff !important;
    padding: 5px 15px;
    border-radius: 20px;
    margin-left: 10px;
    font-size: 14px;
}

/* संबंधित खबरें */
.section-title {
    border-left: 5px solid #ff4500;
    padding-left: 10px;
    margin: 30px 0 20px;
}

.related-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.related-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

.related-item h4 {
    font-size: 14px;
    margin-top: 5px;
    font-weight: 700;
}





/* --- CATEGORY PAGE STYLES --- */
.category-container {
    background: #f5f5f5;
    padding: 15px;
}

.archive-header {
    background: #fff;
    padding: 15px;
    margin-bottom: 10px;
    border-bottom: 3px solid #ff4500;
}

.archive-title {
    font-size: 20px;
    font-weight: 900;
    margin: 0;
}

.archive-title span {
    color: #ff4500;
    font-size: 14px;
    display: block;
    text-transform: uppercase;
}

.category-feed {
    background: #fff;
    padding: 0 15px;
}

/* पहली बड़ी खबर */
.cat-first-post {
    padding: 15px 0;
    border-bottom: 2px solid #eee;
}

.cat-first-post img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.cat-first-post h2 {
    font-size: 22px;
    margin-top: 10px;
    font-weight: 800;
    line-height: 1.3;
}

/* छोटी खबरें लिस्ट स्टाइल */
.cat-small-post a {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 15px;
}

.small-post-text {
    flex: 1;
}

.small-post-text h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 5px;
    line-height: 1.4;
}

.small-post-date {
    font-size: 12px;
    color: #888;
}

.small-post-thumb img {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
}

/* पेजिनेशन (Pagination) */
.pagination {
    padding: 20px 0;
    text-align: center;
}

.pagination .nav-links a, .pagination .nav-links span {
    padding: 8px 15px;
    background: #fff;
    border: 1px solid #ddd;
    margin: 0 2px;
    border-radius: 4px;
    font-weight: bold;
}

.pagination .current {
    background: #ff4500 !important;
    color: #fff;
    border-color: #ff4500;
}







/* टीकर का बाहरी डिब्बा */
.news-ticker-container {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #eee;
    height: 40px;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* 'ब्रेकिंग न्यूज़' लेबल */
.ticker-label {
    background: #ff4500;
    color: #fff;
    padding: 0 15px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 14px;
    z-index: 100; /* इसे ऊपर रखने के लिए */
    box-shadow: 5px 0 10px rgba(0,0,0,0.1);
}

.ticker-content {
    flex: 1;
    display: flex;
}

.ticker-text {
    display: flex;
    white-space: nowrap;
    /* एनीमेशन को और स्मूथ बनाने के लिए */
    animation: ticker-scrolling 30s linear infinite;
}

.ticker-text a {
    color: #333;
    font-weight: 600;
    font-size: 14px;
    padding-right: 60px; /* हेडलाइंस के बीच की दूरी */
    text-decoration: none;
    display: inline-block;
}

/* एनीमेशन: दाईं से बाईं ओर बिना रुके */
@keyframes ticker-scrolling {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* 50% क्योंकि हम कंटेंट को डबल करेंगे */
}

/* रुकने के लिए */
.news-ticker-container:hover .ticker-text {
    animation-play-state: paused;
}









/* मुख्य हेडलाइन का स्टाइल */
.post-headline-main {
    font-size: 25px;
    line-height: 1.3;
    font-weight: 900;
    padding: 10px 0;
    margin: 0;
    color: #333; /* दूसरा रंग (काला) */
}

/* टाइटल का पहला हिस्सा/शब्द ऑरेंज करने के लिए */
.post-headline-main::first-line {
    color: #ff4500; /* पहला रंग (भास्कर ऑरेंज) */
}

.lead-thumb img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}







/* मोबाइल बॉटम नेविगेशन स्टाइल */
.mobile-bottom-nav {
    display: none; /* डेस्कटॉप पर छुपाएं */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    padding: 10px 0;
    justify-content: space-around;
    border-top: 1px solid #eee;
}

/* सिर्फ मोबाइल स्क्रीन के लिए */
@media screen and (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex; /* मोबाइल पर दिखाएं */
    }
    
    /* पेज के कंटेंट को नीचे से थोड़ा ऊपर उठाना ताकि बार उसे ढके नहीं */
    body {
        padding-bottom: 70px;
    }
}

.nav-item {
    text-align: center;
    text-decoration: none;
    color: #666;
    flex: 1;
}

.nav-icon {
    display: block;
    font-size: 20px;
    margin-bottom: 2px;
}

.nav-text {
    font-size: 11px;
    font-weight: bold;
    display: block;
}

/* एक्टिव बटन का रंग (जैसे 'होम') */
.nav-item:first-child {
    color: #ff4500;
}









/* मेटा बार को एक लाइन में सेट करना */
.meta-inline-bar {
    display: flex;
    justify-content: space-between; /* बाएं और दाएं का अंतर */
    align-items: center;
    padding: 5px 0 10px; /* हेडलाइन और फोटो के बीच का गैप */
}

/* संपादक के नाम का स्टाइल */
.editor-side {
    font-size: 10px;
    color: #666;
    line-height: 1.2;
}

.editor-side .name {
    display: block; /* नाम को 'प्रधान संपादक' के नीचे लाने के लिए */
    font-weight: 800;
    color: #000;
    font-size: 11px;
}

/* शेयर बटन का स्टाइल */
.share-side {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #25d366;
    font-size: 12px;
    font-weight: 800;
}

.share-side img {
    width: 14px;
    height: 14px;
}

/* फोटो का स्टाइल ताकि वह नीचे रहे */
.block-thumb img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}


/* डेस्कटॉप पर एक कॉलम को प्रोफेशनल दिखाने के लिए */
.container {
    max-width: 800px !important; /* कंटेंट को बीच में रखने के लिए चौड़ाई कम की गई */
    margin: 0 auto;
}

/* अगर भविष्य में कोई ग्रिड गलती से चालू हो तो उसे बंद करने के लिए */
.layout-wrapper {
    display: block !important;
}

/* मोबाइल पर यह अपने आप फुल स्क्रीन हो जाएगा */
@media screen and (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
}

.single-post-container {
    background: #fff;
    padding: 30px 20px;
    margin-top: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.post-headline {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 20px;
}









/* बड़ी इमेजेस (Lead News & First Post) /
.lead-thumb img,
.block-thumb img,
.cat-first-post img,
.post-featured-image img {
width: 100% !important;
height: auto;
aspect-ratio: 16 / 9; / न्यूज़ स्टाइल /
object-fit: cover; / इमेज को बॉक्स में फिट */
border-radius: 8px;
display: block;
background-color: #f2f2f2;
}

/* छोटी लिस्ट इमेजेस (Small Thumbnails) */
.small-thumb img,
.small-post-thumb img {
width: 110px !important;
height: 80px !important;
object-fit: cover;
border-radius: 6px;
display: block;
background-color: #f2f2f2;
}

/* संबंधित खबरों के लिए (Related Post Images) */
.related-item img {
width: 100%;
aspect-ratio: 4 / 3;
object-fit: cover;
border-radius: 5px;
display: block;
background-color: #f2f2f2;
}

/* 📱 Mobile Optimization */
@media (max-width: 480px) {
.small-thumb img,
.small-post-thumb img {
width: 90px !important;
height: 65px !important;
}
}