/* ========================================
   SAPTAHIK BAHAS - FIXED CSS
   Black & White Newspaper Theme
   Like OnlineKhabar/Ratopati
   ======================================== */

/* ========================================
   BLACK & WHITE IMAGES - GLOBAL
   ======================================== */

img, 
.post-thumbnail img,
.news-card img,
.featured-image,
.article img,
.single-nepali-post img,
.archive-post-card img,
.related-post-card img,
.side-featured img,
.main-featured img,
.pagelayer-img img,
.pagelayer-post img {
    filter: grayscale(100%) !important;
    transition: all 0.4s ease !important;
}

/* Color on Hover/Focus */
a:hover img,
img:hover,
.post-thumbnail:hover img,
.news-card:hover img,
.featured-image-link:hover .featured-image,
.article img:hover,
.single-nepali-post img:hover,
.archive-post-card:hover img,
.related-post-card:hover img,
.side-featured:hover img,
.main-featured:hover img,
.pagelayer-post-holder:hover img,
.pagelayer-post-image:hover img {
    filter: grayscale(0%) !important;
}

img:hover,
.post-thumbnail img:hover,
.news-card:hover img,
.featured-image-link:hover .featured-image,
.article img:hover,
.single-nepali-post img:hover,
.archive-post-card:hover img,
.related-post-card:hover img,
.side-featured:hover img,
.main-featured:hover img {
    filter: grayscale(0%) !important;
}

/* FIX: Remove excessive margins causing huge gaps */
.article {
    background-color: #ffffff;
    padding: 15px !important;  /* Reduced from 25px */
    margin: 10px !important;    /* Reduced from 30px */
    border: 1px solid #eaeaea;
    box-shadow: 0px 3px 15px 0 #0000001a;
}

/* FIX: Reduce widget spacing */
.widget {
    margin-bottom: 1em !important;  /* Reduced from 1.5em */
}

/* FIX: Reduce paragraph spacing in content */
.entry-content p,
.news-card p,
.article p {
    margin-bottom: 1em !important;  /* Reduced from 1.5em */
}

/* FIX: Reduce nav-links horizontal margin */
.nav-links {
    margin: 0 15px !important;  /* Reduced from 30px */
}

/* FIX: Reduce widget-area top margin */
.widget-area {
    margin-top: 10px !important;  /* Reduced from 30px */
    padding: 15px !important;     /* Reduced from 25px */
}

/* FIX: Reduce site-main spacing */
.site-main {
    margin: 0 !important;
    padding: 0 !important;
}

/* FIX: Tighten content spacing */
.content-area {
    margin: 0 !important;
}

/* ========================================
   GLOBAL BLACK & WHITE STYLES
   ======================================== */

body {
    background: #ffffff !important;
    color: #000000 !important;
    font-family: 'Mukta', 'Noto Sans Devanagari', 'Inter', Arial, sans-serif;
    line-height: 1.6;
}


/* REMOVED: Destructive global override that hides custom backgrounds like the header */
/* body * {
    background-color: #ffffff !important;
    color: #000000 !important;
} */


a {
    color: #000000 !important;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #333 !important;
}

/* Images - B&W by default, Color on hover */
img, 
.post-thumbnail img,
.news-card img,
.featured-image,
.article img,
.single-nepali-post img {
    filter: grayscale(100%) !important;
    transition: filter 0.3s ease !important;
}

img:hover,
.post-thumbnail img:hover,
.news-card:hover img,
.featured-image-link:hover .featured-image,
.article img:hover,
.single-nepali-post img:hover {
    filter: grayscale(0%) !important;
}

/* ========================================
   NEWSPAPER CONTAINER
   ======================================== */

.nepali-homepage {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;  /* Reduced from 20px */
    background: #ffffff !important;
    color: #000000 !important;
}

.nepali-homepage * {
    background-color: #ffffff !important;
    color: #000000 !important;
}

/* ========================================
   MASTHEAD (Custom Nepali Header)
   ======================================== */

