/* ============================================================
   PROSE: Rich content styling untuk artikel insight
   Diterapkan pada: .prose (Frontend) dan Editor Styles
   ============================================================ */

/* BASE PROSE */
.prose,
.editor-styles-wrapper {
  color: #374151;
  line-height: 1.75;
  font-size: 1rem;
  max-width: none;
  font-family: 'Roboto', sans-serif !important;
}

/* Headings */
.prose h1, .editor-styles-wrapper h1,
.prose h2, .editor-styles-wrapper h2,
.prose h3, .editor-styles-wrapper h3,
.prose h4, .editor-styles-wrapper h4,
.prose h5, .editor-styles-wrapper h5,
.prose h6, .editor-styles-wrapper h6 {
  color: #111827;
  font-weight: 800;
  line-height: 1.25;
  margin-top: 2em;
  margin-bottom: 0.75em;
}

.prose h1, .editor-styles-wrapper h1 { font-size: 2.25em; margin-top: 0; }
.prose h2, .editor-styles-wrapper h2 { font-size: 1.5em; }
.prose h3, .editor-styles-wrapper h3 { font-size: 1.25em; }
.prose h4, .editor-styles-wrapper h4 { font-size: 1.1em; }
.prose h5, .editor-styles-wrapper h5 { font-size: 1em; }
.prose h6, .editor-styles-wrapper h6 { font-size: 0.9em; color: #6b7280; }

/* Editor Title Parity */
.editor-post-title__input {
  font-family: 'Roboto', sans-serif !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.2 !important;
}

/* Paragraphs */
.prose p, .editor-styles-wrapper p {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

/* Lists */
.prose ul, .editor-styles-wrapper ul {
  list-style-type: disc;
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-left: 1.625em;
}

.prose ol, .editor-styles-wrapper ol {
  list-style-type: decimal;
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-left: 1.625em;
}

.prose li, .editor-styles-wrapper li {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.prose li p, .editor-styles-wrapper li p {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

/* Bold & Italic */
.prose strong, .editor-styles-wrapper strong { font-weight: 700; color: #111827; }
.prose em, .editor-styles-wrapper em { font-style: italic; }

/* Links */
.prose a, .editor-styles-wrapper a {
  color: #016e8d;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}
.prose a:hover, .editor-styles-wrapper a:hover { color: #015a72; }

/* Blockquote */
.prose blockquote, .editor-styles-wrapper blockquote {
  border-left: 4px solid #016e8d;
  padding: 0.75em 1.25em;
  margin: 1.75em 0;
  background: #f0f9ff;
  border-radius: 0 0.5rem 0.5rem 0;
  color: #1e3a4c;
  font-style: italic;
}

/* Images */
.prose img, .editor-styles-wrapper img {
  border-radius: 0.75rem;
  max-width: 100%;
  height: auto;
}

/* Editor Width */
.wp-block {
    max-width: 800px;
}
