/*
Theme Name: News Paklek
Theme URI: https://newspaklek.my.id
Author: Tim Redaksi News Paklek
Author URI: https://newspaklek.my.id
Description: Tema portal majalah berita profesional modern, berkarakter, dan dinamis khas News Paklek bergaya ColorMag. Dilengkapi Hero Spotlight Grid, blok rubrik beraksen warna, sidebar berita terpopuler bernomor urut, dan performa tinggi tanpa dependensi luar.
Version: 2.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: newspaklek
*/

/* ==========================================================================
   1. DESIGN SYSTEM & COLOR TOKENS
   ========================================================================== */
:root {
    --np-primary: #0a1120;
    --np-primary-light: #162238;
    --np-accent: #ea580c;
    --np-accent-hover: #c2410c;
    --np-accent-light: rgba(234, 88, 12, 0.12);
    --np-crimson: #dc2626;
    --np-dark: #040810;
    --np-dark-card: #090e1a;
    --np-bg-body: #f1f5f9;
    --np-card-bg: #ffffff;
    --np-card-border: #e2e8f0;
    --np-text-main: #0f172a;
    --np-text-body: #334155;
    --np-text-muted: #64748b;
    --np-radius-sm: 6px;
    --np-radius-md: 10px;
    --np-radius-lg: 14px;
    --np-radius-full: 9999px;
    --np-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
    --np-shadow-md: 0 4px 14px -2px rgba(15, 23, 42, 0.08);
    --np-shadow-hover: 0 12px 28px -4px rgba(15, 23, 42, 0.14);
    --np-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    /* Category Accent Colors */
    --cat-nasional: #dc2626;
    --cat-ekonomi: #0284c7;
    --cat-teknologi: #059669;
    --cat-otomotif: #ea580c;
    --cat-gayahidup: #9333ea;
    --cat-khaspaklek: #d97706;
}

/* ==========================================================================
   2. RESET & BASE ELEMENTS
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--np-font);
    background-color: var(--np-bg-body);
    color: var(--np-text-body);
    line-height: 1.65;
    font-size: 14.5px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

a:hover {
    color: var(--np-accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

.np-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-content {
    margin: 24px auto 48px;
}

/* ==========================================================================
   3. TOPBAR INFORMASI
   ========================================================================== */
.np-topbar {
    background: var(--np-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    font-size: 12.5px;
    padding: 7px 0;
}

.np-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.np-topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.np-topbar-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #cbd5e1;
    font-weight: 600;
}

.np-topbar-tagline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #94a3b8;
    padding-left: 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.badge-live-pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.np-topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.np-topbar-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.np-topbar-links a {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.np-topbar-links a:hover {
    color: #ffffff;
}

.np-topbar-links .sep {
    color: rgba(255, 255, 255, 0.2);
}

.np-topbar-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.np-topbar-social a {
    color: #94a3b8;
    font-size: 13px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.np-topbar-social a:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

/* ==========================================================================
   4. MASTHEAD & BRANDING (HEADER)
   ========================================================================== */
.np-site-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.np-masthead {
    padding: 16px 0;
}

.np-masthead-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.np-branding {
    display: flex;
    align-items: center;
}

.np-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.np-brand-logo {
    height: 78px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.25s ease;
}

.np-brand-logo:hover {
    transform: scale(1.02);
}

.np-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 2px solid #e2e8f0;
    padding-left: 14px;
}

.np-brand-title {
    font-size: 14px;
    font-weight: 900;
    color: var(--np-primary);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    line-height: 1.2;
}

.np-brand-desc {
    font-size: 12px;
    font-weight: 500;
    color: var(--np-text-muted);
    line-height: 1.35;
    margin-top: 2px;
}

.np-header-ad {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border-radius: var(--np-radius-sm);
    padding: 12px 20px;
    max-width: 100%; box-sizing: border-box;
}

.np-ad-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: var(--np-accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--np-accent);
    font-size: 19px;
    flex-shrink: 0;
}

.np-ad-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--np-primary);
}

.np-ad-sub {
    font-size: 12px;
    color: var(--np-text-muted);
}

.np-ad-sub a {
    color: var(--np-accent);
    font-weight: 700;
}

/* ==========================================================================
   5. NAVIGATION BAR (COLORMAG STYLE)
   ========================================================================== */
.np-navbar {
    background: var(--np-primary);
    border-bottom: 3px solid var(--np-accent);
    box-shadow: 0 4px 14px rgba(10, 17, 32, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}

.np-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.np-nav-menu-wrapper {
    display: flex;
    align-items: center;
}

.np-nav-menu {
    display: flex;
    align-items: center;
}

.np-nav-menu li a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.2px;
    padding: 14px 18px;
    color: #e2e8f0;
    transition: all 0.2s ease-in-out;
}

