/* ═══════════════════════════════════════════════════════════════════════════
   Central Kaca Film — gaya halaman Artikel (/blog, /blog/<slug>)
   Dimuat HANYA di halaman blog; style.css situs tidak disentuh. Warna & huruf memakai variabel style.css
   (gelap, merah CKF, navy, Figtree judul + Inter isi). Dipasang ulang 22 Okt 2026 (versi lama 17 Sep 2026 disesuaikan
   dengan tata letak PLAT 7: header sudah membuka <main>, judul memakai .page-hero situs).
   Standar teks SITUNEO: isi ≥ 16 px, tinggi baris 1,7, baris ≤ ±75 huruf, jarak paragraf ≥ 0,75em; tombol "timbul".
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --b-radius: 14px;
  --b-line: rgba(255, 255, 255, .1);
  --b-surface: rgba(255, 255, 255, .04);
  --b-redup: #b3b3b3;   /* teks keterangan: 8,9 : 1 di #111 */
}

.bmerah { color: var(--red-ink, #ff5a66); }
.bseksi { background: var(--dark, #111); padding: 3rem 0 4.5rem; }

/* ── Kepala artikel (di dalam .page-hero situs) ──────────────────────────── */
.bhero-artikel h1 { max-width: 22ch; line-height: 1.2; margin-top: .6rem; }
.bhero-artikel .breadcrumb { flex-wrap: wrap; }
.bhero-artikel .breadcrumb strong { line-height: 1.5; }   /* judul utuh, dibungkus (22 Okt: dipotong "…" = galat teks-terpotong uji_lengkap) */
.bmeta-hero { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; font-size: .9rem; color: rgba(255, 255, 255, .82); }
.page-hero p.bmeta-hero { margin-top: .9rem; max-width: none; }

.bkategori {
  display: inline-block; background: rgba(216, 19, 36, .16); border: 1px solid rgba(255, 90, 102, .45);
  color: #ffb3b9; font-size: .8rem; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
  padding: .25rem .7rem; border-radius: 999px; align-self: flex-start; width: fit-content;
}

/* ── Daftar artikel ──────────────────────────────────────────────────────── */
.bgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.5rem; }
.bkartu {
  background: var(--dark2, #181818); border: 1px solid var(--b-line); border-radius: var(--b-radius); overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.bkartu:hover { transform: translateY(-3px); border-color: rgba(255, 90, 102, .5); box-shadow: var(--shadow, 0 4px 20px rgba(0,0,0,.35)); }
.bkartu:active { transform: translateY(0); }
.bkartu-tautan { display: flex; flex-direction: column; height: 100%; color: inherit; }
.bkartu-tautan:focus-visible { outline: 2px solid var(--white, #fff); outline-offset: -3px; border-radius: var(--b-radius); }
.bkartu-gambar { aspect-ratio: 16 / 9; background: var(--dark3, #1e1e1e); overflow: hidden; }
.bkartu-gambar picture, .bkartu-gambar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bkartu-isi { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.bkartu-isi h2, .bkartu-isi h3 { font-family: var(--font-head); font-size: 1.15rem; font-weight: 800; line-height: 1.35; color: var(--white, #fff); }
.bkartu-isi p { font-size: 1rem; color: var(--gray-light, #ccc); line-height: 1.65; }
.bmeta { font-size: .875rem; color: var(--b-redup); display: flex; gap: .4rem; flex-wrap: wrap; }
.bbaca { margin-top: auto; padding-top: .3rem; font-weight: 700; font-size: .95rem; color: var(--red-ink, #ff5a66); }

/* Artikel terbaru di halaman pertama: kartu lebar (gambar kiri, teks kanan) */
@media (min-width: 769px) {
  .bkartu-utama { grid-column: 1 / -1; }
  .bkartu-utama .bkartu-tautan { flex-direction: row; }
  .bkartu-utama .bkartu-gambar { flex: 0 0 52%; aspect-ratio: auto; min-height: 300px; }
  .bkartu-utama .bkartu-isi { padding: 1.8rem 2rem; justify-content: center; }
  .bkartu-utama h2 { font-size: 1.6rem; }
  .bkartu-utama p { max-width: 52ch; }
}

/* ── Halaman baca ────────────────────────────────────────────────────────── */
.bartikel { max-width: 680px; margin: 0 auto; }
.bartikel-gambar { margin: 0 0 2rem; border-radius: var(--b-radius); overflow: hidden; border: 1px solid var(--b-line); background: var(--dark3, #1e1e1e); }
.bartikel-gambar img { width: 100%; height: auto; display: block; }

.bisi { font-size: 1.0625rem; line-height: 1.75; color: #d9d9d9; }
.bisi > *:first-child { margin-top: 0; }
.bisi h2 {
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; line-height: 1.3; color: var(--white, #fff);
  margin: 2.4rem 0 .8rem; padding-left: .8rem; border-left: 3px solid var(--red, #D81324); scroll-margin-top: 90px;
}
.bisi h3 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--white, #fff); margin: 1.8rem 0 .6rem; scroll-margin-top: 90px; }
.bisi p { margin: 0 0 1.1em; }
.bisi ul, .bisi ol { margin: 0 0 1.3rem 1.3rem; }
.bisi li { margin-bottom: .6rem; }
.bisi a { color: var(--gold, #f1c40f); text-decoration: underline; text-underline-offset: 3px; }
.bisi a:hover { color: var(--white, #fff); }
.bisi strong { color: var(--white, #fff); font-weight: 700; }
.bisi img { max-width: 100%; height: auto; border-radius: 12px; margin: .4rem 0 1.2rem; border: 1px solid var(--b-line); }
.bisi hr { border: none; border-top: 1px solid var(--b-line); margin: 2.2rem 0; }
.bisi blockquote { margin: 0 0 1.3rem; padding: .9rem 1.2rem; border-left: 3px solid var(--gold, #f1c40f); background: var(--b-surface); border-radius: 0 10px 10px 0; }
/* Tabel harga lebih lebar dari kolom teks di HP → digulir sendiri (badan halaman tidak ikut bergeser) */
.bisi .btabel-bungkus { overflow-x: auto; margin: 0 0 1.4rem; border-radius: 10px; border: 1px solid var(--b-line); }
.bisi table { width: 100%; border-collapse: collapse; font-size: 1rem; min-width: 360px; }
.bisi th, .bisi td { border-bottom: 1px solid var(--b-line); padding: .65rem .85rem; text-align: left; }
.bisi tr:last-child td { border-bottom: 0; }
.bisi th { background: rgba(11, 33, 84, .55); color: var(--white, #fff); font-weight: 700; }
.bisi td:last-child, .bisi th:last-child { text-align: right; white-space: nowrap; }
.bisi tbody tr:nth-child(even) { background: rgba(255, 255, 255, .025); }

/* ── Daftar isi ──────────────────────────────────────────────────────────── */
.btoc { background: var(--b-surface); border: 1px solid var(--b-line); border-radius: var(--b-radius); padding: 1.1rem 1.3rem; margin: 0 0 2.2rem; }
.btoc-judul { font-size: .8rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--gold, #f1c40f); margin-bottom: .6rem; }
.btoc ol { margin: 0; padding-left: 1.2rem; }
.btoc li { margin-bottom: .4rem; font-size: 1rem; line-height: 1.5; }
.btoc li.sub { margin-left: 1rem; font-size: .95rem; }
.btoc a { color: var(--gray-light, #ccc); text-decoration: underline; text-decoration-color: rgba(255,255,255,.25); text-underline-offset: 3px; }
.btoc a:hover { color: var(--gold, #f1c40f); }

/* ── Kotak umum ──────────────────────────────────────────────────────────── */
.bbox { background: var(--b-surface); border: 1px solid var(--b-line); border-radius: var(--b-radius); padding: 1.15rem 1.3rem; margin-top: 2rem; }
.bbox-label { font-family: var(--font-head); font-size: .85rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--gray-light, #ccc); }
.bbagikan { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; justify-content: space-between; }
.bbagikan-tautan { display: flex; gap: .5rem; flex-wrap: wrap; }

.bbtn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  background: var(--red, #D81324); color: #fff; font-weight: 700; font-size: .95rem;
  padding: .55rem 1.2rem; border-radius: 10px; border: 1px solid transparent;
  transition: background .15s ease, transform .15s ease, border-color .15s ease;
}
.bbtn:hover { transform: translateY(-2px); }
.bbtn:active { transform: translateY(0); }
.bbtn-garis { background: transparent; border-color: rgba(255, 255, 255, .28); color: var(--gray-light, #ccc); }
.bbtn-garis:hover { background: rgba(255, 255, 255, .07); border-color: var(--gold, #f1c40f); color: var(--white, #fff); }

/* ── Navigasi antar artikel ──────────────────────────────────────────────── */
.bnavart { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.bnavart a { display: flex; flex-direction: column; gap: .3rem; background: var(--b-surface); border: 1px solid var(--b-line); border-radius: var(--b-radius); padding: .95rem 1.1rem; transition: border-color .15s ease, transform .15s ease; }
.bnavart a:hover { border-color: rgba(255, 90, 102, .5); transform: translateY(-2px); }
.bnavart a.kanan { text-align: right; }
.bnavart .ket { font-size: .85rem; color: var(--gold, #f1c40f); font-weight: 700; }
.bnavart .jdl { font-size: 1rem; color: var(--white, #fff); font-weight: 600; line-height: 1.4; }

/* ── Kotak penulis ───────────────────────────────────────────────────────── */
.bpenulis { display: flex; gap: 1rem; align-items: flex-start; }
.bpenulis-foto { flex-shrink: 0; }
.bpenulis-foto img { width: 56px; height: 56px; border-radius: 12px; background: #fff; padding: 4px; object-fit: contain; }
.bpenulis-nama { font-weight: 700; color: var(--white, #fff); font-size: 1.05rem; }
.bpenulis-peran { font-size: .9rem; color: var(--gold, #f1c40f); margin: .1rem 0 .4rem; }
.bpenulis-bio { font-size: 1rem; color: var(--gray-light, #ccc); line-height: 1.65; }

/* ── Ajakan ──────────────────────────────────────────────────────────────── */
.bajakan {
  margin-top: 2.2rem; padding: 1.9rem 1.5rem; text-align: center;
  background: linear-gradient(135deg, rgba(11, 33, 84, .8), rgba(216, 19, 36, .18));
  border: 1px solid rgba(255, 90, 102, .35); border-radius: var(--b-radius);
}
.bajakan h2 { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; color: var(--white, #fff); margin: 0 0 .5rem; }
.bajakan p { color: #dedede; font-size: 1rem; line-height: 1.65; margin: 0 auto 1.2rem; max-width: 52ch; }

/* ── Terkait ─────────────────────────────────────────────────────────────── */
.bterkait { margin-top: 3.4rem; }
.bterkait h2 { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: var(--white, #fff); margin: 0 0 1.2rem; }

/* ── Kosong & halaman ────────────────────────────────────────────────────── */
.bkosong { text-align: center; padding: 3rem 1rem; color: var(--gray-light, #ccc); }
.bkosong-judul { font-size: 1.15rem; font-weight: 700; color: var(--white, #fff); margin-bottom: .5rem; }
.bkosong .btn { margin-top: 1.3rem; }
.bpaging { display: flex; gap: 1rem; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 2.6rem; font-size: 1rem; color: var(--gray-light, #ccc); }
.bpaging a { color: var(--gold, #f1c40f); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }

/* ── Layar kecil ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .bseksi { padding: 2.2rem 0 3.5rem; }
  .bgrid { grid-template-columns: 1fr; }
  .bnavart { grid-template-columns: 1fr; }
  .bnavart a.kanan { text-align: left; }
  .bisi h2 { font-size: 1.3rem; }
  .bbagikan { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .bpenulis { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .bkartu, .bbtn, .bnavart a { transition: none; }
  .bkartu:hover, .bbtn:hover, .bnavart a:hover { transform: none; }
}
