/* ==========================================================================
   GOV NEWS PREMIUM — REDESIGNED MASTER STYLESHEET v6.0
   Aesthetic: Editorial Luxury — Deep Indigo × Champagne Gold × Cream Paper
   Typography: Playfair Display (headings) × DM Sans (body)
   ========================================================================== */



/* ==========================================================================
   SECTION 1 — DESIGN TOKENS
   ========================================================================== */
:root {
    /* ── Palette: Deep Indigo Core ── */
    --ink-950:   #05060f;
    --ink-900:   #0d0e1c;
    --ink-800:   #151629;
    --ink-700:   #1e2038;
    --ink-600:   #2d3058;
    --ink-500:   #3d4275;
    --ink-400:   #6569a0;
    --ink-300:   #9597c4;
    --ink-200:   #c5c6e0;
    --ink-100:   #edeef7;
    --ink-050:   #f5f5fb;

    /* ── Palette: Champagne Gold Accent ── */
    --gold-700:  #92610a;
    --gold-600:  #b07d15;
    --gold-500:  #c9921c;
    --gold-400:  #d4aa45;
    --gold-300:  #e0c472;
    --gold-200:  #eed9a8;
    --gold-100:  #faf3e0;
    --gold-050:  #fdfaf2;

    /* ── Palette: Cream Paper ── */
    --cream-100: #faf8f4;
    --cream-200: #f2eeea;
    --cream-300: #e8e2da;

    /* ── Functional Colors ── */
    --success:   #0d7b4c;
    --success-bg:#ecfdf5;
    --success-border:#a7f3d0;
    --warning:   #a85e0a;
    --warning-bg:#fff7ed;
    --warning-border:#fed7aa;
    --danger:    #c0182a;
    --danger-bg: #fff1f2;
    --danger-border:#fecdd3;
    --info:      #1d5fb4;
    --info-bg:   #eff6ff;
    --info-border:#bfdbfe;
    --whatsapp:  #25D366;
    --whatsapp-dark:#128C7E;

    /* ── Semantic Mappings ── */
    --bg-body:          var(--cream-100);
    --bg-surface:       #ffffff;
    --bg-surface-glass: rgba(255,255,255,0.88);
    --bg-inset:         var(--ink-050);

    --text-main:        var(--ink-800);
    --text-heading:     var(--ink-900);
    --text-muted:       var(--ink-400);
    --text-invert:      #ffffff;
    --text-gold:        var(--gold-600);

    --border-light:     var(--cream-300);
    --border-medium:    var(--ink-200);
    --border-gold:      var(--gold-200);
    --border-focus:     var(--ink-500);

    /* ── Brand Aliases ── */
    --brand-primary:    var(--ink-900);
    --brand-accent:     var(--ink-600);
    --brand-accent-hover: var(--ink-700);
    --brand-gold:       var(--gold-500);
    --brand-whatsapp:   var(--whatsapp);

    /* ── Typography ── */
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono:    'DM Mono', 'SFMono-Regular', Consolas, monospace;
    --font-hindi:   'Noto Sans Devanagari', var(--font-sans);

    /* ── Fluid Type Scale ── */
    --h1-size:   clamp(1.9rem, 4.5vw, 3rem);
    --h2-size:   clamp(1.5rem, 3.5vw, 2.25rem);
    --h3-size:   clamp(1.25rem, 2.5vw, 1.75rem);
    --h4-size:   clamp(1.1rem, 2vw, 1.4rem);
    --h5-size:   1.1rem;
    --h6-size:   0.875rem;
    --body-size: clamp(1rem, 1.5vw, 1.0625rem);
    --small-size:0.8125rem;

    /* ── Elevation ── */
    --shadow-xs:  0 1px 2px rgba(13,14,28,.04);
    --shadow-sm:  0 1px 4px rgba(13,14,28,.06), 0 2px 6px rgba(13,14,28,.04);
    --shadow-md:  0 4px 12px rgba(13,14,28,.08), 0 2px 4px rgba(13,14,28,.04);
    --shadow-lg:  0 12px 28px rgba(13,14,28,.12), 0 4px 8px rgba(13,14,28,.06);
    --shadow-xl:  0 24px 48px rgba(13,14,28,.14), 0 8px 16px rgba(13,14,28,.08);
    --shadow-gold:0 4px 20px rgba(201,146,28,.18);
    --shadow-inner: inset 0 2px 6px rgba(13,14,28,.06);

    /* ── Layout ── */
    --container-width: 1300px;
    --header-height:   68px;
    --radius-xs:  0.25rem;
    --radius-sm:  0.5rem;
    --radius-md:  0.875rem;
    --radius-lg:  1.25rem;
    --radius-xl:  1.75rem;
    --radius-pill:9999px;

    /* ── Safe Areas ── */
    --safe-top:    env(safe-area-inset-top,    0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left:   env(safe-area-inset-left,   0px);
    --safe-right:  env(safe-area-inset-right,  0px);

    /* ── Timing ── */
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out:    cubic-bezier(0, 0, 0.2, 1);
    --dur-fast:    140ms;
    --dur-normal:  280ms;
    --dur-slow:    480ms;
}

/* ==========================================================================
   SECTION 2 — RESET & BASE
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
    -webkit-text-size-adjust: 100%;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.65;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    text-rendering: optimizeLegibility;
}

/* Prevent any element from breaking layout */
*, *::before, *::after {
    max-width: 110%;
}

img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
    display: block;
}

img { border-radius: var(--radius-sm); }

::selection {
    background: var(--ink-600);
    color: #fff;
    text-shadow: none;
}

:focus-visible {
    outline: 2px solid var(--brand-gold);
    outline-offset: 3px;
    border-radius: var(--radius-xs);
}

/* ── Typography Defaults ── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--text-heading);
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0.85rem;
    line-height: 1.18;
    letter-spacing: -0.01em;
}
h1 { font-size: var(--h1-size); }
h2 { font-size: var(--h2-size); }
h3 { font-size: var(--h3-size); }
h4 { font-size: var(--h4-size); }
h5 { font-size: var(--h5-size); }
h6 { font-family: var(--font-sans); font-size: var(--h6-size); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }

p { margin: 0 0 1.4rem; font-size: var(--body-size); line-height: 1.72; }
ul, ol { margin: 0 0 1.4rem; padding-left: 1.4rem; }
li { margin-bottom: 0.45rem; }

a {
    color: var(--brand-accent);
    text-decoration: none;
    transition: color var(--dur-fast) var(--ease-smooth);
}
a:hover { color: var(--ink-900); }

/* ── Container ── */
.gnp-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2.5rem);
    position: relative;
}

/* ── Keyframes ── */
@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.45; }
}

@keyframes pulse-speak {
    0%   { box-shadow: 0 0 0 0 rgba(192,24,42,.55); }
    70%  { box-shadow: 0 0 0 12px rgba(192,24,42,0); }
    100% { box-shadow: 0 0 0 0 rgba(192,24,42,0); }
}

@keyframes shimmer {
    from { transform: translateX(-100%); }
    to   { transform: translateX(100%); }
}

@keyframes skeleton-loading {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes hint-scroll {
    0%   { transform: translateX(0); }
    30%  { transform: translateX(-18px); }
    100% { transform: translateX(0); }
}

/* Accessibility */
.screen-reader-text {
    border: 0;
    clip: rect(1px,1px,1px,1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* ==========================================================================
   SECTION 3 — TOP BAR, CLOCK & TICKER
   ========================================================================== */

/* ── 3.1 Top Bar Container ── */
.gnp-top-bar {
    background: var(--ink-950);
    color: rgba(255,255,255,.85);
    font-size: 12.5px;
    font-family: var(--font-sans);
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,.07);
    position: relative;
    z-index: 1002;
    height: 40px;
    width: 100%;
    overflow: hidden;
}

.top-bar-flex-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
}

/* ── 3.2 Live Clock ── */
.gnp-clock-widget {
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
    padding-right: 18px;
    background: var(--ink-950);
    position: relative;
    z-index: 20;
    height: 100%;
    flex-shrink: 0;
    white-space: nowrap;
}

.gnp-clock-widget::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,.15), transparent);
}

.gnp-clock-widget i {
    color: var(--gold-300);
    font-size: 13px;
    animation: pulse 2s infinite;
}

