/**
 * Referensi Aktual - Official Investigative Portal Theme Stylesheet
 * Terafiliasi dengan MAPJ (Masyarakat Anti Penyalahgunaan Jabatan)
 *
 * @package Referensi_Aktual
 */

/* ==========================================================================
   1. CSS VARIABLES & RESET
   ========================================================================== */
:root {
    --primary: #8B0000;          /* Deep Crimson Red */
    --primary-light: #A6192E;    /* Vivid Crimson Accent */
    --primary-dark: #5B0000;     /* Ultra Dark Crimson */
    
    --secondary: #1A532A;        /* Forest Green */
    --secondary-light: #2E7D32;  /* Bright Forest Green */
    --accent-gold: #D4AF37;      /* Gold Ochre */
    --gold-light: #F5E6AB;
    
    --pitch-black: #111827;      /* Dark Charcoal/Pitch Black */
    --charcoal: #1F2937;
    --gray-dark: #374151;
    --gray-mid: #64748B;
    --gray-light: #E2E8F0;
    --gray-bg: #F8FAFC;
    --white: #FFFFFF;
    
    --font-heading: 'Oswald', 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-serif: 'Merriweather', Georgia, serif;
    
    --container-max: 1240px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.12);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--charcoal);
    background-color: var(--gray-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

ul, ol {
    list-style: none;
}

.site-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   2. TOP BAR & NEWS TICKER
   ========================================================================== */
.top-bar {
    background-color: var(--pitch-black);
    color: #9CA3AF;
    font-size: 0.85rem;
    border-bottom: 2px solid var(--primary);
    position: relative;
    z-index: 100;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 42px;
    gap: 15px;
}

.top-bar-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    white-space: nowrap;
    color: #D1D5DB;
}

.top-bar-date i {
    color: var(--accent-gold);
}

.top-bar-ticker {
    display: flex;
    align-items: center;
    flex: 1;
    overflow: hidden;
    margin: 0 15px;
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius-sm);
    padding: 2px 8px;
}

.ticker-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: var(--primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 3px;
    text-transform: uppercase;
    white-space: nowrap;
    margin-right: 12px;
}

.ticker-dot {
    width: 6px;
    height: 6px;
    background-color: #F87171;
    border-radius: 50%;
    animation: blinker 1.2s infinite;
}

@keyframes blinker {
    50% { opacity: 0.2; }
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ticker-item {
    color: #F3F4F6;
    font-weight: 500;
    display: inline-block;
    transition: var(--transition);
}

.ticker-item:hover {
    color: var(--accent-gold);
    text-decoration: underline;
}

.top-bar-cta {
    white-space: nowrap;
}

.top-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.6px;
    padding: 5px 14px;
    border-radius: 4px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(139, 0, 0, 0.4);
}

.top-cta-btn:hover {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.pulse-glow {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(166, 25, 46, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(166, 25, 46, 0); }
    100% { box-shadow: 0 0 0 0 rgba(166, 25, 46, 0); }
}

/* ==========================================================================
   3. MAIN HEADER & BRANDING
   ========================================================================== */
.main-header {
    background-color: var(--white);
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-light);
}

.main-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-branding {
    max-width: 380px;
    display: flex;
    align-items: center;
}

.theme-logo,
.custom-logo {
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.header-banner-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 18px;
    background: linear-gradient(135deg, #FFF8E7 0%, #F5E6AB 100%);
    border: 1px solid #D4AF37;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.banner-badge-icon img {
    width: 44px;
    height: auto;
}

.banner-badge-text {
    display: flex;
    flex-direction: column;
}

.badge-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.8px;
    line-height: 1.1;
}

.badge-sub {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--pitch-black);
    line-height: 1.2;
}

.badge-motto {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.72rem;
    color: var(--secondary);
    font-weight: 600;
}

.header-hotline {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #F0FDF4;
    border: 1px solid #86EFAC;
    padding: 8px 16px;
    border-radius: var(--radius-md);
}

.hotline-icon {
    font-size: 1.8rem;
    color: #16A34A;
}

