/* ================== TAMPILAN POSTINGAN ================== */
.post-view { max-width: 760px; margin: 0 auto; }
.post-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 22px; border: 1px solid var(--line); margin-bottom: 28px; }
.post-head { margin-bottom: 28px; }
.post-date { display: block; margin-bottom: 10px; color: var(--ink-soft); font-size: .92rem; }
.post-title { font-size: clamp(2rem, 4.5vw, 3rem); color: var(--maroon); overflow-wrap: anywhere; }
.post-body > * + * { margin-top: 1.1em; }
.post-body p { max-width: none; margin-bottom: 0; }

/* Rata teks */
.pc-a-left { text-align: left; }
.pc-a-center { text-align: center; }
.pc-a-right { text-align: right; }
.pc-a-justify { text-align: justify; }

/* Paragraf */
.pc-p { overflow-wrap: anywhere; }
.pc-s-sm { font-size: .9rem; }
.pc-s-md { font-size: 1.0625rem; }
.pc-s-lg { font-size: 1.3rem; line-height: 1.55; }
.pc-s-xl { font-size: 1.75rem; line-height: 1.35; font-family: var(--font-head); font-weight: 600; }
.pc-c-maroon { color: var(--maroon); }
.pc-c-coral { color: var(--coral); }
.pc-c-muted { color: var(--ink-soft); }
.pc-p a { color: var(--maroon); text-decoration: underline; text-underline-offset: 3px; }

/* Judul */
.pc-h { overflow-wrap: anywhere; }
h2.pc-h { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 1.6em; }
h3.pc-h { font-size: 1.4rem; margin-top: 1.4em; color: var(--maroon); }
h4.pc-h { font-size: 1.15rem; margin-top: 1.2em; color: var(--ink); }

/* Gambar */
.pc-fig { margin-left: auto; margin-right: auto; }
.pc-fig img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); }
.pc-fig figcaption { margin-top: 8px; text-align: center; font-size: .88rem; color: var(--ink-soft); }
.pc-w-full { width: 100%; }
.pc-w-medium { width: 70%; }
.pc-w-small { width: 45%; }

/* Daftar */
.pc-list { padding-left: 1.4em; display: grid; gap: .4em; }
.pc-list li::marker { color: var(--coral); }

/* Tabel */
.pc-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.pc-table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.pc-table th { background: var(--maroon); color: var(--cream); text-align: left; padding: 12px 16px; }
.pc-table td { padding: 12px 16px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.pc-table tbody tr:nth-child(even) { background: var(--cream); }

/* Kutipan */
.pc-quote { margin-left: 0; margin-right: 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--coral); }
.pc-quote p { font-family: var(--font-head); font-size: 1.35rem; line-height: 1.45; color: var(--maroon); }
.pc-quote cite { display: block; margin-top: 8px; font-size: .92rem; font-style: normal; color: var(--ink-soft); }

/* Kotak info */
.pc-callout { padding: 18px 22px; border-radius: 16px; border-left: 5px solid var(--maroon); background: var(--beige); }
.pc-callout strong { display: block; margin-bottom: 4px; color: var(--maroon); }
.pc-callout p { margin: 0; }
.pc-callout--penting { background: rgba(212, 80, 96, .12); border-left-color: var(--coral); }
.pc-callout--tips { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--maroon-dark); }

/* Tombol, pemisah, HTML */
.pc-btn { margin-bottom: 0; }
.pc-hr { border: 0; border-top: 2px solid var(--line); margin: 2em 0; }
.pc-html { overflow-wrap: anywhere; }
.pc-html img { max-width: 100%; height: auto; }
.pc-html table { max-width: 100%; }

@media (max-width: 560px) {
  .pc-w-medium { width: 85%; }
  .pc-w-small { width: 60%; }
}