/* ── 3.3 Ticker Wrapper ── */
.gnp-ticker-wrap {
    display: flex;
    align-items: center;
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.gnp-ticker-label {
    background: linear-gradient(135deg, var(--danger), #e8364a);
    color: white;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-left: 14px;
    margin-right: 4px;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(192,24,42,.35);
}

.gnp-ticker-items {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(to right, transparent, black 18px, black 94%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 18px, black 94%, transparent);
}

.ticker-move {
    display: inline-flex;
    white-space: nowrap;
    animation: ticker-scroll 50s linear infinite;
    will-change: transform;
    gap: 0;
}

.ticker-move:hover { animation-play-state: paused; }

.ticker-item {
    display: inline-block;
    margin-right: 48px;
    padding-left: 0;
}

.ticker-item::before {
    content: '◆';
    font-size: 7px;
    color: var(--gold-300);
    margin-right: 10px;
    vertical-align: middle;
}

.ticker-item a {
    color: rgba(255,255,255,.82);
    font-weight: 500;
    text-decoration: none;
    transition: color var(--dur-fast);
}
.ticker-item a:hover { color: var(--gold-200); }

/* Mobile Ticker */
@media (max-width: 600px) {
    .gnp-top-bar {
        height: auto;
        padding: 4px 0;
    }
    .top-bar-flex-wrapper {
        flex-direction: column;
        align-items: stretch;
        height: auto;
        gap: 0;
    }
    .gnp-clock-widget {
        width: 100%;
        justify-content: center;
        padding: 4px 0;
        border-bottom: 1px solid rgba(255,255,255,.05);
        font-size: 11.5px;
        height: 28px;
    }
    .gnp-clock-widget::after { display: none; }
    .gnp-ticker-wrap {
        width: 100%;
        height: 32px;
    }
    .gnp-ticker-items {
        mask-image: linear-gradient(to right, transparent, black 12px, black 90%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 12px, black 90%, transparent);
    }
    .gnp-ticker-label {
        margin: 0 8px;
        font-size: 8.5px;
        padding: 2px 7px;
    }
}

/* ── 3.3 Main Header (Glassmorphism Sticky) ── */
.site-header {
    background: var(--bg-surface-glass);
    backdrop-filter: blur(20px) saturate(1.6);
    -webkit-backdrop-filter: blur(20px) saturate(1.6);
    border-bottom: 1px solid rgba(13,14,28,.07);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.6rem 0;
    transition: padding var(--dur-normal) var(--ease-smooth),
                box-shadow var(--dur-normal) var(--ease-smooth),
                background var(--dur-normal);
    box-shadow: var(--shadow-sm);
    width: 100%;
}

.site-header.scrolled {
    padding: 0.35rem 0;
    background: rgba(255,255,255,.97);
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    width: 100%;
    gap: 1rem;
}

/* ── 3.4 Branding & Logo ── */
.site-branding,
.header-logo-wrap,
.custom-logo-link {
    display: flex !important;
    align-items: center;
    opacity: 1 !important;
    visibility: visible !important;
    min-height: 48px;
    min-width: 48px;
}

.site-branding { gap: 0.875rem; z-index: 20; flex-shrink: 0; }

.custom-logo-link {
    display: block !important;
    transition: transform var(--dur-fast) var(--ease-bounce);
}
.custom-logo-link:hover { transform: scale(1.03); }

.custom-logo-link img,
.custom-logo {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-height: 52px !important;
    min-width: 80px;
    max-width: 100%;
}

.site-title {
    margin: 0;
    line-height: 1;
}
.site-title a {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.65rem;
    color: var(--ink-900);
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.site-description {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: none;
}

/* ── 3.5 Header Ad Slot ── */
.header-ad-slot {
    display: none;
    width: min(728px, 100%);
    height: 88px;
    background: var(--ink-050);
    margin-left: auto;
    border-radius: var(--radius-md);
    place-items: center;
    color: var(--text-muted);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 1px dashed var(--ink-200);
}
@media (min-width: 1200px) { .header-ad-slot { display: grid; } }

/* ── 3.6 Desktop Navigation ── */
.main-navigation {
    display: none;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-light);
    width: 100%;
}

@media (min-width: 992px) {
    .main-navigation { display: block; }
    .main-navigation .gnp-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .main-navigation ul {
        display: flex;
        gap: 2px;
        list-style: none;
        margin: 0;
        padding: 0;
        height: 48px;
        align-items: center;
    }
    .main-navigation li { margin: 0; }
    .main-navigation a {
        display: inline-block;
        font-family: var(--font-sans);
        font-weight: 600;
        font-size: 0.88rem;
        letter-spacing: 0.02em;
        color: var(--ink-500);
        padding: 7px 15px;
        border-radius: var(--radius-pill);
        transition: all var(--dur-fast) var(--ease-smooth);
    }
    .main-navigation a:hover {
        background: var(--ink-050);
        color: var(--ink-900);
    }
    .current-menu-item > a,
    .current_page_item > a {
        background: var(--ink-900);
        color: #fff;
        box-shadow: var(--shadow-sm);
    }
    .header-search-trigger {
        background: transparent;
        border: none;
        color: var(--ink-400);
        cursor: pointer;
        font-size: 18px;
        padding: 9px;
        border-radius: 50%;
        transition: all var(--dur-fast);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .header-search-trigger:hover {
        background: var(--ink-050);
        color: var(--ink-900);
    }
}

/* ── 3.7 Mobile Menu Toggle ── */
.gnp-mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: var(--ink-050);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    width: 42px;
    height: 42px;
    padding: 0;
    cursor: pointer;
    z-index: 1002;
    -webkit-tap-highlight-color: transparent;
    transition: background var(--dur-fast);
    flex-shrink: 0;
}
.gnp-mobile-toggle:hover { background: var(--ink-100); }

@media (min-width: 992px) { .gnp-mobile-toggle { display: none; } }

.gnp-mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink-700);
    border-radius: 2px;
    margin: 0 auto;
    transition: all 0.3s var(--ease-smooth);
    transform-origin: center;
}
.gnp-mobile-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.gnp-mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.gnp-mobile-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── 3.8 Mobile Drawer ── */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: min(300px, 82vw);
    height: 100%;
    background: var(--bg-surface);
    z-index: 2000;
    transform: translateX(-100%);
    transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    visibility: hidden;
}
.mobile-drawer.active {
    transform: translateX(0);
    visibility: visible;
}

.drawer-header {
    background: var(--ink-900);
    color: #fff;
    padding: max(18px, var(--safe-top)) 20px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,.08);
    position: relative;
}
.drawer-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-400), var(--gold-200), var(--gold-400));
}

.drawer-title {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 1rem;
    color: var(--gold-200);
}

.drawer-close {
    background: rgba(255,255,255,.08);
    border: none;
    color: rgba(255,255,255,.7);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--dur-fast);
}
.drawer-close:hover { background: rgba(255,255,255,.2); color: #fff; }

.drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
    -webkit-overflow-scrolling: touch;
}
.drawer-content ul { list-style: none; padding: 0; margin: 0; }
.drawer-content li { margin: 0; }

.drawer-content a {
    display: flex;
    align-items: center;
    padding: 14px 22px;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.97rem;
    transition: all var(--dur-fast);
    border-left: 2px solid transparent;
}
.drawer-content a:hover {
    background: var(--ink-050);
    color: var(--ink-900);
    border-left-color: var(--gold-400);
    padding-left: 26px;
}

.mobile-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(5,6,15,.55);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--dur-normal) var(--ease-smooth);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.mobile-overlay.active { opacity: 1; visibility: visible; }

/* ==========================================================================
   SECTION 4 — LAYOUT GRID & CARDS
   ========================================================================== */

/* ── 4.1 News Grid ── */
.gnp-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 28px;
    width: 100%;
    position: relative;
}
@media (max-width: 768px) {
    .gnp-news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ── 4.2 Card Base ── */
.gnp-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    isolation: isolate;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: transform var(--dur-normal) var(--ease-smooth),
                box-shadow var(--dur-normal) var(--ease-smooth),
                border-color var(--dur-normal);
}
.gnp-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--ink-200);
}

/* ── 4.3 Card Thumbnail ── */
.gnp-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: var(--ink-100);
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
    margin: 0;
    flex-shrink: 0;
}
.gnp-card-thumb::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
    transform: translateX(-100%);
    animation: shimmer 1.8s infinite;
    z-index: 1;
    pointer-events: none;
}
.gnp-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.65s cubic-bezier(0.25,.46,.45,.94);
    will-change: transform;
}
.gnp-card:hover .gnp-card-thumb img { transform: scale(1.06); }

/* ── 4.4 Card Badge ── */
.card-cat-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255,255,255,.94);
    color: var(--ink-800);
    font-size: 9.5px;
    font-weight: 800;
    padding: 5px 11px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
    z-index: 5;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all var(--dur-fast) var(--ease-bounce);
    border: 1px solid rgba(255,255,255,.6);
}
.gnp-card:hover .card-cat-badge {
    background: var(--ink-900);
    color: var(--gold-200);
    transform: translateY(-2px);
    border-color: transparent;
}

/* ── 4.5 Card Body ── */
.gnp-card-body {
    padding: 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg-surface);
}

.card-meta {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.card-meta i { color: var(--brand-gold); }

.card-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin: 0 0 10px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-heading);
}
.card-title a {
    color: inherit;
    background-image: linear-gradient(var(--ink-900), var(--ink-900));
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0 1.5px;
    transition: background-size var(--dur-normal) var(--ease-smooth), color var(--dur-fast);
}
.card-title a:hover {
    color: var(--ink-600);
    background-size: 100% 1.5px;
}
.card-title a::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

.card-excerpt {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.62;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── 4.6 Card Actions ── */
.gnp-card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.gnp-expand-btn {
    background: var(--ink-050);
    color: var(--ink-500);
    padding: 7px 15px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all var(--dur-fast) var(--ease-smooth);
    font-family: var(--font-sans);
}
.gnp-expand-btn:hover {
    background: var(--ink-900);
    color: #fff;
    border-color: var(--ink-900);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}
.gnp-expand-btn.active-read {
    background: var(--danger-bg);
    color: var(--danger);
    border-color: var(--danger-border);
}
.gnp-expand-btn.active-read:hover {
    background: var(--danger);
    color: #fff;
    border-color: var(--danger);
}

.gnp-btn-link {
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-muted);
    transition: color var(--dur-fast);
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.gnp-btn-link:hover { color: var(--ink-700); }

/* ── 4.7 AJAX Content Area ── */
.gnp-ajax-content-area {
    display: none;
    margin-top: 18px;
    padding: 22px;
    background: var(--gold-050);
    border-radius: var(--radius-md);
    font-size: 0.97rem;
    line-height: 1.78;
    color: var(--text-main);
    border: 1px solid var(--border-gold);
    position: relative;
    z-index: 5;
    animation: fadeIn var(--dur-normal) var(--ease-out);
}
.gnp-ajax-content-area img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin: 14px 0;
}

