


/* =========================================
   HEADLINE UTAMA
========================================= */

#head-blog.head-blog-static {
    overflow: hidden;
    border-radius: var(--x2bradius, 10px);
}

/* Pembungkus headline */

#head-blog.head-blog-static .single-headline-wrapper {
    width: 100%;
}

/* Area foto */

#head-blog.head-blog-static .single-headline-wrapper .loop {
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

/* Foto */

#head-blog.head-blog-static .single-headline-wrapper .loop > a._pigura {
    display: block;
    position: relative;
    overflow: hidden;
}

/* Overlay foto */

#head-blog.head-blog-static .single-headline-wrapper .loop > a._pigura::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.02) 25%,
        rgba(0, 0, 0, 0.25) 55%,
        rgba(0, 0, 0, 0.88) 100%
    );
    pointer-events: none;
}

/* Konten di atas foto */

#head-blog.head-blog-static .single-headline-wrapper .loop > ._content {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;

    display: flex;
    flex-direction: column;
    gap: 9px;

    padding: 65px 20px 18px;
    color: #fff;

    background: transparent;
}

/* Hilangkan kategori dan ringkasan */

#head-blog.head-blog-static .single-headline-wrapper ._category,
#head-blog.head-blog-static .single-headline-wrapper ._excerpt {
    display: none !important;
}

/* Judul berita */

#head-blog.head-blog-static .single-headline-wrapper ._content h3 {
    margin: 0;
    padding: 0;

    font-size: 25px;
    line-height: 1.3;
    font-weight: 600;
}

#head-blog.head-blog-static .single-headline-wrapper ._content h3 a {
    color: #fff !important;
    text-decoration: none;
}

/* Penulis dan waktu tayang */

#head-blog.head-blog-static .single-headline-wrapper ._detail {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;

    margin: 0;
    padding: 0;

    color: #fff;
    font-size: 12px;
    list-style: none;
}

#head-blog.head-blog-static .single-headline-wrapper ._detail li {
    color: #fff;
    margin: 0;
}

/* Sembunyikan views dan komentar */

#head-blog.head-blog-static ._detail ._views,
#head-blog.head-blog-static ._detail ._comments {
    display: none !important;
}


/* =========================================
   PANEL BERITA TERKAIT
========================================= */

#head-blog.head-blog-static .libu-headline-related {
    display: block;
    width: 100%;
    margin: 0;
    padding: 14px 16px 16px;

    box-sizing: border-box;

    color: #fff;

    /* Gradasi hitam elegan - mode terang */
    background: linear-gradient(
        110deg,
        #17191d 0%,
        #292c32 55%,
        #111317 100%
    );

    border-radius: 0 0 9px 9px;
}

/* Judul panel */

#head-blog.head-blog-static .libu-headline-related__title {
    margin: 0 0 11px;
    padding: 0 0 9px;

    color: #fff;
    font-size: 13px;
    font-weight: 600;

    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

/* Dua berita berdampingan */

#head-blog.head-blog-static .libu-headline-related__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

/* Item berita */

#head-blog.head-blog-static .libu-headline-related__item {
    min-width: 0;
    margin: 0;
    padding: 0;
}

#head-blog.head-blog-static .libu-headline-related__item a {
    display: block;

    color: #fff !important;
    font-size: 13px;
    line-height: 1.45;

    text-decoration: none;
}





/* =========================================
   MOBILE HEADLINE - CLEAN LAYOUT
   KHUSUS MOBILE MAKSIMAL 767PX
========================================= */

