/* MazmoTheme v1.8 main CSS */

/* ======================================================== */
/* VARIABLES & BASE STYLES */
/* ======================================================== */
:root {
  --primary: #2e7d32;
  --primary-dark: #235d28;
  --text: #111;
  --muted: #6b6b6b;
  --bg-light: #fafafa;
  /* Tambahkan variabel dari Customizer jika perlu, misal: */
  /* --header-bg: #fff; */
  /* --header-text-transparent: #fff; */
  /* --header-text-scrolled: #222; */
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background-color: #fff; /* Fallback jika Customizer belum diset */
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: color 0.2s ease;
}

a:hover {
  text-decoration: none;
  
  opacity: 0.8; /* Sedikit pudar saat hover */
}

.wrap, .container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.wrapper_all {
  
  gap: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* ======================================================== */
/* HEADER */
/* ======================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 10px 0;
  transition: background 0.4s ease, color 0.4s ease, box-shadow 0.3s ease;
  /*background-color: var(--header-bg-default);*/
  /*color: var(--header-text-transparent, #fff); /* Default putih */
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.site-branding img {
  max-height: 60px;
  width: auto;
  display: none; /* Sembunyikan semua logo by default */
}
.site-branding .light-logo {
  display: block; /* Tampilkan logo terang saat transparan */
}
.site-header.scrolled .light-logo {
  display: none;
}
.site-header.scrolled .dark-logo {
  display: block; /* Tampilkan logo gelap saat discroll */
}

/* Navigasi Utama */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.main-nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 20px;
}

.main-nav a {
  color: inherit;
  font-weight: 500;
  transition: color 0.3s ease;
  text-decoration: none !important; /* Force no underline */
}

.main-nav a:hover {
  color: var(--primary);
}