.gnp-read-footer {
    text-align: center;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border-gold);
}

/* ==========================================================================
   SECTION 5 — SINGLE POST & READING EXPERIENCE
   ========================================================================== */

/* ── 5.1 Post Container ── */
.gnp-single-post-container {
    background: var(--bg-surface);
    padding: clamp(24px, 4vw, 52px);
    margin-bottom: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: visible;
    width: 100%;
}

/* ── 5.2 Article Header ── */
.gnp-post-header {
    text-align: left;
    margin-bottom: 36px;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 28px;
}

.entry-title {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 4.2vw, 2.95rem);
    margin: 16px 0;
    line-height: 1.16;
    color: var(--text-heading);
    font-weight: 900;
    letter-spacing: -0.025em;
    text-wrap: pretty;
    word-wrap: break-word;
    max-width: 100%;
}

.gnp-cat-label { margin-bottom: 18px; }
.gnp-cat-label a {
    text-transform: uppercase;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--gold-700);
    background: var(--gold-100);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    transition: all var(--dur-fast);
    display: inline-block;
    border: 1px solid var(--gold-200);
}
.gnp-cat-label a:hover {
    background: var(--ink-900);
    color: var(--gold-200);
    border-color: var(--ink-900);
}

/* ── 5.3 Post Meta Strip ── */
.entry-meta {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    color: var(--text-muted);
    background: var(--ink-050);
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-light);
    margin-top: 10px;
    max-width: 100%;
}
.meta-author {
    font-weight: 700;
    color: var(--text-heading);
    display: flex;
    align-items: center;
    gap: 9px;
}
.meta-author img {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    object-fit: cover;
    border: 2px solid var(--bg-surface);
    box-shadow: var(--shadow-xs);
    flex-shrink: 0;
}
.meta-date, .meta-read-time {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}
.meta-date i, .meta-read-time i { color: var(--brand-gold); font-size: 15px; }

@media (max-width: 600px) {
    .entry-meta {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 6px !important;
        padding: 6px 0 !important;
        background: transparent !important;
        border: none !important;
        margin-top: 6px !important;
        font-weight: 600 !important;
    }
    .meta-author {
        width: auto !important;
        border: none !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        color: var(--text-heading) !important;
    }
    .meta-author img {
        width: 18px !important;
        height: 18px !important;
        border-radius: 50% !important;
    }
    .meta-date {
        width: auto !important;
        font-size: 11px !important;
        color: var(--ink-400) !important;
        padding: 0 !important;
        background: transparent !important;
        font-weight: 600 !important;
    }
    .meta-author::after {
        content: '·';
        margin-left: 5px;
        color: var(--ink-300);
    }
    .meta-updated {
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        color: var(--ink-400) !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        text-transform: none !important;
        letter-spacing: normal !important;
        margin-left: auto !important;
    }
    .meta-updated i { display: none !important; }
    .meta-updated::before {
        content: '';
        display: inline-block;
        width: 6px;
        height: 6px;
        background: #22c55e;
        border-radius: 50%;
    }
}

/* ── 5.4 Premium Featured Image ── */
.gnp-premium-frame {
    background: var(--bg-surface);
    padding: 8px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: transform var(--dur-slow) var(--ease-smooth),
                box-shadow var(--dur-slow) var(--ease-smooth);
    display: block;
    position: relative;
    margin-bottom: 40px;
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
}
.gnp-premium-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius-xl) - 6px);
    display: block;
}

/* ── 5.5 Article Body Typography ── */
.gnp-article-body {
    font-size: 1.1rem;
    line-height: 1.82;
    color: var(--text-main);
    font-family: var(--font-sans);
    max-width: 740px;
    margin: 0 auto;
}
.gnp-article-body p {
    margin-bottom: 1.85rem;
    font-weight: 400;
    text-align: justify;
    text-justify: inter-word;
}
.gnp-article-body h2 {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--ink-900);
    margin-top: 2.8rem;
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: 12px;
}
.gnp-article-body h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-400), var(--gold-200));
    margin-top: 10px;
    border-radius: 2px;
}
.gnp-article-body h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-top: 2.2rem;
    margin-bottom: 0.9rem;
}
.gnp-article-body h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 1.8rem;
    color: var(--ink-600);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-family: var(--font-sans);
}
.gnp-article-body ul, .gnp-article-body ol {
    margin-bottom: 1.8rem;
    padding-left: 1.4rem;
}
.gnp-article-body li { margin-bottom: 0.65rem; }
.gnp-article-body ul li::marker { color: var(--gold-500); font-weight: 700; }
.gnp-article-body blockquote {
    margin: 2.5rem 0;
    padding: 1.8rem 2.2rem;
    background: var(--gold-050);
    border-left: 5px solid var(--gold-400);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--ink-700);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    box-shadow: var(--shadow-inner);
    font-family: var(--font-display);
    position: relative;
}
.gnp-article-body blockquote::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 18px;
    font-size: 4.5rem;
    color: var(--gold-200);
    line-height: 1;
    font-family: var(--font-display);
}
.gnp-article-body blockquote cite {
    display: block;
    margin-top: 0.9rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ink-600);
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: var(--font-sans);
}

/* ==========================================================================
   SECTION 6 — GOVERNMENT UTILITIES NICHE LIBRARY
   ========================================================================== */

/* ── 6.1 Intelligence Highlight Box ── */
.gov-highlight-box {
    background: linear-gradient(135deg, var(--gold-050), #fff);
    border: 1px solid var(--border-gold);
    border-left: 5px solid var(--ink-900);
    border-radius: var(--radius-lg);
    padding: 28px 30px;
    margin: 36px 0;
    box-shadow: var(--shadow-sm);
    transition: transform var(--dur-normal) var(--ease-smooth),
                box-shadow var(--dur-normal);
    position: relative;
    overflow: hidden;
    width: 100%;
}
.gov-highlight-box::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 200px; height: 200px;
    background: radial-gradient(circle, var(--gold-100) 0%, transparent 70%);
    pointer-events: none;
}
.gov-highlight-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--gold-500);
}
.gov-highlight-box strong {
    color: var(--ink-900);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    display: inline-block;
    margin-bottom: 10px;
    font-family: var(--font-sans);
}
.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: 11px;
    font-size: 1rem;
    gap: 10px;
}
.gov-highlight-box li::before {
    content: "›";
    color: var(--gold-500);
    font-weight: 800;
    font-size: 1.2em;
    line-height: 1.4;
    flex-shrink: 0;
}

/* ── 6.2 Alert Cards ── */
.gov-alert {
    padding: 22px 28px;
    border-radius: var(--radius-lg);
    margin: 32px 0;
    border-left: 5px solid;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    width: 100%;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    display: block;
}
.gov-alert::after {
    content: '';
    position: absolute;
    top: -20px; right: -20px;
    font-size: 130px;
    opacity: 0.04;
    font-family: var(--font-sans);
    pointer-events: none;
    font-weight: 900;
}
.gov-alert h3 {
    margin: 0 0 10px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.06em;
}
.gov-alert.success  { background: var(--success-bg);  border-color: var(--success); }
.gov-alert.success h3 { color: var(--success); }
.gov-alert.success::after { content: '✓'; }
.gov-alert.risk     { background: var(--danger-bg);   border-color: var(--danger); }
.gov-alert.risk h3  { color: var(--danger); }
.gov-alert.risk::after { content: '!'; }
.gov-alert.info     { background: var(--info-bg);     border-color: var(--info); }
.gov-alert.info h3  { color: var(--info); }
.gov-alert.info::after { content: 'i'; }

/* ── 6.3 Data Tables ── */
.gov-table-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    overflow-x: auto;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    margin: 36px 0;
    background: var(--bg-surface);
    width: 100%;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    display: block;
    background-image:
        linear-gradient(to right, white 30%, rgba(255,255,255,0)),
        linear-gradient(to right, rgba(255,255,255,0), white 70%) 0 100%,
        radial-gradient(farthest-side at 0 50%, rgba(13,14,28,.12), transparent),
        radial-gradient(farthest-side at 100% 50%, rgba(13,14,28,.12), transparent) 0 100%;
    background-repeat: no-repeat;
    background-color: white;
    background-size: 40px 100%, 40px 100%, 12px 100%, 12px 100%;
    background-position: 0 0, 100% 0, 0 0, 100% 0;
    background-attachment: local, local, scroll, scroll;
}
.gov-table {
    width: 100%;
    min-width: 600px !important;
    border-collapse: collapse;
    font-size: 0.92rem;
    table-layout: auto !important;
}
.gov-table th {
    background: var(--ink-900);
    color: var(--gold-200);
    padding: 16px 22px;
    text-align: left;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-family: var(--font-sans);
    position: sticky;
    top: 0;
    z-index: 10;
    white-space: nowrap;
}
.gov-table td {
    padding: 14px 22px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-main);
    vertical-align: middle;
    transition: background var(--dur-fast);
    font-variant-numeric: tabular-nums;
}
.gov-table tr { transition: background var(--dur-fast); }
.gov-table tr:hover td {
    background: var(--gold-050);
    color: var(--ink-800);
}
.gov-table tr:last-child td { border-bottom: none; }