.hotline-details {
    display: flex;
    flex-direction: column;
}

.hotline-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #15803D;
    letter-spacing: 0.5px;
}

.hotline-number {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #166534;
    letter-spacing: 0.5px;
}

.hotline-number:hover {
    color: #15803D;
    text-decoration: underline;
}

/* ==========================================================================
   4. NAVIGATION BAR
   ========================================================================== */
.main-navigation {
    background-color: var(--pitch-black);
    border-top: 2px solid var(--primary-light);
    border-bottom: 2px solid var(--accent-gold);
    position: sticky;
    top: 0;
    z-index: 99;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

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

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

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

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    display: block;
    padding: 14px 18px;
    color: #F3F4F6;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item a {
    color: var(--accent-gold);
    background-color: rgba(255, 255, 255, 0.06);
}

.nav-menu li.nav-aduan-highlight a {
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    margin-left: 10px;
    padding: 10px 18px;
    font-weight: 700;
}

.nav-menu li.nav-aduan-highlight a:hover {
    background: var(--primary-light);
    color: var(--white);
}

.nav-search-wrapper {
    margin-left: auto;
}

.search-toggle-btn {
    background: none;
    border: none;
    color: #D1D5DB;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 12px 16px;
    transition: var(--transition);
}

.search-toggle-btn:hover {
    color: var(--accent-gold);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px 8px;
    color: var(--white);
}

.menu-toggle .bar {
    display: block;
    width: 24px;
    height: 3px;
    margin: 4px auto;
    background-color: var(--white);
    transition: var(--transition);
}

.menu-toggle .menu-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 6px;
    display: none;
}

/* Search Modal Overlay */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 24, 39, 0.92);
    backdrop-filter: blur(5px);
    z-index: 1000;
}

.search-modal-inner {
    position: relative;
    max-width: 650px;
    margin: 120px auto 0;
    padding: 30px;
    background: var(--pitch-black);
    border: 2px solid var(--primary);
    border-radius: var(--radius-md);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    text-align: center;
}

.close-search-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #9CA3AF;
    cursor: pointer;
}

.close-search-modal:hover {
    color: var(--white);
}

.search-modal-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-form-full {
    display: flex;
    gap: 8px;
}

.search-input-field {
    flex: 1;
    padding: 14px 18px;
    font-size: 1rem;
    border: 2px solid #374151;
    border-radius: var(--radius-sm);
    background: #1F2937;
    color: var(--white);
    outline: none;
}

.search-input-field:focus {
    border-color: var(--primary-light);
}

.search-submit-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 14px 24px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.search-submit-btn:hover {
    background: var(--primary-light);
}

/* ==========================================================================
   5. HERO SECTION & EDITORIAL GRIDS
   ========================================================================== */
.hero-investigasi-section {
    padding: 28px 0;
}

.section-badge-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
}

.badge-accent {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--white);
    background-color: var(--primary);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.section-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, rgba(139,0,0,0) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.hero-main-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--pitch-black);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
}

.card-featured-large .card-media {
    position: relative;
    height: 380px;
    overflow: hidden;
}

.card-featured-large .card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-featured-large:hover .card-media img {
    transform: scale(1.04);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(17,24,39,0) 30%, rgba(17,24,39,0.9) 100%);
}

.card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
}

.category-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-crimson {
    background-color: var(--primary);
    color: var(--white);
}

.badge-mini {
    background-color: #1F2937;
    color: var(--accent-gold);
    font-size: 0.68rem;
    padding: 2px 7px;
}

.card-featured-large .card-content {
    padding: 24px;
    background: var(--pitch-black);
    color: var(--white);
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.8rem;
    color: #9CA3AF;
    margin-bottom: 10px;
}

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

.card-featured-large .card-title {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.card-featured-large .card-title a {
    color: var(--white);
}

.card-featured-large .card-title a:hover {
    color: var(--accent-gold);
}

.card-excerpt {
    color: #D1D5DB;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Side Grid Items */
.hero-side-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card-side-item {
    display: flex;
    gap: 14px;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    padding: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-light);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.card-side-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--accent-gold);
}

