/* ---
   File: style-detail-berita.css
   Deskripsi: Style KHUSUS konten detail berita (Tanpa global style)
--- */

/* Banner Artikel di dalam konten */
.detail-article-banner {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Meta Info Bawah Artikel */
.article-meta-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Social Share Buttons */
.social-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-share span {
    font-weight: 600;
    color: #555;
    margin-right: 5px;
}

.social-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 14px;
}

.social-share a:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* Konten Artikel Typography */
.news-body {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.news-body p {
    margin-bottom: 20px;
}

.news-body h3 {
    font-size: 22px;
    color: var(--color-primary);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

.news-body ul, .news-body ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.news-body li {
    margin-bottom: 8px;
}

/* Tombol Kembali */
.back-link {
    display: inline-block;
    margin-bottom: 30px;
    font-size: 14px;
    font-weight: 600;
}

/* Sidebar Widget khusus detail */
.widget {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.widget-title {
    background: #f9f9f9;
    padding: 15px 20px;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    border-bottom: 1px solid #eee;
    color: var(--color-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .detail-article-banner {
        max-height: 250px;
    }
    .article-meta-detail {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}