/*
Theme Name: Tema Website Desa Modern
Theme URI: https://lomblen.id
Author: Lomblen.ID
Description: Tema Website untuk Desa Napasabok
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: tema-desa
*/


/* 1. ATURAN GLOBAL: Memaksa SELURUH elemen web tanpa terkecuali menggunakan Lato */
*,
*::before,
*::after {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

/* 2. Pengaturan khusus untuk Body */
body {
    color: #333;
    background-color: #f4f6f9;
    line-height: 1.6;
    /* Membuat teks berita desa lebih nyaman dibaca */
    margin: 0;
    padding: 0;
}

/* 3. Pengaturan khusus untuk semua Judul */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: #004d40;
    /* Warna hijau instansi desa */
    margin-top: 0;
}


/* --- TAMPILAN DESKTOP (LAYAR BESAR) --- */
.header-desa {
    background: #004d40;
    width: 100%;
    margin: 0;
    padding: 15px 0;
}

/* Sembunyikan tombol hamburger SECARA PAKSA di komputer */
.menu-toggle {
    display: none !important;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

/* Menghilangkan bullet point bawaan WordPress secara menyeluruh */
.nav-utama ul,
.nav-utama div>ul {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0;
    padding: 0;
    display: flex !important;
    /* Memaksa menu berjejer horizontal ke samping */
    flex-direction: row !important;
    gap: 20px;
}

/* Menghilangkan titik (bullet) pada setiap item menu */
.nav-utama li {
    list-style: none !important;
    list-style-type: none !important;
    background-image: none !important;
    margin: 0;
    padding: 0;
}

/* Mengatur teks tautan menu agar berwarna putih terang tanpa garis bawah */
.nav-utama ul li a,
.nav-utama div>ul li a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 16px;
    padding: 8px 12px;
    transition: all 0.3s ease;
    border-radius: 4px;
    display: inline-block;
}

/* Efek saat menu disorot (Hover) */
.nav-utama ul li a:hover,
.nav-utama div>ul li a:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}