/* ── 6.4 Hindi Summary Box ── */
.gov-hindi-summary {
    background: linear-gradient(135deg, var(--gold-050), #fff);
    border-left: 5px solid var(--gold-400);
    padding: 28px 36px;
    margin: 44px 0;
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 24px rgba(201,146,28,.1);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gold-200);
    width: 100%;
    max-width: 100%;
    display: block;
}
.gov-hindi-summary::after {
    content: 'हिंदी';
    position: absolute;
    top: -20px; right: -20px;
    font-size: 130px;
    color: rgba(201,146,28,.05);
    font-weight: 900;
    pointer-events: none;
    font-family: var(--font-hindi);
}
.gov-hindi-summary h2 {
    color: var(--gold-700) !important;
    font-size: 1.1rem !important;
    font-family: var(--font-sans) !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    margin-top: 0 !important;
    margin-bottom: 18px !important;
    border-bottom: 1.5px solid var(--gold-200) !important;
    padding-bottom: 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}
.gov-hindi-summary h2::before {
    content: '\f111';
    font-family: 'dashicons';
    font-size: 22px;
    vertical-align: middle;
}
.gov-hindi-summary p {
    font-size: 1.2rem;
    line-height: 1.95;
    color: var(--ink-800);
    font-family: var(--font-hindi);
    font-weight: 500;
}

/* ── 6.5 WhatsApp Share Card ── */
.gov-whatsapp-share {
    background: linear-gradient(135deg, #f0fdf8, #e8faf2);
    border: 2px dashed #4ade80;
    border-radius: var(--radius-xl);
    padding: 36px;
    text-align: center;
    margin: 52px 0;
    box-shadow: var(--shadow-md);
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    display: block;
    -webkit-overflow-scrolling: touch;
}
.gov-whatsapp-share h3 {
    color: #14532d;
    font-family: var(--font-sans);
    font-size: 1.35rem;
    margin-bottom: 26px;
    font-weight: 800;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.gov-whatsapp-share h3::before {
    content: '\f232';
    font-family: 'dashicons';
    font-size: 30px;
}
#viral-text-content {
    background: white;
    padding: 22px 26px;
    border-radius: var(--radius-md);
    border-left: 5px solid var(--gold-400);
    text-align: left;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--ink-700);
    margin-bottom: 26px;
    box-shadow: var(--shadow-inner);
    white-space: pre-line;
    border-top: 1px solid var(--cream-300);
    border-right: 1px solid var(--cream-300);
    border-bottom: 1px solid var(--cream-300);
}
#auto-share-btn {
    background: var(--whatsapp);
    color: white;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 16px 44px;
    border: none;
    border-radius: var(--radius-pill);
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(37,211,102,.3);
    transition: transform var(--dur-fast) var(--ease-bounce),
                box-shadow var(--dur-fast);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
}
#auto-share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(37,211,102,.38);
    background: var(--whatsapp-dark);
}

/* ── 6.6 Eligibility Grid ── */
.gov-eligibility {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    margin: 36px 0;
    width: 100%;
}
.gov-eligibility > div {
    padding: 26px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: transform var(--dur-normal) var(--ease-smooth),
                box-shadow var(--dur-normal);
    background: var(--bg-surface);
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    display: block;
}
.gov-eligibility > div:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.gov-eligibility > div:first-child {
    background: linear-gradient(to bottom, var(--success-bg), #fff);
    border-top: 5px solid var(--success);
}
.gov-eligibility > div:last-child {
    background: linear-gradient(to bottom, var(--danger-bg), #fff);
    border-top: 5px solid var(--danger);
}
.gov-eligibility h3 {
    margin-top: 0;
    font-size: 1.2rem;
    font-family: var(--font-sans);
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 800;
}
@media (max-width: 768px) {
    .gov-eligibility { grid-template-columns: 1fr; }
}

/* ── 6.7 Application Draft Box ── */
.gov-application-draft {
    background: var(--ink-050);
    border-left: 4px solid var(--ink-400);
    padding: 26px 28px;
    margin: 28px 0;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-family: var(--font-mono);
    font-size: 0.97rem;
    color: var(--ink-700);
    box-shadow: var(--shadow-inner);
    position: relative;
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    display: block;
}
.gov-application-draft::before {
    content: '📋 COPY & PASTE FORMAT:';
    display: block;
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

/* ── 6.8 Calculator Widget Box ── */
.gov-calculator-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-top: 4px solid var(--gold-400);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin: 36px 0;
    box-shadow: var(--shadow-md);
    width: 100%;
    overflow-x: auto;
    max-width: 100%;
    display: block;
}
.gov-calculator-box h3 {
    text-align: center;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-600);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 14px;
    margin-bottom: 22px;
}

/* ── 6.9 FAQ Accordion ── */
details.gov-faq {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: box-shadow var(--dur-normal);
}
details.gov-faq:hover { box-shadow: var(--shadow-md); }

details.gov-faq summary {
    padding: 18px 22px;
    font-family: var(--font-sans);
    font-weight: 700;
    cursor: pointer;
    background: var(--ink-050);
    position: relative;
    list-style: none;
    color: var(--text-heading);
    transition: background var(--dur-fast);
    font-size: 1rem;
    user-select: none;
}
details.gov-faq summary::-webkit-details-marker { display: none; }
details.gov-faq summary::after {
    content: '+';
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    color: var(--gold-500);
    font-size: 1.5em;
    transition: transform var(--dur-normal) var(--ease-smooth);
    line-height: 1;
}
details.gov-faq[open] summary {
    border-bottom: 1px solid var(--border-light);
    background: var(--gold-100);
}
details.gov-faq[open] summary::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}
details.gov-faq p {
    padding: 20px 22px;
    margin: 0;
    color: var(--text-main);
    line-height: 1.7;
    font-size: 0.97rem;
    background: var(--gold-050);
}

/* ── 6.10 Form Elements ── */
.gov-input-group { margin-bottom: 22px; }
.gov-label {
    display: block;
    margin-bottom: 7px;
    font-weight: 700;
    color: var(--text-heading);
    font-size: 0.9rem;
    font-family: var(--font-sans);
    letter-spacing: 0.01em;
}
.gov-input, .gov-select {
    width: 100%;
    padding: 13px 15px;
    border: 1.5px solid var(--border-medium);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 0.97rem;
    transition: all var(--dur-fast) var(--ease-smooth);
    background: var(--bg-surface);
    appearance: none;
    color: var(--text-main);
    max-width: 100%;
}
.gov-input:focus, .gov-select:focus {
    outline: none;
    border-color: var(--ink-600);
    box-shadow: 0 0 0 3px rgba(45,48,88,.1);
}
.gov-btn {
    background: var(--ink-900);
    color: white;
    font-weight: 700;
    padding: 13px 28px;
    border: none;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all var(--dur-fast) var(--ease-smooth);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.97rem;
    font-family: var(--font-sans);
    letter-spacing: 0.02em;
}
.gov-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(13,14,28,.25);
    background: var(--ink-700);
}

/* ── 6.11 Table of Contents ── */
.gnp-toc-box {
    background: linear-gradient(to bottom right, var(--gold-050), #fff);
    border: 1px solid var(--border-gold);
    border-left: 4px solid var(--gold-400);
    padding: 22px 26px;
    margin: 28px 0;
    border-radius: var(--radius-lg);
    display: inline-block;
    min-width: min(320px, 100%);
    max-width: 100%;
    box-shadow: var(--shadow-sm);
}
.gnp-toc-box .toc-title {
    font-family: var(--font-sans);
    font-weight: 800;
    margin-bottom: 14px;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 7px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold-700);
}
.gnp-toc-box .toc-title::before {
    content: '\f15e';
    font-family: 'dashicons';
    font-size: 16px;
}
.gnp-toc-box ul { margin: 0; padding-left: 18px; }
.gnp-toc-box li { margin-bottom: 7px; font-size: 0.9rem; }
.gnp-toc-box a {
    text-decoration: none;
    color: var(--ink-600);
    font-weight: 600;
    transition: color var(--dur-fast);
}
.gnp-toc-box a:hover { color: var(--ink-900); text-decoration: underline; }

/* ── 6.12 PDF Button ── */
.gov-pdf-container { margin: 20px 0; text-align: center; }
.gov-pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--danger);
    color: #fff !important;
    padding: 12px 22px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.97rem;
    font-family: var(--font-sans);
    box-shadow: var(--shadow-sm);
    transition: all var(--dur-fast) var(--ease-bounce);
}
.gov-pdf-btn:hover {
    background: #a8101f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.pdf-icon { font-size: 1.15em; }

/* ==========================================================================
   SECTION 7 — SIDEBAR & WIDGETS
   ========================================================================== */

/* ==========================================================================
   SECTION 7 — SIDEBAR & PREMIUM WIDGETS (REDESIGNED)
   ========================================================================== */

/* ── 7.1 Sidebar Layout ── */
.widget-area {
    display: flex;
    flex-direction: column;
    gap: 32px; /* Increased gap for breathing room */
    width: 100%;
}

/* ── 7.2 Base Widget Card ── */
.widget {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 30px; /* More internal padding */
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: transform var(--dur-normal) var(--ease-smooth),
                box-shadow var(--dur-normal),
                border-color var(--dur-fast);
    width: 100%;
}

/* Hover Effect: Lifts slightly and highlights border */
.widget:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: var(--ink-200);
}