@media (max-width: 767px) {

    /* Pembungkus headline */
    #head-blog.head-blog-static {
        width: 100%;
        overflow: hidden;
        border-radius: var(--x2bradius, 10px);
    }

    #head-blog.head-blog-static .single-headline-wrapper {
        display: flex;
        flex-direction: column;
        width: 100%;
        overflow: hidden;
    }

    /* =====================================
       AREA FOTO - BERSIH
    ===================================== */

    #head-blog.head-blog-static .single-headline-wrapper .loop {
        position: relative;
        overflow: hidden;
        border-radius: 0;
    }

    #head-blog.head-blog-static .single-headline-wrapper .loop > a._pigura {
        display: block;
        position: relative;
        width: 100%;
        overflow: hidden;
        border-radius: 0;
    }

    /* Hilangkan overlay gelap pada foto */
    #head-blog.head-blog-static .single-headline-wrapper .loop > a._pigura::after {
        display: none !important;
        content: none !important;
    }

    /* =====================================
       KONTEN HEADLINE
    ===================================== */

    /* Lepaskan konten dari posisi overlay */
    #head-blog.head-blog-static .single-headline-wrapper .loop > ._content {
        position: static !important;
        display: contents;
    }

    /* Hilangkan kategori dan ringkasan bawaan */
    #head-blog.head-blog-static .single-headline-wrapper ._category,
    #head-blog.head-blog-static .single-headline-wrapper ._excerpt {
        display: none !important;
    }

    /* =====================================
       JUDUL BERITA
    ===================================== */

    #head-blog.head-blog-static .single-headline-wrapper ._content h3 {
        display: block;
        position: static;
        order: 2;

        width: 100%;
        box-sizing: border-box;

        margin: 0;
        padding: 16px 16px 12px;

        color: #fff;
        background: linear-gradient(
            110deg,
            #17191d 0%,
            #292c32 55%,
            #111317 100%
        );

        font-size: 14px;
        line-height: 1.35;
        text-align: left;
    }

    #head-blog.head-blog-static .single-headline-wrapper ._content h3 a {
        color: #fff !important;
        text-decoration: none;
    }

    /* =====================================
       PANEL BERITA TERKAIT
       HANYA MENJADI WADAH METADATA
    ===================================== */

    #head-blog.head-blog-static .libu-headline-related {
        display: block;
        order: 4;

        width: 100%;
        box-sizing: border-box;

        margin: 0;
        padding: 0 16px 15px;

        color: #fff;

        background: linear-gradient(
            110deg,
            #17191d 0%,
            #292c32 55%,
            #111317 100%
        );

        border-radius: 0 0 9px 9px;
    }

    /* Hilangkan tulisan Berita Terkait */
    #head-blog.head-blog-static .libu-headline-related__title {
        display: none !important;
    }

    /* Hilangkan daftar berita terkait */
    #head-blog.head-blog-static .libu-headline-related__list {
        display: none !important;
    }

    /* =====================================
       DETAIL BERITA
       PENULIS + KATEGORI + WAKTU
    ===================================== */

    #head-blog.head-blog-static .single-headline-wrapper ._content ._detail {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;

        justify-content: flex-start !important;
        align-items: center !important;

        width: 100%;
        box-sizing: border-box;

        order: 3;
        margin: 0;
        padding: 11px 16px 15px;

        color: #fff;
        background: linear-gradient(
            110deg,
            #17191d 0%,
            #292c32 55%,
            #111317 100%
        );

        border-top: 1px solid rgba(255, 255, 255, 0.25);

        font-size: 11px;
        line-height: 1.5;
        text-align: left !important;
        list-style: none;
    }

    /* Sembunyikan seluruh metadata terlebih dahulu */
    #head-blog.head-blog-static ._detail li {
        display: none !important;
    }

    /* Tampilkan penulis */
    #head-blog.head-blog-static ._detail li._author {
        display: inline-flex !important;
    }

    /* Tampilkan satu kategori utama */
    #head-blog.head-blog-static ._detail li._category {
        display: inline-flex !important;
    }

    /* Tampilkan tanggal/waktu rilis */
    #head-blog.head-blog-static ._detail li._date,
    #head-blog.head-blog-static ._detail li._time {
        display: inline-flex !important;
    }

    /* Semua metadata rata kiri */
    #head-blog.head-blog-static ._detail li {
        justify-content: flex-start !important;
        align-items: center !important;

        margin: 0 !important;
        padding: 0 !important;

        color: #fff !important;
        text-align: left !important;
    }

    #head-blog.head-blog-static ._detail li * {
        text-align: left !important;
    }

    /* Hilangkan views dan komentar */
    #head-blog.head-blog-static ._detail ._views,
    #head-blog.head-blog-static ._detail ._comments {
        display: none !important;
    }

    /* =====================================
       DARK MODE
    ===================================== */

    body.custom-dark #head-blog.head-blog-static
    .single-headline-wrapper ._content h3,
    body.custom-dark #head-blog.head-blog-static
    .single-headline-wrapper ._content ._detail,
    body.custom-dark #head-blog.head-blog-static
    .libu-headline-related {

        color: #222;

        background:
            linear-gradient(
                115deg,
                rgba(255, 255, 255, 0.30) 0%,
                rgba(255, 255, 255, 0.06) 50%,
                rgba(255, 255, 255, 0.25) 100%
            ),
            linear-gradient(
                110deg,
                #f1f1f1 0%,
                #c9cdd3 55%,
                #eeeeee 100%
            );
    }

    body.custom-dark #head-blog.head-blog-static
    .single-headline-wrapper ._content h3 a {
        color: #222 !important;
    }

    body.custom-dark #head-blog.head-blog-static
    .single-headline-wrapper ._content ._detail li {
        color: #222 !important;
    }

    body.custom-dark #head-blog.head-blog-static
    .single-headline-wrapper ._content ._detail {
        border-top-color: rgba(0, 0, 0, 0.15);
    }
}



