/* Wrapper & Container */
.article-detail-wrapper {
    padding: 20px 0 50px 0; /* Ubah padding-top menjadi lebih kecil (20px) */
    background-color: #FFFFFF;
    font-family: 'Nunito', sans-serif;
}

.article-container {
    max-width: 760px; /* Dipersempit ke 760px agar fokus membaca persis seperti website berita modern */
    margin: 0 auto;
    padding: 0 24px;
}

/* 1. Breadcrumb Style */
.breadcrumb-wrapper {
    background-color: #FFFFFF; /* Samakan dengan warna background navbar atau putih */
    padding-top: 20px;          /* Jarak atas dari menu navbar */
    padding-bottom: 5px;        /* Jarak bawah sebelum judul/konten */
    font-family: 'Nunito', sans-serif;
}
.article-breadcrumb {
    display: contents;
    align-items: center;
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 0;
    z-index: 99;
}
.article-breadcrumb a {
    color: #51AFA8; /* --teal */
    text-decoration: none;
    transition: color 0.2s ease;
}
.article-breadcrumb a:hover {
    color: #CD5D83; /* --rose */
}
.article-breadcrumb .bc-separator {
    color: #9CA3AF;
}
.article-breadcrumb .bc-current {
    color: #222222; /* --dark */
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

/* 2. Kategori Badge Style */
.article-badge-container {
    margin-bottom: 16px;
}
.article-category-badge {
    display: inline-block;
    background-color: #FFF48F; /* --yellow */
    color: #CD5D83; /* --rose */
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 6px 16px;
    border-radius: 50px; /* Pill style bulat sempurna */
}

/* 3. Title Style */
.article-main-title {
    font-size: 38px; /* Ukuran besar proporsional */
    font-weight: 900; /* Super tebal seperti referensi */
    line-height: 1.35;
    color: #222222; /* --dark */
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

/* 4. Metadata Style */
.article-meta-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #6B7280; /* --gray */
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid #E5E7EB; /* Garis halus tipis di bawah meta */
}
.article-meta-info .meta-label {
    color: #9CA3AF;
    margin-right: 4px;
}
.article-meta-info .meta-value {
    color: #4B5563;
    font-weight: 600;
}
.article-meta-info .meta-dot-divider {
    color: #D1D5DB;
    font-size: 18px;
}

/* 5. Hero Image Banner */
.article-hero-image {
    width: 100%;
    aspect-ratio: 16 / 9; /* Rasio gambar presisi */
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05); /* Bayangan halus */
}
.article-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 6. Body Content / Typography Reader Comfort */
.article-body-content {
    font-size: 18px;
    line-height: 1.85 !important;
    color: #222222;
    white-space: normal !important;
}
.article-body-content p {
    margin-bottom: 24px;
}
.article-body-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #CD5D83; /* Sentuhan warna aksen --rose */
    margin: 40px 0 16px 0;
}
.article-body-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #222222;
    margin: 32px 0 16px 0;
}

/* 7. Footer Back Link */
.article-footer-navigation {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 2px solid #FFF48F; /* Garis aksen kuning genbest */
}
.back-to-home-link {
    display: inline-flex;
    align-items: center;
    color: #51AFA8; /* --teal */
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: transform 0.2s ease;
}
.back-to-home-link .arrow {
    margin-right: 8px;
    transition: transform 0.2s ease;
}
.back-to-home-link:hover .arrow {
    transform: translateX(-5px); /* Efek panah bergerak saat di-hover */
}
.article-image-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: -30px;
    margin-bottom: 35px;
    padding: 0 4px;
    font-size: 14px;
    line-height: 1.4;
    color: #6B7280;
    font-style: italic;
}

/* Keterangan Gambar */
.article-image-meta .image-caption {
    font-weight: 500;
}

/* Sumber Gambar */
.article-image-meta .image-source {
    color: #9CA3AF;      /* Abu-abu yang lebih tipis untuk membedakan dengan caption */
}

.article-image-meta .source-url {
    font-weight: 600;
    color: #51AFA8;      /* Sentuhan warna aksen --teal agar terlihat bersih */
}

.article-body-content.ql-editor img{
    width: 100%;
}

/* Responsive untuk Handphone */
@media (max-width: 768px) {
    .article-detail-wrapper {
        padding: 30px 0;
    }
    .article-main-title {
        font-size: 26px;
        line-height: 1.4;
    }
    .article-body-content {
        font-size: 16px;
        line-height: 1.75;
    }
    .article-meta-info {
        font-size: 14px;
        margin-bottom: 24px;
    }
    .article-image-meta {
        font-size: 12px;
        margin-top: -25px;
        margin-bottom: 25px;
    }
}