/* ==========================================================================
   2026 DESIGN SYSTEM TOKENS (CORE ENGINE)
   ========================================================================== */
:root {
    /* --- COLOR PALETTE (Modern Neutral & Authority Blue) --- */
    --primary-base: #0f172a;    /* Slate 900 */
    --primary-light: #334155;   /* Slate 700 */
    --accent-brand: #003366;    /* Deep Gov Blue */
    --accent-vibrant: #2563eb;  /* Inter Blue (Action) */
    --accent-alert: #dc2626;    /* Signal Red */
    --accent-success: #16a34a;  /* Emerald */
    --accent-gold: #d97706;     /* Award Gold */

    /* --- SURFACE & BACKGROUNDS --- */
    --bg-body: #f8fafc;         /* Ultra light slate */
    --bg-surface: #ffffff;
    --bg-surface-glass: rgba(255, 255, 255, 0.85);
    --bg-inset: #f1f5f9;

    /* --- TYPOGRAPHY --- */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-invert: #ffffff;

    /* --- ELEVATION (Soft Layered Shadows) --- */
    --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.1), 0 1px 2px -1px rgba(15, 23, 42, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -2px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.1);

    /* --- SPACING & LAYOUT --- */
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;       /* 12px Standard */
    --radius-lg: 1rem;          /* 16px Premium */
    --radius-pill: 9999px;
    --container-width: 1280px;
    
    /* --- ANIMATION --- */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --duration-fast: 150ms;
    --duration-normal: 300ms;

    /* --- BACKWARD COMPAT VARIABLES (Mapped to new system) --- */
    --primary-color: var(--accent-brand);
    --accent-color: var(--accent-alert);
    --text-color: var(--text-main);
    --bg-light: var(--bg-body);
    --white: var(--bg-surface);
    --shadow: var(--shadow-md);
    --transition: all var(--duration-normal) var(--ease-smooth);
}

/* ==========================================================================
   PART 1: GOV NEWS PREMIUM (2026 UPGRADE)
   ========================================================================== */

body { 
    font-family: var(--font-sans); 
    margin: 0; 
    background: var(--bg-body); 
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.gnp-container { 
    max-width: var(--container-width); 
    margin: 0 auto; 
    padding: 0 20px; /* Increased padding */
    width: 100%;
    box-sizing: border-box;
}

/* --- 1. TOP BAR (Refined Tech Look) --- */
.gnp-top-bar { 
    background: #000000; /* Pure Black for contrast */
    color: rgba(255,255,255,0.9); 
    font-size: 13px; /* Legibility bump */
    height: auto; 
    line-height: normal; 
    overflow: hidden; 
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0;
    font-weight: 500;
}

.gnp-top-bar .gnp-container { 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    padding: 0; 
}

/* Row 1: Clock Widget */
.gnp-clock-widget { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 15px; 
    font-weight: 600; 
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: #0a0a0a;
    color: #e2e8f0; 
    letter-spacing: 0.5px;
}

.dashicons-clock { 
    color: var(--accent-gold); /* Updated to Gold for premium feel */
    margin-top: -2px;
}

/* Row 2: News Ticker */
.gnp-ticker-wrap { 
    display: flex; 
    align-items: center; 
    overflow: hidden; 
    width: 100%;
    margin: 0; 
    padding: 8px 0;
    background: #111;
    backdrop-filter: blur(10px);
}

.gnp-ticker-label { 
    background: var(--accent-color); 
    color: #fff; 
    padding: 4px 12px; 
    font-weight: 700; 
    font-size: 11px; 
    text-transform: uppercase; 
    border-radius: var(--radius-sm); 
    margin: 0 15px; 
    white-space: nowrap; 
    flex-shrink: 0; 
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4); /* Glow effect */
}

.gnp-ticker-items { 
    flex: 1; 
    position: relative; 
    overflow: hidden; 
    white-space: nowrap; 
    mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent); 
    -webkit-mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent); 
}

/* UPDATED TICKER SPEED */
.ticker-move { 
    display: flex; 
    animation: ticker-scroll 20s linear infinite; /* Smooth adjustment */
    white-space: nowrap; 
    will-change: transform; /* Performance Hint */
}

.ticker-move:hover { 
    animation-play-state: paused; 
    cursor: grab; 
}

.gnp-ticker-wrap:hover .ticker-move { animation-play-state: paused; }

.ticker-item { display: inline-block; margin-right: 60px; }
.ticker-item a { color: #f1f5f9; text-decoration: none; font-weight: 500; font-size: 13px; transition: color 0.2s; }
.ticker-item a:hover { color: var(--accent-gold); text-decoration: none; border-bottom: 1px solid var(--accent-gold); }

@keyframes ticker { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-100%, 0, 0); } }
@keyframes pulse { 0% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(0.95); } 100% { opacity: 1; transform: scale(1); } }

/* --- 2. HEADER (Glassmorphism Upgrade) --- */
.site-header { 
    background: var(--bg-surface-glass); 
    padding: 16px 0; 
    box-shadow: var(--shadow-sm); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }

/* --- PREMIUM LOGO ADAPTIVE FIT --- */
.site-branding { display: flex; align-items: center; max-width: 40%; z-index: 10; gap: 12px; }
.header-logo-wrap { display: flex; align-items: center; }
.custom-logo-link { display: flex; align-items: center; transition: transform 0.2s; }
.custom-logo-link:hover { transform: scale(1.02); }
.custom-logo-link img { width: auto; height: auto; max-height: 55px; max-width: 100%; object-fit: contain; display: block; }
.site-branding h1 { margin: 0; font-size: clamp(20px, 2.5vw, 28px); font-weight: 800; color: var(--accent-brand); line-height: 1.1; letter-spacing: -0.5px; }

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 991px) {
    .site-header { position: relative; top: auto; } /* Unstick on mobile for screen space */
    .site-branding { max-width: 75%; margin-left: 10px; }
    .custom-logo-link img { max-height: 40px; }
    .site-branding h1 { font-size: 18px; }
}

.header-ad-slot { 
    width: 728px; 
    height: 90px; 
    background: var(--bg-inset); 
    border-radius: var(--radius-sm);
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: var(--text-muted); 
    display: none; 
    font-size: 12px;
    letter-spacing: 1px;
    border: 1px dashed #cbd5e1;
} 

/* --- 3. NAVIGATION (Desktop - Floating Pill) --- */
.main-navigation { 
    background: var(--accent-brand); 
    position: sticky; 
    top: 85px; /* Adjust based on header height */
    z-index: 999; 
    margin-top: 0;
    box-shadow: var(--shadow-md);
}
/* Visual enhancement: Gradient Line */
.main-navigation::after {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-vibrant), var(--accent-gold), var(--accent-vibrant));
    width: 100%;
}

