/* Tampilan situs untuk pengunjung.
   Sengaja tipis: hampir semua warna, jarak, dan ukuran datang dari pengaturan
   tiap blok di builder. Yang ditentukan di sini cuma yang TIDAK boleh diatur
   per blok — lebar halaman, perilaku di layar HP, dan hal-hal yang kalau
   diserahkan ke pengguna cuma akan bikin halaman rusak. */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--pk-latar, #fff);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #212121;
  line-height: 1.55;
}

img, video, iframe { max-width: 100%; }

.pk-halaman { width: 100%; max-width: var(--pk-lebar, 100%); margin: 0 auto; }

/* ---------------------------------------------------------------- latar --- */

.pk-latar { position: relative; }
.pk-redup { position: absolute; inset: 0; pointer-events: none; }
.pk-latar-isi { position: relative; padding-left: 12px; padding-right: 12px; }

/* ---------------------------------------------------------------- teks ---- */

.pk-teks > :first-child { margin-top: 0; }
.pk-teks > :last-child { margin-bottom: 0; }
.pk-teks p { margin: 0; }
.pk-teks a { color: #1565C0; }
.pk-teks ul, .pk-teks ol { margin: 0 0 .6em; padding-left: 1.4em; text-align: left; display: inline-block; }

/* Judul yang diketik DI DALAM blok teks ikut ukuran blok itu, bukan ukuran
   bawaan browser — supaya "ukuran huruf" di panel benar-benar berlaku. */
.pk-teks h1, .pk-teks h2, .pk-teks h3, .pk-teks h4, .pk-teks h5, .pk-teks h6 {
  margin: 0; line-height: 1.25;
}
.pk-teks .pk-baris-kosong { height: 8px; line-height: 8px; margin: 0; overflow: hidden; }
.pk-teks h1 { font-size: 1.533em; } .pk-teks h2 { font-size: 1.19em; }
.pk-teks h3 { font-size: 1.2em; } .pk-teks h4 { font-size: 1.05em; }

.pk-judul { margin: 0; line-height: 1.25; }
h1.pk-judul { font-size: clamp(24px, 5vw, 38px); }
h2.pk-judul { font-size: clamp(20px, 4vw, 30px); }
h3.pk-judul { font-size: clamp(17px, 3.2vw, 23px); }
h4.pk-judul { font-size: clamp(15px, 2.8vw, 19px); }

/* -------------------------------------------------------------- tombol ---- */

.pk-tombol-grup { display: flex; }

.pk-tombol {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; font-weight: 700; cursor: pointer; text-align: center;
  line-height: 1.3; transition: filter .12s, transform .12s;
}
.pk-tombol:hover { filter: brightness(1.06); }
.pk-tombol:active { transform: translateY(1px); }
.pk-tombol-kecil  { padding: 7px 14px;  font-size: 13px; }
.pk-tombol-sedang { padding: 10px 20px; font-size: 15px; }
.pk-tombol-besar  { padding: 14px 28px; font-size: 18px; }
.pk-tombol-ikon { font-size: 1.15em; line-height: 1; }
.pk-tombol-ikon-gbr { width: 1.25em; height: 1.25em; flex: none; object-fit: contain; }
span.pk-tombol { cursor: default; opacity: .85; }

/* ------------------------------------------------------------- bingkai ---- */

.pk-bingkai { position: relative; }

.pk-kolom { display: grid; grid-template-columns: repeat(var(--kolom, 2), minmax(0, 1fr)); }
.pk-kolom-sel { min-width: 0; }

/* -------------------------------------------------------------- media ----- */

.pk-gambar { text-align: center; }
.pk-gambar img { display: inline-block; vertical-align: middle; }

.pk-galeri { display: grid; grid-template-columns: repeat(var(--kolom, 2), minmax(0, 1fr)); }
.pk-galeri-butir { overflow: hidden; }
.pk-galeri-butir img { display: block; width: 100%; }
.pk-galeri-kotak { display: block; position: relative; width: 100%; height: 0; }
.pk-galeri-kotak img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.pk-slide { position: relative; overflow: hidden; }
.pk-slide-rel { position: relative; width: 100%; height: 0; padding-top: var(--rasio, 66%); }
.pk-slide-butir { position: absolute; inset: 0; opacity: 0; transition: opacity .35s; }
.pk-slide-butir.aktif { opacity: 1; }
.pk-slide-butir img { width: 100%; height: 100%; object-fit: cover; }
.pk-slide-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0, 0, 0, .42); color: #fff; border: 0; cursor: pointer;
  width: 38px; height: 38px; border-radius: 50%; font-size: 16px;
}
.pk-slide-nav.kiri { left: 10px; } .pk-slide-nav.kanan { right: 10px; }
.pk-slide-titik-baris { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.pk-slide-titik { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .55); cursor: pointer; padding: 0; }
.pk-slide-titik.aktif { background: #fff; }

.pk-video { position: relative; width: 100%; height: 0; padding-top: var(--rasio, 56.25%); }
.pk-video iframe, .pk-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --------------------------------------------------------------- lain ----- */

.pk-fitur { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--kolom, 1), minmax(0, 1fr)); gap: 8px; }
.pk-fitur-butir { display: flex; gap: 10px; align-items: flex-start; text-align: left; }
.pk-fitur-ikon { flex: none; font-size: 1.1em; line-height: 1.5; }
.pk-fitur-teks { display: flex; flex-direction: column; }
.pk-fitur-teks span { opacity: .8; font-size: .92em; }

