/**
 * File: assets/css/single-berita.css
 * Description: Styling Halaman Detail Berita UNTAD (Elegan, Mewah, & Nyaman Dibaca)
 * Author: TIM Divisi Website dan Desain (Kadiv : Ahmad Safi'i, S.Kom, M.M.)
 */

/* Container Artikel Berita */
.untad-single-news-container {
    max-width: 860px;
    margin: 40px auto;
    padding: 0 20px;
}

.untad-news-article {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

/* Header Berita */
.news-header-meta {
    margin-bottom: 25px;
}

.news-category-badge {
    display: inline-block;
    background: linear-gradient(135deg, #003366 0%, #002244 100%);
    color: #FFCC00;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 15px;
}

.single-news-title {
    font-size: 32px;
    font-weight: 800;
    color: #003366;
    line-height: 1.3;
    margin: 0 0 18px 0;
    letter-spacing: -0.3px;
}

.news-author-date-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: #64748b;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 18px;
}

.news-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-meta-item i {
    color: #0284c7;
    font-size: 16px;
}

/* Gambar Utama (Featured Image) */
.news-featured-image-wrapper {
    margin: 25px 0 35px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.news-featured-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Body / Isi Teks Berita (Gutenberg Content) */
.news-entry-content {
    font-size: 16.5px;
    line-height: 1.85;
    color: #334155;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Huruf Pertama Paragraf Pertama (Drop Cap Elegan) */
.news-entry-content > p:first-of-type::first-letter {
    font-size: 52px;
    font-weight: 800;
    float: left;
    line-height: 1;
    margin-right: 12px;
    margin-top: 4px;
    color: #003366;
}

.news-entry-content p {
    margin-bottom: 22px;
}

.news-entry-content h2, 
.news-entry-content h3 {
    color: #003366;
    font-weight: 700;
    margin: 35px 0 15px 0;
    line-height: 1.3;
}

.news-entry-content h2 { font-size: 24px; border-left: 4px solid #FFCC00; padding-left: 12px; }
.news-entry-content h3 { font-size: 20px; }

/* Blockquote (Kutipan Pernyataan/Rektor) */
.news-entry-content blockquote {
    background: #f8fafc;
    border-left: 5px solid #003366;
    margin: 30px 0;
    padding: 20px 25px;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #1e293b;
    font-size: 17.5px;
    position: relative;
}

.news-entry-content blockquote::before {
    content: "“";
    font-size: 60px;
    color: rgba(0, 51, 102, 0.12);
    position: absolute;
    top: -10px;
    left: 10px;
    font-family: Georgia, serif;
}

/* Gambar Di Dalam Artikel */
.news-entry-content figure {
    margin: 30px 0;
    text-align: center;
}

.news-entry-content figure img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.06);
}

.news-entry-content figcaption {
    font-size: 13px;
    color: #64748b;
    margin-top: 8px;
    font-style: italic;
}

/* Responsif Mobile untuk Detail Berita */
@media (max-width: 768px) {
    .untad-single-news-container {
        padding: 0 12px;
        margin: 20px auto;
    }
    .untad-news-article {
        padding: 22px 18px;
        border-radius: 12px;
    }
    .single-news-title {
        font-size: 22px;
        line-height: 1.35;
    }
    .news-entry-content {
        font-size: 15px;
        line-height: 1.75;
    }
    .news-entry-content > p:first-of-type::first-letter {
        font-size: 42px;
    }
}