.side-thumb-wrap {
    position: relative;
    width: 120px;
    height: 95px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #111827;
}

.side-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.side-content-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.side-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--pitch-black);
}

.side-title a:hover {
    color: var(--primary);
}

/* ==========================================================================
   6. BANNER MAPJ: KAWAL KEADILAN
   ========================================================================== */
.banner-mapj-advokasi {
    background: linear-gradient(135deg, #111827 0%, #5B0000 100%);
    border-top: 3px solid var(--accent-gold);
    border-bottom: 3px solid var(--primary);
    color: var(--white);
    padding: 36px 0;
    margin: 20px 0 35px;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.banner-mapj-inner {
    display: flex;
    align-items: center;
    gap: 30px;
}

.banner-mapj-shield {
    flex-shrink: 0;
    background: rgba(255,255,255,0.06);
    padding: 15px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--accent-gold);
}

.banner-mapj-shield img {
    width: 90px;
    height: auto;
}

.banner-mapj-text {
    flex: 1;
}

.banner-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-gold);
    color: var(--pitch-black);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 8px;
}

.banner-heading {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.banner-desc {
    color: #E5E7EB;
    font-size: 1rem;
    max-width: 800px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.banner-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-banner-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    border: 1px solid #FF8080;
    box-shadow: 0 4px 14px rgba(166, 25, 46, 0.4);
}

.btn-banner-primary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-banner-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #16A34A;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 12px 22px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.btn-banner-secondary:hover {
    background: #15803D;
    color: var(--white);
}

/* ==========================================================================
   7. MAIN EDITORIAL LAYOUT & SIDEBAR
   ========================================================================== */
.main-editorial-layout {
    display: grid;
    grid-template-columns: 2.1fr 1fr;
    gap: 32px;
    margin-bottom: 50px;
}

.channel-section {
    margin-bottom: 35px;
}

.channel-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary);
    margin-bottom: 20px;
}

.channel-header-bar.green-accent {
    border-bottom-color: var(--secondary);
}

.channel-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--pitch-black);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.channel-title-icon {
    color: var(--primary);
}

.green-accent .channel-title-icon {
    color: var(--secondary);
}

.channel-view-all {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.channel-view-all:hover {
    color: var(--primary-dark);
}

/* 2-Column News Cards Grid */
.news-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.news-card-box {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-light);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.news-card-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.news-card-thumb {
    position: relative;
    height: 190px;
    overflow: hidden;
    background: #111827;
}

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

.news-card-box:hover .news-card-thumb img {
    transform: scale(1.05);
}

.card-badge-pos {
    position: absolute;
    bottom: 10px;
    left: 10px;
}

.news-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-meta {
    font-size: 0.75rem;
    color: var(--gray-mid);
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}

.news-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
    color: var(--pitch-black);
}

.news-card-title a:hover {
    color: var(--primary);
}

.news-card-excerpt {
    font-size: 0.88rem;
    color: var(--gray-dark);
    line-height: 1.45;
}

/* News List Row (Vertical Layout) */
.news-list-vertical {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.news-list-row {
    display: flex;
    gap: 16px;
    background: var(--white);
    padding: 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.news-list-row:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--secondary);
}

.list-thumb {
    width: 140px;
    height: 100px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #111827;
}

.list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.list-date {
    font-size: 0.74rem;
    color: var(--gray-mid);
}

.list-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 6px;
    color: var(--pitch-black);
}

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

.list-excerpt {
    font-size: 0.85rem;
    color: var(--gray-dark);
    line-height: 1.4;
}

/* Sidebar Widgets */
.editorial-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.widget-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid var(--gray-light);
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--gray-light);
    padding-bottom: 10px;
    margin-bottom: 16px;
    color: var(--pitch-black);
    position: relative;
}

.widget-title span {
    position: relative;
}

.widget-title span::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
}

/* Widget Aduan Highlight */
.widget-aduan-highlight {
    background: linear-gradient(135deg, #111827 0%, #660000 100%);
    color: var(--white);
    border: 2px solid var(--accent-gold);
}

.widget-aduan-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: 12px;
}

