/* ============================= */
/* WRAPPER ARTIKEL               */
/* ============================= */
.article-content {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.8;
  font-size: 16px;
  color: #1f2937;
}

/* ============================= */
/* PARAGRAPH                     */
/* ============================= */
.article-content .lexical__paragraph {
  margin: 0 0 16px;
  padding: 0;
}
.article-content .lexical__paragraph:last-child {
  margin-bottom: 0;
}

/* ============================= */
/* HEADING                       */
/* ============================= */
.article-content .lexical__h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  color: #111827;
  margin: 0 0 20px;
}
.article-content .lexical__h2 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  color: #111827;
  margin: 32px 0 12px;
}
.article-content .lexical__h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: #374151;
  margin: 24px 0 10px;
}

/* ============================= */
/* TEKS FORMATTING               */
/* ============================= */
.article-content .lexical__textBold          { font-weight: 700; }
.article-content .lexical__textItalic        { font-style: italic; }
.article-content .lexical__textUnderline     { text-decoration: underline; }
.article-content .lexical__textStrikethrough { text-decoration: line-through; color: #9ca3af; }
.article-content .lexical__textCode {
  font-family: "Menlo", "Consolas", monospace;
  font-size: 13.5px;
  background: #f1f5f9;
  color: #dc2626;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}

/* ============================= */
/* BLOCKQUOTE                    */
/* ============================= */
.article-content .lexical__quote {
  border-left: 4px solid #d1d5db;
  padding: 12px 16px;
  margin: 20px 0;
  background: #f9fafb;
  color: #4b5563;
  font-style: italic;
  border-radius: 0 4px 4px 0;
}
.article-content .lexical__quote p {
  margin: 0;
}

/* ============================= */
/* LIST FIX — TAILWIND PREFLIGHT */
/* Preflight set: list-style:none*/
/* padding:0; margin:0 pada ul   */
/* Wajib pakai !important        */
/* ============================= */
.article-content ul.lexical__ul {
  list-style-type: disc !important;
  padding-left: 1.75rem !important;
  margin: 0 0 16px !important;
}
.article-content ol.lexical__ol {
  list-style-type: decimal !important;
  padding-left: 1.75rem !important;
  margin: 0 0 16px !important;
}
.article-content ul.lexical__ul li.lexical__listItem {
  list-style-type: disc !important;
  display: list-item !important;
  margin-bottom: 6px !important;
  padding-left: 0 !important;
}
.article-content ol.lexical__ol li.lexical__listItem {
  list-style-type: decimal !important;
  display: list-item !important;
  margin-bottom: 6px !important;
  padding-left: 0 !important;
}

/* ============================= */
/* CODE BLOCK                    */
/* ============================= */
.article-content .lexical__code {
  display: block;
  font-family: "Menlo", "Consolas", monospace;
  font-size: 14px;
  line-height: 1.6;
  background: #1e293b;
  color: #e2e8f0;
  padding: 16px 20px;
  border-radius: 6px;
  margin: 20px 0;
  overflow-x: auto;
  white-space: pre;
}

/* ============================= */
/* LINK                          */
/* ============================= */
.article-content a {
  color: #2563eb;
  text-decoration: none;
}
.article-content a:hover {
  text-decoration: underline;
}

/* ============================= */
/* IMAGE                         */
/* ============================= */
.article-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px 0;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

/* ============================= */
/* HORIZONTAL RULE               */
/* ============================= */
.article-content .lexical__divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 28px 0;
}

/* ============================= */
/* RESPONSIVE                    */
/* ============================= */
@media (max-width: 768px) {
  .article-content {
    font-size: 15px;
  }
  .article-content .lexical__h1 { font-size: 24px; }
  .article-content .lexical__h2 { font-size: 20px; }
  .article-content .lexical__h3 { font-size: 17px; }
}