/* ===================================
 * CSS Custom Properties (Design Tokens)
 * =================================== */
:root {
    /* Brand Colors */
    --brand: #165DFF;
    --brand-600: #0E4BD8;
    --brand-50: #F0F6FF;

    /* Neutral Colors */
    --ink: #0A0A0A;
    --muted: #5A5A5A;
    --bg: #FFFFFF;

    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;

    /* Typography Scale */
    --text-xs: 0.875rem;
    --text-sm: 1rem;
    --text-base: 1.125rem;
    --text-lg: 1.25rem;
    --text-xl: 1.5rem;
    --text-2xl: 2rem;
    --text-3xl: 2.5rem;
    --text-4xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 2rem;

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 25px rgba(22, 93, 255, 0.3);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Container */
    --container-max-width: 1200px;
    --container-padding: 2rem;
}

/* ===================================
 * CSS Reset & Base Styles
 * =================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    overflow-x: hidden;
}

/* Skip to main content link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--brand);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: var(--radius-sm);
    z-index: 9999;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 6px;
}

/* ===================================
 * Layout Components
 * =================================== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--space-2xl) 0;
}

.section-sm {
    padding: var(--space-xl) 0;
}

/* ===================================
 * Header & Navigation
 * =================================== */
header[role="banner"] { /* Spesifisitas untuk header publik */
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: box-shadow var(--transition-base);
}

header[role="banner"].scrolled {
    box-shadow: var(--shadow-sm);
}

nav[role="navigation"] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--container-padding);
    max-width: var(--container-max-width); /* Agar nav sejajar container */
    margin: 0 auto; /* Agar nav di tengah */
}

.logo {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--brand);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-fast);
}

.logo:hover .logo-text {
    transform: translateY(-1px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.logo-text br {
    display: block;
    margin-bottom: 2px;
}

.logo:hover,
.logo:focus {
    color: var(--brand-600);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
    align-items: center;
}

.nav-link {
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand);
    transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link:focus::after,
.nav-link.active::after { /* Penanda halaman aktif */
    width: 100%;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
    color: var(--brand);
}

.nav-link:focus {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

.badge {
    background: var(--brand-50);
    color: var(--brand);
    padding: 0.125rem 0.5rem;
    border-radius: 999px;
    font-size: var(--text-xs);
    margin-left: 0.25rem;
    font-weight: 600;
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
    background: var(--brand-50);
}

.mobile-menu-toggle:focus {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--ink);
    margin: 5px 0;
    transition: var(--transition-base);
    border-radius: 2px;
}

/* ===================================
 * Typography
 * =================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

h1 {
    font-size: clamp(var(--text-2xl), 5vw, var(--text-4xl));
    font-weight: 800;
}

h2 {
    font-size: var(--text-3xl);
    text-align: center;
    margin-bottom: var(--space-xl);
}

h3 {
    font-size: var(--text-xl);
}

h4 {
    font-size: var(--text-lg);
}

p {
    margin-bottom: var(--space-sm);
    line-height: 1.7;
}
.section-description,
.impact-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-xl);
    line-height: 1.7;
    color: var(--muted);
    font-size: var(--text-lg);
}
.problem-text {
    font-size: var(--text-lg);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    color: var(--muted);
    text-align: center;
}


/* ===================================
 * Buttons & Interactive Elements
 * =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    background: var(--brand);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--text-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    min-height: 48px; /* Touch target size */
}

.btn:hover,
.btn:focus {
    background: var(--brand-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn:focus {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--brand);
    color: var(--brand);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: var(--brand);
    color: white;
}

/* ===================================
 * Hero Section
 * =================================== */
.hero {
    position: relative;
    min-height: 90vh; /* Sedikit lebih kecil dari 100vh */
    display: flex;
    align-items: center;
    justify-content: center;
    /* Path akan di-override oleh inline style */
    background-color: #333;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(22, 93, 255, 0.6) 100%);
}

.hero-content {
    position: relative;
    text-align: center;
    color: white;
    padding: var(--space-lg);
    max-width: 800px;
}

.hero-title {
    margin-bottom: var(--space-lg);
}

.hero-subtitle {
    font-size: var(--text-lg);
    margin-bottom: var(--space-xl);
    opacity: 0.9;
}

/* ===================================
 * Social Proof Section
 * =================================== */
.social-proof {
    background: var(--brand-50);
}
.social-proof h2 {
    font-size: var(--text-xl); /* Lebih kecil dari h2 normal */
    color: var(--muted);
}

.logo-slider-container {
    position: relative;
    max-width: 1100px; /* Lebar maksimum slider */
    margin: 0 auto;
}

.logo-slider {
    position: relative;
    overflow: hidden; /* Konten di luar slider disembunyikan */
    padding: var(--space-lg) 0;
}

.logo-track {
    display: flex; /* Menggunakan flexbox */
    width: fit-content;
    transition: transform var(--transition-slow); /* Tambahkan transisi JS */
}

.logo-item {
    flex: 0 0 auto;
    width: 250px; 
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 var(--space-sm);
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all var(--transition-base);
}

.logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.logo-controls {
    display: none; /* Sembunyikan by default, JS akan tampilkan jika perlu */
    justify-content: space-between;
    position: absolute;
    top: 50%;
    width: 100%;
    left: 0;
    transform: translateY(-50%);
    pointer-events: none;
    padding: 0; /* Dibuat lebih rapat ke pinggir */
}

.logo-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    width: 44px; /* Ukuran tombol */
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    pointer-events: all;
    font-size: var(--text-lg);
    color: var(--muted);
    box-shadow: var(--shadow-sm);
}

.logo-btn:hover {
    background: white;
    color: var(--brand);
    transform: scale(1.1);
}

#logoPrevBtn {
    margin-left: -22px; 
}
#logoNextBtn {
    margin-right: -22px;
}