/* --- TAMPILAN MOBILE (LAYAR HP) --- */
@media (max-width: 768px) {

    /* Munculkan kembali tombol hamburger di HP */
    .menu-toggle {
        display: block !important;
    }

    /* Sembunyikan menu utama di HP sebelum tombol diklik */
    .nav-utama {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #00332c;
        z-index: 999;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    /* Ketika tombol hamburger diklik (aktif) */
    .nav-utama.active {
        display: block !important;
    }

    /* Ubah arah susunan menu menjadi vertikal ke bawah khusus di HP */
    .nav-utama ul,
    .nav-utama div>ul {
        flex-direction: column !important;
        gap: 0;
        padding: 10px 0;
    }

    .nav-utama ul li a,
    .nav-utama div>ul li a {
        display: block !important;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 0;
    }

    .nav-utama ul li:last-child a,
    .nav-utama div>ul li:last-child a {
        border-bottom: none;
    }
}



/* --- DESAIN BANNER HERO DESA --- */
.hero-desa {
    position: relative;
    width: 100%;
    min-height: 450px;
    /* Tinggi banner di komputer */
    /* Ganti tautan di bawah ini dengan URL foto Kantor Desa atau Alam Desa Napasabok nanti */
    background-image: url('https://unsplash.com/photos/landscape-photography-of-mountain-hit-by-sun-rays-78A265wPiO4');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

/* Overlay gelap agar teks putih di atas gambar mudah dan jelas dibaca */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    /* Tingkat kegelapan 55% */
    z-index: 1;
}

/* Memastikan konten teks berada di depan lapisan overlay */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 20px;
    color: #a7ffeb !important;
    /* Warna hijau toska muda yang kontras */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero-content h1 {
    font-size: 48px;
    color: #ffffff !important;
    margin: 0 0 20px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #e0e0e0;
}

/* Pengaturan Tombol Aksi */
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-primary,
.btn-secondary {
    padding: 12px 28px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 16px;
}

.btn-primary {
    background-color: #004d40;
    /* Hijau pekat sesuai header */
    color: #ffffff;
    border: 2px solid #004d40;
}

.btn-primary:hover {
    background-color: #00332c;
    border-color: #00332c;
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #004d40;
}

/* Responsif untuk Layar HP */
@media (max-width: 768px) {
    .hero-desa {
        min-height: 350px;
        /* Lebih pendek di HP */
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        /* Tombol bertumpuk ke bawah di HP */
        gap: 10px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        box-sizing: border-box;
    }
}


/* --- SEKSI INFO TEKS BERJALAN (TICKER) --- */
.ticker-container {
    display: flex;
    align-items: center;
    background: #111111;
    /* Latar belakang hitam pekat seperti contoh gambar */
    width: 100%;
    height: 45px;
    overflow: hidden;
    box-sizing: border-box;
    border-bottom: 2px solid #004d40;
    /* Garis aksen merah di bagian bawah */
}

/* Label INFO berwarna merah di sebelah kiri */
.ticker-title {
    background: #004d40;
    /* Warna merah bendera/instansi */
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 3px 0 5px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* Potongan miring pemisah label merah (efek jajaran genjang di gambar) */
.ticker-title::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 45px 0 0 15px;
    border-color: transparent transparent transparent #004d40;
}

.ticker-icon {
    margin-right: 8px;
    font-size: 16px;
}

/* Area konten teks berjalan */
.ticker-content {
    flex-grow: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-left: 25px;
    /* Memberi ruang agar tidak tertabrak potongan miring */
}

/* Teks putih yang berjalan otomatis */
.ticker-text {
    white-space: nowrap;
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    display: inline-block;
    animation: jalankanTeks 25s linear infinite;
    /* Kecepatan jalan teks (25 detik) */
}

/* Efek berhenti berjalan saat kursor mouse diarahkan ke teks */
.ticker-content:hover .ticker-text {
    animation-play-state: paused;
    cursor: pointer;
}

/* Pergerakan animasi dari luar layar kanan ke luar layar kiri */
@keyframes jalankanTeks {
    0% {
        transform: translate3d(100%, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

/* Optimasi tampilan di layar Handphone */
@media (max-width: 768px) {
    .ticker-container {
        height: 40px;
    }

    .ticker-title {
        font-size: 12px;
        padding: 0 12px;
    }

    .ticker-title::after {
        border-width: 40px 0 0 12px;
        right: -12px;
    }

    .ticker-text {
        font-size: 13px;
        animation: jalankanTeks 18s linear infinite;
        /* Sedikit lebih cepat di layar kecil */
    }
}
/* --- SEKSI LAYANAN DENGAN OPACITY GAMBAR BACKGROUND --- */
.layanan-mini-section {
    position: relative;
    /* Wajib ada sebagai patokan lapisan background */
    width: 100%;
    box-sizing: border-box;
    padding: 50px 0;

    /* Warna gradasi dasar (berada di lapisan paling bawah) */
    background: linear-gradient(135deg, #f5edf7 0%, #faf0f4 40%, #ffffff 100%);
    overflow: hidden;
    /* Mencegah gambar background bocor keluar seksi */
}

/* Membuat lapisan khusus untuk gambar pola agar bisa diatur opacity-nya */
.layanan-mini-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* Panggil gambar pola Anda di sini */
    background-image: url('batik.png');
    background-repeat: repeat;
    background-position: center top;
    background-size: 250px auto;
    /* Kerapatan motif pola */

    /* TENTUKAN TINGKAT TRANSPARANSI DI SINI (0.0 sampai 1.0) */
    opacity: 0.15;
    /* Nilai 0.15 berarti transparansi pola hanya 15% (sangat samar dan elegan) */

    z-index: 1;
    /* Berada di bawah konten teks */
}

/* Memastikan kontainer isi tetap berada di lapisan paling depan dan terlihat tajam */
.layanan-mini-container {
    position: relative;
    z-index: 2;
    /* Menimpa lapisan ::before agar menu tidak ikut pudar */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Mengatur baris grid otomatis memuat hingga 9 kolom jika layar cukup luas */
.layanan-mini-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 12px;
    /* Jarak antar kotak kecil */
}

/* Desain Kartu Kotak Putih Persis Seperti Contoh Gambar */
.layanan-mini-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    /* Sudut melengkung halus */
    padding: 15px 10px;
    text-align: center;
    text-decoration: none !important;
    /* Menghilangkan garis bawah link */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease-in-out;
}

/* Efek interaktif hover tipis saat disentuh mouse */
.layanan-mini-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

/* Desain Area Ikon */
.layanan-mini-icon {
    font-size: 24px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #222;
    /* Warna dasar ikon hitam/gelap */
}

/* Desain Tulisan Menu di bawah Ikon */
.layanan-mini-title {
    font-size: 11px;
    font-weight: 700;
    color: #1a1a1a !important;
    line-height: 1.3;
    display: block;
    word-wrap: break-word;
}

/* --- RESPONSIVE LAYOUT UNTUK BERBAGAI LAYAR --- */

/* Layar Laptop Kecil / Tablet (Maksimal 5 Kolom) */
@media (max-width: 1024px) {
    .layanan-mini-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Layar HP Medium (Maksimal 3 Kolom agar tulisan tidak berantakan) */
@media (max-width: 768px) {
    .layanan-mini-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .layanan-mini-card {
        padding: 12px 8px;
    }

    .layanan-mini-title {
        font-size: 10px;
    }
}

/* Layar HP Kecil (2 Kolom) */
@media (max-width: 480px) {
    .layanan-mini-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- SEKSI SAMBUTAN KEPALA DESA --- */
.sambutan-section {
    background-color: #ffffff;
    /* Latar belakang putih bersih */
    padding: 60px 0;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid #eaeaea;
}

.sambutan-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    /* Membagi menjadi 2 kolom (Desktop) */
    align-items: center;
    gap: 50px;
    /* Jarak antara foto dan teks */
}

/* --- KELOMPOK FOTO (KIRI) --- */
.sambutan-foto-block {
    flex: 0 0 320px;
    /* Mengunci lebar kolom foto sebesar 320px */
    text-align: center;
}

.sambutan-frame {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 4px solid #ffffff;
    outline: 1px solid #e0e0e0;
    background: #f8f9fa;
}

.sambutan-frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.sambutan-nama {
    margin-top: 15px;
}

.sambutan-nama h3 {
    font-size: 18px;
    color: #1a1a1a !important;
    margin-bottom: 2px;
    font-weight: 700;
}

.sambutan-nama p {
    font-size: 14px;
    color: #004d40;
    /* Warna hijau instansi */
    margin: 0;
    font-weight: 600;
}

/* --- KELOMPOK TEKS (KANAN) --- */
.sambutan-teks-block {
    flex: 1;
    /* Kolom teks otomatis memenuhi sisa ruang */
}

.sambutan-sub {
    font-size: 13px;
    font-weight: 700;
    color: #d32f2f;
    /* Warna merah aksen sesuai dengan ticker info */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 5px;
}

.sambutan-teks-block h2 {
    font-size: 32px;
    color: #004d40;
    margin-bottom: 15px;
    line-height: 1.3;
}

.sambutan-garis {
    width: 60px;
    height: 4px;
    background: #004d40;
    margin-bottom: 25px;
    border-radius: 2px;
}

.sambutan-teks-block p {
    font-size: 16px;
    color: #4a4a4a;
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: justify;
}

.sambutan-ttd {
    margin-top: 25px;
    font-size: 15px;
}

.sambutan-ttd p {
    margin-bottom: 5px;
}

/* --- RESPONSIVE UNTUK LAYAR HP --- */
@media (max-width: 768px) {
    .sambutan-container {
        flex-direction: column;
        /* Kolom menumpuk ke bawah di HP */
        gap: 30px;
    }

    .sambutan-foto-block {
        flex: 0 0 auto;
        width: 260px;
        /* Sedikit diperkecil di HP agar proporsional */
    }

    .sambutan-teks-block h2 {
        font-size: 24px;
        text-align: center;
    }

    .sambutan-garis {
        margin: 0 auto 20px auto;
        /* Garis bergeser ke tengah di HP */
    }

    .sambutan-sub {
        text-align: center;
    }
}

/* --- SEKSI BERITA DESA --- */
.berita-section {
    background-color: #f4f6f9;
    /* Latar belakang abu-abu kontras */
    padding: 60px 0;
    width: 100%;
    box-sizing: border-box;
}

.berita-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.berita-header {
    text-align: center;
    margin-bottom: 45px;
}

.berita-header h2 {
    font-size: 30px;
    color: #004d40;
    margin-bottom: 10px;
}

.berita-garis-tengah {
    width: 50px;
    height: 4px;
    background: #d32f2f;
    /* Aksen merah serasi dengan ticker */
    margin: 0 auto 15px auto;
    border-radius: 2px;
}

.berita-header p {
    color: #666;
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto;
}

/* Susunan Grid Berita 3 Kolom */
.berita-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Desain Kotak Kartu Artikel */
.berita-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.berita-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
}

/* Pembungkus Gambar */
.berita-thumb {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

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

.berita-card:hover .berita-thumb img {
    transform: scale(1.05);
    /* Gambar sedikit membesar saat di-hover */
}

/* Label Kecil di Atas Gambar */
.berita-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: #004d40;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 3px;
    text-transform: uppercase;
}

/* Konten Teks di Bawah Gambar */
.berita-meta-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.berita-date {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}

.berita-meta-content h3 {
    font-size: 18px;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.berita-meta-content h3 a {
    color: #222 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.berita-meta-content h3 a:hover {
    color: #004d40 !important;
}

.berita-meta-content p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    /* Menyamakan posisi tombol bawah */
}

/* Tautan Selengkapnya */
.berita-link-baca {
    font-size: 13px;
    font-weight: 700;
    color: #d32f2f !important;
    text-decoration: none !important;
    transition: transform 0.2s ease;
    display: inline-block;
}

.berita-link-baca:hover {
    text-decoration: underline !important;
}

.berita-kosong {
    grid-column: span 3;
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    color: #666;
}

/* --- RESPONSIVE LAYOUT --- */
@media (max-width: 992px) {
    .berita-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 Kolom di Tablet */
    }

    .berita-kosong {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .berita-grid {
        grid-template-columns: 1fr;
        /* 1 Kolom penuh di HP */
        gap: 20px;
    }

    .berita-kosong {
        grid-column: span 1;
    }

    .berita-header h2 {
        font-size: 24px;
    }
}

/* --- SEKSI FOOTER 3 KOLOM --- */
.site-footer {
    background-color: #111111;
    /* Hitam pekat agar senada dengan ticker info */
    color: #b0bec5;
    /* Teks abu-abu terang agar tidak menusuk mata */
    padding: 60px 0 0 0;
    width: 100%;
    box-sizing: border-box;
    border-top: 4px solid #004d40;
    /* Garis pembatas atas hijau instansi */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Membagi 3 Kolom sama rata */
    gap: 40px;
}

.footer-column h3 {
    color: #ffffff !important;
    /* Judul kolom putih bersih */
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-garis-bawah {
    width: 40px;
    height: 3px;
    background: #d32f2f;
    /* Aksen merah serasi dengan ticker info */
    margin-bottom: 20px;
    border-radius: 2px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* List Kontak */
.footer-kontak-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-kontak-list li {
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Navigasi Link Menu Footer */
.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav ul li {
    margin-bottom: 8px;
}

.footer-nav ul li a {
    color: #b0bec5 !important;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-nav ul li a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

/* Tombol Media Sosial */
.footer-medsos-icons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.medsos-link {
    display: inline-block;
    color: #ffffff !important;
    background: #222222;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s ease;
    border: 1px solid #333;
}

.medsos-link:hover {
    background: #004d40;
    /* Berubah hijau saat disorot */
    border-color: #004d40;
}

/* Area Hak Cipta (Copyright) Baris Terakhir */
.footer-copyright {
    background: #0a0a0a;
    padding: 20px 20px;
    text-align: center;
    border-top: 1px solid #1a1a1a;
}

.footer-copyright p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* --- RESPONSIVE FOOTER DI LAYAR HP --- */
@media (max-width: 768px) {
    .site-footer {
        padding-top: 40px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        /* Menjadi 1 kolom bertumpuk di HP */
        gap: 30px;
        padding-bottom: 30px;
    }

    .footer-column {
        text-align: center;
    }

    .footer-garis-bawah {
        margin: 0 auto 15px auto;
        /* Geser garis aksen ke tengah */
    }

    .footer-kontak-list li {
        justify-content: center;
    }
}

/* --- SEKSI APARATUR DESA CAROUSEL --- */
.aparat-section {
    background-color: #ffffff;
    padding: 60px 0;
    width: 100%;
    box-sizing: border-box;
}

/* Pengunci layout agar swiper wajib berjejer ke samping, bukan ke bawah */
.swiper {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;
    z-index: 1;
}

.swiper-slide {
    flex-shrink: 0;
    height: 100%;
    position: relative;
    transition-property: transform;
}

.aparat-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.aparat-header {
    text-align: left;
    /* Teks rata kiri seperti contoh gambar Anda */
    margin-bottom: 40px;
}

.aparat-sub {
    font-size: 13px;
    font-weight: 700;
    color: #e65100;
    /* Garis jingga/merah tipis di atas judul */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-right: 40px;
}

/* Membuat garis horizontal oranye kecil di samping teks "TEAM/APARAT" */
.aparat-sub::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 30px;
    height: 2px;
    background: #e65100;
}

.aparat-header h2 {
    font-size: 28px;
    color: #1a252f;
    /* Hitam pekat peform */
    margin: 5px 0 0 0;
    text-transform: uppercase;
    font-weight: 700;
}

/* Komponen Kartu (Card) */
.aparat-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Bayangan soft di sekeliling kotak */
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease;
}

.aparat-card:hover {
    transform: translateY(-5px);
}

/* Bagian Wadah Foto */
.aparat-thumb {
    width: 100%;
    height: 280px;
    /* Menyeragamkan tinggi foto semua pegawai */
    overflow: hidden;
    background: #f8f9fa;
}

.aparat-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Foto otomatis memotong rapi di tengah tanpa melar */
}

/* Bagian teks nama jabatan di bawah foto */
.aparat-info {
    padding: 20px 15px;
    text-align: left;
}

.aparat-info h3 {
    font-size: 16px;
    color: #1a252f !important;
    margin: 0 0 5px 0;
    font-weight: 700;
}

.aparat-info p {
    font-size: 13px;
    color: #888888;
    /* Warna abu-abu teks jabatan */
    margin: 0;
    font-weight: 400;
}

/* Kustomisasi titik bullet swiper agar berwarna hijau instansi */
.swiper-pagination-bullet-active {
    background: #004d40 !important;
    width: 20px;
    border-radius: 4px;
}