.newspaper-masthead {
    text-align: center;
    padding: 20px 15px;  /* Reduced from 30px 20px */
    border-bottom: 3px solid #000;
    margin-bottom: 10px;  /* Reduced from 15px */
    background: #fff;
}

.masthead-title {
    font-family: 'Noto Sans Devanagari', sans-serif !important;
    font-size: 64px !important;  /* Slightly reduced from 72px */
    font-weight: 900 !important;
    color: #000000 !important;
    margin: 0;
    line-height: 1;
    letter-spacing: 2px;
}

.masthead-subtitle {
    font-size: 14px;  /* Reduced from 16px */
    color: #333;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 8px;  /* Reduced from 15px */
    font-weight: 600;
}

/* ========================================
   NAVIGATION
   ======================================== */

.site-header-sticky {
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.main-navigation, #site-navigation {
    background-color: #000000 !important;
    border: none !important;
    padding: 0;
}

.main-navigation a, #site-navigation a {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 14px;  /* Reduced from 15px */
    padding: 15px 12px !important;  /* Reduced from 18px 15px */
    font-family: 'Mukta', 'Noto Sans Devanagari', sans-serif;
    border: none !important;
}

.main-navigation li:hover, #site-navigation li:hover {
    background-color: #333333 !important;
}

/* ========================================
   AD SPACES
   ======================================== */

.ad-space {
    background: #f5f5f5;
    border: 1px solid #ddd;
    text-align: center;
    padding: 10px;  /* Reduced from 15px */
    margin: 15px 0;  /* Reduced from 20px 0 */
    color: #666;
    font-size: 12px;  /* Reduced from 13px */
}