/* ===================================
 * Problem Section
 * =================================== */
.problem {
    text-align: center;
}

/* ===================================
 * Solutions Section
 * =================================== */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.solution-card {
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: white;
    transition: all var(--transition-base);
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.solution-title {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
}

.solution-text {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

/* ===================================
 * Social Impact Gallery
 * =================================== */
.social-impact {
    background: var(--brand-50);
}

.gallery {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.gallery-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.gallery-track {
    display: flex;
    transition: transform var(--transition-slow);
}

.gallery-slide {
    flex: 1 0 100%;
    position: relative;
}

/* --- PERUBAHAN CSS GALERI --- */
.gallery-figure {
    position: relative;
    margin: 0; /* Reset default figure margin */
    width: 100%;
    height: 100%;
}

.gallery-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block; 
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%); /* Gradient gelap di bawah */
    color: white;
    padding: var(--space-lg) var(--space-md) var(--space-md); /* Padding agar teks tidak nempel */
    text-align: left;
    font-size: var(--text-sm);
    font-weight: 500;
    opacity: 1;
    transition: opacity var(--transition-fast);
}
/* --- AKHIR PERUBAHAN --- */


.gallery-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 var(--space-sm);
    pointer-events: none;
}

.gallery-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    pointer-events: all;
    font-size: var(--text-lg);
    min-height: 48px;
}

.gallery-btn:hover,
.gallery-btn:focus {
    background: white;
    transform: scale(1.1);
}

.gallery-btn:focus {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
    margin-top: var(--space-lg);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    padding: 0;
}

.dot.active,
.dot:hover {
    background: var(--brand);
    transform: scale(1.2);
}

.dot:focus {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

/* ===================================
 * Footer
 * =================================== */
footer {
    background: var(--ink);
    color: white;
    padding: var(--space-2xl) 0; /* Tambah padding atas bawah */
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr; /* Logo lebih kecil, nav lebih besar */
    gap: var(--space-2xl);
    margin-bottom: var(--space-lg);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-logo {
    max-width: 200px; /* Sesuaikan ukuran logo footer */
    height: auto;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: var(--text-xs); /* Teks deskripsi lebih kecil */
}

.social-links {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all var(--transition-base);
    color: white;
    min-height: 40px;
}

.social-link:hover,
.social-link:focus {
    background: var(--brand);
    transform: translateY(-3px);
}

.social-link:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}
.social-link img {
    height: 20px;
    width: 20px;
    object-fit: contain;
}

.footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.footer-section h4 {
    margin-bottom: var(--space-sm);
    color: var(--brand);
    font-size: var(--text-base);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-xs);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: var(--text-sm);
}

