/*
Theme Name: Tema GP Ansor Custom
Theme URI: http://contoh.com
Author: Faishol
Author URI: http://contoh.com
Description: Tema khusus untuk organisasi GP Ansor, dibuat dari nol.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom, green, organization
Text Domain: tema-gp-ansor
*/

/* Di bawah ini nanti tempat kita menaruh kode CSS (Warna, Font, Layout) */
body {
    background-color: #f0f0f0; /* Warna dasar abu-abu muda */
    font-family: Arial, sans-serif;
}

/* --- Layout Berita --- */
.container {
    max-width: 960px;
    margin: 0 auto; /* Posisi tengah */
}

/* Membuat tampilan Grid 2 kolom jika layar lebar */
.daftar-artikel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

/* Gaya Kartu Artikel */
.kartu-berita {
    background: white;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px; /* Sudut membulat */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Bayangan halus */
}

.kartu-berita h3 a {
    text-decoration: none;
    color: #333;
}

.kartu-berita h3 a:hover {
    color: #009147; /* Hijau saat di-hover */
}

.meta-info {
    color: #777;
    margin-bottom: 15px;
    font-style: italic;
}

/* Tombol Baca */
.tombol-baca {
    display: inline-block;
    background-color: #009147;
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9em;
}

.tombol-baca:hover {
    background-color: #006400; /* Hijau lebih tua saat hover */
}

/* Mengatur gambar agar responsif */
img {
    max-width: 100%;
    height: auto;
}

/* --- Tampilan Detail Artikel (Single) --- */

.isi-konten {
    line-height: 1.8; /* Jarak antar baris lebih renggang agar nyaman dibaca */
    font-size: 1.1em;
    color: #333;
    margin-top : 50px;
}

.isi-konten p {
    margin-bottom: 20px; /* Jarak antar paragraf */
}

/* Mempercantik Blockquote (Kutipan) jika ada */
.isi-konten blockquote {
    border-left: 5px solid #009147;
    margin: 20px 0;
    padding-left: 20px;
    font-style: italic;
    color: #555;
    background: #f9f9f9;
    padding: 10px 20px;
}

/* --- CUSTOM HOMEPAGE --- */

/* 1. Hero Section */
.hero-section {
    background: linear-gradient(135deg, #006400 0%, #009147 100%); /* Gradasi Hijau */
    color: white;
    padding: 80px 20px;
    text-align: center;
    margin-bottom: 0;
}

.hero-content h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-cta {
    display: inline-block;
    background: #f1c40f; /* Kuning Emas */
    color: #006400;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: 0.3s;
}

.btn-cta:hover {
    background: #fff;
    transform: scale(1.05); /* Efek membesar sedikit */
}

/* =========================================
   HERO SLIDER (FIXED CENTER)
   ========================================= */

.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh; /* Tinggi Full Layar */
    min-height: 600px;
    background: #000;
    overflow: hidden; /* Mencegah scroll bar ganda */
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    /* FLEXBOX MAGIC - FORMULA RATA TENGAH */
    display: flex !important; /* Paksa gunakan Flexbox */
    flex-direction: column;
    justify-content: center; /* Rata Vertikal (Atas-Bawah) */
    align-items: center;     /* Rata Horizontal (Kiri-Kanan) */
    
    text-align: center;
    background-position: center;
    background-size: cover;
    
    /* Pastikan slide memenuhi layar */
    width: 100%;
    height: 100vh; 
}

/* Lapisan Gelap (Overlay) */
.overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Gelap 50% */
    z-index: 1;
}

/* Konten Teks */
.slide-content {
    position: relative;
    z-index: 10; /* Pastikan di atas overlay */
    width: 100%;
    max-width: 900px;
    padding: 0 20px;
    
    /* RESET POSISI */
    margin-top: 0 !important; /* Hapus jarak atas agar murni di tengah */
}

/* Tipografi Judul */
.slide-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

