/* ============================================================
   Nusantara SEO Engine — Frontend CSS v1.3.0
   Styling artikel: justify, typography, heading, list, dll
============================================================ */

/* ── Konten Artikel Utama ── */
.single .entry-content,
.single .post-content,
.single article .content,
.single .elementor-widget-theme-post-content .elementor-widget-container,
body.single-post .entry-content {
    font-size: 16px;
    line-height: 1.85;
    color: #1a202c;
}

/* Paragraf — justify + spacing */
.single .entry-content p,
.single .post-content p,
.single .elementor-widget-theme-post-content p {
    text-align: justify;
    text-justify: inter-word;
    margin-bottom: 1.4em;
    line-height: 1.85;
    font-size: 16px;
    color: #2d3748;
    hyphens: auto;
    -webkit-hyphens: auto;
}

/* Heading H2 — section utama */
.single .entry-content h2,
.single .post-content h2,
.single .elementor-widget-theme-post-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a202c;
    margin: 2em 0 0.75em;
    padding-bottom: 10px;
    border-bottom: 2px solid #7c3aed;
    line-height: 1.3;
}

/* Heading H3 — sub-section */
.single .entry-content h3,
.single .post-content h3,
.single .elementor-widget-theme-post-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
    margin: 1.6em 0 0.6em;
    padding-left: 12px;
    border-left: 4px solid #7c3aed;
    line-height: 1.4;
}

/* Heading H4 */
.single .entry-content h4,
.single .post-content h4,
.single .elementor-widget-theme-post-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #4a5568;
    margin: 1.4em 0 0.5em;
}

/* Bold — lebih tegas */
.single .entry-content strong,
.single .post-content strong,
.single .elementor-widget-theme-post-content strong {
    font-weight: 700;
    color: #1a202c;
}

/* List — bullet dan numbered */
.single .entry-content ul,
.single .post-content ul,
.single .elementor-widget-theme-post-content ul {
    margin: 0.8em 0 1.4em 0;
    padding-left: 0;
    list-style: none;
}

.single .entry-content ul li,
.single .post-content ul li,
.single .elementor-widget-theme-post-content ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    line-height: 1.7;
    text-align: justify;
    color: #2d3748;
}

.single .entry-content ul li::before,
.single .post-content ul li::before,
.single .elementor-widget-theme-post-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 1px;
    color: #7c3aed;
    font-weight: 700;
    font-size: 14px;
}

/* Ordered list */
.single .entry-content ol,
.single .post-content ol,
.single .elementor-widget-theme-post-content ol {
    margin: 0.8em 0 1.4em 0;
    padding-left: 24px;
    counter-reset: item;
    list-style: none;
}

.single .entry-content ol li,
.single .post-content ol li,
.single .elementor-widget-theme-post-content ol li {
    position: relative;
    padding-left: 12px;
    margin-bottom: 10px;
    line-height: 1.7;
    text-align: justify;
    counter-increment: item;
    color: #2d3748;
}

.single .entry-content ol li::marker,
.single .post-content ol li::marker {
    color: #7c3aed;
    font-weight: 700;
}

/* Blockquote — kutipan / highlight poin penting */
.single .entry-content blockquote,
.single .post-content blockquote,
.single .elementor-widget-theme-post-content blockquote {
    background: #faf5ff;
    border-left: 5px solid #7c3aed;
    border-radius: 0 8px 8px 0;
    margin: 1.8em 0;
    padding: 18px 22px;
    font-size: 16px;
    color: #4a5568;
    font-style: italic;
    line-height: 1.7;
}

.single .entry-content blockquote p,
.single .post-content blockquote p {
    margin: 0;
    text-align: left;
}

/* Highlight box — paragraf CTA atau info penting */
.single .entry-content .nse-highlight,
.single .post-content .nse-highlight {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 1.5em 0;
}

/* Image di artikel */
.single .entry-content img,
.single .post-content img,
.single .elementor-widget-theme-post-content img {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
    margin: 1em 0;
}

/* Link di artikel */
.single .entry-content a,
.single .post-content a,
.single .elementor-widget-theme-post-content a {
    color: #7c3aed;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
    transition: color .15s;
}

.single .entry-content a:hover,
.single .post-content a:hover {
    color: #5b21b6;
}

/* Horizontal rule */
.single .entry-content hr,
.single .post-content hr {
    border: none;
    border-top: 2px solid #e2e8f0;
    margin: 2.5em 0;
}

/* ── Table of Contents ── */
.nse-toc {
    background: #faf5ff;
    border: 1px solid #e9d5ff;
    border-left: 5px solid #7c3aed;
    border-radius: 0 10px 10px 0;
    padding: 20px 24px;
    margin: 28px 0;
    font-size: 15px;
}

.nse-toc-title {
    font-weight: 700;
    font-size: 16px;
    margin: 0 0 14px;
    color: #1a202c;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nse-toc-list {
    margin: 0;
    padding-left: 22px;
    counter-reset: toc-item;
}

.nse-toc-list li {
    margin-bottom: 8px;
    line-height: 1.6;
    font-size: 14px;
}

.nse-toc-list a {
    color: #6d28d9;
    text-decoration: none;
    transition: all .15s;
    border-bottom: 1px dashed transparent;
}

.nse-toc-list a:hover {
    color: #4c1d95;
    border-bottom-color: #7c3aed;
}

/* ── Author Box ── */
.nse-author-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #faf5ff;
    border: 1px solid #e9d5ff;
    border-top: 4px solid #7c3aed;
    border-radius: 10px;
    padding: 24px;
    margin-top: 48px;
}

.nse-author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid #e9d5ff;
    box-shadow: 0 2px 8px rgba(124,58,237,0.12);
}

.nse-author-info { flex: 1; }

.nse-author-label {
    font-size: 11px;
    color: #7c3aed;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
    margin: 0 0 4px;
}

.nse-author-name {
    font-size: 17px;
    font-weight: 700;
    color: #1a202c;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.nse-author-name:hover { color: #7c3aed; }

.nse-author-bio {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.65;
    margin: 0;
    text-align: left;
}

/* ── Mobile Responsive ── */
@media (max-width: 640px) {
    .single .entry-content p,
    .single .post-content p,
    .single .elementor-widget-theme-post-content p {
        font-size: 15px;
        line-height: 1.8;
        text-align: left; /* mobile: kiri lebih nyaman dibaca */
    }

    .single .entry-content h2,
    .single .post-content h2 {
        font-size: 19px;
    }

    .single .entry-content h3,
    .single .post-content h3 {
        font-size: 16px;
    }

    .nse-author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .nse-author-bio { text-align: center; }
}