/* ── 7.3 Widget Typography ── */
.widget-title {
    font-family: var(--font-display); /* Switch to Serif for Luxury feel */
    font-size: 1.15rem; /* Larger than before */
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 1.5rem;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    letter-spacing: -0.01em;
}

/* Decorative Gold Line under Title */
.widget-title::after {
    content: '';
    position: absolute;
    bottom: -1px; /* Sits right on top of the border */
    left: 30px; /* Aligns with padding */
    width: 40px;
    height: 3px;
    background: var(--gold-500);
    border-radius: 2px;
    z-index: 2;
}

/* ── 7.4 Widget Lists (Editorial Style) ── */
.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget li {
    padding: 14px 0;
    /* Dashed border looks more like a document/form */
    border-bottom: 1px dashed var(--border-medium); 
    display: flex;
    align-items: baseline;
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
}

.widget li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Custom Bullet Point (Gold Diamond) */
.widget li::before {
    content: '◆'; /* Diamond shape */
    color: var(--gold-500);
    font-size: 9px;
    margin-right: 12px;
    transform: translateY(-2px);
    flex-shrink: 0;
    transition: color var(--dur-fast);
}

.widget li:hover::before {
    color: var(--ink-900); /* Bullet turns dark on hover */
}

/* Links */
.widget a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-family: var(--font-sans);
    transition: all var(--dur-fast) var(--ease-smooth);
    display: block;
}

.widget a:hover {
    color: var(--gold-700); /* Dark Bronze Gold */
    transform: translateX(4px); /* Slide effect */
}

/* ── 7.5 Premium Subscribe Widget (The "Star" of the Sidebar) ── */
.gnp-widget-subscribe {
    /* Background: Deep Rich Navy Gradient */
    background: linear-gradient(135deg, #05060f 0%, #15172e 100%);
    border: 1px solid var(--gold-600); /* Gold Border Frame */
    border-radius: var(--radius-xl);
    text-align: center;
    padding: 36px 28px;
    position: relative;
    box-shadow: var(--shadow-md);
    overflow: visible; /* Allow glow to spill out */
}

/* Add a subtle top shine */
.gnp-widget-subscribe::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,0.5), transparent);
}

/* Force White Text for Contrast */
.gnp-widget-subscribe .widget-title {
    color: #ffffff !important;
    border-bottom-color: rgba(255,255,255,0.1);
    font-size: 1.25rem;
    justify-content: center;
}
.gnp-widget-subscribe .widget-title::after {
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-400);
}

.gnp-widget-subscribe p {
    color: #e0e2eb !important; /* Bright Silver */
    font-size: 0.95rem;
    margin-bottom: 24px;
}

/* WhatsApp Button (High Gloss) */
.btn-whatsapp-full {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(to bottom, #2ce070, #25D366); /* Glossy Green */
    color: #000 !important; /* Black text for max contrast */
    padding: 16px 20px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    font-family: var(--font-sans);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(37,211,102,0.3);
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-whatsapp-full i {
    font-size: 1.25rem;
}

.btn-whatsapp-full:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 25px rgba(37,211,102,0.5);
    background: #ffffff; /* Turns white on hover */
    color: #25D366 !important; /* Text turns green */
    border-color: #25D366;
}

/* ── 7.6 Dark Mode Overrides for Widgets ── */
body.dark-mode .widget {
    background: var(--bg-surface);
    border-color: var(--border-light);
}
body.dark-mode .widget-title {
    color: #ffffff;
    border-bottom-color: var(--border-light);
}
body.dark-mode .widget li {
    border-bottom-color: var(--border-light);
}
body.dark-mode .widget a {
    color: var(--text-main);
}
body.dark-mode .widget a:hover {
    color: var(--gold-300);
}

/* Dark Mode Subscribe - Make it pop even more */
body.dark-mode .gnp-widget-subscribe {
    background: linear-gradient(135deg, #000000, #0a0b1a);
    border-color: var(--gold-500);
    box-shadow: 0 0 20px rgba(217, 164, 37, 0.15); /* Gold Glow */
}
/* ==========================================================================
   SECTION 8 — FOOTER & MOBILE DOCK
   ========================================================================== */

/* ── 8.1 Site Footer ── */
.site-footer {
    background: var(--ink-950);
    color: var(--ink-300);
    padding: 72px 0 100px;
    margin-top: auto;
    font-size: 0.9rem;
    position: relative;
    border-top: 3px solid var(--gold-400);
    width: 100%;
    overflow: hidden;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 180px;
    background: radial-gradient(ellipse at 50% 0, rgba(201,146,28,.07), transparent 70%);
    pointer-events: none;
}

.footer-widgets-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 56px;
    margin-bottom: 56px;
    width: 100%;
}

.footer-col h3 {
    font-family: var(--font-display);
    color: var(--gold-200);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 22px;
    padding-bottom: 13px;
    display: inline-block;
    position: relative;
}
.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, var(--gold-500), transparent);
}

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-links a {
    color: var(--ink-300);
    text-decoration: none;
    transition: all var(--dur-fast);
    font-size: 0.88rem;
}
.footer-links a:hover {
    color: var(--gold-200);
    padding-left: 6px;
}

/* ── 8.2 Disclaimer Box ── */
/* ── 8.2 Disclaimer Box (High Visibility Repair) ── */
.gov-disclaimer-box {
    /* Background: A solid warm tint instead of transparent glass */
    background: var(--gold-050);
    /* Border: Stronger border to define the box edge */
    border: 1px solid var(--border-gold); 
    /* Left Accent: Adds immediate visual focus */
    border-left: 4px solid var(--gold-500); 
    
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin-bottom: 52px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    width: 100%;
    position: relative;
    /* Shadow: Lifts it off the page */
    box-shadow: var(--shadow-sm);
    transition: all var(--dur-normal) var(--ease-smooth);
}

/* Hover State: Brightens and lifts */
.gov-disclaimer-box:hover {
    background: var(--bg-surface); /* Switches to pure white/black */
    border-color: var(--gold-400);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.disclaimer-icon {
    font-size: 24px;
    /* Icon Color: Darker gold for contrast */
    color: var(--gold-700); 
    flex-shrink: 0;
    background: rgba(201,146,28,0.12);
    width: 48px; height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid rgba(201,146,28,0.15);
}

.disclaimer-content {
    flex: 1;
}

.disclaimer-content strong {
    /* Title: Dark Bronze (Light Mode) / Bright Gold (Dark Mode) */
    color: var(--text-gold); 
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.disclaimer-content p {
    margin: 0;
    line-height: 1.65;
    font-size: 0.9rem;
    /* Body Text: Uses the main text color (Black/White) instead of grey */
    color: var(--text-main); 
    font-weight: 500;
}

/* ── Dark Mode Overrides for Disclaimer ── */
body.dark-mode .gov-disclaimer-box {
    background: rgba(255, 255, 255, 0.03); /* Subtle white glass */
    border-color: var(--border-light);
    border-left-color: var(--gold-500);
}

body.dark-mode .gov-disclaimer-box:hover {
    background: rgba(255, 255, 255, 0.07); /* Brighter on hover */
    border-color: var(--gold-400);
}

body.dark-mode .disclaimer-icon {
    color: var(--gold-300); /* Bright gold icon */
    background: rgba(201,146,28,0.25);
    border-color: rgba(201,146,28,0.3);
}

body.dark-mode .disclaimer-content strong {
    color: var(--gold-300); /* Bright gold title */
}

body.dark-mode .disclaimer-content p {
    color: var(--ink-200); /* Bright silver text */
}

/* ── 8.3 Mobile Dock ── */
#gnp-mobile-dock {
    position: fixed;
    bottom: 0; left: 0;
    width: 100%;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid var(--border-light);
    display: none;
    justify-content: space-around;
    align-items: center;
    padding: 6px 0;
    z-index: 9999;
    padding-bottom: max(6px, var(--safe-bottom));
    box-shadow: 0 -4px 22px rgba(13,14,28,.09);
    transition: transform var(--dur-normal) var(--ease-smooth);
}
@media (max-width: 768px) {
    #gnp-mobile-dock { display: flex; }
    .site-footer { padding-bottom: 116px; }
    .footer-widgets-grid { grid-template-columns: 1fr; gap: 36px; }
}
#gnp-mobile-dock.dock-hidden { transform: translateY(100%); }

.dock-item {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--ink-400);
    font-size: 9.5px;
    font-weight: 700;
    font-family: var(--font-sans);
    width: 25%;
    cursor: pointer;
    gap: 3px;
    transition: color var(--dur-fast);
    padding: 4px 0;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.dock-item i {
    font-size: 20px;
    color: var(--ink-500);
    transition: transform var(--dur-fast) var(--ease-bounce);
}
.dock-item.highlight i {
    color: var(--whatsapp);
    font-size: 23px;
    filter: drop-shadow(0 2px 5px rgba(37,211,102,.25));
}
.dock-item.highlight span { color: var(--whatsapp-dark); }
.dock-item:active i { transform: scale(0.88); }

/* ==========================================================================
   SECTION 9 — UTILITIES
   ========================================================================== */

/* ── 9.1 Back To Top ── */
#gnp-back-to-top {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--ink-900);
    color: white;
    position: fixed;
    bottom: 38px; right: 38px;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s var(--ease-bounce);
    z-index: 99;
    display: grid;
    place-items: center;
    font-size: 22px;
}
#gnp-back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
#gnp-back-to-top:hover {
    transform: translateY(-4px) scale(1.08);
    background: var(--gold-500);
    box-shadow: var(--shadow-gold);
}
@media (max-width: 768px) {
    #gnp-back-to-top { bottom: 88px; right: 18px; width: 46px; height: 46px; }
}