.ad-728x90 {
    max-width: 728px;
    height: 90px;
    margin: 15px auto;  /* Reduced from 20px auto */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.ad-300x250 {
    width: 300px;
    height: 250px;
    margin: 15px auto;  /* Reduced from 20px auto */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* ========================================
   SECTION HEADERS
   ======================================== */

.section-header {
    border-top: 3px solid #000;
    border-bottom: 1px solid #000;
    padding: 10px 0;  /* Reduced from 12px 0 */
    margin-bottom: 15px;  /* Reduced from 20px */
}

.section-header h2 {
    font-size: 22px !important;  /* Reduced from 26px */
    font-weight: 900 !important;
    margin: 0 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   NEWS GRID
   ======================================== */

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;  /* Reduced from 20px */
    margin-bottom: 20px;  /* Reduced from 30px */
}

.news-card {
    border: 1px solid #e0e0e0;
    background: #ffffff !important;
    color: #000000 !important;
    transition: all 0.3s;
}

.news-card * {
    background-color: #ffffff !important;
    color: #000000 !important;
}

.news-card:hover {
    border-color: #000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.news-card img {
    width: 100%;
    height: 160px;  /* Reduced from 180px */
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.news-card img:hover {
    filter: grayscale(0%);
}

.news-card-content {
    padding: 12px;  /* Reduced from 15px */
}

.news-card h3 {
    font-size: 15px !important;  /* Reduced from 16px */
    font-weight: 700 !important;
    margin: 0 0 8px 0 !important;  /* Reduced from 10px */
    line-height: 1.4 !important;
}

.news-card h3 a {
    color: #000;
    text-decoration: none;
}

.news-card h3 a:hover {
    text-decoration: underline;
}

.news-meta {
    font-size: 13px; /* Enlarged from 11px */
    color: #000;    /* Darkened from #666 */
    font-weight: 600;
}

/* ========================================
   LEAD STORY
   ======================================== */

.lead-story-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;  /* Reduced from 25px */
    margin-bottom: 25px;  /* Reduced from 30px */
    padding-bottom: 20px;  /* Reduced from 25px */
    border-bottom: 2px solid #000;
}

.lead-story img {
    width: 100%;
    height: 400px;  /* Reduced from 450px */
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.lead-story img:hover {
    filter: grayscale(0%);
}

.lead-story {
    text-align: center !important;
    max-width: 900px !important;
    margin: 0 auto 30px auto !important;
    padding: 0 15px !important;
}

.lead-story h1 {
    font-size: clamp(24px, 5vw, 36px) !important;
    font-weight: 900 !important;
    margin: 20px 0 15px 0 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    display: block !important;
}

.lead-story h1 a {
    color: #000;
    text-decoration: none;
    display: block !important;
    text-align: center !important;
}

.lead-story p {
    font-size: 16px !important;
    line-height: 1.6;
    color: #333;
    text-align: center !important;
    margin-bottom: 20px !important;
}

.sub-lead-stories .sub-story {
    margin-bottom: 15px;  /* Reduced from 20px */
    padding-bottom: 15px;  /* Reduced from 20px */
    border-bottom: 1px solid #eee;
}

.sub-lead-stories .sub-story:last-child {
    border-bottom: none;
}

.sub-lead-stories img {
    width: 100%;
    height: 120px;  /* Reduced from 130px */
    object-fit: cover;
    margin-bottom: 8px;  /* Reduced from 10px */
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.sub-lead-stories img:hover {
    filter: grayscale(0%);
}

.sub-lead-stories h3 {
    font-size: 16px !important;  /* Reduced from 17px */
    font-weight: 700 !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}

.sub-lead-stories h3 a {
    color: #000;
    text-decoration: none;
}

/* ========================================
   FEATURED POSTS (VERTICAL)
   ======================================== */

.featured-posts-vertical {
    display: block;
    margin-bottom: 25px;  /* Reduced from 30px */
}

.featured-post-large {
    position: relative;
    background: #fff;
    border: 1px solid #e0e0e0;
    margin-bottom: 25px;  /* Reduced from 30px */
    transition: all 0.3s;
}

.featured-post-large:hover {
    border-color: #000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.featured-image-link {
    display: block;
    overflow: hidden;
}

.featured-image {
    width: 100%;
    height: 450px;  /* Reduced from 500px */
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s, transform 0.3s;
}

.featured-image-link:hover .featured-image {
    filter: grayscale(0%);
    transform: scale(1.01);  /* Reduced from 1.02 */
}

.featured-content {
    padding: 25px;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.featured-title {
    font-size: clamp(22px, 4vw, 32px) !important;
    font-weight: 900 !important;
    margin: 0 0 15px 0 !important;
    line-height: 1.3 !important;
    text-align: center !important;
}

.featured-title a {
    color: #000;
    text-decoration: none;
    display: block !important;
    text-align: center !important;
}

.featured-excerpt {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 15px;
    text-align: center !important;
}

.featured-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;  /* Reduced from 20px */
    border-top: 2px solid #000;
}

.featured-date {
    font-size: 13px;  /* Reduced from 14px */
    color: #666;
}

.featured-meta .read-more {
    padding: 8px 20px;  /* Reduced from 10px 25px */
    font-size: 13px;    /* Reduced from 14px */
}

/* ========================================
   CONTENT WITH SIDEBAR
   ======================================== */

.content-with-sidebar {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 20px;  /* Reduced from 30px */
    margin-bottom: 25px;  /* Reduced from 30px */
}

.sidebar-widget {
    margin-bottom: 20px;  /* Reduced from 30px */
    padding: 12px;        /* Reduced from 15px */
    border: 1px solid #e0e0e0;
    background: #ffffff !important;
    color: #000000 !important;
}

.sidebar-widget * {
    background-color: #ffffff !important;
    color: #000000 !important;
}

.sidebar-widget h3 {
    font-size: 16px !important;  /* Reduced from 18px */
    font-weight: 800 !important;
    border-bottom: 2px solid #000;
    padding-bottom: 8px;         /* Reduced from 10px */
    margin-bottom: 12px;         /* Reduced from 15px */
}

.sidebar-widget li {
    padding: 10px 0;  /* Reduced from 12px 0 */
    border-bottom: 1px solid #eee;
}

.sidebar-widget li:last-child {
    border-bottom: none;
}

.sidebar-widget h4 {
    font-size: 13px;  /* Reduced from 14px */
    font-weight: 600 !important;
    margin: 0 !important;
}

.sidebar-widget h4 a {
    color: #000;
    text-decoration: none;
}

.sidebar-widget h4 a:hover {
    text-decoration: underline;
}

/* ========================================
   READ MORE BUTTON
   ======================================== */

.read-more {
    display: table !important;
    margin: 15px auto !important;
    padding: 10px 25px !important;
    background: #000000 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border: 2px solid #000000 !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
    float: none !important;
}

.read-more:hover {
    background: #ffffff !important;
    color: #000000 !important;
    text-decoration: none !important;
}

.featured-meta .read-more,
.lead-story .read-more {
    margin: 20px auto !important;
}

/* ========================================
   UPPER FOOTER (Black Background)
   ======================================== */

.upper-footer {
    background: #000000 !important;
    color: #ffffff !important;
    padding: 35px 0 25px;  /* Reduced from 40px 0 30px */
    margin-top: 50px;  /* Reduced from 60px */
    border-top: 4px solid #000;
}

.upper-footer * {
    background-color: transparent !important;
}

.upper-footer a {
    color: #ffffff !important;
}

.upper-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;  /* Reduced from 20px */
    color: #ffffff !important;
}

.upper-footer-content * {
    color: #ffffff !important;
}

.upper-footer-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;  /* Reduced from 25px */
    margin-bottom: 25px;  /* Reduced from 30px */
}

.footer-column h4 {
    color: #ffffff;
    font-size: 14px !important;  /* Reduced from 15px */
    font-weight: 700 !important;
    margin-bottom: 12px !important;  /* Reduced from 15px */
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #333;
    padding-bottom: 8px;  /* Reduced from 10px */
}

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

.footer-column li {
    margin-bottom: 6px;  /* Reduced from 8px */
}

.footer-column a {
    color: #ffffff !important;
    font-size: 12px;  /* Reduced from 13px */
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1.5;
}

.footer-column a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

/* ========================================
   LOWER FOOTER (Black Background)
   ======================================== */

.lower-footer {
    background: #000000 !important;
    color: #ffffff !important;
    padding: 25px 0 15px;  /* Reduced from 30px 0 20px */
    border-top: 1px solid #333;
}

.lower-footer * {
    background-color: transparent !important;
    color: #ffffff !important;
}

.lower-footer a {
    color: #ffffff !important;
}

.lower-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;  /* Reduced from 20px */
    color: #ffffff !important;
}

.lower-footer-content * {
    color: #ffffff !important;
}

.footer-corporate-info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;  /* Reduced from 30px */
    margin-bottom: 15px;  /* Reduced from 20px */
}