/* Tipografi Paragraf */
.slide-content p {
    font-size: 1.3rem;
    color: #f0f0f0;
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* Tombol Aksi (CTA) */
.btn-cta {
    display: inline-block;
    background-color: #f1c40f; /* Kuning NU */
    color: #006400; /* Hijau NU */
    padding: 15px 45px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(241, 196, 15, 0.4);
}

.btn-cta:hover {
    background-color: #ffffff;
    color: #006400;
    transform: translateY(-5px); /* Efek melayang saat disentuh */
}

/* Navigasi Kiri-Kanan Slider */
.swiper-button-next, .swiper-button-prev {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    color: #f1c40f;
}

/* RESPONSIF UNTUK HP */
@media (max-width: 768px) {
    .slide-content h1 {
        font-size: 2rem; /* Kecilkan judul di HP */
    }
    .slide-content p {
        font-size: 1rem; /* Kecilkan teks di HP */
        margin-bottom: 30px;
    }
    .btn-cta {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}

/* 2. Sambutan Section */
.sambutan-section {
    background: white;
    padding: 60px 20px;
}

.grid-sambutan {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Foto 1 bagian, Teks 2 bagian */
    gap: 40px;
    align-items: center;
}

/* Responsif: Di HP jadi satu kolom */
@media (max-width: 768px) {
    .grid-sambutan {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.link-hijau {
    color: #009147;
    font-weight: bold;
    text-decoration: none;
}

/* 3. Berita Home Section */
.home-berita-section {
    background: #f9f9f9; /* Abu-abu sangat muda */
    padding: 60px 20px;
}

.judul-bagian {
    text-align: center;
    color: #006400;
    margin-bottom: 40px;
    font-size: 2em;
    position: relative;
}

/* Garis kecil di bawah judul */
.judul-bagian:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #f1c40f; /* Kuning */
    margin: 10px auto 0;
}

/* --- LOGO & BRANDING --- */

/* Membatasi ukuran logo agar proporsional */
.custom-logo {
    max-height: 80px; /* Tinggi maksimal logo */
    width: auto;      /* Lebar menyesuaikan */
}

/* Jika user belum upload logo, pastikan teksnya rapi */
.site-branding h1 {
    font-size: 2em;
    line-height: 1.2;
}

/* --- MENU RESPONSIF & HEADER --- */

/* Pengaturan Flexbox agar Logo & Menu Sejajar */
.header-flex {
    display: flex;
    justify-content: space-between; /* Logo kiri, Menu kanan */
    align-items: center; /* Posisi vertikal tengah */
    position: relative;
}

/* Tombol Hamburger (Default: Sembunyi di Desktop) */
.tombol-hamburger {
    display: none; /* Hilang di layar laptop */
    background: none;
    border: 2px solid white;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
}

/* Style Menu Desktop (Horizontal) */
.menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; /* Berjejer ke samping */
    flex-direction: row;   /* Pastikan arahnya ke samping (kiri-kanan) */
    gap: 25px; /* Jarak antar menu */
}

.menu-list li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9em;
}

.menu-list li a:hover {
    color: #f1c40f; /* Kuning saat hover */
}

/* --- DROPDOWN MENU (DESKTOP) --- */

/* 1. Kunci Posisi Induk */
.menu-list li {
    position: relative; /* Agar anak menu patuh pada induknya */
}

/* 2. Sembunyikan Sub-Menu (Default) */
.menu-list .sub-menu {
    display: none;       /* Hilang dulu */
    position: absolute;  /* Melayang */
    top: 100%;           /* Muncul persis di bawah induk */
    left: 0;
   /* background-color: #006400;  Warna Hijau Tua (Sama dengan Header) */
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);
    min-width: 200px;    /* Lebar minimal agar teks tidak putus */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* Bayangan */
    padding: 0;
    z-index: 9999;       /* Pastikan di atas slider/konten lain */
    border-top: 3px solid #f1c40f; /* Pemanis garis kuning di atas */
}

/* 3. Munculkan Saat Induk di-Hover (Disentuh Mouse) */
.menu-list li:hover > .sub-menu {
    display: block;      /* Munculkan! */
    animation: fadeIn 0.3s; /* Efek muncul perlahan */
}

/* 4. Styling Item di Dalam Dropdown */
.menu-list .sub-menu li {
    display: block;      /* Susun ke bawah (bukan ke samping) */
    width: 100%;
    margin: 0;
}

.menu-list .sub-menu li a {
    display: block;
    padding: 12px 20px;
    font-size: 0.9em;
    border-bottom: 1px solid rgba(255,255,255,0.1); /* Garis tipis pemisah */
    text-transform: capitalize; /* Huruf besar di awal saja */
}