/* Efek Scroll Header */
.site-header.scrolled {
  /*background: var(--header-bg, #fff); /* Default putih */
  /*color: var(--header-text-scrolled, #222); /* Default hitam */
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.site-header.scrolled .nav-toggle span {
  background: var(--header-text-scrolled, #222); /* Sesuaikan warna hamburger */
}

/* Hamburger Menu Toggle */
.nav-toggle {
  display: none; /* Sembunyi di desktop */
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border: none;
  background: none;
  cursor: pointer;
  width: 30px;
  height: 25px;
  padding: 0;
}

.nav-toggle:hover,
.nav-toggle:focus,
.nav-toggle:active {
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}

.nav-toggle span {
  width: 100%;
  height: 3px;
  background: currentColor; /* Ambil warna dari .site-header */
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Header Responsif */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex; /* Tampilkan hamburger di mobile */
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--header-bg, #fff); /* Background saat mobile terbuka */
    color: var(--header-text-scrolled, #222); /* Warna teks saat mobile terbuka */
    display: none;
    flex-direction: column;
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  }

  .main-nav.open {
    display: flex; /* Tampilkan menu saat di-toggle */
  }

  .main-nav ul {
      flex-direction: column; /* Tumpuk item menu */
      gap: 15px;
  }

  /* Animasi Hamburger */
  .nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

.section-widget {
  position: relative;
  padding: 70px 0;
}

.section-widget .overlay-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.section-widget {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.section-widget .widget-text {
  text-align: left !important;
}
.section-widget .container {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}

.widget-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.widget-text h2 {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  margin-top: 0;
  margin-bottom: 20px;
  font-weight: 700; /* Lebih tebal */
}

/* TEXT 60% */
.widget-text {
  flex: 1;
  max-width: 60%;
  text-align: left !important;
}

/* GAMBAR 40% */
.widget-image {
  flex: 1;
  max-width: 40%;
}

.widget-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* MOBILE */
@media (max-width: 768px) {
  .widget-wrapper {
    flex-direction: column;
  }

  .widget-text,
  .widget-image {
    max-width: 100% !important;
    flex: 0 0 100%;
  }
}


/* ======================================================== */
/* HERO DESAIN 1 (FINAL - SUDAH DIGABUNG & DIPERBAIKI) */
/* ======================================================== */

/* 1. Kontainer Section Utama */
/* Mengatur tinggi penuh dan centering vertikal */
/* 1. Kontainer Section Utama */
section.home-hero.des1-hero {
    min-height: 100vh; /* <<< JADIKAN 100% TINGGI LAYAR */
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px; /* <<< PENTING: JANGAN HAPUS, untuk jarak dari header */
    padding-bottom: 40px;
    box-sizing: border-box;
}

/* 2. Wrapper Grid Konten (di dalam .wrap) */
.des1-hero .hero-grid {
    display: flex;
    align-items: center; /* Menyejajarkan kolom teks & slider */
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px; /* Jarak antar kolom (desktop) */
    position: relative;
    z-index: 2;
    width: 100%; /* Grid mengisi .wrap */
    /* Hapus min-height dari sini, karena section sudah mengatur tinggi */
}

/* 3. Kolom Teks (Desktop) */
.des1-hero .hero-text {
    flex: 1; /* Fleksibel */
    min-width: 320px; /* Lebar minimum sebelum wrap */
    max-width: 60%; /* Proporsi 60% */
    padding-right: 20px; /* Jarak ke slider */
    box-sizing: border-box;
}

/* ======================================================== */
/* HERO DESAIN 1 - SLIDER COLUMN & SLIDER STYLING */
/* ======================================================== */

/* 1. Kolom Slider (Desktop) */
.des1-hero .hero-slider-column {
    flex: 1; /* Fleksibel */
    min-width: 320px; /* Lebar minimum sebelum wrap */
    max-width: 40%; /* Proporsi 40% */
    box-sizing: border-box;
    padding: 0px; /* <<< Padding DI DALAM KOLOM (membuat slider lebih kecil) */
}

/* 2. Styling Swiper Container (Slider) */
.hero-slider-des1 {
    width: 100%; /* Slider mengisi 100% dari kolom (yang sudah dipadding) */
    aspect-ratio: 4 / 3; /* <<< RASIO LANDSCAPE 4:3 (Tidak terlalu panjang) */
    border-radius: 12px;
    overflow: hidden; /* Penting untuk memotong gambar */
    position: relative;
    -webkit-transform: translateZ(0); /* Paksa clipping */
            transform: translateZ(0);
    box-shadow: none !important; /* Pastikan tidak ada shadow */
    
}

/* 3. Wrapper & Slide Internal */
.hero-slider-des1 .swiper-wrapper,
.hero-slider-des1 .swiper-slide {
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
}

/* 4. Gambar di dalam slide */
.hero-slider-des1 .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Pastikan gambar mengisi */
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
}

/* 5. Tombol Navigasi (Lingkaran Transparan) */
.hero-slider-des1 .swiper-button-prev,
.hero-slider-des1 .swiper-button-next {
    background-color: rgba(255, 255, 255, 0.8); /* Background lingkaran */
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    cursor: pointer;
    
    opacity: 0; /* Sembunyi default */
    visibility: hidden;
    transition: background-color 0.2s, opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
    
    margin-top: calc(0px - (48px / 2)); /* Centering vertikal */
}

/* Tampilkan lingkaran saat container di-hover */
.hero-slider-des1:hover .swiper-button-prev,
.hero-slider-des1:hover .swiper-button-next {
    opacity: 0.7; /* Opacity saat muncul */
    visibility: visible;
}

/* Hover di atas lingkaran */
.hero-slider-des1 .swiper-button-prev:hover,
.hero-slider-des1 .swiper-button-next:hover {
    background-color: rgba(255, 255, 255, 0.95);
    opacity: 0.95;
    transform: scale(1.05);
}

/* Hapus ikon panah di dalamnya */
.hero-slider-des1 .swiper-button-prev::after,
.hero-slider-des1 .swiper-button-next::after {
    content: '' !important;
    display: none !important;
}

/* Posisi lingkaran */
.hero-slider-des1 .swiper-button-prev { left: 25px; } /* Disesuaikan dengan padding 20px */
.hero-slider-des1 .swiper-button-next { right: 25px; } /* Disesuaikan dengan padding 20px */


/* 6. Pagination Dots */
.hero-slider-des1 .swiper-pagination-bullet {
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0.8;
    transition: background-color 0.2s, opacity 0.2s;
}

.hero-slider-des1 .swiper-pagination-bullet-active {
    background-color: var(--primary);
    opacity: 1;
}

.hero-slider-des1 .swiper-pagination {
    bottom: 25px !important; /* Disesuaikan dengan padding 20px */
}

/* 5. Styling Teks H1/P (Desktop) */
.hero-text h1 {
    font-size: clamp(2.2rem, 6vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: inherit;
    margin-top: 0;
    margin-bottom: 15px;
}

.hero-text p {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    font-weight: 400;
    line-height: 1.3;
    color: inherit;
    margin-top: 0;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: 0; /* Rata kiri di desktop */
    margin-right: 0;
}

/* ======================================================== */
/* HERO DESAIN 1 (RESPONSIVE / MOBILE) */
/* ======================================================== */
@media (max-width: 768px) {

    /* 1. Kontainer Section (Mobile) */
  section.home-hero.des1-hero {
        min-height: 100vh; /* <<< JADIKAN 100% TINGGI LAYAR */
        padding-top: 20px; /* (Biarkan 80px atau sesuaikan) */
        padding-bottom: 0px;
    }

    /* 2. Grid (Mobile) */
    .des1-hero .hero-grid {
         gap: 20px; /* Jarak tumpukan (teks ke slider) */
         justify-content: center;
    }

    /* 3. Kolom (Mobile) - Menjadi 1 tumpukan */
    .des1-hero .hero-text,
    .des1-hero .hero-slider-column {
        flex: 0 0 100%; /* Lebar penuh */
        max-width: 100%;
        padding-right: 0;
    }

    /* 4. Kolom Teks (Mobile) - PERBAIKAN GAP */
    .des1-hero .hero-text {
        text-align: center;
        margin-bottom: 0; /* Dihapus (gap sudah diatur di hero-grid) */
        margin-top: 0; /* <<< KUNCI: Hapus margin-top: 90px/70px */
    }
    
    /* 5. Kolom Slider (Mobile) */
    .des1-hero .hero-slider-column {
        padding: 0 0px; /* Padding slider di mobile (opsional) */
		margin-top:10px;
    }

    /* 6. Font (Mobile) */
    .hero-text h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .hero-text p {
        font-size: clamp(0.95rem, 3vw, 1.05rem);
        line-height: 1.6;
        margin-bottom: 30px;
        max-width: 90%;
        margin-left: auto; /* Center text block */
        margin-right: auto;
    }
}

/* Hero Desain 2 (Resto Slider) */
.hero-resto {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--hero-height, 100vh); /* Tinggi bisa diatur dari Customizer */
  min-height: 400px; /* Tinggi minimum */
  overflow: hidden;
  color: var(--hero-text-color, #fff); /* Default putih */
}
.hero-resto .hero-slider {
  position: absolute; inset: 0;
  height: 100%; width: 100%;
  z-index: 1;
}
.hero-resto .slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-resto .slide.active { opacity: 1; }
.hero-resto::before { /* Overlay gelap */
  content: '';
  position: absolute; inset: 0;
  background: var(--hero-overlay-color, rgba(0,0,0,0.45)); /* Bisa diatur dari Customizer */
  z-index: 2;
}
.hero-resto .hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  text-align: center;
  padding: 30px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.4); /* Background semi-transparan untuk kontras teks */
}
.hero-resto .hero-content h1 {
  font-size: clamp(2rem, 6vw, 2.7rem);
  line-height: 1.2;
  margin: 0 0 10px;
}
.hero-resto .hero-content p {
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  line-height: 1.4;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.95);
}
/* Styling for Hero Slider Arrows */
.des2-prev, .des2-next {
  position: absolute;
  top: 50%;
  
  background: rgba(0, 0, 0, 0.35); /* Base background */
  color: #fff; /* Base text color */
  border: none;
  padding: 10px 14px;
  font-size: 22px;
  border-radius: 6px;
  cursor: pointer;
  z-index: 6;
  opacity: 0.7; /* Make slightly transparent initially */
  /*transition: background 0.2s ease, opacity 0.2s ease, transform 0.2s ease; Add transitions */
}

/* --- HOVER STATE --- */
.des2-prev:hover,
.des2-next:hover {
  background: rgba(0, 0, 0, 0.6); /* Darken background on hover */
  opacity: 1; /* Make fully opaque on hover */
  /* Optional: Add a slight scale effect */
  /* transform: translateY(-50%) scale(1.05); */
}

/* Positioning (already in your CSS, keep as is) */
.des2-prev { left: 18px; }
.des2-next { right: 18px; }

/* Wrapper Tombol Hero */
.hero-buttons-wrap {
    display: flex;
    flex-wrap: wrap; /* Izinkan wrap di mobile */
    justify-content: center;
    gap: 15px;
    margin-top: 45px;
}

/* ======================================================== */
/* TOMBOL (BUTTONS) */
/* ======================================================== */
.btn-primary, button, .btn, .wp-block-button__link, .comment-form .submit {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 5px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    transition: background 0.2s ease, transform 0.2s ease;

}
.btn-primary:hover, button:hover, .btn:hover, .wp-block-button__link:hover, .comment-form .submit:hover {
    background: var(--primary);
    transform: translateY(-2px);
	opacity: 0.85;
}

.btn-secondary {
    display: inline-block;
    padding: 10px 24px; /* Sedikit lebih kecil paddingnya */
    border-radius: 28px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
    color: #fff; /* Default putih, cocok untuk hero gelap */
    border: 2px solid currentColor; /* Border ambil warna teks */
    text-align: center;
}
.btn-secondary:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}

