/* ==========================================================================
   DESAIN LAYOUT HALAMAN DETAIL ARTIKEL / BERITA LENGKAP
   ========================================================================== */
.article-main-container {
    padding-top: 150px; /* Jarak pas agar tidak tertutup header navigasi */
    padding-bottom: 80px;
    background-color: #f8fafc;
}

.single-article {
    width: 90%;
    max-width: 800px; /* Mempersempit lebar artikel agar teks sangat nyaman dibaca */
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.02);
    border: 1px solid #f1f5f9;
}

/* Navigasi Kecil Petunjuk Jalur */
.breadcrumb {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #198754;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Kategori & Judul */
.article-badge-category {
    display: inline-block;
    background-color: #e0f2fe;
    color: #0369a1;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.article-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f5132;
    line-height: 1.3;
    margin-bottom: 14px;
}

.article-meta {
    font-size: 13px;
    color: #94a3b8;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.meta-item {
    margin-right: 15px;
}

/* Penampung Foto */
.article-featured-image {
    width: 100%;
    margin-bottom: 30px;
}

.article-img-placeholder {
    width: 100%;
    height: 380px;
    background-color: #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-weight: 600;
}

/* Tata Tulis Isi Berita */
.article-content p {
    font-size: 15.5px;
    color: #334155;
    line-height: 1.7;
    margin-bottom: 20px;
}

.article-content h3 {
    font-size: 18px;
    color: #0f5132;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 12px;
}

.article-content ul {
    margin-left: 20px;
    margin-bottom: 25px;
}

.article-content ul li {
    list-style-type: disc;
    font-size: 15px;
    color: #334155;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Desain Komponen Download Lampiran Dokumen */
.download-document-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: #f1f5f9;
    padding: 20px;
    border-radius: 12px;
    margin-top: 40px;
    border: 1px solid #e2e8f0;
}

.doc-icon {
    font-size: 28px;
}

.doc-info {
    flex: 1;
}

.doc-info h5 {
    font-size: 14px;
    color: #1e293b;
    font-weight: 700;
}

.doc-info p {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 0 !important;
}

.btn-download-doc {
    background-color: #198754;
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 18px;
    border-radius: 6px;
}

.btn-download-doc:hover {
    background-color: #0f5132;
    color: #ffffff;
}

/* Bagian Tombol Kembali */
.back-to-home-area {
    margin-top: 50px;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
}

.btn-back {
    color: #198754;
    font-size: 14px;
    font-weight: 700;
}

.btn-back:hover {
    color: #0f5132;
    text-decoration: underline;
}

/* Responsif untuk Layar Kecil Handphone */
@media (max-width: 640px) {
    .single-article {
        padding: 20px;
    }
    .article-title {
        font-size: 22px;
    }
    .article-img-placeholder {
        height: 220px;
    }
    .download-document-box {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}