.pk-garis-wadah { display: flex; justify-content: center; }
.pk-garis { border: 0; margin: 0; }

.pk-faq-butir { border-bottom: 1px solid rgba(0, 0, 0, .1); padding: 10px 4px; text-align: left; }
.pk-faq-butir summary { cursor: pointer; font-weight: 700; }
.pk-faq-butir > div { padding-top: 8px; opacity: .9; }

.pk-testi-grup { display: grid; grid-template-columns: repeat(var(--kolom, 1), minmax(0, 1fr)); gap: 14px; }
.pk-testi { margin: 0; padding: 16px; background: rgba(0, 0, 0, .035); border-radius: 10px; text-align: center; }
.pk-testi img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.pk-testi-bintang { color: #F9A825; letter-spacing: 2px; }
.pk-testi blockquote { margin: 8px 0; font-style: italic; }
.pk-testi figcaption span { display: block; font-size: .88em; opacity: .7; }

.pk-peta iframe { width: 100%; border: 0; border-radius: 8px; }
.pk-peta-alamat { margin: 10px 0 0; font-size: .95em; }
.pk-peta-tautan { color: #1565C0; }

.pk-form { max-width: 460px; margin: 0 auto; text-align: left; }
.pk-form h3 { margin: 0 0 12px; text-align: center; }
.pk-form-isian { display: block; margin-bottom: 10px; }
.pk-form-isian span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.pk-form input, .pk-form textarea {
  width: 100%; padding: 10px 12px; border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 8px; font: inherit; font-size: 15px; background: #fff;
}
.pk-form button {
  width: 100%; padding: 12px; border: 0; border-radius: 8px; background: #212121;
  color: #fff; font: inherit; font-weight: 700; cursor: pointer;
}
.pk-form-catatan { min-height: 20px; font-size: 13px; margin: 8px 0 0; text-align: center; }

.pk-berkas {
  display: inline-flex; gap: 12px; align-items: center; text-decoration: none; color: inherit;
  padding: 12px 18px; border: 1px solid rgba(0, 0, 0, .15); border-radius: 10px; background: #fff;
}
.pk-berkas-ikon { font-size: 26px; }
.pk-berkas span span { display: block; font-size: .85em; opacity: .7; }

.pk-kosong {
  padding: 22px; text-align: center; color: #9E9E9E; font-size: 14px;
  border: 1px dashed rgba(0, 0, 0, .18); border-radius: 8px; background: rgba(0, 0, 0, .02);
}

.pk-bilah-draf {
  background: #FFF3CD; color: #664d03; text-align: center;
  padding: 8px 12px; font-size: 13px; font-weight: 700;
}

.pk-404 { text-align: center; padding: 80px 20px; }
.pk-404 a { color: #1565C0; }

/* ----------------------------------------------------------------- HP ----- */

@media (max-width: 640px) {
  .pk-kolom:not(.pk-kolom-tetap) { grid-template-columns: 1fr; }
  .pk-bingkai { max-width: 100% !important; }
  .pk-latar-isi { padding-left: 14px; padding-right: 14px; }
  .pk-tombol { max-width: 100%; }
  .pk-tombol span:last-child { overflow-wrap: anywhere; }
}