.footer-links a:hover,
.footer-links a:focus {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: var(--space-lg);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-xs);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin: 0 var(--space-xs);
    transition: color var(--transition-fast);
}

.footer-bottom a:hover,
.footer-bottom a:focus {
    color: white;
}

/* ===================================
 * Responsive Design
 * =================================== */
@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
    }

    nav[role="navigation"] {
        padding: var(--space-sm) var(--container-padding);
    }
    
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: var(--space-sm);
        box-shadow: var(--shadow-sm);
        gap: var(--space-sm);
        align-items: flex-start; /* Menu rata kiri */
    }

    .nav-list.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .mobile-menu-toggle.active .hamburger:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .mobile-menu-toggle.active .hamburger:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active .hamburger:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .logo-text {
        font-size: 16px;
    }

    .logo-container {
        gap: 8px;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .footer-nav {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .logo-item {
        width: 150px;
        height: 80px; /* Disesuaikan agar proporsional */
    }

    /* === PERUBAHAN CSS GALERI RESPONSIVE === */
    .gallery-slide img {
        height: 300px;
    }

    .gallery-caption {
        font-size: var(--text-xs);
        padding: var(--space-md) var(--space-sm) var(--space-sm);
    }
    /* === AKHIR PERUBAHAN === */

    .section {
        padding: var(--space-xl) 0;
    }
}

/* ===================================
 * Accessibility & User Preferences
 * =================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ===================================
 * Print Styles
 * =================================== */
@media print {
    header, footer, .mobile-menu-toggle, .gallery-controls {
        display: none;
    }

    .hero {
        min-height: auto;
        height: auto;
    }

    .section {
        padding: var(--space-lg) 0;
    }

    * {
        box-shadow: none !important;
    }
}

/* ===================================
 * Loading State
 * =================================== */
.loading {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.loaded {
    opacity: 1;
}

/* ===================================
 * Focus Management
 * =================================== */
*:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    border-radius: var(--radius-sm);
}


/* ===================================
 * Style Halaman Baru (Dinamis)
 * =================================== */

/* Hero Halaman Internal */
.page-hero {
    background-color: var(--brand-50);
    padding: var(--space-2xl) var(--container-padding);
    text-align: center;
}
.page-hero h1 {
    font-size: var(--text-3xl);
    color: var(--brand);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.page-subtitle {
    font-size: var(--text-lg);
    color: var(--muted);
    max-width: 600px;
    margin: var(--space-md) auto 0;
}

/* Kontainer Teks Ramping */
.container-sm {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    text-align: center;
}
.container-sm h2 {
    margin-bottom: var(--space-md);
}
.text-lg {
    font-size: var(--text-lg);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}
.text-md {
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--muted);
}
.bg-light {
    background: var(--brand-50);
}

/* Halaman 'About' */
.four-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}
.pillar-card {
    background: white;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
}
.pillar-icon {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--brand);
    display: block;
    margin-bottom: var(--space-sm);
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}
.team-card {
    text-align: center;
}
.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-sm);
}
.team-title {
    color: var(--brand);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}
.team-bio {
    list-style: none;
    padding-left: 0;
    text-align: left;
    color: var(--muted);
    font-size: var(--text-xs);
}
.team-bio li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: var(--space-xs);
}
.team-bio li::before {
    content: '•';
    color: var(--brand);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

/* Halaman 'Services' */
.service-blocks-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}
.service-block {
    background: var(--brand-50);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
}
.service-block h2 {
    margin-bottom: var(--space-md);
}
.service-block p {
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto var(--space-lg);
}