.main-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: flex-start; }
.main-navigation ul li a { 
    display: block; 
    padding: 16px 24px; 
    color: rgba(255,255,255,0.9); 
    text-decoration: none; 
    font-weight: 600; 
    font-size: 15px; 
    transition: all 0.2s ease;
    position: relative;
}
.main-navigation ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.main-navigation ul li:hover { background: rgba(255,255,255,0.05); }
.main-navigation ul li:hover a { color: #fff; }
.main-navigation ul li:hover a::after { width: 100%; }

.gnp-mobile-toggle { display: none; background: transparent; border: 1px solid var(--primary-light); border-radius: 4px; cursor: pointer; transition: 0.2s; }
.gnp-mobile-toggle:hover { background: var(--bg-inset); }

/* --- 4. MOBILE APP DRAWER CSS --- */
.mobile-drawer { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 300px; 
    height: 100%; 
    background: var(--bg-surface); 
    z-index: 10000; 
    transform: translateX(-100%); 
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
    box-shadow: 10px 0 30px rgba(0,0,0,0.15); 
}
.mobile-drawer.active { transform: translateX(0); }
.drawer-header { 
    background: var(--accent-brand); 
    color: #fff; 
    padding: 25px 20px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.drawer-title { font-size: 20px; font-weight: 800; letter-spacing: -0.5px; }
.drawer-close { background: rgba(255,255,255,0.1); border: none; color: #fff; font-size: 20px; cursor: pointer; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; transition: 0.2s; }
.drawer-close:hover { background: rgba(255,255,255,0.3); }
.drawer-content ul { list-style: none; padding: 0; margin: 0; }
.drawer-content ul li a { 
    display: flex; 
    align-items: center;
    justify-content: space-between;
    padding: 18px 25px; 
    border-bottom: 1px solid var(--bg-inset); 
    color: var(--text-main); 
    text-decoration: none; 
    font-weight: 500;
    transition: background 0.2s;
}
.drawer-content ul li a:hover { background: var(--bg-inset); color: var(--accent-vibrant); padding-left: 30px; }
.mobile-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(4px); z-index: 9999; visibility: hidden; opacity: 0; transition: 0.3s; }
.mobile-overlay.active { visibility: visible; opacity: 1; }

/* --- RESPONSIVE --- */
@media (min-width: 992px) { .header-ad-slot { display: flex; } }
@media (max-width: 991px) {
    .main-navigation { display: none; } 
    .gnp-mobile-toggle { display: block; padding: 8px 12px; }
    .gnp-mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--accent-brand); margin-bottom: 5px; border-radius: 2px; }
    .gnp-mobile-toggle span:last-child { margin-bottom: 0; }
    .site-branding h1 { font-size: 22px; }
}

/* --- SINGLE POST STYLING (OPTIMIZED NEWS LAYOUT) --- */
.gnp-single-post-container { 
    background: var(--bg-surface); 
    padding: 40px; 
    margin-bottom: 40px; 
    border-radius: var(--radius-lg); 
    box-shadow: var(--shadow-sm); 
    border: 1px solid rgba(255,255,255,0.5);
}
.gnp-post-header { margin-bottom: 32px; border-bottom: 1px solid var(--bg-inset); padding-bottom: 24px; }
.gnp-cat-label a { 
    text-transform: uppercase; 
    font-size: 11px; 
    font-weight: 800; 
    color: var(--accent-alert); 
    letter-spacing: 1px; 
    text-decoration: none; 
    background: #fff1f2; 
    padding: 6px 10px; 
    border-radius: 6px; 
    transition: 0.2s;
}
.gnp-cat-label a:hover { background: var(--accent-alert); color: #fff; }

.entry-title { 
    font-size: clamp(28px, 4vw, 42px); 
    margin: 20px 0 20px; 
    line-height: 1.25; 
    color: var(--text-main); 
    font-weight: 800; 
    letter-spacing: -1px; 
}

/* Optimized Post Meta Data Strip */
.entry-meta { 
    display: flex; 
    align-items: center; 
    gap: 24px; 
    font-size: 14px; 
    color: var(--text-muted); 
    background: var(--bg-inset); 
    padding: 12px 20px; 
    border-radius: var(--radius-md); 
    border-left: 4px solid var(--accent-brand); 
    margin-top: 20px; 
}
.meta-author { font-weight: 700; color: var(--accent-brand); display: flex; align-items: center; gap: 8px; }
.meta-author img { border-radius: 50%; width: 28px; height: 28px; vertical-align: middle; border: 2px solid #fff; }
.meta-date, .meta-read-time { display: flex; align-items: center; gap: 6px; }
.meta-date i, .meta-read-time i { color: #94a3b8; }

@media (max-width: 600px) {
    .entry-meta { flex-wrap: wrap; gap: 12px; padding: 15px; }
    .meta-author { width: 100%; border-bottom: 1px solid rgba(0,0,0,0.05); padding-bottom: 8px; margin-bottom: 4px; }
    .gnp-single-post-container { padding: 20px; border-radius: var(--radius-md); }
}

/* --- NEW PREMIUM FEATURE IMAGE FRAME (3D Depth) --- */
.gnp-premium-frame {
    background: var(--bg-surface);
    padding: 8px;                
    border: 1px solid rgba(226, 232, 240, 0.8); 
    border-radius: var(--radius-lg);         
    box-shadow: var(--shadow-lg); 
    transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
    display: block;
    overflow: hidden;
    position: relative;
    margin-bottom: 32px;        
}

/* Hover Effect (Interactive Feel) */
.gnp-premium-frame:hover {
    transform: translateY(-4px) scale(1.005);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-vibrant); 
}

/* Forces the image to cover the box perfectly */
.gnp-premium-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;        
    object-position: top;     
    border-radius: calc(var(--radius-lg) - 4px);        
    display: block;
}

/* Specific Height for Single Post (Auto height to show full doc) */
.gnp-single-post-container .gnp-premium-frame {
    height: auto;
    max-height: 600px; 
}

/* --- PREMIUM TOOLS BAR & SPEECH --- */
.gnp-tools-bar { 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    margin-bottom: 40px; 
    background: var(--bg-surface); 
    border: 1px solid #e2e8f0; 
    padding: 10px 20px; 
    border-radius: var(--radius-pill); 
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px; /* Below header */
    z-index: 90;
}

.tools-left, .tools-right { display: flex; align-items: center; gap: 12px; }

.tool-btn { 
    background: transparent; 
    border: 1px solid transparent; 
    padding: 6px 14px; 
    cursor: pointer; 
    border-radius: 20px; 
    font-size: 13px; 
    color: var(--text-muted); 
    display: inline-flex; 
    align-items: center; 
    gap: 6px; 
    text-decoration: none; 
    font-weight: 600;
    transition: all 0.2s ease; 
}

.tool-btn:hover, .tool-btn:focus-visible { background: var(--bg-inset); color: var(--accent-brand); transform: translateY(-1px); }

/* Font Size Buttons */
.font-minus, .font-plus { background: var(--bg-inset); color: var(--text-main); width: 32px; height: 32px; padding: 0; justify-content: center; }
.font-minus:hover, .font-plus:hover { background: #cbd5e1; }

/* Speech Widget (Pill Style) */
.gnp-speech-widget { 
    display: inline-flex; 
    align-items: center; 
    background: var(--bg-inset); 
    border-radius: 50px; 
    padding: 3px 5px 3px 15px; 
    margin-right: 8px;
    border: 1px solid transparent;
    transition: border-color 0.2s;
}
.gnp-speech-widget:hover { border-color: #cbd5e1; }

.tool-select { 
    border: none; 
    background: transparent; 
    font-size: 13px; 
    color: var(--text-main); 
    padding: 4px 2px; 
    cursor: pointer; 
    outline: none; 
    max-width: 100px; 
    font-weight: 600;
}

.gnp-speech-widget #gnp-speak-btn { 
    border: none; 
    background: var(--accent-brand); 
    color: #fff; 
    border-radius: 50%; 
    width: 30px; 
    height: 30px; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    margin-left: 8px;
    padding: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s;
}
.gnp-speech-widget #gnp-speak-btn:hover { transform: scale(1.1); }

.active-speak { background: var(--accent-alert) !important; animation: pulse 1.5s infinite; }

.whatsapp-btn { background: #dcfce7; color: #15803d; }
.whatsapp-btn:hover { background: #25D366; color: #fff; box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3); }
.pdf-btn { color: #ef4444; background: #fef2f2; }
.pdf-btn:hover { background: #fee2e2; color: #b91c1c; }

/* Inline Dark Mode */
.gnp-dark-mode-toggle { background: #1f2937; color: #fff; }
.gnp-dark-mode-toggle:hover { background: #000; box-shadow: 0 0 10px rgba(0,0,0,0.2); }

/* --- PREMIUM ARTICLE BODY TYPOGRAPHY --- */
.gnp-article-body { 
    font-size: clamp(18px, 1.2vw, 20px); 
    line-height: 1.85; 
    color: var(--text-main); 
    font-family: var(--font-sans);
}

.gnp-article-body p { margin-bottom: 1.8em; }

/* Premium Headings inside Content */
.gnp-article-body h2 { 
    font-size: 28px; 
    font-weight: 800; 
    color: var(--primary-base); 
    margin-top: 50px; 
    margin-bottom: 24px; 
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: 12px;
}
/* Accent line under H2 */
.gnp-article-body h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-brand), var(--accent-vibrant));
    margin-top: 12px;
    border-radius: 3px;
}

.gnp-article-body h3 { font-size: 24px; font-weight: 700; color: var(--text-main); margin-top: 40px; margin-bottom: 18px; }
.gnp-article-body h4 { font-size: 20px; font-weight: 600; margin-top: 32px; color: var(--text-light); }

/* Premium Blockquotes */
.gnp-article-body blockquote {
    margin: 40px 0;
    padding: 24px 32px;
    background: #f8fafc;
    border-left: 5px solid var(--accent-color);
    font-style: italic;
    font-size: 1.15em;
    color: #475569;
    border-radius: 0 12px 12px 0;
    box-shadow: inset 2px 0 10px rgba(0,0,0,0.02);
}

/* Premium Lists */
.gnp-article-body ul, .gnp-article-body ol { margin-bottom: 30px; padding-left: 20px; }
.gnp-article-body li { margin-bottom: 12px; padding-left: 8px; }
.gnp-article-body ul li::marker { color: var(--accent-vibrant); font-weight: bold; }

/* In-Content Injection (FIXED FONTS) */
.gnp-related-inline { 
    border-left: 4px solid var(--accent-color); 
    background: #fff1f2; 
    padding: 20px; 
    margin: 40px 0; 
    font-family: inherit; 
    font-style: normal; 
    border-radius: 0 8px 8px 0;
}
.gnp-related-inline .related-label { font-weight: bold; font-style: normal; text-transform: uppercase; font-size: 11px; display: block; color: var(--accent-color); margin-bottom: 8px; opacity: 0.8; }
.gnp-related-inline a { font-size: 18px; color: #111; text-decoration: none; font-weight: 700; line-height: 1.4; display: block; }
.gnp-related-inline a:hover { text-decoration: underline; color: var(--accent-brand); }

/* Print */
@media print {
    .site-header, .gnp-top-bar, .gnp-tools-bar, .entry-footer, #gnp-infinite-wrapper article ~ article { display: none !important; }
    body, .gnp-single-post-container { background: #fff !important; color: #000 !important; box-shadow: none !important; margin: 0 !important; padding: 0 !important; }
    .entry-title { font-size: 24pt; }
    .gnp-article-body { font-size: 12pt; }
    a::after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; }
}

/* Progress Bar */
.progress-container { position: fixed; top: 0; left: 0; width: 100%; height: 4px; z-index: 99999; background: transparent; pointer-events: none; }
#gnp-progress-bar { height: 4px; background: linear-gradient(90deg, var(--accent-color), var(--accent-gold)); width: 0%; transition: width 0.1s; box-shadow: 0 0 10px var(--accent-color); }

/* Homepage Grid */
.gnp-main-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; margin-top: 48px; margin-bottom: 60px; }
.gnp-news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px; }
.gnp-card { 
    background: var(--bg-surface); 
    border-radius: var(--radius-lg); 
    overflow: hidden; 
    box-shadow: var(--shadow-sm); 
    transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth); 
    display: flex; 
    flex-direction: column; 
    border: 1px solid rgba(0,0,0,0.05);
}
.gnp-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: rgba(0,0,0,0.1); }

/* --- [FIXED] GRID IMAGE ASPECT RATIO (Prevents Zoom on Wide Cards) --- */
.gnp-card-thumb { 
    position: relative; 
    width: 100%;
    /* CHANGED FROM AUTO HEIGHT TO FIXED ASPECT RATIO */
    aspect-ratio: 16 / 10; /* Modern Wide Standard */
    background: var(--bg-inset); 
    overflow: hidden; 
    /* MERGED PREMIUM BORDER STYLES HERE */
    padding: 0; /* Removed internal padding for cleaner look */
    border-bottom: 1px solid var(--bg-inset);
}
.gnp-card-thumb img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    object-position: top center; 
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
    display: block;
}
.gnp-card:hover .gnp-card-thumb img { transform: scale(1.05); }

/* UPDATED CARD BADGE (TOP RIGHT) */
.card-cat-badge { 
    position: absolute; 
    top: 12px;       
    right: 12px;       
    bottom: auto;      
    left: auto;       
    background: rgba(255, 255, 255, 0.95); 
    color: var(--accent-brand); 
    font-size: 10px; 
    font-weight: 800; 
    padding: 5px 12px; 
    text-transform: uppercase; 
    border-radius: 20px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 5;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}
.gnp-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; font-weight: 500; }
.card-title { font-size: 19px; margin: 0 0 12px; line-height: 1.4; font-weight: 700; letter-spacing: -0.3px; }
.card-title a { color: var(--text-main); text-decoration: none; transition: color 0.2s; }
.card-title a:hover { color: var(--accent-vibrant); }
.card-excerpt { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 15px; }