.menu-list .sub-menu li a:hover {
    background-color: #E6E6FA; /* Warna lebih gelap saat hover */
    
    color: #f1c40f; /* Teks jadi kuning */
}

/* Animasi Halus */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Tambahkan Tanda Panah Kecil di Menu Induk (Opsional) */
.menu-item-has-children > a::after {
    content: " ▼";
    font-size: 0.7em;
    margin-left: 5px;
    opacity: 0.7;
}

/* --- TOMBOL LOGIN SPESIAL --- */

/* Kita targetkan elemen <li> yang punya class 'tombol-login' */
.menu-list li.tombol-login a {
    background-color: #f1c40f; /* Warna Kuning Emas */
    color: #006400 !important; /* Teks Hijau Tua (pakai !important agar menang) */
    padding: 10px 20px;       /* Memberi ruang napas */
    border-radius: 5px;       /* Sudut membulat */
    transition: 0.3s;         /* Efek animasi halus */
    box-shadow: 0 4px 0 #c09e0b; /* Efek 3D sedikit di bawah */
}

/* Efek saat mouse menunjuk tombol (Hover) */
.menu-list li.tombol-login a:hover {
    background-color: #fff;   /* Berubah jadi Putih */
    color: #006400 !important;
    transform: translateY(2px); /* Tombol seolah ditekan ke bawah */
    box-shadow: 0 2px 0 #c09e0b; /* Bayangan menipis */
}

/* Penyesuaian agar posisi tombol pas di tengah baris menu */
.menu-list li.tombol-login {
    display: flex;
    align-items: center;
}

/* --- TAMPILAN MOBILE (Layar Kecil) --- */
@media screen and (max-width: 768px) {
    
    /* Munculkan Tombol Hamburger */
    .tombol-hamburger {
        display: block;
    }

/* 1. WADAH UTAMA (Kotak Hijaunya) */
    .navigasi-utama {
        display: none; /* Default sembunyi */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #006400; /* Warna Hijau */
        padding: 0;
        z-index: 9999;
         /* AGAR TIDAK MEMENUHI LAYAR */
        height: auto;          /* Tinggi otomatis sesuai jumlah menu */
        max-height: 60vh;      /* Maksimal cuma 60% layar HP (sisanya scroll) */
        /* overflow-y: auto;      Jika menu sangat banyak, bisa discroll */
        box-shadow: 0 5px 10px rgba(0,0,0,0.3); /* Bayangan bawah biar keren */
    }

    /* Saat kelas .buka aktif, Wadah Muncul */
    .navigasi-utama.buka {
        display: block !important;
    }

    /* 2. DAFTAR MENU (Isinya) - INI MASALAHNYA KEMARIN */
    /* Kita harus pastikan list-nya muncul (flex) dan turun ke bawah (column) */
    .navigasi-utama.buka .menu-list {
        display: block !important; 
        /*flex-direction: column; */
        width: 50%;
        padding: 0;
        margin: 0;
    }

    /* Style per item menu */
    .menu-list li {
        display: block;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.2); /* Garis pemisah */
        margin: 0;
    }

    .menu-list li a {
        display: block;
        padding: 12px 20px;
        color: white !important; /* Pastikan teks putih */
        text-align: left;
        font-size: 14px;       /* Ukuran font standar HP */
        text-decoration: none;
        font-weight: 600;

    }
    
    .menu-list li a:hover {
        background-color: rgba(255,255,255,0.1); /* Efek saat disentuh */
    }



/* --- DROPDOWN DI HP (Override Desktop) --- */
    
    .menu-list .sub-menu {
        display: block;      /* Selalu muncul di HP */
        position: static;    /* Tidak melayang lagi, tapi mengalir normal */
        background-color: rgba(0, 0, 0, 0.2); /* Latar agak gelap */
        box-shadow: none;    /* Hilangkan bayangan */
        border-top: none;    /* Hilangkan garis kuning */
        width: 100%;
        padding: 0;
    }

    .menu-list .sub-menu li a {
        padding-left: 40px;  /* Menjorok ke dalam agar terlihat beda */
        font-size: 13px;
        color: #ddd !important;  /* Warna agak redup biar beda sama induk */
        font-weight: normal;
    }
    
    .menu-list .sub-menu li {
        border-bottom: none;     /* Hilangkan garis di sub-menu biar bersih */
    }

    
    /* Hilangkan panah di HP biar tidak aneh */
    .menu-item-has-children > a::after {
        display: none;
    }
}

