/* Variabel Global & Reset Dasar */
:root {
  --rounded: 16px;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.8;
  color: #333; /* Warna teks sedikit digelapkan agar lebih kontras */
  margin: 0;
  
  /* ===== PENGATURAN BACKGROUND BARU ===== */
  background-color: #f0e8d9; /* Warna dasar seperti kertas kuno */
  background-image: url('bg-pattern.png'); /* Memanggil gambar pola */
  background-repeat: repeat; /* Mengulang pola agar menutupi seluruh halaman */
  background-size: 400px; /* Ukuran pola, bisa disesuaikan */
}

/* Layout Utama */
.wrap {
  max-width: 980px;
  margin: 40px auto; /* Menambah margin atas bawah */
  padding: 40px;
  background: rgba(255, 255, 255, 0.9); /* Latar belakang konten semi-transparan */
  border: 1px solid #ddd;
  border-radius: var(--rounded);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1); /* Efek bayangan agar konten terangkat */
}

/* Header & Byline */
header h1 {
  line-height: 1.2;
  margin: 0 0 8px;
  color: #5d4037; /* Warna coklat tua untuk judul */
}

/* ... Sisa dari kode CSS Anda tetap sama ... */

.byline {
  color: #475569;
  margin-bottom: 24px;
}
/* Tags / Kategori */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 24px;
  padding: 0;
  list-style-type: none;
}
.tag {
  background: #e0e0e0;
  border: 1px solid #ccc;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: .85rem;
}
/* Daftar Isi (TOC) */
.toc {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: var(--rounded);
  padding: 16px;
  margin: 24px 0;
}
.toc a {
  color: #0f766e;
  text-decoration: none;
}
.toc a:hover {
  text-decoration: underline;
}
/* Gambar & Keterangan */
figure {
  margin: 24px 0;
  text-align: center;
}
figure img {
  max-width: 100%;
  height: auto;
  border-radius: var(--rounded);
}
figcaption {
  font-size: .9rem;
  color: #64748b;
  margin-top: 6px;
}
/* Struktur Konten */
.section h2 {
    color: #5d4037; /* Judul seksi juga diberi warna coklat tua */
    border-bottom: 2px solid #d7ccc8; /* Garis bawah halus */
    padding-bottom: 8px;
    margin-bottom: 16px;
}
/* Komponen UI */
.card {
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: var(--rounded);
  padding: 18px;
  margin-bottom: 16px;
}
.note {
  background: #e0f2f1;
  border-left: 4px solid #00796b;
  padding: 12px 14px;
  border-radius: 12px;
  margin: 16px 0;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
/* FAQ (Tanya Jawab) dengan <dl> */
#faq dl {
  margin-top: 16px;
}
#faq dt {
  font-weight: bold;
  color: #1e293b;
}
#faq dd {
  margin-left: 0;
  margin-bottom: 12px;
  color: #475569;
}
/* Footer & CTA */
footer {
  margin-top: 36px;
  padding-top: 24px;
  padding-bottom: 24px;
  color: #64748b;
  text-align: center;
  border-top: 1px solid #e2e8f0;
}
.cta {
  display: inline-block;
  background: #0f766e;
  color: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s;
}
.cta:hover {
  background: #0d655d;
}
/* Video Embed */
.embed {
  position: relative;
  padding-top: 56.25%;
  border-radius: var(--rounded);
  overflow: hidden;
  background: #000;
  margin-top: 16px;
}
.embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}