.np-nav-menu li.current-menu-item > a,
.np-nav-menu li a.np-home-link {
    background: var(--np-accent);
    color: #ffffff;
}

.np-nav-menu li a:hover {
    background: rgba(234, 88, 12, 0.25);
    color: #ffffff;
}

/* Category Dropdown (Dynamic from WP-Admin) */
.np-cat-dropdown {
    position: relative;
}

.np-dropdown-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 7px !important;
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 700;
    padding: 14px 18px;
    color: #e2e8f0;
    transition: all 0.2s ease;
}

.np-dropdown-toggle .np-arrow {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.np-cat-dropdown:hover .np-dropdown-toggle,
.np-cat-dropdown.is-open .np-dropdown-toggle {
    background: rgba(234, 88, 12, 0.25) !important;
    color: #ffffff !important;
}

.np-cat-dropdown:hover .np-arrow,
.np-cat-dropdown.is-open .np-arrow {
    transform: rotate(180deg);
}

.np-cat-dropdown-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 620px;
    max-width: 90vw;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(10, 17, 32, 0.22);
    border: 1px solid #cbd5e1;
    padding: 16px 18px;
    z-index: 9999;
}

.np-cat-dropdown:hover .np-cat-dropdown-panel,
.np-cat-dropdown.is-open .np-cat-dropdown-panel {
    display: block;
    animation: npDropdownFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes npDropdownFade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.np-cat-dropdown-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

.np-cat-dropdown-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
}

.np-cat-dropdown-title i {
    color: var(--np-accent);
}

.np-cat-count-badge {
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
}

.np-cat-search-wrap {
    position: relative;
    width: 220px;
}

.np-cat-search-wrap i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #94a3b8;
}

.np-cat-search-input {
    width: 100%;
    padding: 6px 10px 6px 30px;
    font-size: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    outline: none;
    transition: border-color 0.2s;
    background: #f8fafc;
    color: #0f172a;
}

.np-cat-search-input:focus {
    border-color: var(--np-accent);
    background: #ffffff;
}

.np-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 10px;
    max-height: 380px;
    overflow-y: auto;
    padding-right: 4px;
}

.np-cat-grid::-webkit-scrollbar {
    width: 5px;
}

.np-cat-grid::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.np-cat-item {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 10px !important;
    border-radius: 6px;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.15s ease;
}

.np-cat-item:hover {
    background: #fff7ed !important;
    border-color: #fdba74;
    transform: translateX(2px);
}

.np-cat-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--np-accent);
    flex-shrink: 0;
}

.np-cat-name {
    font-size: 12.5px;
    font-weight: 700;
    color: #1e293b !important;
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.np-cat-item:hover .np-cat-name {
    color: var(--np-accent) !important;
}

.np-cat-num {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 1px 6px;
    border-radius: 10px;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .np-cat-dropdown-panel {
        width: 480px;
    }
    .np-cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .np-cat-dropdown-panel {
        position: static;
        width: 100%;
        max-width: 100%;
        box-shadow: none;
        border: none;
        padding: 10px 0;
        border-radius: 0;
    }
    .np-cat-dropdown-head {
        flex-direction: column;
        align-items: flex-start;
    }
    .np-cat-search-wrap {
        width: 100%;
    }
    .np-cat-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .np-cat-grid {
        grid-template-columns: 1fr;
    }
}

.np-nav-search {
    display: flex;
    align-items: center;
}

.np-search-btn {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.08);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.np-search-btn:hover {
    background: var(--np-accent);
    color: #ffffff;
    transform: scale(1.08);
}

.np-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #e2e8f0;
    font-size: 20px;
    cursor: pointer;
    padding: 10px 0;
}

/* ==========================================================================
   6. RUNNING NEWS TICKER
   ========================================================================== */
.np-ticker-wrap {
    margin: 16px auto 20px;
}

.np-ticker {
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border: 1px solid var(--np-card-border);
    border-radius: var(--np-radius-sm);
    box-shadow: var(--np-shadow-sm);
    overflow: hidden;
    height: 42px;
}