/* Responsif Tombol Hero */
@media (max-width: 600px) {
    .hero-buttons-wrap {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
        padding: 0 40px;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
    }
}

/* ======================================================== */
/* ABOUT SECTION */
/* ======================================================== */
.about-section {
  padding: 80px 0;
  /* Background diatur inline via PHP */
  position: relative; /* Untuk overlay */
}
.about-section .overlay-bg {
    position: absolute; inset: 0; z-index: 2;
    /* Warna overlay diatur inline via PHP */
}
.about-section .container {
    position: relative; z-index: 3;
}
.about-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap; /* Wrap di layar kecil */
}
.about-image {
  flex: 1; /* Lebar fleksibel */
  min-width: 300px; /* Lebar minimum */
}
.about-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.about-text {
  flex: 1.2; /* Teks sedikit lebih lebar */
  min-width: 300px;
  color: inherit; /* Ambil warna dari section style */
}
.about-text h2 {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  margin-top: 0;
  margin-bottom: 20px;
  font-weight: 700; /* Lebih tebal */
}
.about-text p {
  font-size: 1rem;
  line-height: 1.7; /* Sedikit lebih lega */
}
.about-media-column { /* <<< Ganti/Tambahkan class ini */
    flex: 1; /* Lebar fleksibel (sama seperti .about-image sebelumnya) */
    min-width: 300px; /* Lebar minimum */
    /* Mungkin perlu set max-width jika flex: 1; agar tidak terlalu besar */
    max-width: 40%; 
}

/* Wrapper untuk Video Responsif */
.about-video-wrapper.responsive-iframe-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* Rasio 16:9 ( (9 / 16) * 100% ) */
    /* Untuk rasio lain: 4:3 -> 75%, 1:1 -> 100% */
    border-radius: 16px; /* Samakan radius */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1); /* Samakan shadow */
    background-color: #000; /* Background hitam saat loading */
}

.about-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0; /* Pastikan tidak ada border */
}

/* Placeholder jika tidak ada video */
.about-image-placeholder img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
/* Responsif About */
@media (max-width: 768px) {
    .about-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .about-media-column, /* <<< Ganti/Tambahkan class ini */
    .about-text {
        flex-basis: 100%;  /* <<< BUAT BASIS LEBARNYA 100% */
        width: 100%;       /* <<< PASTIKAN LEBARNYA 100% */
        max-width: 100%;   /* <<< HAPUS BATASAN MAX-WIDTH DARI DESKTOP */
        min-width: auto;   /* <<< HAPUS BATASAN MIN-WIDTH DARI DESKTOP */
    }
}

/* ======================================================== */
/* LAYANAN / FEATURES SECTION (Revisi Kolom Grid) */
/* ======================================================== */
.layanan-section {
    padding: 80px 0;
    position: relative;
    /* Background diatur inline */
}

.layanan-grid {
    display: grid;
    /* DEFAULT (Mobile): 1 kolom */
    grid-template-columns: 1fr;
    gap: 24px;
}

/* DESKTOP: Ubah ke 2 kolom */
@media (min-width: 769px) { /* Mulai dari tablet ke atas */
    .layanan-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 kolom */
    }
}

/* Styling Item (tidak berubah dari CSS Anda sebelumnya) */
.layanan-item {
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(10,10,10,0.04);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    /* Background item diatur inline */
}
.layanan-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(10,10,10,0.08);
}
.layanan-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
    display: inline-block;
}
.layanan-item h3 {
    font-size: 1.2rem;
    margin: 10px 0;
}
.layanan-item p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ======================================================== */
/* GALLERY SECTIONS (Utama & Menu) */
/* ======================================================== */
.gallery-section {
    padding: 80px 0;
    position: relative; /* Untuk overlay */
    /* Background diatur inline */
}
.gallery-section .overlay-bg {
    position: absolute; inset: 0; z-index: 2;
    /* Warna overlay diatur inline */
}
.gallery-section .wrap {
    position: relative; z-index: 3;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px; /* Gap sedikit lebih besar */
}

/* Styling Item Galeri (Rasio 1:1) */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
 
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* Shadow sedikit lebih soft */
  transition: box-shadow 0.3s ease;
}
.gallery-item::before { /* Membuat kotak rasio 1:1 */
  content: "";
  display: block;
  padding-top: 100%;
}
.gallery-item a { /* Link mengisi kotak */
  position: absolute; inset: 0;
  display: block;
  border-radius: 8px; /* Pindahkan radius ke sini */
  overflow: hidden; /* Pindahkan overflow ke sini */
  z-index: 1; /* Di bawah overlay */
}
.gallery-item img,
.gallery-item video { /* Gambar/Video mengisi link (BUKAN ABSOLUTE) */
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.gallery-item:hover {
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}
.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.05);
}


.gallery-item.video:hover .video-play-overlay {
    opacity: 1; /* Tetap terlihat saat hover */
}
.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background: rgba(0, 0, 0, 0.5); /* Latar belakang semi transparan */
    padding: 20px 30px;  /* Ukuran oval, bisa disesuaikan */
    border-radius: 50%; /* Membuat oval */
    display: flex;       /* Menjaga elemen di dalamnya tetap sejajar */
    align-items: center; /* Vertikal center */
    justify-content: center; /* Horizontal center */
}

.play-icon-fas {
    font-size: 40px;    /* Ukuran ikon */
    color: white;       /* Warna ikon */
    z-index: 3;         /* Menjaga ikon tetap di atas */
}

.gallery-item.video:hover .play-icon-dashicon {
  transform: scale(1.1);
}

/* Tombol Load More */
.gallery-loadmore-wrap {
    text-align: center;
    margin-top: 40px; /* Jarak lebih besar */
}

/* Kelas untuk menyembunyikan item load more */
.load-more-hidden {
    display: none !important;
}

/* ======================================================== */
/* GALLERY SECTIONS (Responsif Mobile) */
/* ======================================================== */

/* Aturan dasar gallery-grid (sudah ada di CSS Anda) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Desktop bisa > 2 kolom */
    gap: 20px;
}

