/* Post Full Page */
.post-full {
    padding: 3rem 0;
}

.post-header {
    margin-bottom: 3rem;
}

.post-date {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.post-full .post-title {
    font-size: 2.5rem;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.post-full .post-tags {
    margin-bottom: 2rem;
}

/* === POST CONTENT === */
.post-content {
    max-width: 750px;
    margin: 0 auto;
    display: flow-root; /* penting: stabilkan margin vertikal */
}

.post-content p {
    line-height: 1.8;
    font-size: 1.1rem;
    margin: 0 0 2.0em 0; /* jarak utama antar paragraf */
}

/* napas tambahan antar paragraf berturut-turut */
.post-content p + p {
    margin-top: 0.5em;
}

.post-content p:empty {
    display: none;
}

/* Headings */
.post-content h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-top: 3rem;
    margin-bottom: 1.2rem;
}

.post-content h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

/* Inline code */
.post-content code {
    background: #f0f0f0;
    color: var(--text-primary);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
}

/* Code block */
.post-content pre {
    background: #f5f5f5;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2.5rem 0;
}

.post-content pre code {
    background: none;
    padding: 0;
    color: var(--text-primary);
}

/* Blockquote */
.post-content blockquote {
    border-left: 4px solid var(--accent-blue);
    padding-left: 1.5rem;
    margin: 3rem 0;
    color: var(--text-secondary);
    font-style: italic;
}

/* Lists */
.post-content ul,
.post-content ol {
    margin-left: 2rem;
    margin-bottom: 2rem;
}

.post-content li {
    margin-bottom: 0.7rem;
}

/* Divider */
.post-content hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 4rem 0;
}

/* Signature */
.signature {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
}

.signature strong {
    color: var(--text-primary);
    font-style: normal;
}

/* Footer */
.post-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.back-link a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link a:hover {
    color: var(--accent-blue);
}

.related-posts {
    margin-top: 2rem;
}

.related-posts h3 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.related-posts ul {
    list-style: none;
    margin-left: 0;
}

.related-posts li {
    margin-bottom: 0.5rem;
}

.related-posts a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-posts a:hover {
    color: var(--accent-blue);
}

/* Responsive */
@media (max-width: 768px) {
    .post-full .post-title {
        font-size: 2rem;
    }

    .post-content p {
        font-size: 1rem;
    }

    .post-content h2 {
        font-size: 1.5rem;
    }

    .post-content h3 {
        font-size: 1.2rem;
    }
}