/* ── 9.2 Load More ── */
.gnp-load-more-container {
    text-align: center;
    margin: 52px 0;
    display: flex;
    justify-content: center;
    width: 100%;
}
#gnp-load-more-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    padding: 14px 46px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    font-family: var(--font-sans);
    color: var(--ink-700);
    cursor: pointer;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-sm);
    transition: all var(--dur-fast) var(--ease-smooth);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
#gnp-load-more-btn:hover {
    background: var(--ink-900);
    color: var(--gold-200);
    border-color: var(--ink-900);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ── 9.3 Skeleton Loader ── */
.skeleton-loader {
    background: linear-gradient(90deg, var(--ink-100) 25%, var(--cream-200) 50%, var(--ink-100) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.6s infinite;
    border-radius: var(--radius-sm);
    color: transparent !important;
}

/* ── 9.4 Toast ── */
.premium-toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(90px);
    background: var(--ink-900);
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-xl);
    z-index: 10000;
    opacity: 0;
    transition: all 0.4s var(--ease-bounce);
    display: flex;
    align-items: center;
    gap: 11px;
    font-weight: 600;
    white-space: nowrap;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    border: 1px solid rgba(255,255,255,.08);
    max-width: calc(100vw - 40px);
}
.premium-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ==========================================================================
   SECTION 10 — LEGACY BARS & STRIPS
   ========================================================================== */

/* ── 10.1 Government News Bar ── */
.govt-news-bar-container {
    width: 100%;
    z-index: 1002;
    position: relative;
    background: var(--ink-950);
}
.govt-news-bar {
    display: flex;
    align-items: center;
    background: var(--ink-900);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 12px;
    height: 42px;
    overflow: hidden;
    border-bottom: 2px solid var(--gold-500);
    box-shadow: 0 2px 12px rgba(0,0,0,.25);
    width: 100%;
}
.live-clock-box {
    background: var(--ink-800);
    padding: 0 18px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    z-index: 20;
    border-right: 1px solid rgba(255,255,255,.08);
    flex-shrink: 0;
}
.pulse-dot {
    color: #22c55e;
    margin-right: 7px;
    font-size: 13px;
    animation: pulse 2s infinite;
}
.ticker-heading {
    background: var(--gold-500);
    color: var(--ink-950);
    padding: 0 22px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 10.5px;
    letter-spacing: 1px;
    z-index: 10;
    clip-path: polygon(0 0, 92% 0, 100% 100%, 0% 100%);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── 10.2 Compliance Strip ── */
.compliance-strip {
    background: var(--cream-100);
    border-bottom: 1px solid var(--cream-300);
    width: 100%;
    padding: 11px 0;
    font-family: var(--font-sans);
    font-size: 11.5px;
}
.compliance-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2.5rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}
.shield-check {
    font-size: 15px;
    margin-right: 7px;
    color: var(--ink-600);
    vertical-align: middle;
}
.shield-text { color: var(--ink-500); letter-spacing: 0.02em; }
.shield-text strong { color: var(--ink-900); }
.compliance-link {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-500);
    text-decoration: none;
    background: var(--cream-200);
    padding: 4px 11px;
    border-radius: var(--radius-pill);
    transition: all var(--dur-fast);
    border: 1px solid var(--cream-300);
    flex-shrink: 0;
}
.compliance-link:hover { background: var(--ink-900); color: var(--gold-200); border-color: var(--ink-900); }

/* ── 10.3 Article Footer ── */
.gov-article-footer {
    margin-top: 56px;
    padding-top: 36px;
    border-top: 1.5px solid var(--border-light);
    font-size: 0.9rem;
    color: var(--text-muted);
    width: 100%;
}
.gov-meta-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 26px;
}
.gov-meta-tag {
    background: var(--ink-050);
    padding: 5px 13px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-sans);
    letter-spacing: 0.03em;
}

/* ==========================================================================
   SECTION 11 — PREMIUM TOOLS BAR & SPEECH ENGINE
   ========================================================================== */

.gnp-tools-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 38px;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    padding: 7px 11px 7px 18px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 96px;
    z-index: 90;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: all var(--dur-normal) var(--ease-smooth);
    width: 100%;
}
.tools-left, .tools-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.gnp-speech-widget {
    display: inline-flex;
    align-items: center;
    background: var(--ink-050);
    border-radius: var(--radius-pill);
    padding: 4px 4px 4px 14px;
    border: 1px solid transparent;
    transition: all var(--dur-fast) var(--ease-smooth);
}
.gnp-speech-widget:hover {
    border-color: var(--gold-300);
    background: var(--gold-050);
}
.tool-select {
    border: none;
    background: transparent;
    font-size: 12.5px;
    color: var(--text-main);
    font-weight: 700;
    cursor: pointer;
    outline: none;
    max-width: 110px;
    padding-right: 4px;
    appearance: none;
    -webkit-appearance: none;
    font-family: var(--font-sans);
}
.tool-select:focus { color: var(--ink-600); }
#gnp-speak-btn {
    border: none;
    background: var(--ink-800);
    color: white;
    border-radius: 50%;
    width: 34px; height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 7px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(13,14,28,.25);
    transition: transform var(--dur-fast) var(--ease-bounce),
                background var(--dur-fast);
    flex-shrink: 0;
}
#gnp-speak-btn i { font-size: 16px; margin-top: 1px; }
#gnp-speak-btn:hover {
    transform: scale(1.1);
    background: var(--gold-500);
}
.active-speak {
    background: var(--danger) !important;
    box-shadow: 0 0 0 0 rgba(192,24,42,.7);
    animation: pulse-speak 1.5s infinite;
}
.tool-btn {
    background: transparent;
    border: 1px solid transparent;
    padding: 7px;
    width: 38px; height: 38px;
    border-radius: 50%;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all var(--dur-fast) var(--ease-smooth);
    cursor: pointer;
    font-family: var(--font-sans);
    flex-shrink: 0;
}
.tool-btn:hover {
    background: var(--ink-050);
    color: var(--ink-800);
    transform: translateY(-1px);
}
.font-minus, .font-plus {
    font-weight: 700;
    font-family: var(--font-display);
    font-size: 15px;
}
.gnp-dark-mode-toggle:hover {
    background: var(--ink-900);
    color: var(--gold-200);
}

/* Mobile Tools Bar */
@media (max-width: 768px) {
    .gnp-tools-bar {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 9px 14px;
        gap: 14px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        mask-image: linear-gradient(to right, black 88%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, black 88%, transparent 100%);
        border-radius: var(--radius-pill);
        animation: hint-scroll 1.6s ease-out 1;
    }
    .gnp-tools-bar::-webkit-scrollbar { display: none; }
    .tools-left, .tools-right { flex-shrink: 0; gap: 8px; }
    .tool-btn, .gnp-speech-widget { scroll-snap-align: start; flex-shrink: 0; }
    .gnp-speech-widget { margin-right: 12px; }
}

/* ==========================================================================
   SECTION 12 — PAGINATION
   ========================================================================== */

.gnp-pagination {
    margin: 56px 0 72px;
    text-align: center;
    clear: both;
    display: flex;
    justify-content: center;
    width: 100%;
}
.gnp-pagination .nav-links {
    display: inline-flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    background: var(--bg-surface);
    padding: 8px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}
.gnp-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px; height: 42px;
    padding: 0 11px;
    border-radius: 50%;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
    font-size: 14.5px;
    font-family: var(--font-sans);
    transition: all var(--dur-fast) var(--ease-smooth);
    border: 1.5px solid transparent;
    line-height: 1;
}
.gnp-pagination a.page-numbers:hover {
    background: var(--ink-050);
    color: var(--ink-800);
    transform: translateY(-1px);
}
.gnp-pagination .page-numbers.current {
    background: var(--ink-900);
    color: var(--gold-200);
    border-color: var(--ink-900);
    box-shadow: var(--shadow-sm);
    cursor: default;
    pointer-events: none;
}
.gnp-pagination .next, .gnp-pagination .prev {
    font-size: 17px;
    background: var(--ink-050);
    border-color: var(--border-light);
}

/* ==========================================================================
   SECTION 13 — POST META (TAGS & BACK BUTTON)
   ========================================================================== */

.gnp-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-top: 36px;
    padding-top: 18px;
    border-top: 1px solid var(--border-light);
    width: 100%;
}
.tags-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-right: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-sans);
    flex-shrink: 0;
}
.gnp-tags a {
    display: inline-block;
    background: var(--ink-050);
    color: var(--ink-600);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-light);
    text-decoration: none;
    transition: all var(--dur-fast) var(--ease-smooth);
    font-family: var(--font-sans);
}
.gnp-tags a:hover {
    background: var(--ink-900);
    color: var(--gold-200);
    border-color: var(--ink-900);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.gnp-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 22px;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-pill);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.85rem;
    font-family: var(--font-sans);
    text-decoration: none;
    transition: all var(--dur-fast) var(--ease-smooth);
    box-shadow: var(--shadow-xs);
}
.gnp-back-btn i { font-size: 1em; transition: transform var(--dur-fast); }
.gnp-back-btn:hover {
    background: var(--ink-900);
    color: var(--gold-200);
    border-color: var(--ink-900);
    box-shadow: var(--shadow-sm);
    transform: translateX(-2px);
}
.gnp-back-btn:hover i { transform: translateX(-3px); }