.corporate-info p {
    color: #ffffff !important;
    font-size: 13px;  /* Reduced from 14px */
    margin-bottom: 6px;  /* Reduced from 8px */
    line-height: 1.8;
}

.corporate-info strong {
    color: #ffffff !important;
}

.footer-contact {
    text-align: right;
}

.footer-contact p {
    color: #ffffff !important;
    font-size: 13px;  /* Reduced from 14px */
    margin-bottom: 6px;  /* Reduced from 8px */
}

.footer-contact a {
    color: #ffffff !important;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #ffffff !important;
}

.footer-bottom-bar {
    border-top: 1px solid #333;
    padding-top: 12px;  /* Reduced from 15px */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-copyright {
    color: #ffffff !important;
    font-size: 12px;  /* Reduced from 13px */
}

.footer-copyright a {
    color: #ffffff !important;
    text-decoration: none;
}

.footer-copyright a:hover {
    color: #ffffff !important;
}

.footer-social {
    display: flex;
    gap: 12px;  /* Reduced from 15px */
}

.footer-social a {
    color: #ffffff !important;
    font-size: 16px;  /* Reduced from 18px */
    transition: color 0.3s;
}

.footer-social a:hover {
    color: #ffffff !important;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 992px) {
    .featured-posts-grid {
        grid-template-columns: 1fr;
    }

    .featured-image {
        height: 280px;  /* Reduced from 300px */
    }

    .upper-footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lead-story-section,
    .content-with-sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .masthead-title {
        font-size: 42px !important;  /* Reduced from 48px */
    }

    .upper-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-corporate-info {
        grid-template-columns: 1fr;
    }

    .footer-contact {
        text-align: left;
    }

    .footer-bottom-bar {
        flex-direction: column;
        text-align: center;
        gap: 12px;  /* Reduced from 15px */
    }

    .date-bar {
        flex-direction: column;
        text-align: center;
        gap: 6px;  /* Reduced from 8px */
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .lead-story-section {
        grid-template-columns: 1fr;
    }

    .lead-story img {
        height: 250px;
    }

    .lead-story h1 {
        font-size: 24px !important;
    }
}

/* ========================================
   BLACK NAVIGATION BAR - OVERRIDE ALL
   Must be at end to override body * styles
   ======================================== */

#masthead.site-header,
header#masthead,
.site-header {
    background-color: #000000 !important;
    border-bottom: 2px solid #333 !important;
}

#masthead .site-branding {
    padding: 15px 20px !important;
}

#masthead .site-title a,
#masthead .site-description {
    color: #ffffff !important;
}