.np-ticker-badge {
    background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 11.5px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.np-ticker-slides {
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 14px;
    width: 100%;
}

.np-ticker-track {
    display: flex;
    white-space: nowrap;
    animation: marqueeScroll 35s linear infinite;
    gap: 32px;
}

.np-ticker-track:hover {
    animation-play-state: paused;
}

.np-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.np-ticker-item img {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    object-fit: cover;
}

.np-ticker-item:hover {
    color: var(--np-accent);
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   7. HERO SPOTLIGHT MAGAZINE GRID (COLORMAG STYLE)
   ========================================================================== */
.np-hero-magazine {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 14px;
    margin-bottom: 30px;
}

/* Main Lead Big Hero (Left Side) */
.np-hero-lead {
    position: relative;
    border-radius: var(--np-radius-md);
    overflow: hidden;
    background: var(--np-primary);
    min-height: 410px;
    box-shadow: var(--np-shadow-md);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.np-hero-lead img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.np-hero-lead:hover img {
    transform: scale(1.05);
}

.np-hero-lead-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 17, 32, 0.1) 0%, rgba(10, 17, 32, 0.55) 50%, rgba(10, 17, 32, 0.95) 100%);
    z-index: 2;
}

.np-hero-lead-content {
    position: relative;
    z-index: 3;
    padding: 24px 28px;
    color: #ffffff;
}

.np-hero-lead-title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
    margin: 10px 0 10px;
    color: #ffffff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.np-hero-lead-title a:hover {
    color: #fdba74;
}

.np-hero-lead-snippet {
    font-size: 13.5px;
    line-height: 1.55;
    color: #e2e8f0;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 4 Sub-Leads Grid (Right Side 2x2) */
.np-hero-subs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
}

.np-hero-sub-card {
    position: relative;
    border-radius: var(--np-radius-sm);
    overflow: hidden;
    background: var(--np-primary);
    min-height: 198px;
    box-shadow: var(--np-shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.np-hero-sub-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
    z-index: 1;
}

.np-hero-sub-card:hover img {
    transform: scale(1.06);
}

.np-hero-sub-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(10, 17, 32, 0.6) 60%, rgba(10, 17, 32, 0.94) 100%);
    z-index: 2;
}

.np-hero-sub-content {
    position: relative;
    z-index: 3;
    padding: 12px 14px;
    color: #ffffff;
}

.np-hero-sub-title {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.35;
    margin: 6px 0 4px;
    color: #ffffff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.np-hero-sub-title a:hover {
    color: #fdba74;
}

/* Category Badge Pills */
.np-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--np-radius-full);
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff !important;
    background: #475569; /* Fallback default: badge tidak akan pernah transparan jika kategori baru muncul */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    line-height: 1.4;
}