/* KHUSUS Mobile & Tablet Kecil: Paksa jadi 2 kolom */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* << KUNCI PERUBAHAN DI SINI */
        gap: 15px; /* Mungkin kurangi jarak antar item di mobile */
    }
}
/* ======================================================== */
/* LIGHTBOX */
/* ======================================================== */
.lightbox-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: pointer; /* Cursor default pointer */
}
.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    cursor: default; /* Konten tidak bisa di-close dengan klik */
}
.lightbox-content img,
.lightbox-content video {
  display: block; /* Hindari spasi bawah */
  max-width: 100%;
  max-height: 90vh; /* Batasi tinggi */
  width: auto; /* Biarkan lebar menyesuaikan */
  height: auto; /* Biarkan tinggi menyesuaikan */
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.lightbox-close { /* Ganti nama class dari JS Anda jika perlu */
  position: absolute;
  top: -35px; /* Pindah ke atas konten */
  right: -10px;
  background: none; border: none;
  color: #fff;
  font-size: 2.5rem; /* Lebih besar */
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }

/* ======================================================== */
/* LIGHTBOX NAVIGATION ARROWS (Revisi Centering v2) */
/* ======================================================== */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%); /* Center box secara vertikal */
    z-index: 10000;
    cursor: pointer;
    user-select: none;

    /* --- Container Styling (Lingkaran) --- */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);

    /* --- Styling Teks/Ikon --- */
    color: #fff;
    font-size: 1.8rem; /* <<< SESUAIKAN UKURAN IKON INI */
    text-align: center; /* Center secara horizontal */

    /* --- KUNCI: Centering Vertikal (Cara Klasik) --- */
    line-height: 50px; /* <<< SAMAKAN DENGAN 'height' */
    /* Hapus Flexbox */
    /* display: flex; */
    /* align-items: center; */
    /* justify-content: center; */
    /* ------------------------------------------ */

    /* --- Efek --- */
    opacity: 0.7;
    transition: opacity 0.2s, background-color 0.2s;
}

.lightbox-nav:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.6);
}

/* Posisi */
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }

/* Responsif Lightbox Arrows */
@media (max-width: 768px) {
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem; /* <<< Sesuaikan ukuran ikon mobile */
        line-height: 40px; /* <<< SAMAKAN DENGAN 'height' mobile */
    }
    .lightbox-nav.prev { left: 10px; }
    .lightbox-nav.next { right: 10px; }
}

/* ======================================================== */
/* POSTS SECTION (Homepage Desain 2) */
/* ======================================================== */

/* Wrapper image landscape */
.post-thumbnail-in-content {
    width: 100%;
    aspect-ratio: 16 / 9;  /* Landscape fix */
    border-radius: 14px;
    overflow: hidden;
    margin: 30px 0;
    display: block;
}

/* Link trigger tetap full */
.post-thumbnail-in-content a {
    width: 100%;
    height: 100%;
    display: block;
}

/* Jadi landscape crop, tidak gepeng */
.post-thumbnail-in-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;        /* crop landscape */
    object-position: center;  /* fokus tengah */
    display: block;
}


.des2-posts {
    padding: 80px 0;
    /* Background diatur inline */
}
.des2-posts .section-title {
    text-align: center;
    margin-bottom: 40px;
}
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsif */
    gap: 30px; /* Gap lebih besar */
}
.post-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex; /* Untuk konten di bawah */
    flex-direction: column;
}
.post-item:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}
.post-thumbnail-link {
    display: block;
    padding-top: 60%; /* Rasio 16:9 atau 5:3 */
    position: relative;
    overflow: hidden;
    background-color: #e0e0e0; /* Warna placeholder */
}
.post-item img,
.post-placeholder { /* Gabungkan img dan placeholder */
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.post-placeholder {
    color: #757575;
    display: flex; justify-content: center; align-items: center;
    font-size: 0.9rem; font-weight: 600;
}
.post-item:hover img,
.post-item:hover .post-placeholder {
    transform: scale(1.05);
}
.post-item .post-content {
    padding: 20px; /* Padding seragam */
    flex-grow: 1; /* Konten mengisi sisa ruang */
}
.post-item h3 {
    font-size: 1.15rem;
    line-height: 1.4;
    margin: 0;
}
.post-item h3 a {
    color: var(--text);
    text-decoration: none;
}
.post-item h3 a:hover {
    color: var(--primary);
}
/* ======================================================== */
/* PORTFOLIO SECTION (Homepage Grid) */
/* ======================================================== */
.portfolio-section {
    padding: 80px 0;
    background-color: var(--bg-light, #fafafa); /* Atau warna lain */
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.portfolio-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.portfolio-thumbnail-link {
    display: block;
    position: relative;
    padding-top: 75%; /* Rasio 4:3. Ganti ke 100% untuk 1:1 (persegi) */
    background-color: #e0e0e0;
}

.portfolio-thumbnail-link img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Teks di bawah */
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 60%); /* Overlay gelap di bawah */
    opacity: 1; /* Selalu terlihat */
    transition: background 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
     background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 60%);
}
.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-title { /* h3 */
    color: #fff;
    font-size: 1.6rem;
    margin: 0 0 5px 0;
    transform: translateY(10px); /* Efek geser sedikit */
    transition: transform 0.3s ease;
	line-height:1.3;
}

.portfolio-view-icon { /* span dashicon */
    color: #fff;
    font-size: 1.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.portfolio-item:hover .portfolio-title,
.portfolio-item:hover .portfolio-view-icon {
    transform: translateY(0);
    opacity: 1;
}

/* Sembunyikan link galeri tambahan (Sangat Penting) */
.hidden-lightbox-links {
    display: none;
    visibility: hidden;
}

/* Responsif Grid (opsional, sesuaikan) */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}
@media (max-width: 600px) {
    .portfolio-grid {
        grid-template-columns: 1fr; /* 1 kolom di mobile */
    }
}
/* ======================================================== */
/* SINGLE PORTFOLIO PAGE (single-portofolio.php) */
/* ======================================================== */

/* WRAPPER GRID */
.portfolio-grid-2col {
    display: grid;
    grid-template-columns: 1fr; /* Mobile = 1 kolom */
    gap: 40px;
}

/* DESKTOP = 2 kolom */
@media (min-width: 992px) {
    .portfolio-grid-2col {
        grid-template-columns: 1fr 1fr; /* 2 kolom */
        align-items: start;
    }
}

.portfolio-col {
    width: 100%;
}

.col-left .entry-title-page {
    margin-top: 0;
}

.col-right .gallery-grid {
    margin-top: 15px;
}

/* Judul untuk galeri di halaman detail */
h2.portfolio-detail-gallery-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 30px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 8px;
    display: inline-block;
}

