/* =========================================================
   Tipografi isi artikel (.prose)
   Dipakai di halaman baca.php DAN di dalam editor TinyMCE
   (content_css) agar tampilan saat menulis = tampilan di website.
   ========================================================= */
.prose {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: #33405A; font-size: 17px; line-height: 1.8; word-wrap: break-word;
}
body.prose { margin: 16px 24px; background: #fff; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.1em; }
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
  color: #0A2A66; font-weight: 800; line-height: 1.3; margin: 1.6em 0 .6em;
}
.prose h1 { font-size: 1.9em; }
.prose h2 { font-size: 1.5em; }
.prose h3 { font-size: 1.25em; }
.prose h4 { font-size: 1.1em; }
.prose a { color: #1557C0; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: #0A2A66; }
.prose strong, .prose b { color: #0F1B33; }
.prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 1.5em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: .3em 0; }
.prose li::marker { color: #F2AE00; }
.prose blockquote {
  margin: 1.5em 0; padding: 14px 22px; border-left: 4px solid #FFC21A; background: #EEF4FC;
  border-radius: 0 10px 10px 0; color: #0A2A66; font-style: italic;
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose hr { border: 0; border-top: 2px solid #E3E9F3; margin: 2em 0; }
.prose img { max-width: 100%; height: auto; border-radius: 10px; }
.prose figure { margin: 1.5em 0; }
.prose figure.image { display: table; }
.prose figure.image.align-center, .prose figure[style*="margin-left: auto"] { margin-left: auto; margin-right: auto; }
.prose figcaption { display: table-caption; caption-side: bottom; font-size: .85em; color: #7A869E; text-align: center; padding-top: 8px; }
.prose video, .prose iframe { max-width: 100%; border-radius: 10px; border: 0; }
.prose video { height: auto; background: #000; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.prose audio { width: 100%; }
.prose table { border-collapse: collapse; width: 100%; margin: 1.5em 0; font-size: .92em; display: table; }
.prose th, .prose td { border: 1px solid #D5DEEC; padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th, .prose thead td { background: #0A2A66; color: #fff; font-weight: 700; }
.prose tbody tr:nth-child(even) td { background: #F6F9FD; }
.prose pre {
  background: #0F1B33; color: #E3E9F3; padding: 16px 18px; border-radius: 10px; overflow-x: auto;
  font-size: .88em; line-height: 1.6;
}
.prose code { font-family: Consolas, 'Courier New', monospace; font-size: .9em; background: #EEF4FC; padding: 2px 6px; border-radius: 4px; }
.prose pre code { background: none; padding: 0; }
.prose mark { background: #FFE38A; padding: 0 3px; border-radius: 3px; }
/* Tautan file lampiran (PDF, Word, dll.) yang disisipkan lewat tombol "Sisipkan Media" */
.prose a.file-attach {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid #D5DEEC;
  border-radius: 10px; background: #F6F9FD; text-decoration: none; font-weight: 600; color: #0A2A66;
}
.prose a.file-attach::before { content: '📎'; }
.prose a.file-attach:hover { border-color: #0A2A66; background: #EEF4FC; }

@media (max-width: 720px) {
  .prose { font-size: 16px; }
  .prose table { display: block; overflow-x: auto; }
}