.widget-aduan-icon {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border: 1px solid var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent-gold);
}

.widget-aduan-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: var(--white);
    margin: 0;
    line-height: 1.1;
}

.widget-aduan-sub {
    font-size: 0.72rem;
    color: #FCD34D;
    font-weight: 600;
}

.widget-aduan-body p {
    font-size: 0.88rem;
    color: #E5E7EB;
    line-height: 1.45;
    margin-bottom: 12px;
}

.aduan-check-list {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.aduan-check-list li {
    font-size: 0.8rem;
    color: #FEF08A;
    display: flex;
    align-items: center;
    gap: 6px;
}

.aduan-check-list li i {
    color: #22C55E;
}

.btn-aduan-sidebar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--primary-light);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.88rem;
    letter-spacing: 0.6px;
    padding: 11px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    margin-bottom: 10px;
    transition: var(--transition);
}

.btn-aduan-sidebar:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-wa-sidebar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #16A34A;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.88rem;
    letter-spacing: 0.6px;
    padding: 10px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.btn-wa-sidebar:hover {
    background: #15803D;
    color: var(--white);
}

/* Popular items in sidebar */
.popular-news-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.popular-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--gray-light);
}

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

.popular-rank {
    width: 28px;
    height: 28px;
    background: var(--pitch-black);
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.popular-detail {
    flex: 1;
}

.popular-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 4px 0;
    color: var(--pitch-black);
}

.popular-title a:hover {
    color: var(--primary);
}

.popular-date {
    font-size: 0.72rem;
    color: var(--gray-mid);
}

/* Maklumat Widget */
.widget-maklumat {
    background: #FFFBEB;
    border-color: #FDE68A;
}

.maklumat-content p {
    font-size: 0.85rem;
    color: #92400E;
    line-height: 1.45;
    margin-bottom: 10px;
}

.maklumat-hotline {
    background: #FEF3C7;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--accent-gold);
    font-size: 0.78rem;
    color: #78350F;
}

/* ==========================================================================
   8. SINGLE POST & INVESTIGATIVE ARTICLE LAYOUT
   ========================================================================== */
.site-single-post {
    padding: 24px 0 60px;
}

.site-breadcrumbs {
    font-size: 0.82rem;
    color: var(--gray-mid);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.site-breadcrumbs .sep {
    color: #CBD5E1;
}

.site-breadcrumbs .current {
    color: var(--pitch-black);
    font-weight: 600;
}

.single-article-content {
    background: var(--white);
    padding: 36px 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-light);
    box-shadow: var(--shadow-sm);
}

.entry-header {
    margin-bottom: 24px;
}

.entry-meta-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
    font-size: 0.82rem;
    color: var(--gray-mid);
}

.entry-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--pitch-black);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 18px;
}

.entry-byline {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid var(--gray-light);
    border-bottom: 1px solid var(--gray-light);
    margin-bottom: 18px;
}

.author-avatar-wrap img {
    border-radius: 50%;
    border: 2px solid var(--primary);
}

.byline-details {
    display: flex;
    flex-direction: column;
}

.byline-author {
    font-size: 0.95rem;
    color: var(--pitch-black);
}

.byline-author strong {
    color: var(--primary);
}

.byline-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.78rem;
    color: var(--gray-mid);
    margin-top: 4px;
}

/* Share Bar */
.share-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
}

.share-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gray-dark);
}