/* Penyesuaian grid galeri di halaman detail (opsional) */
.portfolio-detail-gallery {
    /* Anda bisa override jumlah kolom di sini jika mau */
    /* grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); */
}
/* ================================================= */
/* SINGLE POST*/
/* ================================================= */

.single-hero-section {
    position: relative;
    padding-top: 100px; 
    padding-bottom: 50px;
    background-size: cover;
    background-position: center;
    color: #fff;
    min-height: 500px; 
    z-index: 10; 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
    align-items: center; 
    text-align: center;
}

/* KUNCI PERBAIKAN: Tambahkan TITIK untuk class selector */
.hero-overlay { 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Overlay berada di atas background (z-index: 10), tapi di bawah konten */
    z-index: 15; 
}

.hero-content-wrap {
    /* KUNCI: Harus memiliki z-index tertinggi agar teks terlihat */
    position: relative; 
    z-index: 20; 
    
    max-width: 900px; 
    padding: 0 20px;
}

/* Header Filler (Tetap di belakang konten Hero) */
.header-filler {
    height: 63px; 
    width: 100%;
    position: absolute;
    top: 0;
    z-index: 16; /* Di bawah semua elemen Hero */
}

.single-hero-section .entry-title {
    font-size: 2.5rem;
    line-height: 1.1; 
}

/* --- Tambahkan ini ke bagian CSS Anda --- */

/* Wrapper untuk menata tombol berdampingan */
.hero-buttons-wrap {
    display: flex;
    justify-content: center;
    gap: 15px; /* Jarak antara tombol */
    margin-top: 25px; /* Jarak dari deskripsi */
}

/* ================================================= */
/* BREADCRUMB STYLING (Single Post Hero)             */
/* ================================================= */

.single-hero-section .yoast-breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9); 
}


.single-hero-section .yoast-breadcrumb a {
    color: #fff; 
    text-decoration: none;
}


.single-hero-section .yoast-breadcrumb a:hover {
    color: rgba(255, 255, 255, 0.8);
    opacity: 1; 
}

.single-post-main-wrapper {
    margin-top: 0; 
    padding-top: 0; 
    padding-bottom: 60px;
    
    display: flex; 
    gap: 30px; 
    max-width: 1200px; 
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    z-index: 20;
    position: relative;
}

/* --- KOLOM KONTEN UTAMA (KIRI) --- */
.main-content-column {
    flex: 1; 
    min-width: 0; 
    /* KUNCI: Efek nabrak ada di container luar kolom konten */
    margin-top: -80px; 
}

/* KUNCI: INNER WRAPPER KONTEN (Mendapatkan Shadow/Background) */
.content-inner {
    background: #fff; 
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
    padding: 50px; /* Padding diterapkan ke inner wrapper */
    z-index: 1;
    position: relative;
}
.article-container {
    padding: 0; 
}

/* --- KOLOM SIDEBAR (KANAN) --- */
.single-sidebar-column {
    flex: 0 0 300px; 
    padding-top: 50px; /* Jarak dari bawah Hero Section yang tidak ditabrak */
}

/* KUNCI: INNER WRAPPER SIDEBAR (Mendapatkan Shadow/Background) */
.sidebar-inner {
    position: sticky; 
    top: 20px; 
    padding: 20px; 
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
}


/* --- GAYA KONTEN DAN META --- */
.post-info-wrap {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #ddd;
    display: flex;
    flex-wrap: wrap; 
    gap: 5px 15px;
}
.post-info-separator {
    color: #ccc;
    font-weight: 300;
}
.post-thumbnail-in-content {
    margin: 20px 0;
}
.post-thumbnail-in-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* --- RELATED POSTS STYLING --- */
.related-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary);
    border-bottom: 2px solid var(--primary); 
    padding-bottom: 5px;
}
.related-post-grid.two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.related-thumb-wrap img {
    width: 100%;
    height: 150px; 
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 8px;
}
h4.related-post-title {
  margin: 0;
}
/* --- SIDEBAR POST TERBARU STYLING --- */
.sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 5px;
    margin-bottom: 15px;
}
.recent-posts-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.recent-posts-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}
.recent-posts-list li:last-child {
    border-bottom: none;
}
.recent-posts-list li a {
    display: flex;
    align-items: flex-start;
    text-decoration: none;
    color: var(--text);
}
.recent-posts-list img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 10px;
    flex-shrink: 0;
}

/* Gaya Social Share */
.post-share-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-title {
    font-weight: bold;
    margin-right: 10px;
}

.share-link {
    font-size: 18px;
    color: #333;
    text-decoration: none;
}

.share-link:hover {
    color: #0073e6; /* Warna saat hover */
}

.share-link i {
    font-size: 20px; /* Ukuran ikon */
}


/* ================================================= */
/* RESPONSIVE ADJUSTMENTS (FINAL) */
/* ================================================= */
@media (max-width: 991px) {
    
    /* 1. WRAPPER UTAMA (Mengubah ke Tumpukan) */
    .single-post-main-wrapper {
        flex-direction: column; 
        padding-bottom: 30px; /* Kurangi padding bawah */
        padding-left: 0; /* Hapus padding default di wrapper utama */
        padding-right: 0;
    }
    
    /* 2. KOLOM KONTEN UTAMA (KIRI) */
    .main-content-column {
        /* KUNCI: Margin negatif lebih kecil untuk efek nabrak di mobile */
        margin-top: -40px; 
        /* Pastikan elemen ini melebar penuh */
        width: 100%;
        max-width: 100%;
    }

    /* 3. INNER WRAPPER KONTEN (Kotak Putih Konten) */
    .content-inner {
        /* Tambahkan padding horizontal agar konten tidak menempel ke tepi layar */
        padding: 15px 20px; 
        box-shadow: none; /* Hapus shadow di mobile agar tampilan lebih bersih (opsional) */
        /* Jika ingin shadow tetap ada, biarkan box-shadow dan jangan ubah padding di sini */
    }
    .article-container {
        /* Hapus padding yang tidak perlu jika sudah diatur di content-inner */
        padding: 0; 
    }
    
    /* 4. KOLOM SIDEBAR (KANAN) */
    .single-sidebar-column {
        position: static; /* Nonaktifkan sticky */
        order: 3; /* Sidebar di bawah konten */
        padding-top: 0; /* Hapus padding atas yang besar */
        width: 100%;
    }

    /* 5. INNER WRAPPER SIDEBAR (Kotak Putih Sidebar) */
    .sidebar-inner {
        position: static;
        top: auto;
        /* KUNCI: Tambahkan padding horizontal agar sejajar dengan konten utama */
        margin: 0 20px; 
        padding: 15px 20px; 
    }


    /* Related posts di mobile menjadi 1 kolom */
    .related-post-grid.two-column-grid {
        grid-template-columns: 1fr;
    }
}

