/*==============================================================
  Standar tipografi konten artikel (post, page, custom content).
  Menata elemen HTML polos hasil editor/AI (h2-h4, p, ul/ol, blockquote,
  img, tabel, dll.) agar punya ritme vertikal & keterbacaan yang nyaman.
  Scope: .content-area & .details (wadah konten di theme Vexon).
==============================================================*/

.content-area,
.details {
    color: #1f2937;
    font-size: 1.0625rem;   /* ~17px */
    line-height: 1.8;
    word-break: break-word;
}

/*==== Paragraf ====*/
.content-area p,
.details p {
    margin: 0 0 1.35rem;
    font-size: 1.0625rem;   /* ~17px, menang atas default theme */
    line-height: 1.8;
    color: #374151;
}

/*==== Heading: jarak atas lega agar antar-bagian tak berdempet ====*/
.content-area h1,
.details h1 {
    font-size: 2rem;
    line-height: 1.25;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
}
.content-area h2,
.details h2 {
    font-size: 1.75rem;
    line-height: 1.3;
    font-weight: 700;
    margin: 2.75rem 0 1rem;
}
.content-area h3,
.details h3 {
    font-size: 1.375rem;
    line-height: 1.35;
    font-weight: 700;
    margin: 2.15rem 0 0.85rem;
}
.content-area h4,
.details h4 {
    font-size: 1.15rem;
    line-height: 1.4;
    font-weight: 700;
    margin: 1.85rem 0 0.7rem;
}
.content-area h5,
.details h5,
.content-area h6,
.details h6 {
    font-size: 1.02rem;
    font-weight: 700;
    margin: 1.5rem 0 0.6rem;
}

/* Elemen pertama di konten tidak perlu jarak atas berlebih */
.content-area > :first-child,
.details article > .heading1 > :first-child,
.details .content-area > :first-child {
    margin-top: 0;
}

/*==== Daftar ====*/
.content-area ul,
.content-area ol,
.details ul,
.details ol {
    margin: 0 0 1.35rem;
    padding-left: 1.6rem;
}
.content-area ul,
.details ul {
    list-style: disc;
}
.content-area ol,
.details ol {
    list-style: decimal;
}
.content-area li,
.details li {
    margin-bottom: 0.5rem;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #374151;
}
.content-area li > ul,
.content-area li > ol,
.details li > ul,
.details li > ol {
    margin: 0.5rem 0 0.5rem;
}

/*==== Tautan ====*/
.content-area a,
.details a {
    color: var(--primary-color, #1E40AF);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.15s ease;
}
.content-area a:hover,
.details a:hover {
    color: var(--secondary-color, #7C3AED);
}

/*==== Kutipan ====*/
.content-area blockquote,
.details blockquote {
    margin: 1.75rem 0;
    padding: 0.85rem 1.25rem;
    border-left: 4px solid var(--primary-color, #1E40AF);
    background: #f8fafc;
    color: #475569;
    font-style: italic;
    border-radius: 0 0.375rem 0.375rem 0;
}
.content-area blockquote p:last-child,
.details blockquote p:last-child {
    margin-bottom: 0;
}

/*==== Gambar & media ====*/
.content-area img,
.details img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.75rem 0;
}
.content-area figure,
.details figure {
    margin: 1.75rem 0;
}
.content-area figcaption,
.details figcaption {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #6b7280;
    text-align: center;
}
.content-area iframe,
.details iframe {
    max-width: 100%;
    margin: 1.75rem 0;
    border-radius: 0.5rem;
}

/*==== Penekanan ====*/
.content-area strong,
.details strong {
    font-weight: 700;
    color: #111827;
}

/*==== Garis pemisah ====*/
.content-area hr,
.details hr {
    border: 0;
    border-top: 1px solid #e5e7eb;
    margin: 2.5rem 0;
}

/*==== Tabel ====*/
.content-area table,
.details table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.75rem 0;
    font-size: 0.95rem;
    display: block;
    overflow-x: auto;
}
.content-area th,
.content-area td,
.details th,
.details td {
    border: 1px solid #e5e7eb;
    padding: 0.6rem 0.85rem;
    text-align: left;
    vertical-align: top;
}
.content-area th,
.details th {
    background: #f9fafb;
    font-weight: 600;
}