.share-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.btn-share {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-share.wa { background-color: #25D366; }
.btn-share.wa:hover { background-color: #128C7E; color: var(--white); }
.btn-share.fb { background-color: #1877F2; }
.btn-share.fb:hover { background-color: #0C63D4; color: var(--white); }
.btn-share.tw { background-color: #000000; }
.btn-share.tw:hover { background-color: #262626; color: var(--white); }
.btn-share.copy { background-color: #4B5563; }
.btn-share.copy:hover { background-color: #374151; color: var(--white); }

.entry-featured-media {
    margin: 20px 0 28px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.featured-hero-img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.wp-caption-text {
    font-size: 0.8rem;
    color: var(--gray-mid);
    font-style: italic;
    padding: 8px 12px;
    background: #F1F5F9;
    border-left: 3px solid var(--accent-gold);
}

/* Article Typography */
.typography-article {
    font-family: var(--font-serif);
    font-size: 1.12rem;
    line-height: 1.85;
    color: #1E293B;
}

.typography-article p {
    margin-bottom: 22px;
}

.typography-article p:first-of-type::first-letter {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    float: left;
    line-height: 0.8;
    margin: 6px 10px 0 0;
    color: var(--primary);
    font-weight: 800;
}

.typography-article h2,
.typography-article h3,
.typography-article h4 {
    font-family: var(--font-heading);
    color: var(--pitch-black);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin: 32px 0 16px;
    line-height: 1.3;
}

.typography-article h2 { font-size: 1.55rem; border-left: 4px solid var(--primary); padding-left: 12px; }
.typography-article h3 { font-size: 1.35rem; }

/* Investigative Blockquote with tri-color accent */
.typography-article blockquote {
    margin: 28px 0;
    padding: 20px 24px;
    background: #F8FAFC;
    border-left: 6px solid var(--primary);
    border-top: 1px solid var(--gray-light);
    border-right: 1px solid var(--gray-light);
    border-bottom: 2px solid var(--accent-gold);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: #0F172A;
    font-size: 1.15rem;
    position: relative;
}

.typography-article blockquote::before {
    content: "\201C";
    font-family: Georgia, serif;
    font-size: 3.5rem;
    color: var(--accent-gold);
    position: absolute;
    top: -5px;
    left: 8px;
    line-height: 1;
    opacity: 0.4;
}

/* Investigation Callout Box */
.investigation-callout-box {
    margin: 36px 0;
    padding: 24px;
    background: linear-gradient(135deg, #FEF2F2 0%, #FFFBEB 100%);
    border: 2px solid var(--primary-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.callout-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--primary);
}

.callout-header i {
    font-size: 1.4rem;
}

.callout-header h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: 0.5px;
}

.investigation-callout-box p {
    font-family: var(--font-sans);
    font-size: 0.92rem;
    color: #374151;
    line-height: 1.55;
    margin-bottom: 14px;
}

.btn-callout-lapor {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.btn-callout-lapor:hover {
    background: var(--primary-light);
    color: var(--white);
}

/* Tags List */
.entry-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 26px 0;
    padding-top: 18px;
    border-top: 1px solid var(--gray-light);
}

.tags-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gray-mid);
    text-transform: uppercase;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-item {
    background: #F1F5F9;
    color: #334155;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid #CBD5E1;
}

.tag-item:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Author Bio Card */
.author-bio-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px;
    background: #F8FAFC;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-light);
    margin: 30px 0;
}

.bio-avatar img {
    border-radius: 50%;
    border: 3px solid var(--primary);
}

.bio-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--pitch-black);
    text-transform: uppercase;
    margin-bottom: 2px;
}

.bio-role {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 8px;
}

.bio-desc {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.45;
}

/* Related Posts */
.related-posts-section {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 2px solid var(--gray-light);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.related-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.related-thumb {
    height: 130px;
    overflow: hidden;
    background: #111827;
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-body {
    padding: 12px;
}

.related-date {
    font-size: 0.72rem;
    color: var(--gray-mid);
    display: block;
    margin-bottom: 4px;
}

.related-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--pitch-black);
}

.related-title a:hover {
    color: var(--primary);
}

/* ==========================================================================
   9. HALAMAN KHUSUS ADUAN WARGA (page-laporan-warga.php)
   ========================================================================== */
.site-aduan-portal {
    padding-bottom: 70px;
}

.aduan-hero-header {
    background: linear-gradient(135deg, #111827 0%, #5B0000 100%);
    border-bottom: 4px solid var(--accent-gold);
    color: var(--white);
    padding: 45px 0;
    text-align: center;
}

.aduan-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 820px;
}

.aduan-hero-shield img {
    width: 85px;
    height: auto;
    margin-bottom: 16px;
}

.aduan-top-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-gold);
    color: var(--pitch-black);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 4px 14px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.aduan-main-title {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.aduan-main-sub {
    font-size: 1.05rem;
    color: #E5E7EB;
    line-height: 1.6;
}

/* Trust Section */
.aduan-trust-section {
    margin: -25px 0 35px;
    position: relative;
    z-index: 10;
}

.trust-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.trust-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 22px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-light);
    border-top: 4px solid var(--primary);
    display: flex;
    gap: 16px;
}

.trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #FEF2F2;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.trust-card:nth-child(2) { border-top-color: var(--accent-gold); }
.trust-card:nth-child(2) .trust-icon { background: #FFFBEB; color: #B45309; }

.trust-card:nth-child(3) { border-top-color: #16A34A; }
.trust-card:nth-child(3) .trust-icon { background: #F0FDF4; color: #16A34A; }

.trust-body h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--pitch-black);
    margin-bottom: 4px;
}

.trust-body p {
    font-size: 0.85rem;
    color: var(--gray-dark);
    line-height: 1.45;
}

/* Aduan Form Container */
.aduan-form-container {
    max-width: 860px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-light);
    overflow: hidden;
}

.aduan-form-header {
    background: #F8FAFC;
    padding: 24px 32px;
    border-bottom: 1px solid var(--gray-light);
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--pitch-black);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-note {
    font-size: 0.88rem;
    color: var(--gray-mid);
    margin-top: 4px;
}

.req {
    color: #DC2626;
    font-weight: bold;
}

.aduan-alert-box {
    padding: 16px 24px;
    margin: 20px 32px 0;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
}

.alert-error {
    background: #FEF2F2;
    border: 1px solid #FCA5A5;
    color: #991B1B;
}

.alert-success {
    background: #F0FDF4;
    border: 1px solid #86EFAC;
    color: #166534;
}

.form-aduan-grid {
    padding: 30px 32px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.form-section-box {
    background: #FBFDFB;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-md);
    padding: 22px;
}

.section-box-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary);
    border-bottom: 1px solid #E2E8F0;
    padding-bottom: 10px;
    margin-bottom: 18px;
}

/* Anonymity Toggle */
.anonim-toggle-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.switch-toggle {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}

.switch-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider-round {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #CBD5E1;
    transition: 0.3s;
    border-radius: 34px;
}

.slider-round::before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .slider-round {
    background-color: var(--primary);
}

input:checked + .slider-round::before {
    transform: translateX(24px);
}

.anonim-info {
    display: flex;
    flex-direction: column;
}

.anonim-label {
    color: #92400E;
    font-size: 0.95rem;
}

.anonim-sub {
    font-size: 0.8rem;
    color: #78350F;
}

.input-anonim-active {
    background-color: #FEF3C7 !important;
    color: #92400E !important;
    font-weight: 600;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--pitch-black);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 11px 14px;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    color: var(--charcoal);
    border: 1px solid #CBD5E1;
    border-radius: var(--radius-sm);
    background: var(--white);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(166, 25, 46, 0.15);
}

.form-select {
    cursor: pointer;
}

.form-hint {
    display: block;
    font-size: 0.78rem;
    color: var(--gray-mid);
    margin-top: 4px;
}

/* File Dropzone */
.file-upload-dropzone {
    border: 2px dashed #94A3B8;
    background: #F8FAFC;
    border-radius: var(--radius-md);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.file-upload-dropzone.drag-over {
    border-color: var(--primary);
    background: #FEF2F2;
}

.drop-icon {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.drop-label {
    display: block;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--pitch-black);
    margin-bottom: 4px;
}

.drop-types {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-mid);
    margin-bottom: 16px;
}

.file-input-hidden {
    display: none;
}

.btn-browse-file {
    background: var(--pitch-black);
    color: var(--white);
    border: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 9px 20px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-browse-file:hover {
    background: var(--primary);
}

.file-preview-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid #CBD5E1;
}

.preview-file-icon {
    font-size: 1.8rem;
    color: var(--primary);
}

.preview-file-details {
    text-align: left;
}

.preview-filename {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--pitch-black);
}

.preview-filesize {
    font-size: 0.78rem;
    color: var(--gray-mid);
}

.btn-remove-file {
    background: #FEE2E2;
    color: #DC2626;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    margin-left: 10px;
}

/* Integrity Pledge */
.integrity-pledge {
    margin-bottom: 22px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.88rem;
    color: #334155;
    line-height: 1.45;
}

.checkbox-container input {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.pledge-text {
    flex: 1;
}

.form-submit-row {
    text-align: center;
}

.btn-submit-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 16px 36px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.4);
    transition: var(--transition);
    width: 100%;
}

