/* CSS Dasar Pembaca Artikel Hexa Teknologi */

/* --- Pengaturan Layout Responsif Utama --- */
.article-wrapper {
    background-color: #fcfcfc;
    padding: 60px 20px;
}

.article-main-container {
    max-width: 1200px; /* <--- DI SINI MENGATURNYA (Sebelumnya 800px, sekarang diperlebar) */
    margin: 0 auto; 
    background: #fff; 
    padding: 40px; 
    border-radius: 12px; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* --- Penyesuaian Padding untuk Mobile (HP) --- */
@media (max-width: 768px) {
    .article-wrapper {
        padding: 100px 10px 40px; /* PERBAIKAN: Jarak atas disesuaikan menjadi 140px agar tidak tertutup header */
    }
    .article-main-container {
        padding: 20px 15px; /* Jarak dalam kotak putih diperkecil agar teks tidak kurus */
    }
}

/* --- Breadcrumb SEO --- */
.breadcrumb-seo {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 25px;
    text-align: left;
}
.breadcrumb-seo a {
    color: #7dc02f;
    text-decoration: none;
    font-weight: 500;
}
.breadcrumb-seo a:hover {
    text-decoration: underline;
    color: #669c26;
}
.breadcrumb-seo span.separator {
    margin: 0 8px;
    color: #bdc3c7;
}

/* --- Desain Konten Artikel --- */
.article-content {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333333;
    line-height: 1.8;
    font-size: 17px;
}
.article-content p {
    margin-bottom: 20px;
    text-align: justify;
}
.article-content h2 {
    color: #2c3e50;
    font-size: 26px;
    margin-top: 40px;
    margin-bottom: 15px;
    border-bottom: 2px solid #7dc02f;
    padding-bottom: 8px;
    display: inline-block;
}
.article-content h3 {
    color: #34495e;
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 12px;
}
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 20px 0;
}
.article-content ul, 
.article-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}
.article-content li {
    margin-bottom: 10px;
}
.article-content blockquote {
    background-color: #f9f9f9;
    border-left: 5px solid #7dc02f;
    padding: 15px 20px;
    margin: 20px 0;
    font-style: italic;
    color: #555;
}

/* --- Desain Related Post (Baca Juga) --- */
.related-posts-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px dashed #ecf0f1;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.related-posts-section h3 {
    color: #2c3e50;
    font-size: 22px;
    margin-bottom: 20px;
    text-align: left;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.related-card {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}
.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.related-card-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    background-color: #f4f4f4;
}
.related-card-content {
    padding: 15px;
}
.related-card-title {
    color: #2c3e50;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
    margin: 0 0 10px 0;
}
.related-card-date {
    color: #95a5a6;
    font-size: 12px;
}