#site-navigation,
.main-navigation,
nav#site-navigation {
    background-color: #000000 !important;
}

#site-navigation ul,
.main-navigation ul {
    background-color: #000000 !important;
    margin: 0 !important;
    padding: 0 !important;
}

#site-navigation li,
.main-navigation li {
    background-color: #000000 !important;
}

#site-navigation a,
.main-navigation a,
nav#site-navigation a {
    color: #ffffff !important;
    background-color: #000000 !important;
    padding: 15px 18px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}

#site-navigation a:hover,
.main-navigation a:hover {
    background-color: #333333 !important;
    color: #ffffff !important;
}

#masthead .menu-toggle,
button.menu-toggle {
    background-color: #000000 !important;
    color: #ffffff !important;
}

/* ========================================
   FOOTER STYLES - OnlineKhabar Style
   ======================================== */

.upper-footer {
    background: #000000 !important;
    color: #ffffff !important;
    padding: 40px 0 30px;
    margin-top: 60px;
    border-top: 4px solid #000;
}

.upper-footer * {
    background-color: transparent !important;
}

.upper-footer a {
    color: #ffffff !important;
}

.upper-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.upper-footer-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.footer-column h4 {
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}

.footer-column ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-column li {
    margin-bottom: 8px !important;
}

.footer-column a {
    color: #ffffff !important;
    font-size: 13px;
    line-height: 1.5;
    text-decoration: none !important;
}

.footer-column a:hover {
    text-decoration: underline !important;
}

.lower-footer {
    background: #000000 !important;
    color: #ffffff !important;
    padding: 30px 0 20px;
    border-top: 1px solid #333;
}

.lower-footer * {
    color: #ffffff !important;
}

.lower-footer a {
    color: #ffffff !important;
}

.lower-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-corporate-info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 20px;
}

.corporate-info p,
.footer-contact p {
    font-size: 13px;
    margin-bottom: 6px;
    line-height: 1.8;
}

.footer-contact {
    text-align: right;
}

.footer-contact a {
    color: #ffffff !important;
    text-decoration: none !important;
}

.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.footer-copyright {
    font-size: 12px;
}

.footer-copyright a {
    color: #ffffff !important;
    text-decoration: none !important;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: #ffffff !important;
    font-size: 16px;
    text-decoration: none !important;
}

@media (max-width: 992px) {
    .upper-footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .upper-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-corporate-info {
        grid-template-columns: 1fr;
    }
    
    .footer-contact {
        text-align: left;
    }
    
    .footer-bottom-bar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* ========================================
   LIVE CLOCK & TOP BAR REFINEMENTS
   ======================================== */
.sb-top-bar {
    z-index: 1001;
}
.sb-live-clock i {
    margin-right: 5px;
}
#nepali-live-time {
    display: inline-block;
    min-width: 80px;
}

/* ========================================
   ARCHIVE PAGE STYLES
   ======================================== */