.btn-submit-main:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.5);
}

.btn-submit-main:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Direct WA Alternative Box */
.direct-wa-box {
    background: #F0FDF4;
    border-top: 1px solid #BBF7D0;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.direct-wa-content {
    display: flex;
    align-items: center;
    gap: 14px;
}

.direct-wa-icon {
    font-size: 2.2rem;
    color: #16A34A;
}

.direct-wa-content h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: #14532D;
}

.direct-wa-content p {
    font-size: 0.85rem;
    color: #166534;
}

.btn-direct-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #16A34A;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    white-space: nowrap;
}

.btn-direct-wa:hover {
    background: #15803D;
    color: var(--white);
}

/* ==========================================================================
   10. MODAL DIALOG WHATSAPP DISPATCH
   ========================================================================== */
.aduan-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.aduan-modal-card {
    background: var(--white);
    max-width: 580px;
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border: 3px solid var(--accent-gold);
    overflow: hidden;
    position: relative;
    animation: modalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalPop {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.aduan-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #94A3B8;
    cursor: pointer;
}

.aduan-modal-close:hover {
    color: var(--pitch-black);
}

.aduan-modal-header {
    background: #F8FAFC;
    padding: 28px 24px 20px;
    text-align: center;
    border-bottom: 1px solid var(--gray-light);
}

.aduan-modal-icon {
    font-size: 3rem;
    color: #16A34A;
    margin-bottom: 8px;
}

.aduan-modal-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--pitch-black);
    text-transform: uppercase;
}