/* ======================================================== */
/* ARCHIVE PAGES (Category, Tag, Author, Date, Search) */
/* ======================================================== */

/* Hero Section Arsip */
.archive-hero-section {
    padding: 120px 0 60px; /* Padding disesuaikan */
    background-color: var(--primary);
    color: #fff; z-index: 1;
    text-align: center;
}
.archive-hero-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.archive-hero-section .yoast-breadcrumb { /* Breadcrumb */
    font-size: 0.9rem; margin-bottom: 10px; color: rgba(255, 255, 255, 0.9);
}
.archive-hero-section .yoast-breadcrumb a { color: #fff; text-decoration: none; }
.archive-hero-section .yoast-breadcrumb a:hover { opacity: 0.8; }
.archive-title-hero { /* Judul Arsip (H1) */
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin: 0 0 15px; color: #fff; line-height: 1.2;
}
.archive-description-hero { /* Deskripsi Kategori/Tag */
    font-size: 1rem; color: rgba(255, 255, 255, 0.85);
    max-width: 700px; margin: 0 auto; /* Batasi lebar deskripsi */
}

/* Konten Utama Arsip */
.archive-main-wrapper {
    padding-top: 50px; padding-bottom: 60px;
    max-width: 1200px; margin: 0 auto; padding-left: 20px; padding-right: 20px;
}
.archive-post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsif */
    gap: 30px; margin-bottom: 40px;
}
.archive-post-item { /* Mirip .post-item tapi mungkin ada perbedaan kecil */
    background: #fff; border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    display: flex; flex-direction: column;
}
.archive-post-item:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}
.archive-post-item .post-thumbnail-link { /* Wrapper thumbnail */
    display: block; padding-top: 60%; /* Rasio */
    position: relative; overflow: hidden; background-color: #f0f0f0;
}
.archive-post-item .post-thumbnail-link img,
.archive-placeholder { /* Thumbnail atau placeholder */
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
}
.archive-placeholder {
    display: flex; justify-content: center; align-items: center;
    background: #f5f5f5; color: #bbb; font-weight: 600;
}
.category-links { /* Badge Kategori */
    position: absolute; top: 15px; left: 15px; z-index: 5;
    pointer-events: none; /* Agar tidak mengganggu link thumbnail */
}
.category-links a {
    background: rgba(255,255,255,0.9); color: var(--primary);
    padding: 4px 8px; border-radius: 4px;
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
    text-decoration: none; display: inline-block;
    margin-right: 5px; box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    pointer-events: all; /* Aktifkan klik pada badge */
}
.post-content-wrap { /* Konten di bawah thumbnail */
    padding: 20px; flex-grow: 1;
}
.post-content-wrap a { text-decoration: none; color: var(--text); }
.post-content-wrap .entry-title { /* Judul post arsip */
    font-size: 1.2rem; margin: 0 0 10px; line-height: 1.4;
}
.post-content-wrap .entry-meta { /* Tanggal/Author */
    font-size: 12px !important;  color: var(--muted); display: block !important;
}

.custom-meta {
    font-size: 12px !important;
    color: var(--muted) !important;
    display: block !important;
}



/* Pagination */
.archive-pagination { text-align: center; margin-top: 40px; }
.page-numbers {
    display: inline-block; padding: 8px 14px; /* Lebih lebar */
    margin: 0 4px; text-decoration: none;
    border: 1px solid #ddd; border-radius: 4px;
    color: var(--text); background-color: #fff;
    transition: background 0.2s, color 0.2s;
}
.page-numbers:hover,
.page-numbers.current {
    background: var(--primary); color: #fff; border-color: var(--primary);
}
.page-numbers.dots { border: none; background: none; }

/* ================================================= */
/* DEFAULT PAGE STYLES (DISCLAIMER/PRIVACY) REVISI   */
/* ================================================= */

.page-content-wrapper {
    /* Menentukan lebar container tengah */
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 20px 60px 20px;
}

.page-article-container {
    /* KUNCI: Menambahkan Shadow dan Border pada artikel/konten utama */
    background: #fff; /* Pastikan latar belakang putih */
    padding: 30px; /* Tambahkan padding internal agar konten tidak menempel */
    border-radius: 8px;
    
    min-height: calc(100vh - 160px);
    border: 1px solid #e0e0e0; 
    
    /* Shadow tipis */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); 
}

.entry-title-page {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-top: 0; /* Hapus margin atas yang berlebihan */
    margin-bottom: 30px;
    color: var(--text);
}


/* --- RESPONSIVE PAGE --- */
@media (max-width: 600px) {
    .page-content-wrapper {
        /* Hapus padding agar elemen page-article-container menempel di tepi */
        padding: 80px 0; 
    }
    
    .page-article-container {
        /* Hapus shadow dan border di ponsel untuk tampilan lebar */
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 20px 15px; /* Sesuaikan padding agar konten tidak terlalu lebar */
    }
}

/* ======================================================== */
/* COMMENTS */
/* ======================================================== */
#comments, #respond { /* Wrapper area komentar & form */
    margin-top: 50px; padding: 30px;
    background: #f7f7f7; border-radius: 8px;
}
.comments-area h2, #reply-title { /* Judul */
    font-size: 1.4rem; font-weight: 700;
    color: var(--text); margin-top: 0; margin-bottom: 25px;
}
#reply-title small a { font-size: 0.8rem; color: var(--primary); }

.comment-form { /* Form komentar */
    display: flex; flex-wrap: wrap;
    gap: 15px 20px; /* Jarak vertikal & horizontal */
}
.comment-form p { margin: 0; padding: 0; }

.comment-form-author,
.comment-form-email,
.comment-form-url { /* Input Nama, Email, Website */
    flex: 1; /* Biarkan mengisi ruang */
    min-width: calc(50% - 10px); /* Target 2 kolom, kurangi separuh gap */
}
.comment-form-comment,
.comment-form-cookies-consent,
.form-submit { /* Input Komentar, Cookie, Submit */
    flex: 0 0 100%;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%; padding: 12px; /* Padding lebih besar */
    border: 1px solid #ddd; border-radius: 4px;
    box-sizing: border-box; background-color: #fff;
}
.comment-form .submit { /* Tombol Kirim */
    width: auto; padding: 10px 25px;
}

/* Responsif Komentar */
@media (max-width: 600px) {
    .comment-form-author,
    .comment-form-email,
    .comment-form-url {
        min-width: 100%; /* Jadi 1 kolom penuh */
    }
}