.archive-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.archive-header {
    background: #fff;
    border-bottom: 3px solid #000;
    padding: 30px 0;
    margin-bottom: 30px;
}
.archive-title {
    font-size: 32px !important;
    font-weight: 900 !important;
    margin: 0 !important;
    text-transform: uppercase;
    color: #000;
}
.archive-description {
    font-size: 15px;
    color: #666;
    margin-top: 10px;
}
.archive-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    margin-bottom: 60px;
}
.posts-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.post-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 20px;
    transition: all 0.3s;
}
.post-card:hover {
    border-color: #000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.post-card img {
    width: 280px;
    height: 180px;
    object-fit: cover;
}
.post-card-content h2 {
    font-size: 22px !important;
    font-weight: 700 !important;
    margin: 0 0 12px 0 !important;
    line-height: 1.4;
}
.post-card-content h2 a {
    color: #000 !important;
    text-decoration: none;
}
.post-card-content h2 a:hover { text-decoration: underline; }
.post-card-excerpt {
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 15px;
}
.post-card-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #999;
}
.post-category-badge {
    display: inline-block;
    background: #000;
    color: #fff !important;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}
.pagination a, .pagination span {
    padding: 10px 18px;
    border: 2px solid #000;
    font-weight: 600;
    font-size: 14px;
}
.pagination a {
    background: #fff;
    color: #000 !important;
    text-decoration: none;
}
.pagination a:hover {
    background: #000;
    color: #fff !important;
}
.pagination .current {
    background: #000;
    color: #fff !important;
}
.archive-sidebar {
    position: sticky;
    top: 70px;
    height: fit-content;
}
.sidebar-widget {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 20px;
    margin-bottom: 25px;
}
.widget-title {
    font-size: 18px !important;
    font-weight: 900 !important;
    margin: 0 0 15px 0 !important;
    padding-bottom: 12px;
    border-bottom: 2px solid #000;
    text-transform: uppercase;
}
.most-read-list {
    list-style: none;
    counter-reset: item;
}
.most-read-list li {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    counter-increment: item;
}
.most-read-list li:last-child { border-bottom: none; }
.most-read-list li:before {
    content: counter(item);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}
.most-read-list li a {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    text-decoration: none;
}

/* ========================================
   HOMEPAGE V5 SPECIFIC LAYOUT
   ======================================== */
.sb-home-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
}
.sb-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #eee;
}
.sb-section:last-child { border-bottom: none; }
.sb-section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    border-top: 3px solid #000;
    border-bottom: 1px solid #000;
    padding: 10px 0;
}
.sb-section-title h2 {
    font-size: 24px !important;
    font-weight: 900 !important;
    margin: 0 !important;
    text-transform: uppercase;
}
.sb-big-post {
    margin-bottom: 30px;
}
.sb-big-post img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    margin-bottom: 20px;
}
.sb-big-post h2 {
    font-size: 36px !important;
    font-weight: 900 !important;
    line-height: 1.2;
    margin-bottom: 15px !important;
}
.sb-big-post .excerpt {
    font-size: 16px;
    color: #444;
    line-height: 1.8;
}

@media (max-width: 992px) {
    .archive-layout { grid-template-columns: 1fr; }
    .archive-sidebar { position: static; }
}
@media (max-width: 768px) {
    .post-card { grid-template-columns: 1fr; }
    .post-card img { width: 100%; height: 200px; }
    .archive-title { font-size: 26px !important; }
    .sb-big-post h2 { font-size: 28px !important; }
    .sb-big-post img { height: 250px; }
}

/* ========================================
   SINGLE POST STYLES
   ======================================== */
.nepali-breadcrumb {
    padding: 10px 0;
    margin-bottom: 15px;
    font-size: 13px;
    color: #666;
}
.nepali-breadcrumb a {
    color: #000;
    text-decoration: none;
}
.nepali-breadcrumb a:hover {
    text-decoration: underline;
    color: #333 !important;
}
.nepali-breadcrumb span {
    margin: 0 8px;
}

.nepali-category-badge {
    margin-bottom: 15px;
}
.nepali-category-badge a {
    display: inline-block;
    padding: 5px 15px;
    background: #000;
    color: #fff !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border-radius: 3px;
}