/* Halaman 'Impact' */
.focus-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}
.focus-card {
    text-align: center;
    background: white;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
}
.cta-section {
    background: var(--brand);
    color: white;
    text-align: center;
    padding: var(--space-2xl) var(--container-padding);
    border-radius: var(--radius-xl);
    /* Dihapus: margin: 0 var(--container-padding); */
}
/* Media query untuk CTA di mobile */
@media (max-width: 768px) {
    .cta-section {
        margin: 0 var(--container-padding); /* Terapkan margin hanya di mobile */
    }
}


/* Slider Artikel */
.article-slider {
    overflow-x: hidden;
    position: relative;
}
.article-track {
    display: flex;
    gap: var(--space-lg);
    overflow-x: auto;
    padding-bottom: var(--space-lg);
    /* Trik scroll snap */
    scroll-snap-type: x mandatory;
}
.article-card {
    flex: 0 0 320px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: white;
    scroll-snap-align: start;
    display: flex; /* Tambahan */
    flex-direction: column; /* Tambahan */
}
.article-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.article-card-content { /* Wrapper baru */
    padding: var(--space-sm);
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Pastikan konten mengisi sisa ruang */
}
.article-card-content h3 {
    font-size: var(--text-base);
    /* padding: var(--space-sm) var(--space-sm) 0; */
}
.article-card-content p {
    font-size: var(--text-xs);
    color: var(--muted);
    /* padding: var(--space-xs) var(--space-sm); */
    flex-grow: 1; /* Dorong 'read more' ke bawah */
}
.read-more {
    display: inline-block;
    /* padding: 0 var(--space-sm) var(--space-sm); */
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--brand);
    text-decoration: none;
    margin-top: var(--space-sm); /* Jarak dari paragraf */
}
.read-more:hover {
    text-decoration: underline;
}


/* Halaman 'LMS' (Formulir) */
.lms-form {
    max-width: 600px;
    margin: var(--space-lg) auto 0;
    background: white;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: left;
    border: 1px solid rgba(0,0,0,0.1);
}
/* .form-group ada di atas */
.lms-form .btn {
    width: 100%;
}
.form-message {
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
    font-weight: 600;
}
.form-message.success {
    background: #d4edda;
    color: #155724;
}
.form-message.error {
    background: #f8d7da;
    color: #721c24;
}

/* Halaman 'Contact' */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}
.contact-card {
    background: var(--brand-50);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
}
.contact-card h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-xs);
}
.contact-card p {
    font-size: var(--text-base);
    color: var(--brand);
    font-weight: 600;
    margin-bottom: var(--space-lg);
    word-wrap: break-word;
}

/* --- Style untuk Halaman Single Artikel --- */
.article-hero {
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    padding: var(--space-xl) var(--container-padding);
}
.article-hero::before { /* Overlay */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}
.article-hero .container {
    position: relative;
    z-index: 2;
}
.article-hero h1 {
    color: white;
}
.article-meta {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.8);
    margin-top: var(--space-xs);
}

.article-content-container {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-2xl) var(--container-padding);
}
.article-body {
    font-size: var(--text-base);
    line-height: 1.8;
    text-align: left; /* Pastikan teks artikel rata kiri */
}
.article-body p {
    margin-bottom: var(--space-md);
}
.article-body h2 {
    font-size: var(--text-2xl);
    text-align: left;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}
.article-body h3 {
    font-size: var(--text-xl);
    text-align: left;
    margin-top: var(--space-lg);
}
.article-body ul,
.article-body ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
    text-align: left; /* Pastikan list rata kiri */
}
.article-body li {
    margin-bottom: var(--space-xs);
}
.article-body blockquote {
    border-left: 4px solid var(--brand);
    padding-left: var(--space-md);
    margin: var(--space-lg) 0;
    font-style: italic;
    color: var(--muted);
    text-align: left;
}
.article-body img {
    max-width: 100%;
    height: auto;
    margin: var(--space-lg) 0;
    border-radius: var(--radius-md);
}
.article-back-link {
    display: inline-block;
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(0,0,0,0.1);
    font-weight: 600;
    color: var(--brand);
    text-decoration: none;
}
.article-back-link:hover {
    text-decoration: underline;
}