/* --- FOOTER PRO --- */

.site-footer {
    background-color: #1a1a1a; /* Hitam pudar */
    color: #bbb; /* Teks abu-abu muda agar tidak menyilaukan */
    font-size: 0.9em;
    margin-top: 50px;
}

/* Layout Grid 3 Kolom */
.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 60px 20px;
    border-bottom: 1px solid #333; /* Garis pemisah tipis */
}

.footer-title {
    color: white;
    font-size: 1.2em;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 3px solid #009147; /* Aksen garis hijau di samping judul */
    padding-left: 15px;
}

/* Styling Link di Footer */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #009147; /* Berubah hijau saat disentuh */
    padding-left: 5px; /* Efek geser sedikit */
}

/* Bagian Hak Cipta Bawah */
.site-info {
    background-color: #000; /* Hitam pekat */
    padding: 20px;
    text-align: center;
    color: #777;
    font-size: 0.8em;
}

/* Responsif untuk HP: Teks jadi rata tengah */
@media (max-width: 768px) {
    .footer-widgets {
        text-align: center;
    }
    .footer-title {
        border-left: none; /* Hilangkan garis samping */
        border-bottom: 2px solid #009147; /* Ganti jadi garis bawah */
        display: inline-block;
        padding-left: 0;
        padding-bottom: 5px;
    }
}

/* --- LAYOUT SIDEBAR --- */

/* Wadah Utama: Membuat Kiri & Kanan sejajar */
.layout-dua-kolom {
    display: flex;
    gap: 40px; /* Jarak antara berita dan sidebar */
}

/* Kolom Kiri (Berita): Lebar 70% */
.area-konten-utama {
    flex: 3; /* Mengambil porsi 3 bagian */
}

/* Kolom Kanan (Sidebar): Lebar 30% */
.area-sidebar {
    flex: 1; /* Mengambil porsi 1 bagian */
}