/* Kategori Lama */
.badge-nasional      { background: var(--cat-nasional); }
.badge-ekonomi       { background: var(--cat-ekonomi); }
.badge-teknologi     { background: var(--cat-teknologi); }
.badge-otomotif      { background: var(--cat-otomotif); }
.badge-gayahidup     { background: var(--cat-gayahidup); }
.badge-berita        { background: #dc2626; }
.badge-khas-paklek   { background: linear-gradient(135deg, #ea580c, #c2410c); }

/* Kategori Baru & Pelengkap Portal Berita */
.badge-hukum         { background: #7c3aed; } /* Ungu tajam */
.badge-olahraga      { background: #ea580c; } /* Oranye sporty */
.badge-keuangan      { background: #059669; } /* Hijau emerald finansial */
.badge-politik       { background: #b91c1c; } /* Merah tua tegas */
.badge-pendidikan    { background: #0284c7; } /* Biru cerah edukasi */
.badge-internasional { background: #1d4ed8; } /* Biru global */
.badge-hiburan       { background: #db2777; } /* Pink showbiz / entertainment */
.badge-kesehatan     { background: #10b981; } /* Hijau mint kesehatan */
.badge-lingkungan    { background: #15803d; } /* Hijau daun */
.badge-ragam         { background: #64748b; } /* Slate netral */
.badge-bisnis        { background: #0284c7; } /* Biru bisnis */
.badge-gadget        { background: #059669; } /* Hijau teknologi / gadget */
.badge-opini         { background: #4f46e5; } /* Indigo opini */
.badge-wisata,
.badge-kuliner       { background: #d97706; } /* Amber hangat */

.np-meta-light {
    font-size: 11px;
    color: #cbd5e1;
    display: flex;
    gap: 10px;
    align-items: center;
}

.np-meta-light i {
    color: #fb923c;
}

/* ==========================================================================
   8. 2-COLUMN MAGAZINE LAYOUT (MAIN CONTENT + SIDEBAR)
   ========================================================================== */
.np-magazine-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: start;
}

.np-main-col {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ColorMag Section Header Bar */
.np-block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border-bottom: 2px solid var(--np-primary);
    margin-bottom: 18px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.np-block-tab {
    background: var(--np-primary);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 9px 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.np-block-tab.tab-nasional  { background: var(--cat-nasional); }
.np-block-tab.tab-ekonomi   { background: var(--cat-ekonomi); }
.np-block-tab.tab-teknologi { background: var(--cat-teknologi); }
.np-block-tab.tab-otomotif  { background: var(--cat-otomotif); }
.np-block-tab.tab-gayahidup { background: var(--cat-gayahidup); }
.np-block-tab.tab-populer   { background: var(--np-accent); }

.np-block-more {
    font-size: 12px;
    font-weight: 700;
    color: var(--np-text-muted);
    padding-right: 14px;
}

.np-block-more:hover {
    color: var(--np-accent);
}

/* ColorMag Category Block: 1 Lead (Left) + 3 List Posts (Right) */
.np-cat-block-body {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 20px;
    background: #ffffff;
    border: 1px solid var(--np-card-border);
    border-radius: var(--np-radius-sm);
    padding: 18px;
    box-shadow: var(--np-shadow-sm);
}

/* Lead inside category block */
.np-block-lead-card {
    display: flex;
    flex-direction: column;
}

.np-block-lead-thumb {
    height: 195px;
    border-radius: var(--np-radius-sm);
    overflow: hidden;
    position: relative;
    margin-bottom: 12px;
    background: var(--np-primary);
}

.np-block-lead-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.np-block-lead-card:hover .np-block-lead-thumb img {
    transform: scale(1.06);
}

.np-block-lead-title {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.4;
    color: var(--np-text-main);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.np-block-lead-title a:hover {
    color: var(--np-accent);
}

.np-block-lead-meta {
    font-size: 11.5px;
    color: var(--np-text-muted);
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 8px;
}

.np-block-lead-meta i {
    color: var(--np-accent);
}

.np-block-lead-excerpt {
    font-size: 13px;
    line-height: 1.55;
    color: #475569;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* List posts on the right side */
.np-block-list-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.np-list-item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.np-list-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.np-list-thumb {
    width: 86px;
    height: 68px;
    flex-shrink: 0;
    border-radius: var(--np-radius-sm);
    overflow: hidden;
    background: var(--np-primary);
}

.np-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.np-list-item:hover .np-list-thumb img {
    transform: scale(1.08);
}

.np-list-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.np-list-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--np-text-main);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.np-list-title a:hover {
    color: var(--np-accent);
}

.np-list-meta {
    font-size: 11px;
    color: var(--np-text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.np-list-meta i {
    color: var(--np-accent);
}

/* Split 2-Column Section inside Main Column */
.np-split-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.np-split-card {
    background: #ffffff;
    border: 1px solid var(--np-card-border);
    border-radius: var(--np-radius-sm);
    padding: 16px;
    box-shadow: var(--np-shadow-sm);
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   9. SIDEBAR WIDGETS (COLORMAG STYLE)
   ========================================================================== */
.np-sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.np-widget {
    background: #ffffff;
    border: 1px solid var(--np-card-border);
    border-radius: var(--np-radius-sm);
    overflow: hidden;
    box-shadow: var(--np-shadow-sm);
}

.np-widget-header {
    background: #ffffff;
    border-bottom: 2px solid var(--np-accent);
    padding: 0;
    display: flex;
    align-items: center;
}

.np-widget-title {
    background: var(--np-primary);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.np-widget-body {
    padding: 16px;
}

/* Widget 1: Numbered Trending Rankings (1, 2, 3, 4, 5) */
.np-trending-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.np-trending-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.np-trending-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.np-rank-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: var(--np-primary);
    font-size: 12px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.np-trending-item:nth-child(1) .np-rank-num {
    background: var(--np-accent);
    border-color: var(--np-accent);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(234, 88, 12, 0.4);
}

.np-trending-item:nth-child(2) .np-rank-num {
    background: var(--np-primary);
    border-color: var(--np-primary);
    color: #ffffff;
}

.np-trending-item:nth-child(3) .np-rank-num {
    background: var(--np-primary-light);
    border-color: var(--np-primary-light);
    color: #ffffff;
}

.np-trending-content {
    display: flex;
    flex-direction: column;
}

.np-trending-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--np-text-main);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.np-trending-title a:hover {
    color: var(--np-accent);
}

.np-trending-meta {
    font-size: 11px;
    color: var(--np-text-muted);
}

/* Widget 2: Social Counter Box */
.np-social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.np-social-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--np-radius-sm);
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 700;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.np-social-box:hover {
    transform: translateY(-2px);
    opacity: 0.92;
}

.np-social-fb { background: #1877f2; }
.np-social-tw { background: #0f172a; }
.np-social-ig { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.np-social-yt { background: #ff0000; }

.np-social-box i {
    font-size: 16px;
}

/* Widget 3: Opini & Wawasan Paklek Box */
.np-opini-box {
    display: flex;
    gap: 14px;
    align-items: center;
    background: linear-gradient(135deg, #0a1120 0%, #162238 100%);
    padding: 16px;
    border-radius: var(--np-radius-sm);
    color: #ffffff;
}

.np-opini-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--np-accent);
    object-fit: cover;
    background: #ffffff;
    flex-shrink: 0;
}

.np-opini-quote {
    font-size: 12.5px;
    line-height: 1.45;
    color: #e2e8f0;
    font-style: italic;
}

.np-opini-author {
    font-size: 11px;
    font-weight: 700;
    color: #fb923c;
    margin-top: 4px;
    text-transform: uppercase;
}

/* Widget 4: Banner Iklan 300x250 */
.np-ad-sidebar {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: var(--np-radius-sm);
    padding: 24px 16px;
    text-align: center;
}

.np-ad-sidebar-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--np-primary);
    margin-bottom: 4px;
}

.np-ad-sidebar-desc {
    font-size: 11.5px;
    color: var(--np-text-muted);
    margin-bottom: 12px;
}

.np-ad-sidebar-btn {
    display: inline-block;
    background: var(--np-accent);
    color: #ffffff !important;
    font-size: 11.5px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--np-radius-full);
}

/* ==========================================================================
   10. BOTTOM RECENT NEWS CARDS & PAGINATION
   ========================================================================== */
.np-recent-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.np-recent-card {
    background: #ffffff;
    border: 1px solid var(--np-card-border);
    border-radius: var(--np-radius-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--np-shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.np-recent-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--np-shadow-md);
    border-color: #cbd5e1;
}

.np-recent-thumb {
    height: 145px;
    position: relative;
    overflow: hidden;
    background: var(--np-primary);
}

.np-recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.np-recent-card:hover .np-recent-thumb img {
    transform: scale(1.07);
}

.np-recent-body {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.np-recent-title {
    font-size: 13.5px;
    line-height: 1.38;
    font-weight: 700;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.np-recent-title a {
    color: #0f172a !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.np-recent-title a:hover,
.np-recent-card:hover .np-recent-title a {
    color: var(--np-accent) !important;
}

.np-recent-meta {
    font-size: 11.5px;
    font-weight: 600;
    color: #475569;
    margin-top: auto;
    display: flex;
    gap: 8px;
    align-items: center;
}

.np-recent-meta i {
    color: var(--np-accent);
}

/* Pagination */
.np-pagination-wrapper {
    margin: 32px 0 10px;
    display: flex;
    justify-content: center;
}

.np-pagination-wrapper .pagination,
.np-pagination-wrapper .nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.np-pagination-wrapper .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: var(--np-radius-sm);
    background: #ffffff;
    border: 1px solid var(--np-card-border);
    color: var(--np-text-main);
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.np-pagination-wrapper .page-numbers:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: var(--np-accent);
}

.np-pagination-wrapper .page-numbers.current {
    background: var(--np-accent);
    border-color: var(--np-accent);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.35);
}

/* ==========================================================================
   11. SINGLE POST & PAGE EDITORIAL STYLES
   ========================================================================== */
.np-single-wrapper {
    background: #ffffff;
    border: 1px solid var(--np-card-border);
    border-radius: var(--np-radius-md);
    padding: 36px 40px;
    margin: 20px 0 40px;
    box-shadow: var(--np-shadow-sm);
}

.np-breadcrumb {
    font-size: 12.5px;
    color: var(--np-text-muted);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.np-breadcrumb a:hover {
    color: var(--np-accent);
}

.np-single-title {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--np-primary);
    margin-bottom: 16px;
}

.np-single-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: var(--np-text-muted);
    padding-bottom: 18px;
    border-bottom: 1px solid var(--np-card-border);
    margin-bottom: 24px;
}

.np-single-meta i {
    color: var(--np-accent);
}

.np-single-featured {
    border-radius: var(--np-radius-sm);
    overflow: hidden;
    margin-bottom: 28px;
    max-height: 480px;
}

.np-single-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.np-entry-content {
    font-size: 16.5px;
    line-height: 1.8;
    color: #1e293b;
}

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

.np-entry-content h2,
.np-entry-content h3,
.np-entry-content h4 {
    color: var(--np-primary);
    font-weight: 800;
    margin: 32px 0 16px;
    line-height: 1.35;
}

.np-entry-content blockquote {
    border-left: 4px solid var(--np-accent);
    background: #f8fafc;
    padding: 16px 20px;
    margin: 24px 0;
    font-style: italic;
    color: #475569;
}

.np-share-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 0;
    border-top: 1px solid var(--np-card-border);
    border-bottom: 1px solid var(--np-card-border);
    margin: 32px 0;
    flex-wrap: wrap;
}

.np-share-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--np-primary);
}

.np-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--np-radius-full);
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 700;
}

.np-share-wa { background: #25d366; }
.np-share-fb { background: #1877f2; }
.np-share-tw { background: #0f172a; }

/* ==========================================================================
   12. 4-COLUMN DARK FOOTER
   ========================================================================== */
.np-site-footer {
    background: var(--np-dark);
    color: #94a3b8;
    margin-top: 50px;
    border-top: 3px solid var(--np-accent);
}

.np-primary-footer {
    padding: 50px 0 36px;
}

.np-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
    gap: 32px;
}

.np-footer-logo-wrap {
    margin-bottom: 16px;
}

.np-footer-logo-img {
    height: 76px;
    width: auto;
    display: block;
}

.np-footer-about {
    font-size: 13px;
    line-height: 1.65;
    color: #94a3b8;
    margin-bottom: 20px;
}

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

.np-footer-social .social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.25s ease;
}

.np-footer-social .social-icon:hover {
    background: var(--np-accent);
    border-color: var(--np-accent);
    transform: translateY(-3px);
}

.np-footer-title {
    font-size: 15px;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.np-footer-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 36px;
    height: 2px;
    background: var(--np-accent);
}

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

.np-footer-links li a {
    color: #94a3b8;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.np-footer-links li a:hover {
    color: #f8fafc;
    transform: translateX(4px);
}

.np-footer-contact li {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 14px;
    color: #94a3b8;
    display: flex;
    gap: 10px;
}

.np-footer-contact li i {
    color: var(--np-accent);
    margin-top: 3px;
}

.np-site-info {
    background: #02050b;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 0;
    font-size: 12px;
    color: #64748b;
}

.np-site-info-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.np-compliance-badges {
    display: inline-flex;
    gap: 8px;
}

.np-badge-compliance {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--np-radius-sm);
    padding: 3px 8px;
    font-size: 11px;
    color: #94a3b8;
}

.np-scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 42px;
    height: 42px;
    background: var(--np-accent);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.4);
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 99;
}

.np-scroll-top:hover {
    background: var(--np-accent-hover);
    transform: translateY(-3px);
}

/* ==========================================================================
   12. SINGLE ARTICLE & PAGE TYPOGRAPHY
   ========================================================================== */
.np-single-wrapper,
.np-page-wrapper {
    background: #ffffff;
    border-radius: var(--np-radius-lg);
    border: 1px solid var(--np-card-border);
    box-shadow: var(--np-shadow-sm);
    padding: 36px 44px;
    margin: 28px auto 40px;
    max-width: 980px;
}

.np-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: var(--np-text-muted);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--np-card-border);
}

.np-breadcrumb a {
    color: var(--np-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
}

.np-breadcrumb a:hover {
    color: var(--np-accent);
}

.np-breadcrumb i.fa-angle-right {
    font-size: 11px;
    color: #cbd5e1;
}

.np-breadcrumb span {
    color: var(--np-text-main);
    font-weight: 600;
}

.np-single-title {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.35;
    color: var(--np-primary);
    letter-spacing: -0.5px;
    margin-bottom: 18px;
}

.np-single-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--np-text-muted);
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--np-card-border);
}

.np-single-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.np-single-meta i {
    color: var(--np-accent);
}

.np-single-featured {
    margin-bottom: 28px;
    border-radius: var(--np-radius-md);
    overflow: hidden;
    box-shadow: var(--np-shadow-sm);
}

.np-single-featured img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Article & Page Content Typography */
.np-entry-content {
    font-size: 16px;
    line-height: 1.85;
    color: var(--np-text-body);
}

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

.np-entry-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--np-primary);
    margin: 36px 0 16px;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
}

.np-entry-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 48px;
    height: 2px;
    background: var(--np-accent);
}

.np-entry-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--np-primary);
    margin: 28px 0 12px;
}

.np-entry-content ul,
.np-entry-content ol {
    margin: 0 0 24px 20px;
    padding-left: 12px;
}

.np-entry-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.np-entry-content blockquote {
    background: #f8fafc;
    border-left: 4px solid var(--np-accent);
    padding: 18px 24px;
    margin: 28px 0;
    border-radius: 0 var(--np-radius-sm) var(--np-radius-sm) 0;
    font-style: italic;
    color: #475569;
}

.np-entry-content a {
    color: #0284c7;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.np-entry-content a:hover {
    color: var(--np-accent);
}

.np-entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
}

.np-entry-content th,
.np-entry-content td {
    padding: 12px 16px;
    border: 1px solid var(--np-card-border);
    text-align: left;
}

.np-entry-content th {
    background: #f8fafc;
    color: var(--np-primary);
    font-weight: 700;
}

/* ==========================================================================
   13. CARD GRID SYSTEM & RELATED ARTICLES
   ========================================================================== */
.np-related-section {
    clear: both;
    width: 100%;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 2px solid var(--np-card-border);
}

.np-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

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

.np-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.np-card {
    background: #ffffff;
    border: 1px solid var(--np-card-border);
    border-radius: var(--np-radius-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--np-shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
}

.np-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--np-shadow-md);
    border-color: #cbd5e1;
}

.np-card-thumb {
    height: 160px;
    position: relative;
    overflow: hidden;
    background: var(--np-primary);
    flex-shrink: 0;
}

.np-card-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

.np-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.np-card:hover .np-card-thumb img {
    transform: scale(1.07);
}

.np-card-thumb-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a1120 0%, #1e293b 100%);
    color: rgba(255, 255, 255, 0.4);
    font-size: 28px;
}

.np-card-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #ffffff;
    position: relative;
    z-index: 1;
}

/* ULTRA HIGH CONTRAST META & TITLE */
.np-card-meta {
    font-size: 11.5px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.np-card-meta i {
    color: var(--np-accent);
}

.np-card-title {
    font-size: 14px;
    line-height: 1.45;
    font-weight: 800;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.np-card-title a {
    color: #0f172a !important; /* ULTRA HIGH CONTRAST JET BLACK */
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline;
}

.np-card-title a:hover,
.np-card:hover .np-card-title a {
    color: var(--np-accent) !important;
}

.np-card-snippet {
    font-size: 13px;
    line-height: 1.6;
    color: #334155;
    margin: 0 0 12px;
}

.np-card-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--np-accent);
    margin-top: auto;
    transition: gap 0.2s ease;
}

.np-card-readmore:hover {
    gap: 9px;
    color: var(--np-accent-hover);
}

/* ==========================================================================
   14. COMMENTS & DISCUSSION SYSTEM
   ========================================================================== */
.np-comments-area {
    clear: both;
    width: 100%;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 2px solid var(--np-card-border);
    position: relative;
}

.np-comments-title,
.comment-reply-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--np-primary);
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 12px;
    position: relative;
}

