/*
Theme Name: Pahali Khabar Pro
Theme URI: https://pahalikhabar.com
Author: Rakesh Kumar
Author URI: https://pahalikhabar.com
Description: Custom premium Hindi news theme for Pahali Khabar - fast, AdSense-ready, mobile-first design with breaking news ticker, AJAX search, and native reading time / view counter features.
Version: 1.0.4
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pahalikhabarpro
*/

/* ==========================================================================
   GLOBAL LAYOUT & CONTAINER CONFIGURATION (1200px FIXED WIDTH)
   ========================================================================== */
:root {
    --bg-global: #f6f6f6;
    --text-dark: #111111;
    --brand-bright-red: #e10600;
    --border-light: #e2e8f0;
    --font-stack: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    margin: 0; padding: 0; background-color: var(--bg-global);
    color: var(--text-dark); font-family: var(--font-stack); -webkit-font-smoothing: antialiased;
}

.header-container, .container, .footer-container { 
    width: 100% !important; 
    max-width: 1200px !important; 
    margin: 0 auto !important; 
    padding: 0 15px !important; 
    box-sizing: border-box !important; 
}

.header-container, .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

/* 1. BLACK TOP BAR FIXED */
.header-top-black-bar {
    background: #111111 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    padding: 8px 0 !important;
    width: 100% !important;
}
.top-bar-left { display: flex !important; align-items: center !important; gap: 15px !important; }
.top-trending-tag { display: flex !important; align-items: center !important; gap: 8px !important; }
.trending-badge { background: var(--brand-bright-red) !important; color: #ffffff !important; padding: 2px 6px !important; font-weight: bold !important; border-radius: 2px !important; }
.top-bar-right-socials { display: flex !important; gap: 15px !important; }
.top-bar-right-socials a { color: #ffffff !important; font-size: 14px !important; }

/* 2. MIDDLE BRANDING AREA FIXED */
.header-middle-branding-area {
    background: #ffffff !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid var(--border-light) !important;
    width: 100% !important;
}
.desktop-header-row { display: flex !important; justify-content: space-between !important; align-items: center !important; width: 100% !important; }
.logo-flex-link { display: flex !important; align-items: center !important; gap: 12px !important; text-decoration: none !important; }

.desktop-logo img { height: 60px !important; width: 60px !important; object-fit: contain !important; display: block !important; }
.logo-text-group { display: flex !important; flex-direction: column !important; justify-content: center !important; text-align: left !important; }
.logo-title-row { font-size: 28px !important; font-weight: 800 !important; line-height: 1.1 !important; font-family: system-ui, sans-serif !important; }
.logo-title-row .text-red { color: #e10600 !important; }
.logo-title-row .text-black { color: #111111 !important; }
.logo-tagline { font-size: 13px !important; color: #555555 !important; font-weight: 600 !important; margin-top: 2px !important; }

/* Ad box ab header row me right-side par align hota hai (logo left, ad right) */
.desktop-header-ad { flex: 1 !important; display: flex !important; justify-content: flex-end !important; min-width: 300px !important; min-height: 90px !important; max-height: 100px !important; overflow: hidden !important; margin-left: 24px !important; }
.banner-728x90-placeholder { background: #f3f4f6; border: 1px dashed #cbd5e1; width: 728px; height: 90px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #94a3b8; font-weight: bold; }

/* 3. RED PRIMARY NAVIGATION FIXED */
.header-navigation-red-bar { background: #e10600 !important; width: 100% !important; padding: 0 !important; margin: 0 !important; display: block !important; }
.menu-flex-wrapper { display: flex !important; justify-content: flex-start !important; align-items: center !important; background: #e10600 !important; }
.home-icon-link a { color: #ffffff !important; font-size: 16px !important; padding: 14px 20px !important; display: block !important; }
.home-icon-link a:hover { background: rgba(0,0,0,0.12) !important; }
.main-horizontal-menu { display: flex !important; flex-direction: row !important; list-style: none !important; margin: 0 !important; padding: 0 !important; background: #e10600 !important; }
.main-horizontal-menu li { background: #e10600 !important; margin: 0 !important; padding: 0 !important; }
.main-horizontal-menu li a { color: #ffffff !important; display: block !important; padding: 14px 18px !important; font-size: 15px !important; font-weight: bold !important; text-decoration: none !important; background: #e10600 !important; transition: background 0.2s !important; }
.main-horizontal-menu li a:hover, .main-horizontal-menu li.current-menu-item > a { background: rgba(0,0,0,0.15) !important; }

/* Search + Dark-mode icons: ab red nav bar ke right end par (margin-left:auto se push hote hain,
   home-icon aur menu items apni jagah left-aligned hi rehte hain). */
.nav-utility-icons { display: flex !important; align-items: center !important; gap: 10px !important; margin-left: auto !important; padding-right: 16px !important; }
.nav-utility-icons .dark-mode-toggle-btn,
.nav-utility-icons #search-open-btn {
    background: rgba(255,255,255,0.14) !important;
    border: 1px solid rgba(255,255,255,0.45) !important;
    border-radius: 50% !important;
    width: 34px !important;
    height: 34px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    color: #ffffff !important;
    font-size: 14px !important;
    transition: background 0.2s !important;
}
.nav-utility-icons .dark-mode-toggle-btn:hover,
.nav-utility-icons #search-open-btn:hover {
    background: rgba(255,255,255,0.3) !important;
}

/* 4. BREAKING NEWS TICKER FIXED */
.header-breaking-news-ticker { background: #ffffff !important; border: 1px solid #e5e7eb !important; margin: 12px auto 0 auto !important; height: 42px !important; border-radius: 4px !important; width: 100% !important; overflow: hidden !important; }
.ticker-flex-wrapper { display: flex !important; align-items: center !important; height: 100% !important; width: 100% !important; }
.breaking-badge-title { background: var(--brand-bright-red) !important; color: #ffffff !important; font-size: 13px !important; font-weight: bold !important; padding: 0 16px !important; height: 100% !important; display: flex !important; align-items: center !important; white-space: nowrap !important; }
.ticker-audio-icon { padding: 0 10px !important; color: var(--brand-bright-red) !important; }
.ticker-text-scroller { flex: 1 !important; font-size: 14px !important; font-weight: bold !important; color: #222222 !important; overflow: hidden !important; white-space: nowrap !important; }

/* Performance/Accessibility: inline-SVG icon sizing (replaces Font Awesome CDN font).
   width/height:1em + fill:currentColor = icon automatically matches whatever
   font-size/color its container already declares, exactly like FA's own SVG mode. */
.pkp-icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; fill: currentColor; flex-shrink: 0; }

/* Dark mode toggle: both sun+moon icons render, CSS shows the correct one —
   no JS class-swapping needed (was previously done via main.js on every click). */
.dark-mode-toggle-btn .pkp-icon-sun { display: none; }
.dark-mode-toggle-btn .pkp-icon-moon { display: inline-block; }
html[data-theme="dark"] .dark-mode-toggle-btn .pkp-icon-moon { display: none; }
html[data-theme="dark"] .dark-mode-toggle-btn .pkp-icon-sun { display: inline-block; }

/* Breaking news ticker: CSS-driven scroll replaces the deprecated <marquee> tag.
   Same continuous right-to-left motion, same hover-to-pause behaviour. */
.ticker-marquee-track { display: inline-block; padding-left: 100%; animation: pkp-marquee 22s linear infinite; }
.ticker-text-scroller:hover .ticker-marquee-track { animation-play-state: paused; }
@keyframes pkp-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* HOMEPAGE GRID SYSTEM */
.main-homepage-content { background: #f8fafc !important; padding: 20px 0 !important; width: 100% !important; }
.homepage-grid-wrapper { display: flex !important; gap: 25px !important; align-items: flex-start !important; }
.left-main-content-area { width: 70% !important; display: flex !important; flex-direction: column !important; gap: 30px !important; }
.right-sidebar-area { width: 30% !important; display: flex !important; flex-direction: column !important; gap: 25px !important; }
.magazine-hero-block { display: grid !important; grid-template-columns: 1.6fr 1fr !important; gap: 20px !important; background: #ffffff !important; padding: 15px !important; border-radius: 6px !important; box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important; }
.hero-main-story a { text-decoration: none !important; color: inherit !important; }
.hero-img-container { position: relative !important; width: 100% !important; height: auto !important; aspect-ratio: 16 / 9 !important; overflow: hidden !important; border-radius: 4px !important; }
.hero-img-container img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; }
.hero-badge-tag { position: absolute !important; top: 12px !important; left: 12px !important; background: #e10600 !important; color: #ffffff !important; padding: 4px 10px !important; font-size: 11px !important; font-weight: bold !important; border-radius: 2px !important; }
.hero-text-content { margin-top: 15px !important; }
.hero-title { font-size: 24px !important; font-weight: 800 !important; color: #111111 !important; margin: 0 0 10px 0 !important; line-height: 1.3 !important; }
.hero-meta { font-size: 13px !important; color: #64748b !important; }
.hero-side-stories { display: flex !important; flex-direction: column !important; gap: 12px !important; }
.side-story-item { border-bottom: 1px solid #f1f5f9 !important; padding-bottom: 10px !important; }
.side-story-item:last-child { border: none !important; padding: 0 !important; }
.side-story-link { display: flex !important; gap: 12px !important; text-decoration: none !important; color: inherit !important; }
.side-story-img { width: 96px !important; height: auto !important; aspect-ratio: 16 / 9 !important; flex-shrink: 0 !important; border-radius: 4px !important; overflow: hidden !important; }
.side-story-img img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; }
.side-story-info h4 { font-size: 14px !important; font-weight: 700 !important; color: #1e293b !important; margin: 0 0 4px 0 !important; line-height: 1.4 !important; }
.story-date { font-size: 11px !important; color: #94a3b8 !important; }

.homepage-categories-grid { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 25px !important; }
.cat-block-box { background: #ffffff !important; border: 1px solid #e2e8f0 !important; border-radius: 6px !important; padding: 15px !important; }
.cat-block-header { display: flex !important; justify-content: space-between !important; align-items: center !important; border-bottom: 2px solid #f1f5f9 !important; padding-bottom: 8px !important; margin-bottom: 15px !important; }
.cat-title-name { font-size: 16px !important; font-weight: bold !important; color: #e10600 !important; margin: 0 !important; position: relative !important; }
.cat-more-btn { font-size: 12px !important; color: #64748b !important; text-decoration: none !important; font-weight: 600 !important; }
.cat-post-item { display: flex !important; gap: 12px !important; margin-bottom: 12px !important; padding-bottom: 12px !important; border-bottom: 1px dashed #f1f5f9 !important; }
.cat-post-item:last-child { margin: 0 !important; padding: 0 !important; border: none !important; }
.cat-post-img { width: 80px !important; height: auto !important; aspect-ratio: 16 / 9 !important; flex-shrink: 0 !important; border-radius: 4px !important; overflow: hidden !important; }
.cat-post-img img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; }
.cat-post-details h5 { font-size: 13px !important; font-weight: 700 !important; margin: 0 0 4px 0 !important; line-height: 1.4 !important; }
.cat-post-details h5 a { color: #1e293b !important; text-decoration: none !important; }
.cat-date { font-size: 11px !important; color: #94a3b8 !important; }

.sidebar-widget { background: #ffffff !important; border: 1px solid #e2e8f0 !important; border-radius: 6px !important; padding: 18px !important; }
.sidebar-title { font-size: 16px !important; font-weight: bold !important; color: #111111 !important; margin: 0 0 15px 0 !important; padding-bottom: 8px !important; border-bottom: 2px solid #111111 !important; }
.trading-list-wrapper { display: flex !important; flex-direction: column !important; gap: 12px !important; }
.trending-item { display: flex !important; align-items: center !important; gap: 12px !important; position: relative !important; }
.trending-number { width: 24px !important; height: 24px !important; display: flex !important; align-items: center !important; justify-content: center !important; background: #e10600 !important; color: #ffffff !important; font-size: 12px !important; font-weight: bold !important; border-radius: 3px !important; flex-shrink: 0 !important; }
.trending-thumb { width: 64px !important; height: auto !important; aspect-ratio: 16 / 9 !important; border-radius: 4px !important; overflow: hidden !important; flex-shrink: 0 !important; }
.trending-thumb img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; }
.trending-text { font-size: 13px !important; font-weight: 700 !important; margin: 0 !important; line-height: 1.4 !important; }
.trending-text a { color: #1e293b !important; text-decoration: none !important; }
.timeline-list { list-style: none !important; padding: 0 !important; margin: 0 !important; position: relative !important; padding-left: 15px !important; border-left: 2px solid #e2e8f0 !important; }
.timeline-list li { position: relative !important; margin-bottom: 15px !important; }
.timeline-dot { position: absolute !important; left: -21px !important; top: 4px !important; width: 10px !important; height: 10px !important; background: #e10600 !important; border-radius: 50% !important; border: 2px solid #ffffff !important; }
.timeline-post-title { font-size: 13px !important; font-weight: bold !important; color: #334155 !important; text-decoration: none !important; display: block !important; margin-bottom: 2px !important; }
.timeline-time { font-size: 11px !important; color: #94a3b8 !important; font-weight: 600 !important; }
.banner-300x250-placeholder { background: #f8fafc; border: 1px dashed #cbd5e1; height: 250px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #94a3b8; font-weight: bold; }
.banner-970x90-placeholder { background: #ffffff; border: 1px dashed #cbd5e1; height: 90px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #94a3b8; font-weight: bold; margin-top: 10px; width: 100%; }

/* ==========================================================================
   EXCLUSIVE & PERFECT PREMIUM DARK FOOTER
   ========================================================================== */
.site-premium-footer { 
    background-color: #111111 !important; 
    background: #111111 !important;
    color: #cbd5e1 !important; 
    margin-top: 50px !important; 
    padding: 50px 0 0 0 !important; 
    width: 100% !important; 
    display: block !important; 
    clear: both !important;
}

.main-footer-grid { 
    display: grid !important; 
    grid-template-columns: 1.5fr 1fr 1fr 1fr !important; 
    gap: 40px !important; 
    padding-bottom: 40px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
/* Agar popular tags column maujood nahi hai (koi tag hi nahi hai site par),
   to pehle 3 columns hi thoda zyada jagah le lein. */
.main-footer-grid:has(> :nth-child(3):last-child) {
    grid-template-columns: 1.5fr 1fr 1fr !important;
}

.footer-column-box { display: flex !important; flex-direction: column !important; }
.footer-logo-row { display: flex !important; align-items: center !important; gap: 12px !important; margin-bottom: 18px !important; }
.footer-logo-row img { height: 50px !important; width: auto !important; object-fit: contain !important; }
.footer-logo-text { font-size: 26px !important; font-weight: 800 !important; }
.footer-logo-text .text-red { color: #e10600 !important; }
.footer-logo-text .text-white { color: #ffffff !important; }
.footer-about-text { font-size: 14px !important; line-height: 1.6 !important; color: #a0aec0 !important; margin: 0 0 20px 0 !important; text-align: left !important; }

.footer-social-links { display: flex !important; gap: 10px !important; list-style: none !important; padding: 0 !important; margin: 0 !important; }
.footer-social-links a { width: 38px !important; height: 38px !important; background: #1c1c1c !important; color: #e10600 !important; display: flex !important; align-items: center !important; justify-content: center !important; border-radius: 4px !important; font-size: 15px !important; text-decoration: none !important; border: 1px solid #e10600 !important; transition: all 0.2s ease !important; }
.footer-social-links a:hover { background: #e10600 !important; color: #ffffff !important; transform: translateY(-2px) !important; }

.footer-section-title { 
    color: #ffffff !important; font-size: 18px !important; font-weight: 700 !important; position: relative !important; margin: 0 0 22px 0 !important; padding-bottom: 8px !important; border-bottom: 2px solid #222222 !important; text-align: left !important;
}
.footer-section-title::after { 
    content: '' !important; position: absolute !important; left: 0 !important; bottom: -2px !important; width: 45px !important; height: 2px !important; background: #e10600 !important; 
}

.footer-vertical-links { list-style: none !important; list-style-type: none !important; padding: 0 !important; margin: 0 !important; }
.footer-vertical-links li { margin-bottom: 12px !important; padding: 0 !important; list-style: none !important; background: transparent !important; }
.footer-vertical-links li::before { content: none !important; display: none !important; }
.footer-vertical-links li a { 
    color: #a0aec0 !important; font-size: 14px !important; text-decoration: none !important; display: flex !important; align-items: center !important; gap: 8px !important; background: transparent !important;
}
.footer-vertical-links li a:hover { color: #ffffff !important; padding-left: 4px !important; transition: all 0.2s ease !important; }

/* लोकप्रिय टैग्स ab pill/badge style me nahi hain — footer.php me inka HTML
   मुख्य कैटेगरीज / महत्वपूर्ण लिंक्स jaisa hi <ul class="footer-vertical-links">
   list bana diya gaya hai, isliye upar wali .footer-vertical-links CSS hi
   inpar bhi lagti hai aur teeno column ka layout ek jaisa dikhta hai. */

.footer-copyright-bar { 
    background: #0a0a0a !important; padding: 18px 0 !important; border-top: 1px solid #1f1f1f !important; font-size: 13px !important; color: #718096 !important; width: 100% !important; margin-top: 20px !important;
}
.copyright-flex { display: flex !important; justify-content: space-between !important; align-items: center !important; flex-wrap: wrap !important; }
.copyright-flex p { margin: 0 !important; color: #718096 !important; }
.copyright-flex .text-red { color: #e10600 !important; font-weight: bold !important; }


/* ==========================================================================
   DESKTOP RESPONSIVE BREAKPOINT FIXES
   ========================================================================== */
@media (min-width: 992px) {
    .mobile-header-wrapper {
        display: none !important;
    }
    .mobile-hamburger-toggle {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }
    #mobile-drawer-overlay {
        display: none !important;
    }
}


/* ==========================================================================
   MOBILE RESPONSIVE
   ========================================================================== */
@media (max-width: 991px) {
    html, body {
        margin: 0; padding: 0; width: 100%; max-width: 100%; overflow-x: hidden !important;
    }
    * { box-sizing: border-box; }

    .header-container, .container, .footer-container {
        width: 100%; max-width: 100%; padding: 0 10px;
    }

    .desktop-header-row {
        display: none !important;
    }

    .header-top-black-bar { padding: 6px 0; }
    .header-top-black-bar .header-container { display: flex; justify-content: space-between; align-items: center; }
    .top-bar-left { font-size: 12px; }
    .top-bar-right-socials { display: flex; gap: 12px; }

    .mobile-header-wrapper {
        display: grid !important;
        grid-template-columns: 40px 1fr 40px;
        grid-template-areas: "menu logo search";
        align-items: center;
        gap: 10px;
        padding: 10px 0;
        background: #ffffff;
    }

    .mobile-logo-area {
        grid-area: logo;
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-decoration: none;
    }

    .mobile-logo-area img {
        width: 52px !important;
        height: 52px !important;
        object-fit: contain;
    }

    .mobile-logo-text {
        display: flex;
        flex-direction: column;
        text-align: left;
    }

    .mobile-logo-title {
        font-size: 22px !important;
        font-weight: 700;
        line-height: 1;
        color: #111111;
    }

    .mobile-logo-title .text-red {
        color: #e10600;
    }

    .mobile-logo-tagline {
        font-size: 11px !important;
        color: #666666;
    }

    .mobile-search-btn {
        grid-area: search;
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: none;
        border: 0;
        font-size: 22px;
        cursor: pointer;
        color: #111111;
        justify-self: end;
    }

    .mobile-hamburger-toggle {
        grid-area: menu;
        display: block !important;
        background: none;
        border: 0;
        font-size: 24px;
        cursor: pointer;
        color: #111111;
        padding: 0;
        margin: 0;
    }

    .header-navigation-red-bar {
        display: none !important;
    }

    .header-breaking-news-ticker { margin-top: 10px; height: 38px !important; }
    .homepage-grid-wrapper { flex-direction: column !important; }
    .left-main-content-area, .right-sidebar-area { width: 100% !important; }
    .magazine-hero-block { grid-template-columns: 1fr !important; }
    .homepage-categories-grid { grid-template-columns: 1fr !important; }

.main-footer-grid{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:30px !important;
}

.footer-column-box{
    text-align:center !important;
}

.footer-logo-row{
    justify-content:center !important;
}

.footer-about-text{
    text-align:center !important;
}

.footer-social-links{
    justify-content:center !important;
}

.footer-section-title{
    text-align:center !important;
}

.footer-section-title::after{
    left:50% !important;
    transform:translateX(-50%) !important;
}

.footer-vertical-links li a{
    justify-content:center !important;
}

.copyright-flex{
    flex-direction:column !important;
    gap:10px !important;
    text-align:center !important;
}

    #mobile-drawer-overlay {
        position: fixed; top: 0; left: -100%; width: 100%; height: 100%;
        background: rgba(0,0,0,.5); transition: .3s; z-index: 99999;
    }
    #mobile-drawer-overlay.active { left: 0; display: block !important; }
    .mobile-drawer { width: 280px; max-width: 85%; height: 100%; background: #fff; overflow-y: auto; }
    img { max-width: 100%; height: auto; }
}

/* ==========================================================================
   AJAX SEARCH OVERLAY BOX (Fixed overlay — layout flow ko disturb nahi karta)
   ========================================================================== */

.ajax-search-overlay-box {
    position: fixed !important;
    inset: 0 !important;
    z-index: 99999 !important;
    background: rgba(17, 17, 17, 0.75) !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    padding: 90px 15px !important;
}

.ajax-search-overlay-box.hidden {
    display: none !important;
}

.ajax-search-box-inner {
    position: relative !important;
    width: 100% !important;
    max-width: 600px !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    padding: 24px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25) !important;
}

.ajax-search-close-btn {
    position: absolute !important;
    top: -14px !important;
    right: -14px !important;
    background: #111111 !important;
    border: 3px solid #ffffff !important;
    border-radius: 50% !important;
    font-size: 15px !important;
    color: #ffffff !important;
    cursor: pointer !important;
    width: 34px !important;
    height: 34px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25) !important;
    z-index: 2 !important;
}

.search-form-component-box { width: 100% !important; margin: 0 !important; }
.search-input-group-flex { display: flex !important; align-items: center !important; border: 2px solid var(--brand-bright-red, #e10600) !important; border-radius: 6px !important; overflow: hidden !important; }
.search-field-input-box { flex: 1 !important; border: none !important; outline: none !important; padding: 12px 14px !important; font-size: 15px !important; font-family: var(--font-stack) !important; }
.search-submit-action-btn { background: var(--brand-bright-red, #e10600) !important; border: none !important; color: #ffffff !important; width: 46px !important; height: 46px !important; display: flex !important; align-items: center !important; justify-content: center !important; cursor: pointer !important; font-size: 16px !important; }

.ajax-search-results-box { margin-top: 14px !important; max-height: 55vh !important; overflow-y: auto !important; }
.ajax-search-row-item { display: flex !important; align-items: center !important; gap: 12px !important; padding: 10px 6px !important; text-decoration: none !important; color: #111111 !important; border-bottom: 1px solid var(--border-light, #e2e8f0) !important; }
.ajax-search-row-item:hover { background: #f6f6f6 !important; }
.ajax-search-row-item img { width: 64px !important; height: auto !important; aspect-ratio: 16 / 9 !important; object-fit: cover !important; border-radius: 4px !important; flex-shrink: 0 !important; display: block !important; }
.ajax-row-title { font-size: 14px !important; font-weight: 600 !important; line-height: 1.4 !important; }
.search-loading, .search-no-results-msg, .search-error-msg { padding: 14px 6px !important; font-size: 14px !important; color: #555555 !important; text-align: center !important; }

@media (max-width: 600px) {
    .ajax-search-overlay-box { padding: 70px 12px !important; }
    .ajax-search-box-inner { padding: 18px !important; }
}


/* ==========================================================================
   MOBILE DRAWER - LOGO, MENU, SOCIAL, DARK MODE ROW STYLING
   (Pehle ye bilkul unstyled tha isliye default blue underlined links dikh rahe the)
   ========================================================================== */

.drawer-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px !important;
    border-bottom: 1px solid var(--border-light, #e2e8f0) !important;
}

.drawer-logo {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.drawer-logo img {
    width: 42px !important;
    height: 42px !important;
    object-fit: contain !important;
    display: block !important;
}

.drawer-logo-title-row {
    font-size: 19px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
}

.drawer-logo-title-row .text-red { color: #e10600 !important; }
.drawer-logo-title-row .text-black { color: #111111 !important; }

.drawer-logo-tagline {
    font-size: 11px !important;
    color: #555555 !important;
    font-weight: 600 !important;
    margin-top: 2px !important;
}

#drawer-close-btn {
    background: none !important;
    border: 1px solid var(--border-light, #e2e8f0) !important;
    border-radius: 50% !important;
    width: 34px !important;
    height: 34px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    color: #111111 !important;
    font-size: 14px !important;
    flex-shrink: 0 !important;
}

.drawer-dark-mode-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid var(--border-light, #e2e8f0) !important;
}

.drawer-dark-mode-label {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #111111 !important;
}

.dark-mode-toggle-btn {
    background: none !important;
    border: 1px solid var(--border-light, #e2e8f0) !important;
    border-radius: 50% !important;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    color: #111111 !important;
    font-size: 15px !important;
}

.drawer-navigation {
    padding: 8px 0 !important;
}

.mobile-vertical-drawer-menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mobile-vertical-drawer-menu li {
    border-bottom: 1px solid var(--border-light, #e2e8f0) !important;
}

.mobile-vertical-drawer-menu li a {
    display: block !important;
    padding: 13px 16px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #111111 !important;
    text-decoration: none !important;
}

.mobile-vertical-drawer-menu li a:hover,
.mobile-vertical-drawer-menu li.current-menu-item > a {
    color: #e10600 !important;
    background: #f6f6f6 !important;
}

.drawer-social {
    display: flex !important;
    gap: 14px !important;
    padding: 16px !important;
    border-top: 1px solid var(--border-light, #e2e8f0) !important;
}

.drawer-social a {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: #111111 !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    text-decoration: none !important;
}

.drawer-social a:hover { background: #e10600 !important; }


/* ==========================================================================
   DARK MODE (data-theme="dark" on <html>) — layout same rehta hai, sirf colors
   ========================================================================== */

html[data-theme="dark"] body { background-color: #0e0e0e !important; color: #eaeaea !important; }

html[data-theme="dark"] .header-middle-branding-area,
html[data-theme="dark"] .header-breaking-news-ticker,
html[data-theme="dark"] .magazine-hero-block,
html[data-theme="dark"] .cat-block-box,
html[data-theme="dark"] .sidebar-widget,
html[data-theme="dark"] .mobile-header-wrapper,
html[data-theme="dark"] .mobile-drawer,
html[data-theme="dark"] .archive-header-box,
html[data-theme="dark"] .archive-feed-compact-card,
html[data-theme="dark"] .banner-728x90-placeholder,
html[data-theme="dark"] .banner-970x90-placeholder,
html[data-theme="dark"] .ajax-search-box-inner {
    background-color: #1a1a1a !important;
    color: #eaeaea !important;
    border-color: #2e2e2e !important;
}

html[data-theme="dark"] .logo-tagline,
html[data-theme="dark"] .mobile-logo-tagline,
html[data-theme="dark"] .drawer-logo-tagline,
html[data-theme="dark"] .entry-meta-row-stamp,
html[data-theme="dark"] .drawer-dark-mode-label,
html[data-theme="dark"] p {
    color: #b7b7b7 !important;
}

html[data-theme="dark"] .logo-title-row .text-black,
html[data-theme="dark"] .mobile-logo-title .text-black,
html[data-theme="dark"] .drawer-logo-title-row .text-black,
html[data-theme="dark"] .entry-title,
html[data-theme="dark"] .archive-main-title,
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3 {
    color: #f2f2f2 !important;
}

html[data-theme="dark"] .dark-mode-toggle-btn,
html[data-theme="dark"] #drawer-close-btn,
html[data-theme="dark"] #mobile-hamburger-trigger,
html[data-theme="dark"] #search-trigger-bottom {
    color: #eaeaea !important;
    border-color: #333333 !important;
}

/* Red nav bar ke andar wale icons hamesha white hi rahenge (dark mode me bhi),
   kyunki background hamesha red hi hai — .dark-mode-toggle-btn ke generic
   dark-mode override ko yahan phir se overwrite karte hain. */
html[data-theme="dark"] .nav-utility-icons .dark-mode-toggle-btn,
html[data-theme="dark"] .nav-utility-icons #search-open-btn {
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.45) !important;
}

html[data-theme="dark"] .mobile-vertical-drawer-menu li a { color: #eaeaea !important; }
html[data-theme="dark"] .mobile-vertical-drawer-menu li a:hover { background: #262626 !important; }
html[data-theme="dark"] .mobile-vertical-drawer-menu li,
html[data-theme="dark"] .drawer-header,
html[data-theme="dark"] .drawer-dark-mode-row,
html[data-theme="dark"] .drawer-social {
    border-color: #2e2e2e !important;
}

html[data-theme="dark"] .search-field-input-box { background: #1a1a1a !important; color: #eaeaea !important; }


/* ==========================================================================
   DARK MODE — CATCH-ALL FIX for inline style="" colors used across
   single.php / category.php / front-page.php / archive.php / index.php etc.
   (Ye templates inline colors use karte hain jo pehle dark mode mein cover
   nahi hue the, isliye background white reh jaata tha aur text ghul jaata tha)
   ========================================================================== */

html[data-theme="dark"] [style*="background: #ffffff"],
html[data-theme="dark"] [style*="background:#ffffff"],
html[data-theme="dark"] [style*="background: #f8fafc"],
html[data-theme="dark"] [style*="background: #f1f5f9"],
html[data-theme="dark"] [style*="background:#f1f5f9"] {
    background: #1a1a1a !important;
}

html[data-theme="dark"] [style*="color: #1e293b"],
html[data-theme="dark"] [style*="color: #334155"],
html[data-theme="dark"] [style*="color: #111111"] {
    color: #f2f2f2 !important;
}

html[data-theme="dark"] [style*="color: #64748b"],
html[data-theme="dark"] [style*="color: #94a3b8"],
html[data-theme="dark"] [style*="color: #475569"] {
    color: #a8a8a8 !important;
}

html[data-theme="dark"] [style*="border: 1px solid #e2e8f0"],
html[data-theme="dark"] [style*="border:1px solid #e2e8f0"],
html[data-theme="dark"] [style*="border-bottom: 1px solid #f1f5f9"],
html[data-theme="dark"] [style*="border-top: 2px solid #f1f5f9"],
html[data-theme="dark"] [style*="border-top: 1px dashed #f1f5f9"],
html[data-theme="dark"] [style*="border-top: 1px dashed #e2e8f0"],
html[data-theme="dark"] [style*="border-bottom: 1px dashed #f1f5f9"],
html[data-theme="dark"] [style*="border-left: 2px solid #cbd5e1"],
html[data-theme="dark"] [style*="border: 1px dashed #cbd5e1"] {
    border-color: #2e2e2e !important;
}

/* Archive page thumbnail - true 16:9 box (previously had no defined size) */
.archive-feed-thumb { width: 96px !important; height: auto !important; aspect-ratio: 16 / 9 !important; flex-shrink: 0 !important; border-radius: 4px !important; overflow: hidden !important; }
.archive-feed-thumb img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; }

/* Post thumbnail placeholder background used before image loads */
html[data-theme="dark"] .single-post-featured-thumb,
html[data-theme="dark"] .archive-feed-thumb {
    background: #262626 !important;
}


/* ==========================================================================
   DARK MODE — FIX: front-page.php (home.css), single.php (single.css) aur
   template-parts/sidebar-widgets.php (sidebar-widgets.css) ke actual class
   names pehle dark mode section mein cover nahi hue the (purane/alag class
   names cover ho rahe the jo in templates mein use hi nahi hote), isliye
   inke white background/dark text boxes light hi rehte the dark mode mein.
   ========================================================================== */

/* --- Home page (front-page.php) card boxes: white -> dark background --- */
html[data-theme="dark"] .hero-split-grid,
html[data-theme="dark"] .category-box-column-card,
html[data-theme="dark"] .ad-placeholder-frame,
html[data-theme="dark"] .custom-sidebar-widget,
html[data-theme="dark"] .ad-placeholder-sidebar,
html[data-theme="dark"] .single-main-column {
    background: #1a1a1a !important;
    border-color: #2e2e2e !important;
}

html[data-theme="dark"] .cat-item-thumb .thumb-placeholder-empty {
    background: #262626 !important;
}

html[data-theme="dark"] .compact-row-article-card,
html[data-theme="dark"] .cat-block-inline-list-item,
html[data-theme="dark"] .entry-meta-bar,
html[data-theme="dark"] .post-footer-extras-wrapper,
html[data-theme="dark"] .timeline-list-style {
    border-color: #2e2e2e !important;
}

/* --- Headings / titles: dark text -> light text --- */
html[data-theme="dark"] .lead-story-title a,
html[data-theme="dark"] .compact-story-title a,
html[data-theme="dark"] .cat-item-title a,
html[data-theme="dark"] .cat-title-text,
html[data-theme="dark"] .single-post-headline,
html[data-theme="dark"] .widget-title-style,
html[data-theme="dark"] .side-post-info a,
html[data-theme="dark"] .timeline-link {
    color: #f2f2f2 !important;
}

/* --- Meta text / muted text: dark grey -> light grey --- */
html[data-theme="dark"] .lead-story-meta,
html[data-theme="dark"] .compact-date-meta,
html[data-theme="dark"] .cat-item-date,
html[data-theme="dark"] .view-more-tag-link,
html[data-theme="dark"] .post-breadcrumbs-nav,
html[data-theme="dark"] .post-breadcrumbs-nav a,
html[data-theme="dark"] .entry-meta-bar,
html[data-theme="dark"] .entry-meta-bar .meta-author,
html[data-theme="dark"] .single-article-body-text,
html[data-theme="dark"] .ad-placeholder-frame,
html[data-theme="dark"] .ad-placeholder-sidebar,
html[data-theme="dark"] .timeline-time {
    color: #b7b7b7 !important;
}

/* --- Article body text links/tags --- */
html[data-theme="dark"] .single-article-body-text a {
    color: #ff6b6b !important;
}

html[data-theme="dark"] .post-tags-container a {
    background: #262626 !important;
    color: #d0d0d0 !important;
}
html[data-theme="dark"] .post-tags-container a:hover {
    background: #e10600 !important;
    color: #ffffff !important;
}

/* ==========================================================================
   DARK MODE — features.css ke naye components (Mega Menu, Author Box,
   Related Posts, Web Stories, Reading Progress Bar Track)
   ========================================================================== */

html[data-theme="dark"] .main-horizontal-menu .sub-menu {
    background: #1a1a1a !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4) !important;
}
html[data-theme="dark"] .main-horizontal-menu .sub-menu li,
html[data-theme="dark"] .main-horizontal-menu .sub-menu li a {
    background: #1a1a1a !important;
    color: #eaeaea !important;
}
html[data-theme="dark"] .main-horizontal-menu .sub-menu li a:hover {
    background: #262626 !important;
    color: #ff6b6b !important;
}

html[data-theme="dark"] .pkp-author-box {
    background: #1a1a1a !important;
    border-color: #2e2e2e !important;
}
html[data-theme="dark"] .pkp-author-name a { color: #f2f2f2 !important; }
html[data-theme="dark"] .pkp-author-bio { color: #b7b7b7 !important; }

html[data-theme="dark"] .pkp-related-posts-title { color: #f2f2f2 !important; }
html[data-theme="dark"] .pkp-related-post-title a { color: #f2f2f2 !important; }
html[data-theme="dark"] .pkp-related-post-date { color: #a8a8a8 !important; }
html[data-theme="dark"] .pkp-related-post-thumb { background: #262626 !important; }

html[data-theme="dark"] .pkp-web-stories-section {
    background: #1a1a1a !important;
}
html[data-theme="dark"] .pkp-web-stories-title { color: #f2f2f2 !important; }
html[data-theme="dark"] .pkp-story-title { color: #eaeaea !important; }
html[data-theme="dark"] .pkp-story-thumb { background: #262626 !important; }
html[data-theme="dark"] .pkp-web-stories-empty { color: #a8a8a8 !important; }

html[data-theme="dark"] .pkp-skip-link:focus {
    background: #262626 !important;
    color: #ffffff !important;
}

/* ============================================================================
   GLOBAL DESIGN SYSTEM & PREMIUM POLISH
   Sirf visual refinement — koi layout/structure change nahi. Design tokens
   (radius, shadow, transition, spacing) ek jagah define karke poori theme
   me consistently apply kiye gaye hain.
   ============================================================================ */

:root {
    --pkp-radius-sm: 4px;
    --pkp-radius-md: 8px;
    --pkp-radius-lg: 12px;
    --pkp-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
    --pkp-shadow-md: 0 4px 14px rgba(15, 23, 42, 0.08);
    --pkp-shadow-hover: 0 12px 28px rgba(15, 23, 42, 0.14);
    --pkp-transition: all 0.25s ease;
    --pkp-red: #e10600;
}

/* ---- Card / row hover effects (image zoom + title color shift) ---- */
.compact-row-article-card,
.cat-block-inline-list-item,
.side-post-row,
.trending-item,
.archive-feed-link {
    transition: background 0.2s ease;
    border-radius: var(--pkp-radius-sm);
}
.compact-row-article-card:hover,
.cat-block-inline-list-item:hover,
.side-post-row:hover,
.trending-item:hover,
.archive-feed-link:hover { background: #fafbfc; }

.compact-row-article-card:hover .compact-story-title a,
.cat-block-inline-list-item:hover .cat-item-title a,
.side-post-row:hover .side-post-info a,
.trending-item:hover .trending-text a,
.archive-feed-link:hover .entry-title,
.pkp-related-post-card:hover .pkp-related-post-title a,
.lead-story-title a:hover { color: var(--pkp-red) !important; }

.compact-thumb-frame, .cat-item-thumb, .side-post-thumb, .trending-thumb,
.pkp-related-post-thumb, .archive-feed-thumb, .single-post-featured-thumb,
.lead-card-media-holder {
    overflow: hidden !important;
    border-radius: var(--pkp-radius-md) !important;
}
.compact-thumb-frame img, .cat-item-thumb img, .side-post-thumb img,
.trending-thumb img, .pkp-related-post-thumb img, .archive-feed-thumb img,
.single-post-featured-thumb img, .lead-card-media-holder img {
    transition: transform 0.4s ease !important;
}
.compact-row-article-card:hover .compact-thumb-frame img,
.cat-block-inline-list-item:hover .cat-item-thumb img,
.side-post-row:hover .side-post-thumb img,
.trending-item:hover .trending-thumb img,
.archive-feed-link:hover .archive-feed-thumb img,
.pkp-related-post-card:hover .pkp-related-post-thumb img,
.lead-card-media-holder:hover img { transform: scale(1.07); }

.pkp-related-post-card,
.custom-sidebar-widget {
    transition: var(--pkp-transition);
}
.pkp-related-post-card:hover { transform: translateY(-3px); }

/* Web-stories card par bhi halka lift hover */
.pkp-story-card { transition: var(--pkp-transition) !important; display: block; }
.pkp-story-card:hover { transform: translateY(-4px); box-shadow: var(--pkp-shadow-hover); }

/* ---- Ad placeholders: professional look (empty box jaisa nahi) ---- */
.ad-placeholder-frame,
.banner-728x90-placeholder,
.ad-placeholder-sidebar {
    background: repeating-linear-gradient(135deg, #fbfbfd, #fbfbfd 10px, #f4f5f8 10px, #f4f5f8 20px) !important;
    border: 1px solid #e5e8ee !important;
    border-radius: var(--pkp-radius-md) !important;
    color: #9aa3b2 !important;
    font-size: 11px !important;
    letter-spacing: 0.4px;
    position: relative;
}
.ad-placeholder-frame span,
.banner-728x90-placeholder span,
.ad-placeholder-sidebar span { position: relative; z-index: 1; background: #ffffff; padding: 3px 10px; border-radius: 20px; box-shadow: var(--pkp-shadow-sm); }

/* extra_class param (banner-728x90-placeholder, ad-placeholder-sidebar) us
   div par bhi lagta hai jab real <ins> ad already maujood ho (na sirf khaali
   placeholder ke waqt) — isliye jab ads-init.js ad push kar deta hai, uska
   diagonal-stripe look yahan explicitly hata dete hain. */
.pkp-ad-slot.pkp-ad-initialized.ad-placeholder-frame,
.pkp-ad-slot.pkp-ad-initialized.banner-728x90-placeholder,
.pkp-ad-slot.pkp-ad-initialized.ad-placeholder-sidebar {
    background: transparent !important;
    border: none !important;
}
.pkp-ad-slot.pkp-ad-initialized span { display: none !important; }

/* ---- Sidebar widgets: header + spacing refine ---- */
.custom-sidebar-widget {
    box-shadow: var(--pkp-shadow-sm);
    border-radius: var(--pkp-radius-md) !important;
}
.widget-title-style {
    letter-spacing: 0.2px;
}

/* ---- Global button polish (site par jitne bhi "और देखें" / submit / share buttons hai) ---- */
.view-more-tag-link, .load-more-btn, .pkp-author-link {
    transition: var(--pkp-transition) !important;
}
.view-more-tag-link:hover { color: var(--pkp-red) !important; }

/* ============================================================================
   COMMENT SECTION — MODERN CARD STYLE
   ============================================================================ */
.comments-area-wrapper {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eef0f3;
}
.comments-section-title {
    font-size: 20px;
    font-weight: 800;
    color: #111111;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--pkp-red);
    display: inline-block;
}
.comment-items-ordered-list { list-style: none; margin: 0; padding: 0; }
.comment-items-ordered-list .comment {
    background: #ffffff;
    border: 1px solid #eef0f3;
    border-radius: var(--pkp-radius-md);
    padding: 18px 20px;
    margin-bottom: 14px;
    box-shadow: var(--pkp-shadow-sm);
}
.comment-items-ordered-list .children { list-style: none; margin: 14px 0 0 24px; padding-left: 18px; border-left: 2px solid #f1f5f9; }
.comment-items-ordered-list .comment-author .avatar {
    border-radius: 50%;
    width: 42px;
    height: 42px;
    float: left;
    margin-right: 14px;
}
.comment-items-ordered-list .comment-author .fn { font-weight: 700; font-size: 14px; color: #111111; font-style: normal; }
.comment-items-ordered-list .comment-metadata { font-size: 12px; color: #94a3b8; margin-bottom: 8px; }
.comment-items-ordered-list .comment-metadata a { color: #94a3b8; text-decoration: none; }
.comment-items-ordered-list .comment-content p { font-size: 14.5px; line-height: 1.7; color: #334155; margin: 0 0 8px 0; }
.comment-items-ordered-list .reply a {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--pkp-red);
    text-decoration: none;
    border: 1px solid var(--pkp-red);
    padding: 4px 14px;
    border-radius: 20px;
    transition: var(--pkp-transition);
}
.comment-items-ordered-list .reply a:hover { background: var(--pkp-red); color: #ffffff; }

.comment-respond {
    background: #f8fafc;
    border: 1px solid #eef0f3;
    border-radius: var(--pkp-radius-lg);
    padding: 26px;
    margin-top: 25px;
}
.comment-reply-main-title {
    font-size: 18px;
    font-weight: 800;
    color: #111111;
    margin: 0 0 4px 0;
}
.comment-notes, .logged-in-as { font-size: 13px; color: #64748b; margin-bottom: 16px; }
.comment-form-comment,
.comment-form-author,
.comment-form-email,
.comment-form-url { margin-bottom: 16px; }
.comment-form label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    border: 1px solid #dfe3e9;
    border-radius: var(--pkp-radius-sm);
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    color: #111111;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.comment-form textarea { min-height: 130px; resize: vertical; }
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--pkp-red);
    box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.1);
}
.comment-form .form-submit { margin: 4px 0 0 0; }
.comment-form #submit,
#commentform input#submit {
    background: var(--pkp-red);
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--pkp-transition);
}
.comment-form #submit:hover { background: #b70500; box-shadow: var(--pkp-shadow-hover); transform: translateY(-1px); }

html[data-theme="dark"] .comments-area-wrapper { border-color: #2a2a2a !important; }
html[data-theme="dark"] .comments-section-title,
html[data-theme="dark"] .comment-reply-main-title,
html[data-theme="dark"] .comment-items-ordered-list .comment-author .fn { color: #f1f1f1 !important; }
html[data-theme="dark"] .comment-items-ordered-list .comment,
html[data-theme="dark"] .comment-respond { background: #1c1c1c !important; border-color: #2a2a2a !important; }
html[data-theme="dark"] .comment-form input[type="text"],
html[data-theme="dark"] .comment-form input[type="email"],
html[data-theme="dark"] .comment-form input[type="url"],
html[data-theme="dark"] .comment-form textarea { background: #262626 !important; border-color: #333333 !important; color: #f1f1f1 !important; }
html[data-theme="dark"] .comment-form label { color: #cbd5e1 !important; }

/* Mobile-only header ad — desktop par yeh hidden hai (wahan alag header ad
   pehle se hai .desktop-header-row me). Sirf ≤991px par dikhega jahan
   desktop wala header ad hota hi nahi hai. */
.mobile-header-ad-section { display: none !important; margin: 10px auto; max-height: 100px; overflow: hidden; }
@media (max-width: 991px) {
    .mobile-header-ad-section { display: block !important; }
}
