/* Reset Dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Georgia, serif; /* Menggunakan font berkesan tajam & mudah dibaca */
}

body {
    background-color: #fbfbfb;
    color: #2c2c2c;
    line-height: 1.8;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    font-family: 'Segoe UI', sans-serif;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: #d9534f;
    text-decoration: none;
}

.logo span { color: #333; }

.nav-links { display: flex; list-style: none; }

.nav-links li a {
    text-decoration: none;
    color: #555;
    padding: 10px 15px;
    font-weight: 600;
}

.nav-links li a.active { color: #d9534f; }

/* Main Article Layout */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    margin-top: 30px;
    margin-bottom: 60px;
}

.main-article {
    background: #ffffff;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

/* Breadcrumbs */
.breadcrumb {
    font-size: 13px;
    color: #777;
    margin-bottom: 20px;
    font-family: 'Segoe UI', sans-serif;
}

.breadcrumb a {
    color: #555;
    text-decoration: none;
}

/* Header Artikel */
.category {
    background: #d9534f;
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 3px;
    letter-spacing: 1px;
    font-family: 'Segoe UI', sans-serif;
}

.article-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    margin: 15px 0 20px 0;
    color: #111;
}

.article-meta {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 25px;
    font-family: 'Segoe UI', sans-serif;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
}

.author-name {
    display: block;
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

.post-date {
    font-size: 12px;
    color: #888;
}

/* Gambar Utama */
.featured-image {
    margin-bottom: 30px;
}

.featured-image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.image-caption {
    font-size: 13px;
    color: #666;
    text-align: center;
    margin-top: 8px;
    font-style: italic;
    font-family: 'Segoe UI', sans-serif;
}

/* Isi Artikel (Typography) */
.article-body {
    font-size: 18px;
    color: #2b2b2b;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body .lead {
    font-size: 20px;
    font-weight: 500;
    color: #444;
    line-height: 1.6;
}

.article-body h2 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 22px;
    margin: 30px 0 15px 0;
    color: #111;
}

.article-body blockquote {
    background: #fdf2f2;
    border-left: 4px solid #d9534f;
    padding: 15px 20px;
    margin: 25px 0;
    font-style: italic;
    color: #b52b27;
    font-size: 19px;
}

.article-body ul {
    margin: 0 0 20px 20px;
}

.article-body li {
    margin-bottom: 10px;
}

/* Footer Artikel (Tags & Share) */
.article-footer {
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-family: 'Segoe UI', sans-serif;
}

.tags a {
    background: #f1f1f1;
    color: #555;
    text-decoration: none;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    margin-left: 5px;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.share-btn.twitter { background: #1da1f2; }
.share-btn.facebook { background: #4267b2; }
.share-btn.whatsapp { background: #25d366; }

/* Artikel Terkait */
.related-posts {
    margin-top: 40px;
    border-top: 2px solid #333;
    padding-top: 20px;
    font-family: 'Segoe UI', sans-serif;
}

.related-posts h3 {
    margin-bottom: 20px;
}

.related-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.related-card {
    text-decoration: none;
    color: #333;
}

.related-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
}

.related-card h4 {
    font-size: 15px;
    margin-top: 8px;
}

/* Sidebar */
.sidebar .widget {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
    font-family: 'Segoe UI', sans-serif;
}

.widget h4 {
    border-bottom: 2px solid #d9534f;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.latest-widget ul { list-style: none; }
.latest-widget li { margin-bottom: 12px; border-bottom: 1px dotted #ccc; padding-bottom: 8px; }
.latest-widget a { text-decoration: none; color: #444; font-size: 14px; }

.newsletter-widget input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.newsletter-widget button {
    width: 100%;
    padding: 10px;
    background: #d9534f;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

/* Footer Utama */
footer {
    background: #111;
    color: #888;
    padding: 25px 0;
    font-family: 'Segoe UI', sans-serif;
    font-size: 14px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

.socials a { color: #fff; margin-left: 15px; }

/* Responsive untuk Ponsel */
@media (max-width: 850px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
    .article-title {
        font-size: 24px;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
}