/* --- Styling Widget --- */
.widget {
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.widget-title {
    color: #006400; /* Hijau Tua */
    border-bottom: 2px solid #f1c40f; /* Garis kuning */
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.widget ul li a {
    text-decoration: none;
    color: #555;
}

.widget ul li a:hover {
    color: #009147;
}

/* Grid Berita di dalam kolom (Opsional: jika ingin 2 kolom kecil di area berita) */
.daftar-artikel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

/* --- RESPONSIF HP --- */
@media screen and (max-width: 768px) {
    .layout-dua-kolom {
        flex-direction: column; /* Turun ke bawah di HP */
    }
    
    .area-sidebar {
        order: 2; /* Sidebar taruh di bawah berita */
        margin-top: 30px;
    }
}

/* --- TESTIMONI SLIDER --- */

.kartu-testi {
    background: white;
    padding: 30px;
    border-radius: 10px;       /* Sudut membulat */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); /* Bayangan halus */
    border-top: 4px solid #f1c40f; /* Aksen Kuning di atas */
    height: 100%; /* Agar tinggi kartu rata */
}

.kutipan {
    font-size: 1.1em;
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Menambahkan tanda kutip besar sebelum teks */
.kutipan::before {
    content: "“";
    font-size: 3em;
    color: #009147; /* Warna Hijau */
    font-family: serif;
    line-height: 0;
    vertical-align: -10px;
    margin-right: 5px;
}

.profil-testi {
    display: flex;
    align-items: center;
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.profil-testi img {
    width: 50px;
    height: 50px;
    border-radius: 50%; /* Foto jadi bulat */
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid #009147;
}

.info-tokoh h4 {
    margin: 0;
    font-size: 1em;
    color: #006400;
    font-weight: bold;
}

.info-tokoh span {
    font-size: 0.85em;
    color: #888;
}

/* Styling Pagination Testimoni */
.swiper-pagination-testi .swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
}
.swiper-pagination-testi .swiper-pagination-bullet-active {
    background: #009147; /* Hijau aktif */
    width: 20px;
    border-radius: 5px;
    transition: 0.3s;
}

/* --- AGENDA SECTION --- */

/* Grid Layout: 3 Kolom di Laptop, 1 Kolom di HP */
.agenda-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Desain Kartu Agenda */
.agenda-card {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    display: flex; /* Menyamping: Kiri Tanggal, Kanan Teks */
    overflow: hidden;
    transition: 0.3s;
}

.agenda-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #009147;
}

/* Kotak Tanggal di Kiri */
.agenda-date {
    background: #008B8B; /* Hijau Tua */
    color: #fff;
    width: 80px;
    min-width: 80px; /* Agar tidak gepeng */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    text-align: center;
}

.date-num {
    font-size: 2em;
    font-weight: bold;
    color: #f1c40f; /* Angka Kuning */
    line-height: 1;
}

.date-month {
    font-size: 0.8em;
    text-transform: uppercase;
    margin-top: 5px;
}

/* Detail Teks di Kanan */
.agenda-details {
    padding: 20px;
    flex: 1;
}

.agenda-details h3 {
    margin: 0 0 10px 0;
    font-size: 1.1em;
}

.agenda-details h3 a {
    text-decoration: none;
    color: #333;
}

.agenda-details h3 a:hover {
    color: #009147;
}

.meta-agenda {
    font-size: 0.85em;
    color: #666;
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.meta-agenda span {
    display: flex;
    align-items: center;
    gap: 5px; /* Jarak ikon dan teks */
}

/* Ikon Dashicons (Bawaan WP) agar rapi */
.meta-agenda i {
    color: #f1c40f;
}

/* --- HALAMAN SINGLE (DETAIL BERITA) --- */

.main-content-wrapper {
    padding: 40px 20px;
    background: #f4f4f4; /* Latar abu-abu muda biar konten menonjol */
    margin-top : 150px;
}

/* Layout Grid 2 Kolom (70% Kiri, 30% Kanan) */
.row-grid {
    display: grid;
    grid-template-columns: 3fr 1fr; /* 3 bagian vs 1 bagian */
    gap: 40px;
}

/* --- KONTEN UTAMA (KIRI) --- */
.content-area {
    background: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.breadcrumb {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
}
.breadcrumb a { text-decoration: none; color: #009147; }
.breadcrumb .current { color: #999; }

.entry-title {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.2;
}

.entry-meta {
    color: #888;
    font-size: 0.9em;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}
.entry-meta span { margin-right: 15px; }
.entry-meta i { font-size: 14px; vertical-align: middle; }

.featured-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 30px;
}

.entry-content {
    font-size: 1.1em;
    line-height: 1.8; /* Jarak antar baris enak dibaca */
    color: #333;
}
.entry-content p { margin-bottom: 20px; }
.entry-content h2 { color: #006400; margin-top: 30px; }

/* Tag & Author Box */
.entry-tags { margin-top: 30px; font-size: 0.9em; }
.tag-label { font-weight: bold; color: #555; }

.author-box {
    margin-top: 40px;
    padding: 20px;
    background: #f9f9f9;
    border-left: 4px solid #f1c40f;
    display: flex;
    align-items: center;
    gap: 15px;
}
.author-avatar img { border-radius: 50%; }

/* --- SIDEBAR (KANAN) --- */
.sidebar-area .widget {
    background: white;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.widget-title {
    font-size: 1.2em;
    border-bottom: 2px solid #f1c40f;
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #006400;
}

.sidebar-area ul { list-style: none; padding: 0; }
.sidebar-area ul li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}
.sidebar-area ul li a { text-decoration: none; color: #555; }
.sidebar-area ul li a:hover { color: #009147; padding-left: 5px; transition: 0.2s; }

/* Search Widget */
.search-widget form { display: flex; }
.search-widget input { flex: 1; padding: 10px; border: 1px solid #ddd; }
.search-widget button { background: #006400; color: white; border: none; padding: 0 15px; cursor: pointer; }

/* RESPONSIF HP */
@media (max-width: 768px) {
    .row-grid {
        grid-template-columns: 1fr; /* Jadi 1 kolom tumpuk ke bawah */
    }
    .entry-title { font-size: 1.8em; }
}

/* --- FOOTER MODERN --- */

.site-footer {
    background-color: #1a1a1a; /* Hitam Elegan */
    color: #bbb;
    padding-top: 60px;
    margin-top: 50px;
    border-top: 5px solid #009147; /* Garis Hijau di atas */
    font-size: 0.95em;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsif otomatis */
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h3 {
    color: #fff;
    font-size: 1.2em;
    margin-bottom: 20px;
    border-bottom: 2px solid #009147;
    display: inline-block;
    padding-bottom: 5px;
}

/* Sosmed Icons */
.footer-sosmed a {
    display: inline-block;
    width: 35px; height: 35px;
    background: #333;
    color: #fff;
    text-align: center;
    line-height: 35px;
    border-radius: 50%;
    margin-right: 5px;
    transition: 0.3s;
    text-decoration: none;
}
.footer-sosmed a:hover {
    background: #009147;
    transform: translateY(-3px);
}

/* Links List */
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: 0.3s;
}
.footer-links a:hover {
    color: #f1c40f; /* Kuning saat disentuh */
    padding-left: 5px;
}

/* Contact Info */
.contact-info {
    line-height: 1.8;
}
.contact-info .dashicons {
    color: #009147;
    margin-right: 5px;
}

/* Map */
.map-responsive iframe {
    border-radius: 5px;
    filter: grayscale(100%); /* Peta jadi abu-abu biar elegan (opsional) */
    transition: 0.5s;
}
.map-responsive iframe:hover {
    filter: grayscale(0%); /* Jadi berwarna kalau disentuh */
}

/* Copyright Bar */
.copyright {
    border-top: 1px solid #333;
    text-align: center;
    padding: 20px 0;
    font-size: 0.85em;
    color: #666;
}

/* --- HALAMAN KONTAK --- */

.contact-map iframe {
    filter: grayscale(30%); /* Sedikit abu-abu biar keren */
}

.contact-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 0;
    overflow: hidden;
    margin-bottom: 50px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Kiri lebih kecil dari Kanan */
}

/* Kolom Kiri (Hijau) */
.contact-info-col {
    background: #006400; /* Hijau Tua */
    color: white;
    padding: 40px;
}

.contact-info-col h2 { color: #f1c40f; margin-top: 0; }
.contact-info-col p { opacity: 0.8; line-height: 1.6; }

.info-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.info-list li {
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
}

.info-list li .dashicons {
    font-size: 24px;
    width: 24px;
    margin-right: 15px;
    color: #f1c40f;
    margin-top: 5px;
}

/* Kolom Kanan (Form Putih) */
.contact-form-col {
    padding: 40px;
}

.contact-form-col h3 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.contact-form-col .form-group {
    margin-bottom: 20px;
}

.contact-form-col label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.contact-form-col input, 
.contact-form-col select, 
.contact-form-col textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; /* Agar padding tidak melebarkan kotak */
    font-family: inherit;
}

.btn-wa {
    background: #25D366; /* Warna WA */
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-wa:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

/* Responsif HP */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Tumpuk ke bawah */
    }
    .contact-info-col {
        padding: 30px;
    }
    .container {
        margin-top: 0 !important; /* Hilangkan efek melayang di HP */
    }
}

/* =========================================
   HEADER TRANSPARAN GP ANSOR
   ========================================= */

/* 1. Reset Body & HTML agar tidak ada jarak putih di atas */
body, html {
    margin: 0;
    padding: 0;
}

/* 2. Pengaturan Header Utama */
.site-header {
    position: absolute; /* Membuat header mengambang di atas konten */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999; /* Pastikan di atas Slider */
    padding: 20px 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent); /* Gradasi halus agar tulisan terbaca */
    transition: background 0.3s ease;
}

/* 3. Layout Flexbox (Kiri Logo, Kanan Menu) */
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 4. Judul Website / Logo */
.site-title {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.site-title a {
    color: #ffffff; /* Warna Putih */
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); /* Bayangan teks */
}

/* 5. Menu Navigasi */
.menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.menu-list li {
    margin-left: 25px;
}

.menu-list li a {
    color: #ffffff; /* Warna Menu Putih */
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    transition: color 0.3s ease;
}

.menu-list li a:hover {
    color: #f1c40f; /* Warna Kuning Emas saat disentuh */
}

/* =========================================
   PENYESUAIAN ADMIN BAR WORDPRESS
   ========================================= */
/* Jika user login, header turun sedikit agar tidak tertutup bar hitam WordPress */
.admin-bar .site-header {
    top: 32px;
}

/* =========================================
   RESPONSIVE (HP)
   ========================================= */
@media (max-width: 768px) {
    .menu-list {
        display: none; /* Disembunyikan dulu (nanti pakai JS toggle) */
        flex-direction: column;
        background: #006400; /* Hijau Tua Solid untuk menu di HP */
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        padding: 20px;
        border-radius: 0 0 0 10px;
    }

    .menu-list li {
        margin: 10px 0;
    }
    
    .tombol-hamburger {
        display: block; /* Munculkan tombol di HP */
        background: none;
        border: none;
        color: white;
        font-size: 24px;
        cursor: pointer;
    }
}

@media (min-width: 769px) {
    .tombol-hamburger {
        display: none; /* Sembunyikan tombol di Laptop/PC */
    }
}

/* =========================================
   STATS & INTRO SECTION (MIRIP GAMBAR)
   ========================================= */

.stats-intro-section {
    padding: 80px 0;
    background-color: #f8f9fa; /* Abu-abu sangat muda */
    overflow: hidden; /* Biar elemen tidak keluar layar */
}

.stats-grid-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Kiri lebih lebar sedikit dari kanan */
    gap: 60px;
    align-items: center;
}

/* --- TYPOGRAPHY --- */
.section-title-lg {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    color: #333;
    margin-bottom: 20px;
}

.text-green {
    color: #009147; /* Hijau Ansor */
}

.section-desc {
    font-size: 1.15rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 90%;
}

/* --- KARTU STATISTIK (KOTAK PUTIH) --- */
.stats-cards-row {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: #ffffff;
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* Bayangan halus */
    text-align: center;
    min-width: 140px;
    border-bottom: 4px solid #009147; /* Garis Hijau di Bawah seperti gambar */
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px); /* Efek naik saat disentuh */
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #333;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- KOLOM GAMBAR (KANAN) --- */
.stats-image-content {
    position: relative;
}

.main-stats-img {
    width: 100%;
    border-radius: 20px; /* Sudut tumpul */
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Gambar kecil yang menumpuk di pojok (Opsional) */
.floating-img-card {
    position: absolute;
    bottom: -30px;
    left: -40px;
    border: 8px solid white; /* Frame putih tebal */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    width: 220px;
    overflow: hidden;
}

.floating-img-card img {
    width: 100%;
    display: block;
}

.ketua-signature h4 {
    margin: 0;
    color: #006400;
    font-weight: bold;
}
.ketua-signature span {
    font-size: 0.9em;
    color: #777;
}

/* --- RESPONSIF HP --- */
@media (max-width: 768px) {
    .stats-grid-layout {
        grid-template-columns: 1fr; /* Tumpuk ke bawah */
        gap: 40px;
    }
    
    .stats-cards-row {
        flex-wrap: wrap; /* Kartu turun ke bawah jika sempit */
        justify-content: center;
    }

    .stat-card {
        flex: 1 1 120px; /* Lebar fleksibel */
    }

    .section-title-lg {
        font-size: 2rem;
        text-align: center;
    }
    
    .section-desc {
        text-align: center;
        margin: 0 auto 30px auto;
    }

    .floating-img-card {
        display: none; /* Sembunyikan gambar tumpuk di HP biar rapi */
    }
}

/* --- BUTTON DETAIL DI GRID AGENDA --- */
.btn-detail-agenda {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.9em;
    color: #009147;
    font-weight: bold;
    text-decoration: none;
}
.btn-detail-agenda:hover {
    text-decoration: underline;
}

/* --- PAGINATION STYLE (Navigasi Halaman 1, 2, 3) --- */
.pagination-area ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    gap: 10px;
}

.pagination-area ul li a, 
.pagination-area ul li span {
    display: block;
    padding: 10px 15px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: 0.3s;
}

.pagination-area ul li a:hover {
    background: #009147;
    color: white;
    border-color: #009147;
}

/* Halaman yang sedang aktif */
.pagination-area ul li span.current {
    background: #006400; /* Hijau Tua */
    color: white;
    border-color: #006400;
    font-weight: bold;
}