/* 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;
}

/* ======================================================== */
/* 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: transparent;
  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(--accent, #4caf50); /* Gunakan var(--primary) jika tidak ada --accent */
}

/* 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);
  }
}

/* ======================================================== */
/* HERO SECTIONS */
/* ======================================================== */

/* Hero Desain 1 (Bisnis) */
.home-hero {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 120px 0 80px; /* Tambah padding atas agar tidak tertutup header */
}
.hero-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  gap: 40px; /* Jarak antar kolom */
}
.hero-text {
  flex: 1; /* Biarkan teks mengisi ruang */
  min-width: 300px; /* Lebar minimum sebelum wrap */
}
.hero-text h1 {
  font-size: clamp(2rem, 5vw, 2.8rem); /* Ukuran font responsif */
  margin: 0 0 18px;
}
.hero-text p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 25px;
}
.hero-image {
  flex: 1;
  min-width: 300px;
  text-align: center; /* Center image saat wrap */
}
.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* 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: 25px;
}

/* ======================================================== */
/* TOMBOL (BUTTONS) */
/* ======================================================== */
.btn-primary, button, .btn, .wp-block-button__link, .comment-form .submit {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 28px;
    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-dark);
    transform: translateY(-2px);
}

.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 VIDEO CONTAINER (Single Video) */
/* ======================================================== */
.about-video-container { /* <<< Ganti nama class */
    /* --- Layout Diambil dari .about-image --- */
    flex: 1;
    min-width: 300px;
    /* -------------------------------------- */

    position: relative;
    aspect-ratio: 9 / 16; /* <<< Sesuaikan rasio potrait jika perlu */
    /* Atau pakai max-height/height */
    /* max-height: 500px; */

    border-radius: 16px;
    overflow: hidden; /* Penting agar kontrol tidak keluar radius */
    background-color: #e0e0e0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Video Element */
.about-video-element { /* <<< Ganti nama class */
    display: block; /* Hindari spasi bawah */
    width: 100%;
    height: 100%;
    object-fit: cover; /* Agar mengisi container */
	border-radius: 16px;
}

/* Placeholder */
.about-video-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset: 0;
    text-align: center;
    color: var(--muted);
}



/* --- Responsif About (Sesuaikan jika perlu) --- */
@media (max-width: 768px) {
    .about-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .about-video-container, /* <<< Ganti nama class */
    .about-text {
        flex-basis: 100%;
        min-width: auto;
        width: 100%;
    }
     .about-video-container { /* <<< Ganti nama class */
         /* aspect-ratio: 9 / 16; */ /* Sesuaikan */
         /* max-height: 400px; */
     }
}
.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 */
}

/* Responsif About */
@media (max-width: 768px) { /* Ubah breakpoint ke 768px */
  .about-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
}

/* ======================================================== */
/* 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;
  border: 8px solid #fff;
  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);
}

/* Overlay Video */
.gallery-item.video .video-play-overlay {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2; /* Di atas gambar/video */
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.gallery-item.video:hover .video-play-overlay {
    opacity: 1; /* Tetap terlihat saat hover */
}
.video-play-overlay .play-icon-dashicon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb, 46, 125, 50), 0.8); /* Gunakan RGB dari primary jika ada */
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  display: flex; justify-content: center; align-items: center;
  font-size: 24px; /* Sesuaikan ukuran ikon dashicon */
  line-height: 1; /* Reset line height */
  transition: transform 0.3s ease;
}
.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-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 3rem; /* Lebih besar */
    padding: 10px; /* Padding saja cukup */
    cursor: pointer;
    z-index: 10000;
    user-select: none;
    opacity: 0.6;
    transition: opacity 0.2s, background 0.2s;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    width: 50px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
}
.lightbox-nav:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.5);
}
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }

.lightbox-overlay.is-swiping { cursor: grabbing; }

/* Responsif Lightbox */
@media (max-width: 768px) {
    .lightbox-nav {
        font-size: 1.5rem;
        width: 40px; height: 40px;
    }
    .lightbox-nav.prev { left: 10px; }
    .lightbox-nav.next { right: 10px; }
    .lightbox-close { font-size: 2rem; top: 15px; right: 15px; }
}

/* ======================================================== */
/* POSTS SECTION (Homepage Desain 2) */
/* ======================================================== */
.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);
}

/* ================================================= */
/* 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 40px;
}

/* Header Filler (Tetap di belakang konten Hero) */
.header-filler {
    height: 80px; 
    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;
    margin: 30px 0;
}
.share-title {
    font-weight: 700;
    font-size: 0.9rem;
}
.share-link {
    /* Gaya tombol share minimalis */
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    color: var(--text); /* Menggunakan warna teks umum */
    transition: all 0.2s;
}
.share-link:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

/* ================================================= */
/* 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: 0.85rem; color: var(--muted); display: block;
}

/* 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;
}
.reservation-social-links { /* Ikon sosial media */
    margin-top: 30px;
    display: flex; justify-content: center;
    gap: 15px; /* Jarak lebih kecil */
}
.social-icon-link { /* Styling ikon sosial */
    display: inline-flex; align-items: center; justify-content: center;
    width: 45px; height: 45px; /* Sedikit lebih kecil */
    background-color: rgba(0, 0, 0, 0.1); /* Latar default */
    color: inherit; /* Warna ikon */
    font-size: 1.4rem; /* Ukuran ikon */
    text-decoration: none; border-radius: 50%;
    transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}
.social-icon-link:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}
/* Sembunyikan teks screen reader */
.screen-reader-text {
    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: 2rem; }
  .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 */
}

/* ======================================================== */
/* 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 */
/* ======================================================== */
.site-footer {
  background: #111;
  color: #aaa; /* Warna lebih soft */
  text-align: center;
  padding: 20px 0; /* Padding lebih */
  font-size: 0.9rem; /* Sedikit lebih kecil */
}
.site-footer a {
    color: #fff; /* Link lebih terang */
    text-decoration: none;
}
.site-footer a:hover {
    color: var(--primary);
}

/* ======================================================== */
/* UTILITIES */
/* ======================================================== */
.section-title { /* Judul section umum */
  font-size: clamp(1.8rem, 5vw, 2.2rem); /* Responsif */
  margin-bottom: 20px;
  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;
}