/* ======================================================== */
/* CONTACT & RESERVATION SECTION (Homepage Desain 2) */
/* ======================================================== */
.reservation-section {
  position: relative;
  text-align: center;
  padding: 100px 20px; /* Padding lebih kecil */
  /* Background diatur inline */
  background-position: center;
  background-size: cover;
}
.reservation-section .overlay {
  position: absolute; inset: 0; z-index: 1;
  /* Background overlay diatur inline */
}
.reservation-section .container {
  position: relative; z-index: 2;
  max-width: 900px;
}
.reservation-content h2 {
  font-size: clamp(2rem, 5vw, 2.6rem);
  margin-top: 0;
  margin-bottom: 30px;
  color: inherit; font-weight: 700;
}
.reservation-btn { /* Tombol utama */
  padding: 14px 36px;
  font-size: 1.1rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  /* Warna diatur inline */
}
.reservation-extra { /* Teks tambahan */
  margin-top: 25px;
  font-size: 1rem; font-weight: 500;
  color: inherit;
}

/* Styling untuk Social Media Links (Revisi Lebar & Responsif) */
.reservation-social-links {
    margin-top: 40px;
    display: grid; /* Gunakan Grid untuk layout */
    justify-content: center; /* Pusatkan grid items jika ada sisa ruang */
    gap: 15px; /* Jarak antar tombol */

    /* Default (Mobile): 2 kolom */
    grid-template-columns: repeat(2, minmax(140px, 1fr)); /* 2 kolom, lebar min 140px */
}

/* Desktop: Ubah ke layout flex biasa (atau grid 4 kolom jika mau) */
@media (min-width: 769px) {
    .reservation-social-links {
        display: flex; /* Kembali ke flex di desktop */
        flex-wrap: wrap;
        grid-template-columns: none; /* Hapus aturan grid kolom */
        justify-content: center;
        gap: 15px;
    }
}

.social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center; /* <<< BARU: Center ikon & teks di dalam tombol */
    /* width: auto; */ /* Hapus width auto */
    min-width: 140px; /* <<< BARU: Atur lebar minimum seragam */
    padding: 8px 15px;
    background: var(--primary);
    color: inherit;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 25px;
    transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
    gap: 8px;
    box-sizing: border-box; /* Pastikan padding masuk hitungan */
}

.social-icon-link i {
    font-size: 1.2em;
    line-height: 1;
    flex-shrink: 0; /* Mencegah ikon menyusut */
}

.social-link-text {
    font-weight: 500;
    white-space: nowrap; /* Mencegah teks turun baris */
}

.social-icon-link:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Sembunyikan teks screen reader (Tetap sama) */
.screen-reader-text {
    /* ... (kode screen-reader-text tetap sama) ... */
    border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
    height: 1px; margin: -1px; overflow: hidden; padding: 0;
    position: absolute; width: 1px; word-wrap: normal !important;
}

/* Responsif Reservation */
@media (max-width: 768px) {
  .reservation-section { padding: 80px 20px; }
  .reservation-content h2 { font-size: 2.2rem;line-height:1.3; }
  .reservation-btn { padding: 12px 28px; font-size: 1rem; }
}

/* ======================================================== */
/* MAP SECTION (Homepage Desain 2) */
/* ======================================================== */
.des2-map {
    padding: 80px 0; /* Padding lebih besar */
    position: relative; /* Untuk overlay */
    /* Background diatur inline */
}
.des2-map .overlay-bg {
    position: absolute; inset: 0; z-index: 2;
    /* Warna overlay diatur inline */
}
.des2-map .wrap {
    position: relative; z-index: 3;
}
.map-info { /* Info alamat di atas peta */
    margin-bottom: 30px;
    padding: 10px 0;
    text-align: center; /* Center teks */
}
.location-map-title { /* Judul Lokasi */
    font-size: 1.6rem; /* Lebih besar */
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 10px;
    display: flex; align-items: center; justify-content: center; /* Center ikon dan teks */
    gap: 8px;
}
.location-map-title .dashicons {
    font-size: 1.1em; /* Sesuaikan ukuran dashicon */
    line-height: 1;
}
.location-address { /* Teks Alamat */
    font-size: 1rem;
    color: var(--muted);
    margin: 0;
    max-width: 600px; /* Batasi lebar alamat */
    margin-left: auto; margin-right: auto;
}
/* Embed Peta di Homepage */
.des2-map .map-embed {
    border-radius: 8px;
    overflow: hidden; /* Pastikan iframe tidak keluar */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.des2-map .map-embed iframe {
    width: 100%;
    height: 420px; /* <<< Tinggi TETAP untuk Homepage >>> */
    border: 0;
    display: block; /* Hapus spasi bawah */
}
.location-map-title .fa-map-marker-alt {
    /* font-size: 1.1em; */ /* Sesuaikan ukuran jika perlu */
    /* margin-right: 8px; */ /* Sesuaikan jarak jika perlu */
    /* vertical-align: middle; */ /* Atur alignment jika perlu */
}
/* ======================================================== */
/* PAGE KONTAK (page-contact.php) */
/* ======================================================== */
.contact-grid-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 40px;
    align-items: stretch;
}
.contact-details-column,
.contact-map-column {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}
.contact-details-inner-wrapper,
.contact-map-inner-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Styling opsional:
    background-color: #f9f9f9; padding: 25px; border-radius: 8px; border: 1px solid #eee; */
}
.contact-section-title {
    font-size: 1.5rem; margin-top: 0; margin-bottom: 25px; /* Jarak lebih */
    padding-bottom: 10px; border-bottom: 2px solid var(--primary);
    display: inline-block; flex-shrink: 0;
}
.contact-item {
    display: flex; align-items: flex-start;
    margin-bottom: 20px; font-size: 1rem; line-height: 1.6;
}
.contact-item:last-child { margin-bottom: 0; }
.contact-icon {
    font-size: 1.3em; color: var(--primary);
    margin-right: 15px; margin-top: 0.15em;
    width: 25px; text-align: center; flex-shrink: 0;
}
.contact-item > div { flex: 1; min-width: 0; }
.contact-item a {
    color: var(--text); text-decoration: none;
    border-bottom: 1px dashed var(--primary);
    transition: color 0.2s, border-bottom-style 0.2s;
    word-break: break-word;
}
.contact-item a:hover { color: var(--primary); border-bottom-style: solid; }
.contact-item span { color: var(--text); }

