/* Layout Utama */
:root {
    --label: #e67e22;
}

body {
    font-family: var(--miranda);
}

.single-post-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 0;
}

.blog-main-layout {
    display: flex;
    gap: 50px;
}

.blog-content-area {
    flex: 2;
    min-width: 0;
}

.entry-header {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
    line-height: 1;
}

.entry-header .meta-cat {
    display: flex;
    align-items: center;
    gap: 3px;
    text-transform: capitalize;
    font-size: small;
    font-weight: bold;
}

.entry-header .meta-cat a {
    color:#999;
}

.entry-header .meta-cat .material-icons-outlined {
    font-size: large;
    color: #ccc;
}

.entry-header .entry-title {
    font-size: xx-large;
    line-height: 1.3;
    color: var(--brand-primary);
}

.entry-header .entry-meta {
    font-size: small;
}

.entry-header .meta-author {
    text-transform: capitalize;
}

.entry-header .meta-date {
    font-size: x-small;
    color: #999;
}

@media (max-width: 480px) {
    .entry-header .entry-title {
        font-size: x-large;
    }
}

/* Media */
.post-thumbnail {
    margin-bottom: 30px;
}

.post-thumbnail img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    display: block;
}

.thumbnail-caption {
    font-size: 12px;
    color: #999;
    line-height: 1.3;
    margin-top: 5px;
}

/* Content */
.content-text {
	color: var(--brand-primary);
}

.content-text h2,
.content-text h3 {
	margin: revert;
	font-size: large;
	line-height: 1.5;
}

.content-text p {
    font-size: 17px;
    line-height: 1.6;
	color: #333;
    margin: revert;
}

.content-text p a {
	color: var(--label);
}

/* Footer & Tags */
.entry-footer {
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.tags-links a {
    background: #f1f1f1;
    padding: 4px 10px;
    border-radius: 4px;
    text-decoration: none;
    color: #666;
    display: inline-block;
    margin-bottom: 5px;
}

/* SIDEBAR BLOG */

.blog-sidebar {
    flex: 1;
    position: sticky;
    top: 135px;
    height: fit-content;
    max-width: 300px;
    flex-shrink: 0;
}

.blog-sidebar figure {
    margin: 0;
}

.blog-sidebar figure img {
    width: 100%;
}

@media (max-width: 768px) {
    .blog-main-layout {
        flex-direction: column;
        padding: 0 15px;
    }
    .blog-sidebar {
        max-width: 100%;
    }
    .blog-sidebar figure {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* ---------- RELATED BLOG ---------- */

.blog-related-posts {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #f0f0f0;
}

.related-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #222;
}

/* Murni Grid 6 kolom tanpa campur kode mitra */
.blog-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.blog-related-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
}

.blog-related-card:hover {
    transform: translateY(-5px);
}

.related-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-thumb img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 6px;
}

.related-info {
    padding: 10px 0;
}

.related-post-title {
    font-size: 15px;
    color: var(--brand-primary);
    line-height: 1.3;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 480px) {
    .blog-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}