/* =========================================
   DARK MODE - WHITE GLOSSY GRADIENT
   #123B66 TEXT
========================================= */

body.custom-dark #head-blog.head-blog-static .libu-headline-related {
    color: #222;

    background:
        linear-gradient(
            115deg,
            rgba(255, 255, 255, 0.30) 0%,
            rgba(255, 255, 255, 0.06) 50%,
            rgba(255, 255, 255, 0.25) 100%
        ),
        linear-gradient(
            110deg,
            #f1f1f1 0%,
            #c9cdd3 55%,
            #eeeeee 100%
        );
}

body.custom-dark #head-blog.head-blog-static .libu-headline-related__title {
    color: #222;
    border-bottom-color: rgba(0, 0, 0, 0.15);
}

body.custom-dark #head-blog.head-blog-static .libu-headline-related__item a {
    color: #222 !important;
}

body.custom-dark #head-blog.head-blog-static .libu-headline-related__item a:hover {
    color: #555 !important;
}

/* Foundation integration: slide sumber tetap tersedia untuk JS berita terkait,
   tetapi hanya slide pertama yang menjadi headline visual. */
#head-blog.head-blog-static .single-headline-wrapper > .splide__slide:not(:first-child) {
    display: none !important;
}
#head-blog.head-blog-static .single-headline-wrapper > .splide__slide:first-child .loop > a._pigura {
    aspect-ratio: 16 / 9;
    width: 100%;
}
#head-blog.head-blog-static .single-headline-wrapper > .splide__slide:first-child .loop > a._pigura img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#head-blog.head-blog-static .single-headline-wrapper > .splide__slide:first-child .loop > a._pigura .lu-home-no-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #dfe3e9;
}
@media (max-width: 767px) {
    #head-blog.head-blog-static .single-headline-wrapper > .splide__slide:first-child .loop {
        display: flex;
        flex-direction: column;
    }
    #head-blog.head-blog-static .single-headline-wrapper > .splide__slide:first-child .loop > a._pigura {
        order: 1;
        aspect-ratio: 16 / 9;
    }
    #head-blog.head-blog-static .single-headline-wrapper > .splide__slide:first-child .loop > ._content {
        display: contents;
    }
}