/* Homepage Actions (Quick Read) */
.gnp-card-actions { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--bg-inset); }
.gnp-btn-link, .gnp-expand-btn { font-size: 13px; font-weight: 700; text-decoration: none; border: none; background: transparent; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: all 0.2s; }
.gnp-btn-link { color: var(--text-muted); }
.gnp-btn-link:hover { color: var(--accent-brand); }
.gnp-expand-btn { background: #eff6ff; color: var(--accent-vibrant); padding: 8px 16px; border-radius: 20px; }
.gnp-expand-btn:hover { background: var(--accent-vibrant); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2); }
.gnp-expand-btn.active-read { background: #fee2e2; color: #dc2626; }
.gnp-expand-btn.active-read:hover { background: #dc2626; color: #fff; }
.gnp-ajax-content-area { display: none; margin-top: 20px; padding-top: 20px; border-top: 2px dashed #e2e8f0; font-size: 15px; line-height: 1.7; color: var(--text-main); }
.gnp-ajax-content-area img { max-width: 100%; height: auto; border-radius: 8px; margin: 15px 0; }
.gnp-read-footer { text-align: center; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--bg-inset); }

/* Sidebar & Widgets */
.widget { background: var(--bg-surface); padding: 30px; margin-bottom: 35px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.05); }
.widget-title { font-size: 15px; text-transform: uppercase; border-bottom: 2px solid var(--accent-brand); padding-bottom: 12px; margin-bottom: 24px; color: var(--text-main); font-weight: 800; letter-spacing: 0.5px; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { padding: 12px 0; border-bottom: 1px solid var(--bg-inset); display: flex; align-items: center; }
.widget ul li::before { content: '•'; color: var(--accent-brand); margin-right: 8px; font-size: 18px; line-height: 0; }
.widget ul li a { text-decoration: none; color: var(--text-main); font-weight: 500; transition: color 0.2s; }
.widget ul li a:hover { color: var(--accent-vibrant); }
.gnp-widget-subscribe { background: #f0fdf4; border: 1px solid #bbf7d0; text-align: center; }
.btn-whatsapp-full { display: block; background: #25D366; color: #fff; padding: 14px; border-radius: 8px; text-decoration: none; font-weight: bold; margin-top: 20px; box-shadow: 0 4px 6px rgba(37, 211, 102, 0.2); transition: transform 0.2s; }
.btn-whatsapp-full:hover { transform: translateY(-2px); box-shadow: 0 8px 15px rgba(37, 211, 102, 0.3); }

/* Footer */
.site-footer { background: #111827; color: #9ca3af; padding: 60px 0 30px; font-size: 14px; margin-top: auto; border-top: 4px solid var(--accent-brand); }
.site-info { text-align: center; margin-bottom: 24px; }
.footer-menu ul { display: flex; justify-content: center; list-style: none; padding: 0; gap: 24px; flex-wrap: wrap; }
.footer-menu a { color: #f3f4f6; text-decoration: none; font-weight: 500; opacity: 0.8; transition: opacity 0.2s; }
.footer-menu a:hover { opacity: 1; text-decoration: underline; }

/* Pagination */
.gnp-pagination { margin: 60px 0; text-align: center; clear: both; }
.nav-links { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; background: var(--bg-surface); padding: 8px; border-radius: 50px; box-shadow: var(--shadow-sm); }
.page-numbers { display: flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 50%; color: var(--text-main); text-decoration: none; font-weight: 600; transition: all 0.2s ease; font-size: 15px; border: none; }
.page-numbers:hover { background: var(--bg-inset); color: var(--accent-brand); }
.page-numbers.current { background: var(--accent-brand); color: #fff; cursor: default; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }

/* Tags & Post Nav */
.gnp-tags { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--bg-inset); display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.tags-label { font-weight: 800; font-size: 11px; text-transform: uppercase; color: var(--text-muted); margin-right: 8px; }
.gnp-tags a { background: var(--bg-inset); color: var(--text-main); padding: 8px 16px; border-radius: 20px; font-size: 12px; font-weight: 600; text-decoration: none; transition: all 0.2s ease; border: 1px solid transparent; }
.gnp-tags a:hover { background: var(--accent-brand); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.gnp-post-nav { display: grid; grid-template-columns: 1fr 1fr; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--bg-inset); gap: 24px; }
.gnp-post-nav div { width: 100%; }
.gnp-post-nav a { display: flex; flex-direction: column; justify-content: center; padding: 20px; background: var(--bg-surface); border: 1px solid var(--bg-inset); border-radius: var(--radius-md); text-decoration: none; font-weight: 700; font-size: 15px; line-height: 1.4; color: var(--text-main); transition: all 0.2s; height: 100%; box-shadow: var(--shadow-xs); }
.gnp-post-nav a:hover { border-color: var(--accent-brand); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.nav-prev a::before { content: "← Previous Post"; display: block; font-size: 11px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; font-weight: 800; }
.nav-next a::before { content: "Next Post →"; display: block; font-size: 11px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; font-weight: 800; align-self: flex-end; }
.nav-next a { text-align: right; align-items: flex-end; }

/* Responsive Adjustments */
@media (max-width: 991px) {
    .gnp-main-layout { grid-template-columns: 1fr; }
}

@media (max-width: 380px) { 
    .gnp-tools-bar { flex-wrap: wrap; gap: 10px; border-radius: 12px; } 
    .tools-left, .tools-right { width: 100%; justify-content: space-between; display: flex; } 
}

/* --- FIXED BACK TO TOP (Glassmorphism) --- */
#gnp-back-to-top {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    z-index: 999;
    
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: rgba(15, 23, 42, 0.8); /* Slate 900 glass */
    backdrop-filter: blur(8px);
    color: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    
    position: fixed;
    bottom: 30px;
    right: 30px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

#gnp-back-to-top i {
    font-size: 24px;
    color: #ffffff;
    line-height: 1;
    display: block;
    margin: 0;      
    margin-top: -2px;
    transition: transform 0.3s ease;
}

#gnp-back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    background: var(--accent-brand);
}

#gnp-back-to-top:hover i { transform: translateY(-3px); }

#gnp-back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dark Mode Fixes */
body.dark-mode { 
    background-color: #0b1120 !important; /* Deepest Slate */
    color: #cbd5e1; 
    --bg-surface: #1e293b;
    --bg-inset: #0f172a;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --border-subtle: #334155;
    --bg-surface-glass: rgba(30, 41, 59, 0.9);
}

body.dark-mode .gnp-card, 
body.dark-mode .gnp-single-post-container, 
body.dark-mode .widget, 
body.dark-mode .site-header { 
    background-color: var(--bg-surface) !important; 
    border-color: var(--border-subtle); 
    box-shadow: 0 4px 10px rgba(0,0,0,0.5); 
}

body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, body.dark-mode h4, body.dark-mode h5, body.dark-mode h6, 
body.dark-mode .entry-title, body.dark-mode .card-title a { color: #f8fafc !important; }
body.dark-mode p, body.dark-mode li, body.dark-mode span, body.dark-mode .gnp-article-body { color: #cbd5e1 !important; }

body.dark-mode a { color: #60a5fa; } /* Blue 400 */
body.dark-mode select, body.dark-mode input, body.dark-mode textarea { background: #0f172a; color: #fff; border: 1px solid #334155; }
body.dark-mode .gnp-related-inline { background: #1e293b; border-left-color: #38bdf8; }
body.dark-mode .gnp-related-inline a { color: #fff; }

body.dark-mode .gnp-tools-bar { background: #1e293b; border-color: #334155; }
body.dark-mode .font-minus, body.dark-mode .font-plus { background: #334155; color: #fff; }
body.dark-mode .gnp-speech-widget { background: #0f172a; border-color: #334155; }
body.dark-mode .tool-select { color: #fff; }
body.dark-mode .tool-btn { color: #94a3b8; }
body.dark-mode .tool-btn:hover { background: #334155; color: #fff; }

body.dark-mode #gnp-back-to-top { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }
body.dark-mode #gnp-back-to-top:hover { background: var(--accent-vibrant); }

body.dark-mode .page-numbers { background: #0f172a; border-color: #334155; color: #cbd5e1; }
body.dark-mode .page-numbers:hover { background: #334155; }
body.dark-mode .page-numbers.current { background: var(--accent-vibrant); border-color: var(--accent-vibrant); color: #fff; }

body.dark-mode .gnp-tags { border-top-color: #334155; }
body.dark-mode .gnp-tags a { background: #0f172a; color: #cbd5e1; }
body.dark-mode .gnp-tags a:hover { background: var(--accent-vibrant); color: #fff; }

body.dark-mode .gnp-post-nav { border-top-color: #334155; }
body.dark-mode .gnp-post-nav a { background: #1e293b; border-color: #334155; color: #fff; }
body.dark-mode .gnp-post-nav a:hover { border-color: var(--accent-vibrant); background: #232d3f; }

body.dark-mode .gnp-expand-btn { background: #334155; color: #fff; }
body.dark-mode .gnp-expand-btn:hover { background: var(--accent-vibrant); }
body.dark-mode .gnp-ajax-content-area { color: #cbd5e1; border-top-color: #334155; }

/* Dark Mode for New Post Meta */
body.dark-mode .entry-meta { background: #0f172a; color: #94a3b8; border-left-color: #60a5fa; }
body.dark-mode .meta-author { color: #60a5fa; }
body.dark-mode .gnp-cat-label a { background: #334155; color: #fca5a5; }
body.dark-mode .gnp-article-body h2 { color: #f8fafc; }
body.dark-mode .gnp-article-body h2::after { background: linear-gradient(90deg, #60a5fa, #38bdf8); }
body.dark-mode .gnp-article-body h3 { color: #e2e8f0; }
body.dark-mode .gnp-article-body blockquote { background: #0f172a; color: #94a3b8; }
body.dark-mode .gnp-premium-frame { border-color: #334155; }

/* Mobile Optimization */
@media (max-width: 768px) {
    .gnp-main-layout { display: block; margin-top: 24px; margin-bottom: 24px; gap: 0; }
    .content-area { width: 100%; margin-bottom: 30px; }
    .gnp-single-post-container { padding: 24px 16px; }
    .entry-title { font-size: 26px; line-height: 1.3; }
}
.entry-content img, .entry-content iframe, .entry-content video, .entry-content object { max-width: 100% !important; height: auto !important; width: auto; border-radius: var(--radius-sm); }
.entry-content iframe { width: 100% !important; }
.entry-content table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-collapse: collapse; }
.entry-content ul, .entry-content ol { padding-left: 20px; }

/* Nuclear Dark Mode Fix */
.gnp-dark-mode-toggle { background-color: #334155; color: #fff; border-color: #333; }
body.dark-mode .gnp-dark-mode-toggle { background-color: #fff; color: #000; border-color: #ccc; }
body.dark-mode, body.dark-mode #page, body.dark-mode .site-content, body.dark-mode .site-main, body.dark-mode .content-area { background-color: #0b1120 !important; }
body.dark-mode .gnp-single-post-container, body.dark-mode .gnp-card { background-color: #1e293b !important; color: #e2e8f0 !important; }
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, body.dark-mode h4, body.dark-mode a { color: #f8fafc !important; }
body.dark-mode p, body.dark-mode li, body.dark-mode span { color: #cbd5e1 !important; }

/* ==========================================================================
   PART 2: LEGACY GOVERNMENT AUTHORITY DESIGN SYSTEM (Modernized)
   ========================================================================== */

:root {
    /* --- BRAND PALETTE (Refined) --- */
    --gov-navy: #1e293b;        
    --gov-blue: #2563eb;        
    --gov-teal: #0d9488;        
    --gov-gold: #d97706;        
    
    /* --- FUNCTIONAL COLORS --- */
    --gov-success-bg: #f0fdf4;
    --gov-success-border: #22c55e;
    --gov-risk-bg: #fef2f2;
    --gov-risk-border: #ef4444;
    --gov-info-bg: #eff6ff;
    --gov-info-border: #3b82f6;
    --gov-whatsapp: #25D366;

    /* --- UI ESSENTIALS --- */
    --gov-bg-body: var(--bg-body);
    --gov-bg-light: var(--bg-inset);
    --gov-text-primary: var(--text-main);
    --gov-text-headings: var(--primary-base);
    --gov-border-subtle: #e2e8f0;
    --gov-radius: var(--radius-md);
    
    /* --- PREMIUM DEPTH --- */
    --gov-shadow-card: var(--shadow-md);
    --gov-shadow-hover: var(--shadow-xl);
    
    /* --- TYPOGRAPHY --- */
    --font-stack: var(--font-sans);
}

/* 1. SITE HEADER (Legacy - Upgraded Gradient) */
.gov-site-header { 
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #334155 100%); 
    border-bottom: 1px solid rgba(255,255,255,0.08); 
    color: white; 
    padding: 8px 0; 
    font-size: 14px; 
    border-radius: 0 0 16px 16px; 
    box-shadow: var(--shadow-lg); 
    position: sticky; 
    top: 44px; /* Adjust for ticker */
    z-index: 998; 
    font-family: var(--font-stack); 
    backdrop-filter: blur(4px);
}
.gov-header-content { max-width: 800px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; }
.gov-brand { display: flex; align-items: center; gap: 16px; flex-grow: 1; }
.gov-emblem { font-size: 2.2rem; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3)); flex-shrink: 0; }
.gov-brand-text { display: flex; flex-direction: column; line-height: 1.1; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.gov-org-name { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.5px; opacity: 0.9; color: #cbd5e1; white-space: nowrap; font-weight: 600; }
.gov-dept-name { font-weight: 800; font-size: 1.1rem; letter-spacing: 0.5px; color: #ffffff; }
.gov-header-actions { display: flex; gap: 10px; flex-shrink: 0; }
.gov-icon-btn, .gov-menu-btn { 
    position: relative; 
    z-index: 10; 
    background: rgba(255,255,255,0.15); 
    border: 1px solid rgba(255,255,255,0.1); 
    color: white; 
    width: 40px; 
    height: 40px; 
    border-radius: 50%; 
    cursor: pointer; 
    font-size: 1.1rem; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    backdrop-filter: blur(4px); 
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); 
}
.gov-icon-btn:hover, .gov-menu-btn:hover { background: rgba(255,255,255,0.3); transform: scale(1.1); }

/* 2. HERO / FEATURE IMAGE */
.gov-feature-image { 
    text-align: center; 
    padding: 24px 20px; 
    background: linear-gradient(to bottom, var(--gov-bg-light), var(--bg-surface)); 
    border-bottom: 1px solid var(--gov-border-subtle); 
    margin: 0 -20px 30px -20px; 
    border-radius: 0 0 30px 30px; 
}
.gov-feature-image strong { display: block; font-size: 1.5rem; color: var(--gov-navy); margin-top: 16px; line-height: 1.3; font-weight: 800; letter-spacing: -0.5px; }
.gov-timestamp { font-size: 0.85rem; color: #64748b; font-style: italic; margin: -10px 0 25px 0; display: flex; align-items: center; gap: 8px; justify-content: center; }
.gov-live-dot { color: var(--gov-success-border); font-size: 1.2em; animation: pulse 2s infinite; }

@media (max-width: 480px) {
    .gov-emblem { font-size: 1.8rem; }
    .gov-dept-name { font-size: 0.95rem; }
    .gov-org-name { font-size: 0.65rem; }
    .gov-header-actions { gap: 6px; }
    .gov-feature-image { border-radius: 0 0 20px 20px; padding: 25px 15px; }
}

@media (prefers-color-scheme: dark) {
    .gov-site-header { background: linear-gradient(135deg, #020617 0%, #0f172a 100%); border-bottom-color: #1e293b; }
    .gov-feature-image { background: linear-gradient(to bottom, #1e293b, #0f172a); }
    .gov-feature-image strong { color: white; }
}

/* 1. PREMIUM CONTAINER & TYPOGRAPHY */
.gov-article-container { font-family: var(--font-stack); width: 100%; max-width: 800px; margin: 0 auto 40px; line-height: 1.75; color: var(--gov-text-primary); background: transparent; }
.gov-article-container * { box-sizing: border-box; }
.gov-article-container h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; color: var(--gov-text-headings); margin: 24px 0 30px; letter-spacing: -0.02em; line-height: 1.2; }
.gov-article-container h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 800; color: var(--gov-navy); margin: 50px 0 25px; padding-left: 20px; border-bottom: none; position: relative; letter-spacing: -0.01em; }
.gov-article-container h2::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 5px; background: linear-gradient(to bottom, var(--gov-blue), var(--gov-teal)); border-radius: 4px; }
.gov-article-container h3 { font-size: 1.5rem; font-weight: 700; color: var(--gov-text-headings); margin: 35px 0 15px; }
.gov-article-container h4 { font-size: 1.2rem; font-weight: 600; color: var(--gov-navy); margin: 25px 0 10px; text-transform: uppercase; letter-spacing: 0.05em; }
.gov-article-container p, .gov-article-container li { font-size: 1.125rem; margin-bottom: 20px; color: var(--text-main); }
.gov-article-container a { color: var(--gov-blue); font-weight: 600; text-decoration: none; border-bottom: 2px solid rgba(37, 99, 235, 0.2); transition: all 0.2s ease; border-radius: 2px; }
.gov-article-container a:hover { border-bottom-color: var(--gov-blue); background: rgba(37, 99, 235, 0.08); }

/* 2. INTELLIGENCE CARD */
.gov-highlight-box { 
    background: linear-gradient(to right, #f8fafc, #ffffff); 
    border: 1px solid var(--gov-border-subtle); 
    border-left: 6px solid var(--gov-navy); 
    border-radius: var(--gov-radius); 
    padding: 28px; 
    margin: 35px 0; 
    box-shadow: var(--gov-shadow-card); 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    position: relative; 
    overflow: hidden; 
}
.gov-highlight-box:hover { transform: translateY(-4px); box-shadow: var(--gov-shadow-hover); border-color: var(--gov-blue); }
.gov-highlight-box ul { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.gov-highlight-box li { display: flex; align-items: flex-start; margin-bottom: 14px; font-size: 1.05rem; }
.gov-highlight-box strong { min-width: 140px; color: var(--gov-navy); font-weight: 700; text-transform: uppercase; font-size: 0.85em; letter-spacing: 0.05em; }

/* 3. ALERT CARDS (Modernized) */
.gov-alert { 
    padding: 24px 28px; 
    border-radius: var(--gov-radius); 
    margin: 35px 0; 
    border-left: 6px solid; 
    position: relative; 
    overflow: hidden; 
    box-shadow: var(--gov-shadow-card); 
}
.gov-alert::after { content: ''; position: absolute; top: -10px; right: -10px; font-size: 120px; opacity: 0.06; font-family: serif; pointer-events: none; }
.gov-alert h3 { margin: 0 0 12px 0; font-size: 1.15rem; font-weight: 700; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.gov-alert.success { background: linear-gradient(145deg, #f0fdf4, #ffffff); border-color: var(--gov-success-border); }
.gov-alert.success h3 { color: #15803d; }
.gov-alert.success::after { content: '✓'; }
.gov-alert.risk { background: linear-gradient(145deg, #fef2f2, #ffffff); border-color: var(--gov-risk-border); }
.gov-alert.risk h3 { color: #b91c1c; }
.gov-alert.risk::after { content: '!'; }
.gov-alert.info { background: linear-gradient(145deg, #eff6ff, #ffffff); border-color: var(--gov-info-border); }
.gov-alert.info h3 { color: #1d4ed8; }

/* 4. MODERN TABLES */
.gov-table-wrapper { 
    border-radius: var(--gov-radius); 
    overflow: hidden; 
    box-shadow: var(--gov-shadow-card); 
    border: 1px solid var(--gov-border-subtle); 
    margin: 40px 0; 
    overflow-x: auto; 
}
.gov-table { width: 100%; min-width: 650px; border-collapse: collapse; }
.gov-table th { background: linear-gradient(to right, var(--gov-navy), #334155); color: white; padding: 18px; text-align: left; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.85rem; }
.gov-table td { padding: 16px 18px; border-bottom: 1px solid var(--gov-border-subtle); color: var(--gov-text-primary); vertical-align: middle; transition: background 0.2s, color 0.2s; font-variant-numeric: tabular-nums; }
.gov-table tr { transition: background 0.2s; }
.gov-table tr:hover td { background-color: #f8fafc; color: var(--gov-blue); }
.gov-table tr:last-child td { border-bottom: none; }

/* 5. ELIGIBILITY GRID */
.gov-eligibility { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 35px 0; }
.gov-eligibility > div { padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--gov-border-subtle); box-shadow: var(--gov-shadow-card); transition: transform 0.2s; }
.gov-eligibility > div:hover { transform: translateY(-2px); }
.gov-eligibility > div:first-child { background-color: var(--gov-success-bg); border-top: 4px solid var(--gov-success-border); }
.gov-eligibility > div:last-child { background-color: var(--gov-risk-bg); border-top: 4px solid var(--gov-risk-border); }
.gov-eligibility h3 { margin-top: 0; font-size: 1.2rem; display: flex; align-items: center; gap: 8px; font-weight: 700; }

/* 6. DRAFT APPLICATION & TOOLS */
.gov-application-draft { background-color: #f8fafc; border-left: 5px solid #475569; padding: 24px; margin: 30px 0; border-radius: 0 12px 12px 0; font-family: 'Courier New', Courier, monospace; font-size: 1.05rem; color: #334155; box-shadow: inset 0 2px 8px rgba(0,0,0,0.03); position: relative; }
.gov-application-draft::before { content: '📋 COPY THIS TEXT:'; display: block; font-family: var(--font-sans); font-weight: 700; font-size: 0.75rem; color: #94a3b8; margin-bottom: 12px; letter-spacing: 1px; }
.gov-calculator-box { background: #fff; border: 1px solid var(--gov-border-subtle); border-top: 4px solid var(--gov-blue); border-radius: 12px; padding: 30px; margin: 35px 0; box-shadow: var(--gov-shadow-card); }
.gov-image-placeholder { background: #f1f5f9; border: 2px dashed #cbd5e1; border-radius: 12px; padding: 50px 20px; text-align: center; color: #64748b; margin: 30px 0; font-weight: 500; }

/* 7. FAQ ACCORDION (Enhanced) */
details.gov-faq { 
    background: #ffffff; 
    border: 1px solid var(--gov-border-subtle); 
    border-radius: var(--gov-radius); 
    margin-bottom: 16px; 
    overflow: hidden; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.02); 
    transition: box-shadow 0.2s;
}
details.gov-faq:hover { box-shadow: var(--gov-shadow-md); }
details.gov-faq summary { padding: 20px 24px; font-weight: 600; cursor: pointer; background: #f8fafc; position: relative; list-style: none; color: var(--gov-text-headings); transition: background 0.2s; }
details.gov-faq summary::-webkit-details-marker { display: none; }
details.gov-faq summary::after { content: '+'; position: absolute; right: 24px; font-weight: 700; color: var(--gov-blue); font-size: 1.4em; transition: transform 0.2s; }
details.gov-faq[open] summary { border-bottom: 1px solid var(--gov-border-subtle); background: #f1f5f9; }
details.gov-faq[open] summary::after { content: '-'; transform: rotate(180deg); }
details.gov-faq p { padding: 24px; margin: 0; color: var(--gov-text-primary); line-height: 1.7; }

/* 8. FORMS & INPUTS (Modern) */
.gov-input-group { margin-bottom: 24px; }
.gov-label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--gov-text-headings); font-size: 0.95rem; }
.gov-input, .gov-select { width: 100%; padding: 14px 16px; border: 2px solid var(--gov-border-subtle); border-radius: 8px; font-family: var(--font-stack); font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s; background: #fff; appearance: none; }
.gov-input:focus, .gov-select:focus { outline: none; border-color: var(--gov-blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1); }
.gov-btn { background: var(--gov-blue); color: white; font-weight: 600; padding: 14px 28px; border: none; border-radius: 50px; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, background 0.2s; display: inline-flex; align-items: center; gap: 10px; font-size: 1rem; }
.gov-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3); background: #1d4ed8; }

/* 9. ONE-CLICK VIRAL CARD */
.gov-whatsapp-share { background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%); border: 2px dashed #4ade80; border-radius: 16px; padding: 35px; text-align: center; margin: 50px 0; }
.gov-whatsapp-share h3 { color: #14532d; font-size: 1.4rem; margin-bottom: 24px; display: flex; justify-content: center; align-items: center; gap: 10px; }
#viral-text-content { background: white; padding: 24px; border-radius: 8px; border-left: 6px solid #f97316; text-align: left; font-family: monospace; font-size: 0.95rem; color: #334155; margin-bottom: 25px; box-shadow: inset 0 2px 4px rgba(0,0,0,0.05); white-space: pre-line; }
#auto-share-btn { background: #25D366; color: white; font-weight: 700; font-size: 1.1rem; padding: 18px 45px; border: none; border-radius: 50px; cursor: pointer; box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3); transition: transform 0.2s, box-shadow 0.2s; display: inline-flex; align-items: center; gap: 12px; }
#auto-share-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4); background: #1ebc57; }

/* 10. MOBILE & PRINT */
@media (max-width: 768px) {
    .gov-highlight-box, .gov-alert { padding: 20px; }
    .gov-eligibility { grid-template-columns: 1fr; }
    .gov-article-container h1 { font-size: 1.8rem; }
    .gov-table th, .gov-table td { font-size: 0.9rem; padding: 12px; }
}
@media print {
    .gov-whatsapp-share, .gov-faq { display: none !important; }
    .gov-highlight-box { box-shadow: none; border: 1px solid #ccc; }
}

/* 11. DARK MODE (Automatic & Consistent) */
@media (prefers-color-scheme: dark) {
    :root { 
        --gov-bg-body: #0f172a; 
        --gov-text-primary: #e2e8f0; 
        --gov-text-headings: #f1f5f9; 
        --gov-border-subtle: #334155; 
        --gov-shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.3); 
        --gov-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.5); 
    }
    .gov-highlight-box { background: linear-gradient(to right, #1e293b, #0f172a); border-color: #334155; }
    .gov-highlight-box strong { color: #94a3b8; }
    .gov-alert.success { background: #064e3b; border-color: #059669; }
    .gov-alert.success h3 { color: #4ade80; }
    .gov-alert.risk { background: #450a0a; border-color: #991b1b; }
    .gov-alert.risk h3 { color: #fca5a5; }
    .gov-alert.info { background: #172554; border-color: #1e40af; }
    .gov-alert.info h3 { color: #60a5fa; }
    .gov-table th { background: #1e293b; color: #e2e8f0; }
    .gov-table td { border-color: #334155; color: #cbd5e1; }
    .gov-table tr:hover td { background-color: #1e293b; color: #60a5fa; }
    .gov-whatsapp-share { background: #064e3b; border-color: #166534; }
    #viral-text-content { background: #0f172a; color: #cbd5e1; border-color: #334155; }
    .gov-calculator-box { background: #1e293b; border-color: #334155; }
    .gov-calculator-box h3 { color: white; }
    .gov-application-draft { background: #1e293b; color: #cbd5e1; border-left-color: #94a3b8; }
    .gov-input, .gov-select { background: #1e293b; border-color: #334155; color: white; }
    .gov-input:focus { border-color: #60a5fa; }
    details.gov-faq { background: #1e293b; border-color: #334155; }
    details.gov-faq summary { background: #0f172a; color: #f1f5f9; }
    details.gov-faq[open] summary { background: #1e293b; }
}

/* 12. ACCESSIBILITY (A11Y) */
:focus-visible { outline: 2px solid var(--accent-vibrant); outline-offset: 4px; border-radius: 2px; }
@media (prefers-color-scheme: dark) { :focus-visible { outline-color: #60a5fa; } }
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* 14. ARTICLE FOOTER & DISCLAIMER */
.gov-article-footer { margin-top: 60px; padding-top: 40px; border-top: 2px solid var(--gov-border-subtle); font-size: 0.95rem; color: #64748b; }
.gov-disclaimer { background: #fffbeb; border: 1px solid #fcd34d; border-left: 4px solid #f59e0b; padding: 20px 24px; border-radius: 8px; margin-bottom: 30px; line-height: 1.6; color: #92400e; }
.gov-meta-footer { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; margin-bottom: 24px; font-family: monospace; font-weight: 600; }
.gov-meta-tag { background: var(--gov-bg-light); padding: 6px 14px; border-radius: 6px; border: 1px solid var(--gov-border-subtle); display: flex; align-items: center; gap: 8px; }
.gov-copyright { text-align: center; font-size: 0.85rem; opacity: 0.7; }

/* GOVERNMENT NEWS BAR */
.govt-news-bar-container { width: 100%; z-index: 9999; position: sticky; top: 0; }
.govt-news-bar { display: flex; align-items: center; background: #0f172a; color: #fff; font-family: var(--font-sans); font-size: 13px; height: 44px; overflow: hidden; border-bottom: 2px solid #eab308; box-shadow: var(--shadow-md); }
.live-clock-box { background: #1e293b; padding: 0 20px; height: 100%; display: flex; align-items: center; font-weight: 700; white-space: nowrap; z-index: 20; border-right: 1px solid rgba(255,255,255,0.1); }
.pulse-dot { color: #22c55e; margin-right: 10px; font-size: 18px; animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.ticker-wrap { flex-grow: 1; display: flex; align-items: center; overflow: hidden; }
.ticker-heading { background: #eab308; color: #0f172a; padding: 0 24px 0 20px; height: 100%; display: flex; align-items: center; font-weight: 900; text-transform: uppercase; font-size: 11px; letter-spacing: 1.5px; z-index: 10; clip-path: polygon(0 0, 90% 0, 100% 100%, 0% 100%); position: relative; }
.ticker-move { display: flex; animation: ticker-scroll 15s linear infinite; white-space: nowrap; }
.ticker-move:hover { animation-play-state: paused; cursor: pointer; }
.ticker-item { padding: 0 45px; color: #f8fafc; font-weight: 500; }
.ticker-item a { color: #ffffff; text-decoration: none; transition: all 0.3s; border-bottom: 1px solid transparent; }
.ticker-item a:hover { color: #eab308; border-bottom: 1px solid #eab308; }

/* COMPLIANCE STRIP */
.compliance-strip { background-color: #f8fafc; border-bottom: 1px solid #e2e8f0; width: 100%; padding: 10px 0; font-family: var(--font-sans); }
.compliance-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }
.badge-verify { display: flex; align-items: center; }
.shield-check { font-size: 16px; margin-right: 10px; color: var(--accent-brand); }
.shield-text { font-size: 12px; color: #475569; letter-spacing: 0.3px; line-height: 1.4; }
.shield-text strong { color: #1e40af; }
.compliance-link { font-size: 11px; font-weight: 700; text-transform: uppercase; color: #64748b; text-decoration: none; background: #f1f5f9; padding: 6px 14px; border-radius: 20px; transition: 0.3s; }
.compliance-link:hover { background: #e2e8f0; color: #0f172a; }

/* ANIMATIONS & MEDIA QUERIES */
@keyframes ticker-scroll { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-50%, 0, 0); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@media (max-width: 768px) { .ticker-heading { display: none; } .live-clock-box { font-size: 11px; padding: 0 10px; } }
@media (max-width: 600px) { .compliance-container { flex-direction: column; text-align: center; gap: 8px; } .shield-text { font-size: 11px; } }

/* --- COMPLIANT FOOTER STYLES --- */

/* 1. Disclaimer Box (The "Safety Shield") */
.gov-disclaimer-box {
    background: #fffbeb; 
    border: 1px solid #fcd34d; 
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 40px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    color: #92400e; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.disclaimer-icon i { font-size: 28px; color: #d97706; }
.disclaimer-content { flex: 1; }
.disclaimer-content strong { display: block; font-size: 16px; margin-bottom: 10px; color: #b45309; }
.disclaimer-content p { font-size: 14px; margin: 0; line-height: 1.6; color: #92400e; }
.disclaimer-content a { color: #b45309; font-weight: bold; text-decoration: underline; }

/* 2. Footer Grid */
.footer-widgets-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr; 
    gap: 40px;
    padding: 20px 0;
    text-align: left;
}

.footer-heading {
    color: #fff;
    font-size: 15px;
    text-transform: uppercase;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--accent-brand); 
    display: inline-block;
    padding-bottom: 6px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.site-desc { color: #94a3b8; font-size: 14px; line-height: 1.7; max-width: 90%; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 14px; }
.footer-links a { color: #cbd5e1; text-decoration: none; font-size: 14px; transition: color 0.2s, transform 0.2s; display: inline-block; }
.footer-links a:hover { color: #fff; text-decoration: none; transform: translateX(5px); }
.footer-divider { border: 0; border-top: 1px solid rgba(255,255,255,0.1); margin: 30px 0; }
.site-info-bar { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #64748b; padding-top: 10px; }

/* 5. Mobile Adjustments */
@media (max-width: 768px) {
    .footer-widgets-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .footer-heading { margin-bottom: 15px; }
    .site-desc { margin: 0 auto; }
    .site-info-bar { flex-direction: column; gap: 15px; text-align: center; padding-bottom: 80px; }
}

/* 6. Dark Mode Override for Disclaimer */
body.dark-mode .gov-disclaimer-box { background: #451a03; border-color: #92400e; color: #fcd34d; }
body.dark-mode .disclaimer-content strong { color: #fbbf24; }
body.dark-mode .disclaimer-content p { color: #fcd34d; }
body.dark-mode .disclaimer-content a { color: #fbbf24; }

/* ==========================================================================
   PREMIUM LOAD MORE BUTTON (AJAX)
   ========================================================================== */
.gnp-load-more-container {
    text-align: center;
    margin: 50px 0 90px;
    clear: both;
    display: flex;
    justify-content: center;
}

#gnp-load-more-btn {
    background: #fff;
    border: 1px solid #e2e8f0;
    color: var(--accent-brand);
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#gnp-load-more-btn:hover {
    background: var(--accent-brand);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    border-color: var(--accent-brand);
}

#gnp-load-more-btn:active { transform: translateY(-1px); box-shadow: 0 5px 10px rgba(0,0,0,0.1); }
#gnp-load-more-btn i { font-size: 18px; transition: transform 0.3s; }
#gnp-load-more-btn:hover i { transform: translateY(4px); }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.spin-anim { animation: spin 0.8s linear infinite; }

/* Dark Mode Support for Button */
body.dark-mode #gnp-load-more-btn { background: #1e293b; border-color: #334155; color: #fff; }
body.dark-mode #gnp-load-more-btn:hover { background: var(--accent-vibrant); border-color: var(--accent-vibrant); }

/* --- MODERN HINDI SUMMARY BOX (Premium & Clean) --- */
.gov-hindi-summary {
    background: linear-gradient(to right, #fffbf0, #fff); 
    border-left: 6px solid #ff9933; 
    padding: 30px;
    margin: 40px 0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(255, 153, 51, 0.1);
    position: relative;
    overflow: hidden;
}
.gov-hindi-summary::after { content: 'हिंदी'; position: absolute; top: -15px; right: -15px; font-size: 100px; color: rgba(255, 153, 51, 0.04); font-weight: 900; pointer-events: none; }
.gov-hindi-summary h2 { color: #d35400; font-size: 18px !important; text-transform: uppercase; letter-spacing: 1px; margin-top: 0 !important; margin-bottom: 20px !important; border-bottom: 2px solid rgba(255, 153, 51, 0.2); padding-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.gov-hindi-summary h2::before { content: '\f111'; font-family: 'dashicons'; font-size: 24px; vertical-align: middle; }
.gov-hindi-summary p { font-size: 21px; line-height: 1.8; color: #2d3436; font-family: 'Noto Sans Devanagari', 'Poppins', sans-serif; font-weight: 500; }
body.dark-mode .gov-hindi-summary { background: linear-gradient(to right, #2d1b0e, #1e1e1e); border-left-color: #d35400; box-shadow: none; }
body.dark-mode .gov-hindi-summary h2 { color: #ff9933; border-bottom-color: rgba(255,153,51,0.2); }
body.dark-mode .gov-hindi-summary p { color: #e0e0e0; }

/* --- MOBILE APP DOCK --- */
#gnp-mobile-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    z-index: 99999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease-in-out;
    display: none; 
}
@media (max-width: 768px) {
    #gnp-mobile-dock { display: flex; }
    body { padding-bottom: 70px; }
    #gnp-back-to-top { display: none !important; }
}

.dock-item {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #64748b;
    font-size: 10px;
    font-weight: 600;
    width: 25%;
    cursor: pointer;
    transition: color 0.2s;
}

.dock-item i { font-size: 22px; margin-bottom: 4px; color: #475569; }
.dock-item.highlight i { color: #25D366; font-size: 24px; }
.dock-item.highlight span { color: #14532d; }
.dock-item:active { transform: scale(0.95); }
#gnp-mobile-dock.dock-hidden { transform: translateY(100%); }

body.dark-mode #gnp-mobile-dock { background: rgba(30, 41, 59, 0.9); border-color: #334155; }
body.dark-mode .dock-item { color: #cbd5e1; }
body.dark-mode .dock-item i { color: #94a3b8; }

/* --- TABLE OF CONTENTS --- */
.gnp-toc-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 20px 24px;
    margin: 25px 0;
    border-radius: 12px;
    display: inline-block;
    min-width: 320px;
}
.gnp-toc-box .toc-title { font-weight: 700; margin-bottom: 12px; font-size: 17px; display: flex; align-items: center; gap: 8px; }
.gnp-toc-box ul { margin: 0; padding-left: 20px; }
.gnp-toc-box li { margin-bottom: 6px; font-size: 15px; }
.gnp-toc-box a { text-decoration: none; color: #2563eb; }
.gnp-toc-box a:hover { text-decoration: underline; color: var(--accent-brand); }

/* --- PRINT OPTIMIZATION --- */
@media print {
    .site-header, .gnp-top-bar, .main-navigation, .widget-area, .site-footer, #gnp-mobile-dock, .gnp-tools-bar, .gnp-load-more-container, .gnp-related-inline { display: none !important; }
    .gnp-container, .content-area, .gnp-article-body { width: 100% !important; margin: 0 !important; padding: 0 !important; box-shadow: none !important; }
    body { color: #000; background: #fff; font-size: 12pt; }
    .gnp-article-body::after { content: "Source: " attr(data-url); display: block; margin-top: 20px; font-size: 10pt; color: #666; border-top: 1px solid #ddd; padding-top: 10px; }
}

/* --- NUCLEAR LOGO FIX --- */
.site-branding, .header-logo-wrap, .custom-logo-link { display: flex !important; align-items: center; opacity: 1 !important; visibility: visible !important; min-height: 50px; min-width: 50px; }
.custom-logo-link img, .custom-logo { display: block !important; width: auto !important; height: auto !important; max-height: 80px !important; min-width: 100px; max-width: 100%; }
body.dark-mode .custom-logo-link img { background-color: rgba(255, 255, 255, 0.9); padding: 5px 10px; border-radius: 4px; box-shadow: 0 0 10px rgba(255,255,255,0.2); }

/* ==========================================================================
   PART 3: NEW PREMIUM UTILITIES (2026 ADDITIONS)
   ========================================================================== */

/* 1. SKELETON LOADING STATE (Shimmer) */
.skeleton-loader {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    color: transparent !important;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* 2. TOAST NOTIFICATIONS */
.premium-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--bg-surface);
    color: var(--text-main);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border-left: 4px solid var(--accent-brand);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s var(--ease-smooth);
}
.premium-toast.show { transform: translateY(0); opacity: 1; }

/* 3. BUTTON VARIANTS */
.btn-ghost { background: transparent; color: var(--text-muted); border: 1px solid transparent; }
.btn-ghost:hover { background: var(--bg-inset); color: var(--text-main); }
.btn-outline { background: transparent; border: 1px solid var(--gov-border-subtle); color: var(--text-main); }
.btn-outline:hover { border-color: var(--accent-brand); color: var(--accent-brand); }
.btn-danger { background: #fee2e2; color: #dc2626; }
.btn-danger:hover { background: #dc2626; color: white; }

/* 4. UTILITY HELPERS */
.text-gradient { background: linear-gradient(90deg, var(--accent-brand), var(--accent-vibrant)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.glass-panel { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.5); }
.sticky-header-offset { scroll-margin-top: 100px; }