/* ==========================================================================
   SECTION 14 — NOSCRIPT FALLBACK & POST NAVIGATION
   ========================================================================== */

.gnp-noscript-fallback {
    margin-top: 56px;
    padding-top: 36px;
    border-top: 1.5px solid var(--border-light);
    animation: fadeIn var(--dur-slow) var(--ease-out);
    width: 100%;
}
.gnp-post-navigation .nav-links {
    display: flex;
    gap: 18px;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}
.gnp-post-navigation a {
    flex: 1;
    min-width: min(260px, 100%);
    padding: 18px 20px;
    background: var(--gold-050);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--dur-normal) var(--ease-smooth);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.gnp-post-navigation a:hover {
    background: var(--ink-050);
    border-color: var(--ink-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.nav-subtitle {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: var(--font-sans);
}
.nav-title {
    color: var(--text-main);
    font-family: var(--font-display);
    font-size: 0.97rem;
    font-weight: 700;
    line-height: 1.4;
}
.gnp-related-fallback { margin-top: 46px; width: 100%; }
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
    gap: 22px;
    width: 100%;
}
.related-item { display: flex; flex-direction: column; }
.related-item img {
    border-radius: var(--radius-md);
    aspect-ratio: 16/10;
    object-fit: cover;
    margin-bottom: 11px;
    border: 1px solid var(--border-light);
    transition: transform var(--dur-normal) var(--ease-smooth);
    width: 100%;
}
.related-item:hover img { transform: scale(1.03); }
.related-item h4 a {
    color: var(--text-heading);
    font-family: var(--font-display);
    font-weight: 700;
    transition: color var(--dur-fast);
}
.related-item h4 a:hover { color: var(--ink-600); }

/* ==========================================================================
   SECTION 15 — COMMENTS SYSTEM
   ========================================================================== */

.comments-area {
    margin-top: 56px;
    padding-top: 36px;
    border-top: 3px solid var(--ink-100);
    width: 100%;
}
.comments-title {
    font-family: var(--font-sans);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 26px;
    color: var(--ink-900);
    display: flex;
    align-items: center;
    gap: 9px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.comments-title::before {
    content: '\f101';
    font-family: 'dashicons';
    color: var(--gold-500);
    font-size: 22px;
}
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list li.comment {
    margin-bottom: 26px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--border-light);
    animation: fadeIn var(--dur-normal) var(--ease-out);
}
.comment-body { display: flex; gap: 18px; }
.comment-author .avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-light);
    flex-shrink: 0;
    box-shadow: var(--shadow-xs);
}
.comment-meta {
    margin-bottom: 7px;
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.fn {
    font-style: normal;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.97rem;
    color: var(--text-heading);
}
.says { display: none; }
.comment-metadata {
    font-size: 0.73rem;
    color: var(--text-muted);
    font-weight: 600;
    font-family: var(--font-sans);
}
.comment-metadata a { color: var(--text-muted); text-decoration: none; }
.comment-content { flex: 1; min-width: 0; }
.comment-content p {
    margin: 0 0 9px;
    font-size: 0.93rem;
    line-height: 1.65;
    color: var(--text-main);
    text-align: left;
}
.reply a {
    font-family: var(--font-sans);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-600);
    background: var(--ink-050);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    display: inline-block;
    transition: all var(--dur-fast);
    border: 1px solid var(--border-light);
}
.reply a:hover {
    background: var(--ink-900);
    color: var(--gold-200);
    border-color: var(--ink-900);
}

/* Comment Form */
.gnp-comment-form {
    background: var(--gold-050);
    padding: 28px;
    border-radius: var(--radius-xl);
    margin-top: 36px;
    border: 1px solid var(--border-gold);
    width: 100%;
}
.comment-reply-title {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 18px;
    display: block;
    color: var(--ink-900);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.comment-form-comment label { display: none; }
.gnp-comment-form textarea,
.gnp-comment-form input[type="text"],
.gnp-comment-form input[type="email"],
.gnp-comment-form input[type="url"] {
    width: 100%;
    padding: 13px 15px;
    border: 1.5px solid var(--border-gold);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 0.97rem;
    background: var(--bg-surface);
    color: var(--text-main);
    margin-bottom: 13px;
    transition: all var(--dur-fast);
    max-width: 100%;
}
.gnp-comment-form textarea:focus,
.gnp-comment-form input:focus {
    outline: none;
    border-color: var(--ink-600);
    box-shadow: 0 0 0 3px rgba(45,48,88,.08);
}
.form-submit { margin-bottom: 0; }
.form-submit input[type="submit"] {
    background: var(--ink-900);
    color: white;
    font-family: var(--font-sans);
    font-weight: 800;
    padding: 13px 28px;
    border: none;
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: all var(--dur-fast) var(--ease-smooth);
    width: auto;
}
.form-submit input[type="submit"]:hover {
    background: var(--gold-500);
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}
.form-submit input[type="submit"]:disabled {
    background: var(--ink-300);
    cursor: not-allowed;
    transform: none;
}

#gnp-comment-status {
    margin-bottom: 18px;
    font-size: 0.92rem;
    font-weight: 600;
    font-family: var(--font-sans);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
#gnp-comment-status .success {
    display: block;
    padding: 11px 15px;
    background: var(--success-bg);
    color: var(--success);
    border-left: 3px solid var(--success);
}
#gnp-comment-status .error {
    display: block;
    padding: 11px 15px;
    background: var(--danger-bg);
    color: var(--danger);
    border-left: 3px solid var(--danger);
}

@media (max-width: 600px) {
    .comment-body { gap: 12px; }
    .comment-author .avatar { width: 38px; height: 38px; }
    .gnp-comment-form { padding: 18px; }
    .form-submit input[type="submit"] { width: 100%; text-align: center; }
}

/* ==========================================================================
   SECTION 16 — DARK MODE 2.0
   ========================================================================== */

body.dark-mode {
    --bg-body:          var(--ink-950);
    --bg-surface:       var(--ink-900);
    --bg-surface-glass: rgba(13,14,28,.95);
    --bg-inset:         var(--ink-800);
    --text-main:        var(--ink-100);
    --text-heading:     #f8f8ff;
    --text-muted:       var(--ink-400);
    --border-light:     var(--ink-800);
    --border-medium:    var(--ink-700);
    --shadow-sm:        0 1px 4px rgba(0,0,0,.5);
    --shadow-md:        0 4px 12px rgba(0,0,0,.55);
    --shadow-lg:        0 12px 28px rgba(0,0,0,.6);
    --cream-100:        var(--ink-950);
    --cream-200:        var(--ink-900);
    --cream-300:        var(--ink-800);
    color-scheme: dark;
}

/* Core surfaces */
body.dark-mode .site-header,
body.dark-mode .gnp-card,
body.dark-mode .gnp-single-post-container,
body.dark-mode .widget,
body.dark-mode .gnp-tools-bar,
body.dark-mode .gnp-premium-frame {
    background-color: var(--ink-900);
    border-color: var(--ink-800);
}
body.dark-mode .main-navigation {
    background-color: var(--ink-900);
    border-color: var(--ink-800);
}
body.dark-mode .main-navigation a:hover {
    background: var(--ink-800);
    color: var(--gold-200);
}

/* Typography */
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 .card-title a,
body.dark-mode .entry-title { color: var(--text-heading); }
body.dark-mode p, body.dark-mode li { color: var(--ink-200); }