.np-comments-title::after,
.comment-reply-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--np-accent);
}

.comment-respond {
    background: #f8fafc;
    border: 1px solid var(--np-card-border);
    border-radius: var(--np-radius-md);
    padding: 24px 28px;
    margin-top: 24px;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comment-notes,
.logged-in-as {
    font-size: 12.5px;
    color: var(--np-text-muted);
    margin-bottom: 6px;
}

.logged-in-as a {
    color: var(--np-accent);
    font-weight: 600;
}

.comment-form p {
    margin: 0;
}

.comment-form label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--np-primary);
    margin-bottom: 6px;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 14px;
    color: var(--np-text-main);
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: var(--np-radius-sm);
    padding: 10px 14px;
    transition: all 0.2s ease;
}

.comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

.comment-form textarea:focus,
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus {
    border-color: var(--np-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}

.comment-form-comment {
    order: 1;
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
    order: 2;
}

.form-submit {
    order: 3;
    margin-top: 6px;
}

.form-submit .submit,
.np-submit-comment {
    background: var(--np-accent);
    color: #ffffff !important;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    padding: 11px 26px;
    border: none;
    border-radius: var(--np-radius-sm);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 3px 10px rgba(234, 88, 12, 0.3);
    transition: all 0.2s ease;
}

.form-submit .submit:hover,
.np-submit-comment:hover {
    background: var(--np-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(234, 88, 12, 0.4);
}

/* Comment List */
.np-comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.comment-body {
    background: #ffffff;
    border: 1px solid var(--np-card-border);
    border-radius: var(--np-radius-sm);
    padding: 18px 22px;
    margin-bottom: 16px;
    box-shadow: var(--np-shadow-sm);
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.comment-author .fn {
    font-weight: 700;
    color: var(--np-primary);
    font-size: 14px;
}

.comment-metadata {
    font-size: 12px;
    color: var(--np-text-muted);
}

.comment-content {
    font-size: 14px;
    line-height: 1.65;
    color: var(--np-text-body);
}

.comment-reply-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    color: var(--np-accent);
    margin-top: 8px;
}

/* ==========================================================================
   15. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .np-hero-magazine {
        grid-template-columns: 1fr;
    }
    .np-hero-lead {
        min-height: 340px;
    }
    .np-magazine-layout {
        grid-template-columns: 1fr;
    }
    .np-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .np-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
    .np-header-ad {
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .np-mobile-toggle {
        display: block;
    }
    .np-nav-menu-wrapper {
        display: none;
        width: 100%;
    }
    .np-nav-menu-wrapper.active {
        display: block;
    }
    .np-nav-menu {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 0;
    }
    .np-nav-menu li {
        width: 100%;
    }
    .np-nav-menu li a {
        display: block;
        width: 100%;
        padding: 10px 14px;
    }
    .np-hero-subs {
        grid-template-columns: 1fr;
    }
    .np-cat-block-body {
        grid-template-columns: 1fr;
    }
    .np-split-row {
        grid-template-columns: 1fr;
    }
    .np-recent-grid {
        grid-template-columns: 1fr 1fr;
    }
    .np-grid {
        grid-template-columns: 1fr 1fr;
    }
    .np-single-wrapper {
        padding: 24px 18px;
    }
    .np-single-title {
        font-size: 22px;
    }
}

@media (max-width: 575px) {
    .np-recent-grid {
        grid-template-columns: 1fr;
    }
    .np-grid {
        grid-template-columns: 1fr;
    }
    .np-footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .np-brand-logo {
        height: 60px;
    }
    .np-header-ad {
        display: none !important;
    }
    .np-topbar-tagline {
        display: none;
    }
}

/* ==========================================================================
   Search Modal (Native WordPress Search Replacement)
   ========================================================================== */
.np-search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 8, 16, 0.82);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
.np-search-modal.is-active {
    display: flex;
    animation: npFadeIn 0.2s ease-out;
}
.np-search-modal-content {
    background: #ffffff;
    border-radius: var(--np-radius-lg, 14px);
    padding: 32px 28px;
    width: 100%;
    max-width: 580px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    box-sizing: border-box;
}
.np-search-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: transparent;
    border: none;
    font-size: 32px;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}