/* Peta di Halaman Kontak */
.contact-map-wrapper {
   flex-grow: 1; display: flex; flex-direction: column;
}
/* Selector spesifik untuk halaman kontak */
.page-template-page-contact .map-embed {
    width: 100%;
    flex-grow: 1; /* Peta mengisi sisa tinggi kolom */
    min-height: 350px; /* Tinggi minimum peta kontak */
    border-radius: 8px; overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.page-template-page-contact .map-embed iframe {
    width: 100%;
    height: 100%; /* Iframe mengisi wrapper map */
    min-height: 350px; /* Pastikan iframe juga punya min-height */
    border: 0; display: block;
}

/* Responsif Kontak */
@media (max-width: 768px) {
    .contact-grid-wrapper { gap: 30px; }
    .contact-section-title { font-size: 1.3rem; }
    .page-template-page-contact .map-embed,
    .page-template-page-contact .map-embed iframe {
       min-height: 300px;
    }
}

/* ======================================================== */
/* FOOTER */
/* ======================================================== */

/* Wrapper utama footer */
footer.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 40px 0; /* Rapi atas + bawah */
    margin: 0;
}

/* Bungkus pakai container global */
footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Supaya tidak nempel pinggir layar */
}

/* Grid 3 kolom */
.footer-wrap {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 1fr; /* Navigasi diperkecil */
    gap: 35px;
    align-items: flex-start;
}

/* Judul */
footer.site-footer h3 {
    margin: 0 0 14px;
    font-size: 17px;
    color: var(--footer-text);
}

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

.footer-col li {
    display: flex;
    align-items: center; /* BUKAN start */
    margin-bottom: 8px;
}

/* Ikon */
.footer-col li i {
    font-size: 12px;
    margin-right: 10px;
    color: var(--footer-icon);
}

/* Link */
.footer-col a {
    color: inherit;
    text-decoration: none;
}

/* COPYRIGHT */
.footer-copy {
    background: var(--footer-copy-bg);
    color: var(--footer-copy-text);
    text-align: center;
    padding: 12px 10px;
    font-size: 13px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-wrap {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}


/* Kecilkan semua teks di footer kecuali judul */
.footer-col,
.footer-col ul li,
.footer-col a,
.footer-col p {
    font-size: 13px; /* atau 13px kalau mau lebih kecil */
    line-height: 1.5;
}



/* ======================================================== */
/* SERVICES SECTION (Revisi Layout Ikon & Judul) */
/* ======================================================== */
.services-section {
    padding: 80px 0; /* <<< Samakan padding section */
    background-color: var(--bg-light, #fafafa); /* Background section */
}

.services-grid {
    display: grid;
    gap: 30px;
}

/* Pengaturan Kolom Grid (Desktop) */
.services-grid.columns-2 { grid-template-columns: repeat(2, 1fr); }
.services-grid.columns-3 { grid-template-columns: repeat(3, 1fr); }
.services-grid.columns-4 { grid-template-columns: repeat(4, 1fr); }

/* Styling Item Service */
.service-item {
    background-color: #ffffff; /* <<< Latar item (putih) */
    padding: 25px; /* Sesuaikan padding internal */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    /* Hapus text-align: center dari sini jika ada */
    /* text-align: center; */
    display: flex; /* <<< BARU: Gunakan flex untuk layout internal */
    flex-direction: column; /* <<< BARU: Konten utama menumpuk */
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* --- BARU: Wrapper untuk Ikon dan Judul --- */
.service-header {
    display: flex; /* Sejajarkan ikon dan judul */
    align-items: center; /* Sejajarkan vertikal */
    gap: 15px; /* Jarak ikon dan judul */
    margin-bottom: 15px; /* Jarak ke deskripsi */
}
/* ----------------------------------------- */

.service-icon {
    font-size: 2rem; /* <<< PERKECIL IKON sedikit */
    color: var(--primary);
    line-height: 1;
    flex-shrink: 0; /* Jangan biarkan ikon menyusut */
    /* Hapus margin-bottom jika ada */
    /* margin-bottom: 15px; */
    
    text-align: center; /* Center ikon di lebarnya */
}

.service-title { /* h3 */
    font-size: 1.15rem; /* <<< Sedikit lebih kecil agar pas */
    color: var(--text);
    margin: 0; /* Hapus margin atas/bawah */
    text-align: left; /* <<< BUAT RATA KIRI */
	line-height: 1.3;
}

.service-description { /* p */
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0; /* Hapus margin atas/bawah */
    text-align: left; /* <<< BUAT RATA KIRI */
    flex-grow: 1; /* Biarkan deskripsi mengisi sisa ruang jika perlu */
}

/* Responsif (Mobile: 1 kolom, Tablet: 2 kolom) */
@media (max-width: 991px) {
    /* Tablet: Paksa 2 kolom */
    .services-grid.columns-3,
    .services-grid.columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* --- MOBILE: PAKSA 1 KOLOM --- */
    .services-grid {
        grid-template-columns: 1fr !important; /* <<< PAKSA 1 KOLOM */
        gap: 20px; /* Kurangi gap sedikit di mobile */
    }

    /* --- Pastikan item tidak punya batasan lebar aneh --- */
    .service-item {
        padding: 20px;
        /* Hapus min-width jika ada dari aturan lain */
        min-width: auto !important;
        width: 100% !important; /* Paksa lebar penuh */
        /* Pastikan konten bisa wrap jika perlu */
        overflow-wrap: break-word;
        word-wrap: break-word; /* Fallback */
        -webkit-hyphens: auto; /* Coba bantu pemenggalan kata */
        -moz-hyphens: auto;
        hyphens: auto;
    }

    /* --- (Opsional) Penyesuaian konten di dalam item --- */
    .service-header {
        /* Kembalikan ke tengah jika mau */
        /* justify-content: center; */
    }
    .service-title,
    .service-description {
         /* Kembalikan ke tengah jika mau */
        /* text-align: center; */
    }
     .service-title {
        font-size: 1.4rem; /* Sedikit lebih kecil lagi */
    }
     .service-description {
        font-size: 0.9rem;
    }
}
/* ======================================================== */
/* UTILITIES */
/* ======================================================== */
.section-title { /* Judul section umum */
  font-size: clamp(1.8rem, 5vw, 2.2rem); /* Responsif */
  margin-bottom: 40px;
  margin-top: 0;
  font-weight: 700; /* Lebih tebal */
  text-align: center;
  color: var(--text); /* Default warna teks */
}
.section-sub { /* Subtitle section */
  text-align: center;
  color: var(--muted);
  margin-top: -15px; /* Naik sedikit */
  margin-bottom: 40px;
  max-width: 700px; /* Batasi lebar */
  margin-left: auto; margin-right: auto;
}

/* Fallback jika .wrap tidak ada */
.container {
    max-width: 1200px;
    margin-left: auto; margin-right: auto;
    padding-left: 20px; padding-right: 20px;
}