/* Widget */
body.dark-mode .widget-title { border-bottom-color: var(--ink-800); color: var(--ink-400); }
body.dark-mode .widget li { border-bottom-color: var(--ink-800); }
body.dark-mode .gnp-widget-subscribe { background: linear-gradient(145deg, #0d2a1a, #051510); border-color: #0a3320; }
body.dark-mode .gnp-widget-subscribe .widget-title { color: #4ade80; }

/* Gov highlight */
body.dark-mode .gov-highlight-box {
    background: linear-gradient(135deg, var(--ink-800), var(--ink-900));
    border-color: var(--ink-700);
    border-left-color: var(--gold-400);
}
body.dark-mode .gov-highlight-box::before { background: radial-gradient(circle, rgba(201,146,28,.06) 0%, transparent 70%); }
body.dark-mode .gov-highlight-box strong { color: var(--gold-300); }

/* Alerts */
body.dark-mode .gov-alert.success { background: rgba(13,123,76,.15); border-color: var(--success); }
body.dark-mode .gov-alert.success h3 { color: #4ade80; }
body.dark-mode .gov-alert.risk   { background: rgba(192,24,42,.12); border-color: var(--danger); }
body.dark-mode .gov-alert.risk h3   { color: #fca5a5; }
body.dark-mode .gov-alert.info   { background: rgba(29,95,180,.12); border-color: var(--info); }
body.dark-mode .gov-alert.info h3   { color: #93c5fd; }

/* Table */
body.dark-mode .gov-table-wrapper { background: var(--ink-900); background-image: none; background-color: var(--ink-900); }
body.dark-mode .gov-table th { background: var(--ink-950); color: var(--gold-200); }
body.dark-mode .gov-table td { border-bottom-color: var(--ink-800); color: var(--ink-200); }
body.dark-mode .gov-table tr:hover td { background: var(--ink-800); color: var(--gold-200); }

/* Hindi */
body.dark-mode .gov-hindi-summary { background: linear-gradient(135deg, var(--ink-800), var(--ink-900)); border-color: var(--ink-700); border-left-color: var(--gold-400); }
body.dark-mode .gov-hindi-summary h2 { color: var(--gold-300) !important; border-bottom-color: rgba(201,146,28,.15) !important; }
body.dark-mode .gov-hindi-summary p { color: var(--ink-200); }

/* WhatsApp */
body.dark-mode .gov-whatsapp-share { background: linear-gradient(135deg, #042d18, #063a20); border-color: #0d5c30; }
body.dark-mode .gov-whatsapp-share h3 { color: #4ade80; }
body.dark-mode #viral-text-content { background: var(--ink-950); color: var(--ink-200); border-color: var(--ink-800); border-left-color: var(--gold-500); }

/* FAQ */
body.dark-mode details.gov-faq { background: var(--ink-900); border-color: var(--ink-800); }
body.dark-mode details.gov-faq summary { background: var(--ink-800); color: var(--text-heading); }
body.dark-mode details.gov-faq[open] summary { background: rgba(201,146,28,.1); border-bottom-color: var(--ink-700); }
body.dark-mode details.gov-faq p { background: var(--ink-900); color: var(--ink-200); }

/* Form */
body.dark-mode .gov-input, body.dark-mode .gov-select { background: var(--ink-800); border-color: var(--ink-700); color: var(--ink-100); }
body.dark-mode .gov-input:focus, body.dark-mode .gov-select:focus { border-color: var(--gold-400); box-shadow: 0 0 0 3px rgba(201,146,28,.12); }

/* TOC */
body.dark-mode .gnp-toc-box { background: linear-gradient(to bottom right, var(--ink-800), var(--ink-900)); border-color: var(--ink-700); }
body.dark-mode .gnp-toc-box .toc-title { color: var(--gold-300); }
body.dark-mode .gnp-toc-box a { color: var(--ink-300); }
body.dark-mode .gnp-toc-box a:hover { color: var(--gold-200); }

/* Article body */
body.dark-mode .gnp-article-body blockquote { background: rgba(201,146,28,.06); border-left-color: var(--gold-400); color: var(--ink-300); }
body.dark-mode .gnp-article-body blockquote::before { color: rgba(201,146,28,.15); }
body.dark-mode .gnp-article-body h2::after { background: linear-gradient(90deg, var(--gold-500), transparent); }

/* Eligibility */
body.dark-mode .gov-eligibility > div:first-child { background: rgba(13,123,76,.1); border-top-color: var(--success); }
body.dark-mode .gov-eligibility > div:last-child  { background: rgba(192,24,42,.1); border-top-color: var(--danger); }

/* Compliance */
body.dark-mode .compliance-strip { background: var(--ink-950); border-bottom-color: var(--ink-800); }
body.dark-mode .compliance-link { background: var(--ink-800); color: var(--ink-200); border-color: var(--ink-700); }
body.dark-mode .shield-text { color: var(--ink-400); }
body.dark-mode .govt-news-bar { background: var(--ink-950); border-bottom-color: var(--gold-500); }
body.dark-mode .live-clock-box { background: var(--ink-800); border-right-color: var(--ink-700); }

/* Drawer */
body.dark-mode .mobile-drawer { background: var(--ink-900); }
body.dark-mode .drawer-header { background: var(--ink-950); border-bottom-color: var(--ink-800); }
body.dark-mode .drawer-content a { color: var(--ink-200); }
body.dark-mode .drawer-content a:hover { background: var(--ink-800); color: var(--gold-200); }

/* Footer */
body.dark-mode .gov-disclaimer-box { background: rgba(146,97,10,.08); border-color: rgba(201,146,28,.18); }
body.dark-mode .disclaimer-content strong { color: var(--gold-300); }
body.dark-mode .disclaimer-content p { color: var(--ink-400); }

/* Dock */
body.dark-mode #gnp-mobile-dock { background: rgba(13,14,28,.96); border-top-color: var(--ink-800); }
body.dark-mode .dock-item { color: var(--ink-500); }
body.dark-mode .dock-item i { color: var(--ink-400); }
body.dark-mode .dock-item.highlight span { color: #4ade80; }

/* Load more / Back to top */
body.dark-mode #gnp-load-more-btn { background: var(--ink-800); border-color: var(--ink-700); color: var(--ink-200); }
body.dark-mode #gnp-load-more-btn:hover { background: var(--gold-500); color: var(--ink-950); border-color: var(--gold-500); }
body.dark-mode #gnp-back-to-top { background: rgba(255,255,255,.07); }
body.dark-mode #gnp-back-to-top:hover { background: var(--gold-500); color: var(--ink-950); }

/* Pagination */
body.dark-mode .gnp-pagination .nav-links { background: var(--ink-900); border-color: var(--ink-700); }
body.dark-mode .gnp-pagination .page-numbers { color: var(--ink-300); }
body.dark-mode .gnp-pagination a.page-numbers:hover { background: var(--ink-800); color: var(--gold-200); }
body.dark-mode .gnp-pagination .page-numbers.current { background: var(--gold-500); color: var(--ink-950); border-color: var(--gold-500); }

/* Tags */
body.dark-mode .gnp-tags { border-top-color: var(--ink-800); }
body.dark-mode .gnp-tags a { background: var(--ink-800); color: var(--ink-300); border-color: var(--ink-700); }
body.dark-mode .gnp-tags a:hover { background: var(--gold-500); color: var(--ink-950); border-color: var(--gold-500); }

/* Back btn */
body.dark-mode .gnp-back-btn { background: var(--ink-900); border-color: var(--ink-800); color: var(--ink-400); }
body.dark-mode .gnp-back-btn:hover { background: var(--gold-500); color: var(--ink-950); border-color: var(--gold-500); }

/* Comments */
body.dark-mode .comments-area { border-top-color: var(--ink-800); }
body.dark-mode .comments-title, body.dark-mode .comment-reply-title { color: var(--text-heading); }
body.dark-mode .comment-list li.comment { border-bottom-color: var(--ink-800); }
body.dark-mode .fn { color: var(--gold-200); }
body.dark-mode .comment-content p { color: var(--ink-300); }
body.dark-mode .gnp-comment-form { background: var(--ink-900); border-color: var(--ink-800); }
body.dark-mode .gnp-comment-form textarea, body.dark-mode .gnp-comment-form input { background: var(--ink-950); border-color: var(--ink-800); color: var(--ink-100); }
body.dark-mode .gnp-comment-form textarea:focus, body.dark-mode .gnp-comment-form input:focus { border-color: var(--gold-400); }
body.dark-mode .form-submit input[type="submit"] { background: var(--gold-500); color: var(--ink-950); }
body.dark-mode .form-submit input[type="submit"]:hover { background: var(--gold-400); }

/* Navigation */
body.dark-mode .gnp-post-navigation a { background: var(--ink-800); border-color: var(--ink-700); }
body.dark-mode .gnp-post-navigation a:hover { background: rgba(201,146,28,.08); border-color: var(--gold-500); }
body.dark-mode .nav-title { color: var(--ink-100); }

/* Tools */
body.dark-mode .gnp-tools-bar { background: rgba(30,32,56,.92); border-color: var(--ink-700); box-shadow: 0 4px 20px rgba(0,0,0,.5); }
body.dark-mode .gnp-speech-widget { background: var(--ink-800); border-color: var(--ink-700); }
body.dark-mode .tool-select { color: var(--ink-100); }
body.dark-mode .tool-select option { background: var(--ink-800); color: var(--ink-100); }
body.dark-mode .tool-btn { color: var(--ink-400); }
body.dark-mode .tool-btn:hover { background: var(--ink-800); color: var(--gold-200); }

/* Post nav */
body.dark-mode .card-meta i { color: var(--gold-400); }
body.dark-mode .gnp-card-body { background: var(--ink-900); }

/* Skeleton */
body.dark-mode .skeleton-loader {
    background: linear-gradient(90deg, var(--ink-800) 25%, var(--ink-700) 50%, var(--ink-800) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.6s infinite;
}

/* Logo on dark */
body.dark-mode .custom-logo-link img {
    background-color: rgba(255,255,255,.9);
    padding: 4px 8px;
    border-radius: var(--radius-xs);
}

/* ==========================================================================
   SECTION 17 — NUCLEAR FIXES & GLOBAL MOBILE SAFETY
   ========================================================================== */

/* Screen lock — zero horizontal overflow */
html, body {
    overflow-x: hidden !important;
    position: relative;
    width: 100%;
}

/* Surgical scroll for overflowing components */
.gov-table-wrapper,
.gov-highlight-box,
.gov-alert,
.gov-eligibility,
.gov-application-draft,
.gov-calculator-box,
.gov-hindi-summary,
.gov-whatsapp-share {
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    display: block;
    width: 100%;
}

/* Table data protection */
.gov-table { min-width: 600px !important; table-layout: auto !important; }

/* Mobile content containment */
@media (max-width: 768px) {
    .gnp-article-body *[style] {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: auto !important;
        max-width: 100% !important;
    }
    table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .gnp-single-post-container { border-radius: var(--radius-lg); }
}

/* Infinite scroll nav hider */
body.infinite-scroll-active .gnp-pagination { display: none !important; }