.aduan-modal-sub {
    font-size: 0.9rem;
    color: var(--gray-mid);
}

.aduan-ticket-badge-box {
    background: var(--pitch-black);
    padding: 14px 20px;
    text-align: center;
}

.ticket-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: #FCD34D;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.ticket-value {
    display: block;
    font-family: monospace;
    font-size: 1.5rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 2px;
}

.aduan-modal-body {
    padding: 22px 28px;
}

.instruction-text {
    font-size: 0.92rem;
    color: #334155;
    line-height: 1.5;
    margin-bottom: 14px;
}

.modal-summary-box {
    background: #F1F5F9;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: #1E293B;
    line-height: 1.6;
    border-left: 3px solid var(--primary);
}

.aduan-modal-footer {
    padding: 0 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-dispatch-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25D366;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.btn-dispatch-wa:hover {
    background: #128C7E;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-modal-dismiss {
    background: none;
    border: none;
    font-size: 0.85rem;
    color: var(--gray-mid);
    cursor: pointer;
    padding: 6px;
    text-decoration: underline;
}

.btn-modal-dismiss:hover {
    color: var(--pitch-black);
}

/* ==========================================================================
   11. FLOATING WHATSAPP BUTTON (ADUAN CEPAT)
   ========================================================================== */
.floating-wa-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
}

.floating-wa-btn {
    position: relative;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    transition: var(--transition);
}

.floating-wa-btn:hover {
    background: #128C7E;
    color: var(--white);
    transform: scale(1.08);
}

.wa-pulse-ring {
    position: absolute;
    inset: -6px;
    border: 2px solid #25D366;
    border-radius: 50%;
    animation: waPulse 1.8s infinite;
}