.np-search-modal-close:hover {
    color: #0f172a;
}
.np-search-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
}
.np-modal-search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: var(--np-radius-md, 10px);
    padding: 6px 10px 6px 14px;
    transition: border-color 0.2s;
}
.np-modal-search-box:focus-within {
    border-color: var(--np-accent, #ea580c);
}
.np-modal-search-box i {
    color: #94a3b8;
    font-size: 16px;
}
.np-modal-search-field {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 15px;
    color: #0f172a;
    outline: none;
    padding: 8px 0;
}
.np-modal-search-submit {
    background: var(--np-accent, #ea580c);
    color: #ffffff;
    border: none;
    border-radius: var(--np-radius-sm, 6px);
    padding: 8px 18px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}
.np-modal-search-submit:hover {
    background: var(--np-accent-hover, #c2410c);
}
@keyframes npFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* RESPONSIVE TABLE OPTIMIZATION (GOOGLE MOBILE-FIRST & ADSENSE STANDARDS) */
html, body { overflow-x: hidden !important; max-width: 100vw; }
.table-responsive, figure.wp-block-table, .wp-block-table {
    display: block;
    width: 100% !important;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.5rem 0;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.table-responsive table, figure.wp-block-table table, .wp-block-table table, .entry-content table, .np-entry-content table, .bp-entry-content table, .kc-entry-content table, .kj-article-content table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    text-align: left;
}
.table-responsive th, .table-responsive td, figure.wp-block-table th, figure.wp-block-table td, .entry-content th, .entry-content td, .np-entry-content th, .np-entry-content td, .bp-entry-content th, .bp-entry-content td, .kc-entry-content th, .kc-entry-content td, .kj-article-content th, .kj-article-content td {
    padding: 11px 14px;
    border: 1px solid #e2e8f0;
    vertical-align: middle;
}
.table-responsive th, figure.wp-block-table th, .entry-content th, .np-entry-content th, .bp-entry-content th, .kc-entry-content th, .kj-article-content th {
    background: #f8fafc;
    font-weight: 700;
    color: #0f172a;
}
@media (max-width: 768px) {
    .np-header-ad { min-width: unset !important; width: 100% !important; box-sizing: border-box !important; }
    .table-responsive table, figure.wp-block-table table, .entry-content table, .np-entry-content table, .bp-entry-content table, .kc-entry-content table, .kj-article-content table { min-width: 440px; font-size: 0.84rem; }
    .table-responsive th, .table-responsive td, figure.wp-block-table th, figure.wp-block-table td { padding: 9px 12px; white-space: nowrap; }
    td:last-child, th:last-child { white-space: normal; min-width: 150px; }
}


/* HIDE UNVERIFIED COMPLIANCE BADGES (GOOGLE ADSENSE & CRAWLER AUDIT) */
.np-compliance-badges,
.site-compliance-badges,
.compliance-badges,
.np-badge-compliance,
.compliance-badge {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.np-site-info-inner {
    justify-content: center !important;
    text-align: center !important;
}