.single-nepali-post .entry-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    line-height: 1.3;
    margin: 0 0 15px 0 !important;
    color: #000;
}

.nepali-entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 12px 0;
    margin-bottom: 20px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    font-size: 13px;
    color: #666;
}
.nepali-entry-meta svg {
    width: 14px;
    height: 14px;
    margin-right: 5px;
    fill: #666;
    vertical-align: middle;
}
.nepali-author-separator {
    color: #ddd;
}

.single-nepali-post .post-thumbnail {
    margin-bottom: 25px;
}
.wp-caption-text {
    font-size: 12px;
    color: #666;
    margin-top: 8px;
    font-style: italic;
}

.nepali-social-share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    padding: 12px;
    background: #f5f5f5;
    border: 1px solid #eee;
    border-radius: 4px;
}
.share-label {
    font-size: 13px;
    font-weight: 600;
    color: #000;
    margin-right: 10px;
}
.share-btn {
    display: inline-block;
    padding: 8px 15px;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    transition: opacity 0.3s;
}
.share-btn:hover {
    opacity: 0.9;
}
.share-btn.fb { background: #1877f2; }
.share-btn.tw { background: #1da1f2; }
.share-btn.wa { background: #25d366; }
.share-btn.mail { background: #666; }

.nepali-tags {
    margin: 30px 0;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.tags-label {
    font-weight: 600;
    color: #000;
    margin-right: 10px;
}
.nepali-tags a {
    display: inline-block;
    padding: 5px 12px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    font-size: 13px;
    color: #333 !important;
    text-decoration: none;
    border-radius: 3px;
    margin: 0 5px;
}

.nepali-related-news {
    margin: 40px 0;
    padding: 25px 0;
    border-top: 2px solid #000;
}
.related-title {
    margin: 0 0 20px 0 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #000;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.related-item {
    display: flex;
    flex-direction: column;
}
.related-item-image {
    margin-bottom: 10px;
    overflow: hidden;
}
.related-item-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.related-item h4 {
    margin: 0 0 5px 0 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.4;
}
.related-item h4 a {
    color: #000;
}

@media (max-width: 768px) {
    .single-nepali-post .entry-title {
        font-size: 24px !important;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
    .nepali-social-share {
        flex-wrap: wrap;
    }
    .nepali-entry-meta {
        flex-direction: column;
        gap: 8px;
    }
}

/* ========================================
   SAPTAHIK BAHAS - HOMEPAGE V5 GRID STYLES
   ======================================== */
.sb-home-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
}

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

.sb-section-title {
    border-bottom: 3px solid #000;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.sb-section-title h2 {
    font-size: 24px;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
}

/* PRADESH (PROVINCE) GRID & BUTTONS */
.sb-pradesh-links {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 10px !important;
    margin-bottom: 30px !important;
}

.sb-pradesh-btn {
    display: block !important;
    padding: 12px 5px !important;
    background: #f8f8f8 !important;
    color: #000 !important;
    text-align: center !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.sb-pradesh-btn:hover {
    background: #cc0000 !important;
    color: #fff !important;
    border-color: #cc0000 !important;
}

/* GENERAL NEWS GRIDS */
.news-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
}

.news-card {
    background: #fff !important;
    border-bottom: 1px solid #eee !important;
    padding-bottom: 15px !important;
}

.news-card-content h3 {
    font-size: 16px !important;
    line-height: 1.4 !important;
    margin: 10px 0 5px 0 !important;
    font-weight: 700 !important;
}

/* BIG LEAD STORY */
.sb-big-post {
    border-bottom: 2px solid #000 !important;
    padding-bottom: 30px !important;
    margin-bottom: 30px !important;
}

.sb-big-post h2 {
    font-size: 38px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    margin: 15px 0 !important;
}

.sb-post-image img {
    width: 100% !important;
    height: auto !important;
    border-radius: 4px !important;
    filter: none !important; /* Lead story should be in color? Or black & white? */
}

.read-more {
    display: inline-block;
    padding: 8px 15px;
    background: #000;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    border-radius: 3px;
}

