/* =========================================================
   BASE: VARIABEL TEMA, RESET, & KOMPONEN BERSAMA
   ========================================================= */
:root {
    --brand-dark: #04392a;
    --brand-mid: #045a40;
    --brand: #067856;
    --brand-light: #0DBD89;
    --brand-50: #e9f6f1;
    --brand-100: #d1eee3;
    --gold: #F5B40A;
    --gold-light: #FFD23F;
    --ink: #111827;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --paper: #f8faf9;
    --white: #ffffff;
    --shadow-card: 0 4px 20px -2px rgba(4, 57, 42, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
    --shadow-card-lg: 0 20px 40px -12px rgba(4, 57, 42, 0.18), 0 6px 16px -6px rgba(0, 0, 0, 0.06);
}

*, *::before, *::after {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

body {
    margin: 0;
    top: 0 !important;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background-color: var(--white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Tajuk Seksi Bersama */
.section-gold-bar {
    width: 40px;
    height: 3px;
    border-radius: 9999px;
    background: var(--gold);
    margin-bottom: 8px;
}

.section-kicker {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand);
}

.section-title {
    margin: 4px 0 0;
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--brand-dark);
}

.mega-header-bar {
    width: 4px;
    height: 14px;
    border-radius: 9999px;
    background: var(--gold);
    display: inline-block;
    flex-shrink: 0;
}

/* Tombol Pill Bersama */
.btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    transition: filter 0.15s ease;
}

.btn-pill:hover {
    filter: brightness(0.95);
}

.btn-dark,
.btn-green {
    background: var(--brand-mid);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--brand-mid);
}

.btn-gold-solid {
    background: var(--gold-light);
    color: var(--brand-dark);
}

/* Lencana Kategori, Meta, & Status Agenda (Dipakai lintas halaman) */
.news-cat-badge {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 9999px;
    letter-spacing: 0.02em;
}

.news-cat-badge.badge-berita {
    background: var(--brand-50);
    color: var(--brand);
}

.news-cat-badge.badge-perkara {
    background: rgba(245, 180, 10, 0.18);
    color: #7a5200;
}

.news-cat-badge.mini {
    font-size: 10px;
    padding: 2px 8px;
}

.news-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-bottom: 10px;
}

.news-meta-stat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-500);
}

.news-meta-stat svg {
    color: var(--brand);
    flex-shrink: 0;
}

.news-meta-stat.mini {
    font-size: 11px;
    color: var(--gray-400);
}

.news-meta-stat.mini svg {
    color: var(--gray-400);
}

.news-side-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}

.news-side-fallback.badge-berita {
    background: var(--brand-50);
    color: var(--brand);
}

.news-side-fallback.badge-perkara {
    background: rgba(245, 180, 10, 0.16);
    color: #926000;
}

.news-empty-state,
.news-side-placeholder {
    background: var(--white);
    border: 1px dashed var(--brand-100);
    border-radius: 14px;
    padding: 28px 20px;
    text-align: center;
    color: var(--gray-500);
    font-size: 13.5px;
    display: grid;
    place-items: center;
    height: 100%;
}

.news-empty-state p,
.news-side-placeholder p {
    margin: 0;
}

.agenda-chip {
    display: inline-block;
    background: var(--brand-50);
    color: var(--brand);
    font-weight: 700;
    padding: 1px 8px;
    border-radius: 9999px;
    font-size: 11px;
}

.agenda-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}

.agenda-status-pill.status-upcoming {
    background: var(--brand-50);
    color: var(--brand);
}

.agenda-status-pill.status-today {
    background: rgba(245, 180, 10, 0.22);
    color: #854d0e;
}

.agenda-status-pill.status-past {
    background: #eef2f6;
    color: #475569;
}