@keyframes waPulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    70% { transform: scale(1.3); opacity: 0; }
    100% { transform: scale(0.95); opacity: 0; }
}

.wa-tooltip-text {
    position: absolute;
    right: 72px;
    background: var(--pitch-black);
    color: var(--white);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    border-left: 3px solid #25D366;
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    pointer-events: none;
    opacity: 0.95;
    transition: var(--transition);
}

.tt-tag {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    color: #4ADE80;
    letter-spacing: 0.5px;
}

.tt-num {
    font-size: 0.8rem;
    font-weight: 600;
}

/* Toast Message */
.referensi-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--pitch-black);
    color: var(--white);
    border-left: 4px solid var(--accent-gold);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.referensi-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ==========================================================================
   12. FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--pitch-black);
    color: #D1D5DB;
    border-top: 4px solid var(--primary);
    padding: 55px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid #1F2937;
}

.footer-logo img {
    height: 58px;
    width: auto;
    object-fit: contain;
    margin-bottom: 16px;
}

.footer-about {
    font-size: 0.88rem;
    color: #9CA3AF;
    line-height: 1.55;
    margin-bottom: 16px;
}

.footer-motto-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.82rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--white);
    letter-spacing: 0.6px;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
}

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

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

.footer-links li a {
    color: #9CA3AF;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--accent-gold);
    transform: translateX(4px);
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.85rem;
    color: #9CA3AF;
}

.footer-contact-list li i {
    color: var(--accent-gold);
    margin-top: 3px;
    font-size: 1rem;
}

.contact-highlight {
    color: #4ADE80;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
}

.contact-highlight:hover {
    text-decoration: underline;
    color: #86EFAC;
}

.footer-press-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.press-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.82rem;
    color: #9CA3AF;
    line-height: 1.4;
}

.press-item i {
    color: var(--primary-light);
    margin-top: 2px;
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    width: 100%;
}

.footer-cta-btn:hover {
    background: var(--primary-light);
    color: var(--white);
}

.footer-bottom {
    padding: 20px 0 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.82rem;
    color: #6B7280;
}

.footer-copy strong {
    color: #D1D5DB;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-legal-links a {
    color: #9CA3AF;
}

.footer-legal-links a:hover {
    color: var(--accent-gold);
}

.footer-legal-links .sep {
    color: #4B5563;
}

/* ==========================================================================
   13. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .main-editorial-layout {
        grid-template-columns: 1fr;
    }
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
    .trust-cards-grid {
        grid-template-columns: 1fr;
    }
    .header-banner-badge {
        display: none;
    }
}

@media (max-width: 768px) {
    .top-bar-ticker {
        display: none;
    }
    .top-bar-inner {
        justify-content: space-between;
    }
    .main-header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .header-hotline {
        width: 100%;
        justify-content: center;
    }
    
    /* Mobile Menu */
    .menu-toggle {
        display: flex;
        align-items: center;
    }
    .menu-toggle .menu-label {
        display: inline-block;
    }
    .nav-menu-wrapper {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--pitch-black);
        border-top: 1px solid #374151;
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    }
    .nav-menu-wrapper.active {
        display: block;
    }
    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .nav-menu li a {
        padding: 12px 20px;
    }
    .nav-menu li.nav-aduan-highlight a {
        margin: 10px 20px;
        text-align: center;
    }

    .news-cards-grid {
        grid-template-columns: 1fr;
    }
    .news-list-row {
        flex-direction: column;
    }
    .list-thumb {
        width: 100%;
        height: 180px;
    }
    .banner-mapj-inner {
        flex-direction: column;
        text-align: center;
    }
    .banner-cta-group {
        justify-content: center;
    }
    .banner-heading {
        font-size: 1.4rem;
    }

    .form-row-2 {
        grid-template-columns: 1fr;
    }
    .direct-wa-box {
        flex-direction: column;
        text-align: center;
    }
    .direct-wa-content {
        flex-direction: column;
    }

    .single-article-content {
        padding: 20px;
    }
    .entry-title {
        font-size: 1.6rem;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .wa-tooltip-text {
        display: none;
    }
}
