/* =========================================================
   HALAMAN DETAIL BERITA MEDNUS
========================================================= */

.detail-berita-page {
    padding: 35px 0 80px;
    background: #f8fafc;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.detail-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;

    margin-bottom: 28px;
    padding: 14px 18px;

    border-radius: 10px;

    background: #eef5ff;

    color: #526174;

    font-size: 13px;
}


.detail-breadcrumb a {
    display: flex;
    align-items: center;
    gap: 7px;

    color: #1769e8;

    text-decoration: none;

    font-weight: 600;
}


.detail-breadcrumb > span {
    display: flex;
    align-items: center;
}


.detail-breadcrumb > span i {
    color: #94a3b8;

    font-size: 10px;
}


.breadcrumb-current {
    max-width: 600px;

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;
}


/* =========================================================
   CARD UTAMA
========================================================= */

.detail-berita-card {
    padding: 34px;

    border: 1px solid #e6ebf2;

    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 8px 30px rgba(15, 35, 60, 0.05);
}


/* =========================================================
   LABEL
========================================================= */

.detail-label {
    display: inline-flex;

    align-items: center;

    padding: 7px 13px;

    margin-bottom: 18px;

    border-radius: 7px;

    background: #1769e8;

    color: #ffffff;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.4px;
}


/* =========================================================
   JUDUL
========================================================= */

.detail-berita-title {
    margin: 0 0 18px;

    color: #172033;

    font-size: clamp(30px, 3.5vw, 46px);

    font-weight: 750;

    line-height: 1.18;

    letter-spacing: -0.7px;
}


/* =========================================================
   META
========================================================= */

.detail-berita-meta {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 12px;

    margin-bottom: 28px;

    color: #64748b;

    font-size: 13px;
}


.detail-berita-meta span {
    display: inline-flex;

    align-items: center;
}


.detail-berita-meta i {
    margin-right: 6px;

    color: #1769e8;
}


.meta-separator {
    color: #cbd5e1;
}


/* =========================================================
   GAMBAR
========================================================= */

.detail-berita-image {
    width: 100%;

    height: 470px;

    overflow: hidden;

    margin-bottom: 28px;

    border-radius: 13px;

    background: #eef2f7;
}


.detail-berita-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;
}


/* =========================================================
   RINGKASAN
========================================================= */

.detail-berita-summary {
    display: flex;

    align-items: flex-start;

    gap: 15px;

    margin-bottom: 30px;

    padding: 21px 23px;

    border: 1px solid #d8e7fb;

    border-left: 4px solid #1769e8;

    border-radius: 10px;

    background: #f3f8ff;

    color: #334155;

    font-size: 16px;

    line-height: 1.7;
}


.summary-icon {
    flex: 0 0 32px;

    width: 32px;
    height: 32px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: #dceaff;

    color: #1769e8;

    font-size: 20px;
}


/* =========================================================
   ISI BERITA
========================================================= */

.detail-berita-content {
    color: #334155;

    font-size: 16px;

    line-height: 1.85;
}


.detail-berita-content p {
    margin-bottom: 20px;
}


.detail-berita-content h2 {
    margin-top: 32px;
    margin-bottom: 15px;

    color: #172033;

    font-size: 27px;
}


.detail-berita-content h3 {
    margin-top: 28px;
    margin-bottom: 13px;

    color: #172033;

    font-size: 22px;
}


.detail-berita-content ul,
.detail-berita-content ol {
    margin-bottom: 22px;

    padding-left: 25px;
}


.detail-berita-content li {
    margin-bottom: 8px;
}


.detail-berita-content img {
    max-width: 100%;

    height: auto;

    margin: 20px 0;

    border-radius: 10px;
}


/* =========================================================
   FOOTER
========================================================= */

.detail-berita-footer {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-top: 40px;

    padding-top: 25px;

    border-top: 1px solid #e8edf3;
}


/* =========================================================
   BUTTON KEMBALI
========================================================= */

.btn-kembali {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 10px 17px;

    border: 1px solid #1769e8;

    border-radius: 8px;

    background: #ffffff;

    color: #1769e8;

    font-size: 13px;

    font-weight: 600;

    text-decoration: none;

    transition: 0.2s ease;
}


.btn-kembali:hover {
    background: #1769e8;

    color: #ffffff;
}


/* =========================================================
   SHARE
========================================================= */

.detail-share {
    display: flex;

    align-items: center;

    gap: 8px;

    color: #64748b;

    font-size: 13px;
}


.detail-share a {
    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #edf4ff;

    color: #1769e8;

    text-decoration: none;

    transition: 0.2s ease;
}


.detail-share a:hover {
    background: #1769e8;

    color: #ffffff;
}


/* =========================================================
   SIDEBAR
========================================================= */

.detail-sidebar {
    position: sticky;

    top: 100px;
}


/* =========================================================
   SIDEBAR BOX
========================================================= */

.sidebar-box {
    padding: 24px;

    border: 1px solid #e6ebf2;

    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 8px 30px rgba(15, 35, 60, 0.05);
}


/* =========================================================
   SIDEBAR TITLE
========================================================= */

.sidebar-title {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 20px;

    color: #172033;

    font-size: 19px;

    font-weight: 700;
}


.sidebar-title span {
    width: 4px;
    height: 23px;

    display: block;

    border-radius: 5px;

    background: #1769e8;
}


/* =========================================================
   ARTIKEL SIDEBAR
========================================================= */

.sidebar-article {
    display: flex;

    gap: 13px;

    padding: 15px 0;

    border-bottom: 1px solid #edf1f5;

    color: inherit;

    text-decoration: none;
}


.sidebar-article:first-child {
    padding-top: 0;
}


.sidebar-article:last-child {
    padding-bottom: 0;

    border-bottom: none;
}


.sidebar-article-image {
    flex: 0 0 88px;

    width: 88px;
    height: 78px;

    overflow: hidden;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: #eef2f7;

    color: #94a3b8;
}


.sidebar-article-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;
}


.sidebar-article-image i {
    font-size: 25px;
}


.sidebar-article-content {
    min-width: 0;
}


.sidebar-article-content h3 {
    display: -webkit-box;

    margin: 0 0 8px;

    overflow: hidden;

    color: #253044;

    font-size: 14px;

    font-weight: 650;

    line-height: 1.45;

    -webkit-line-clamp: 3;

    -webkit-box-orient: vertical;
}


.sidebar-article-content small {
    color: #94a3b8;

    font-size: 11px;
}


.sidebar-article-content small i {
    margin-right: 4px;
}


.sidebar-empty {
    margin: 0;

    color: #94a3b8;

    font-size: 13px;
}


/* =========================================================
   NOT FOUND
========================================================= */

.berita-not-found {
    min-height: 500px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 40px;

    border-radius: 16px;

    background: #ffffff;

    text-align: center;
}


.berita-not-found > i {
    margin-bottom: 20px;

    color: #94a3b8;

    font-size: 60px;
}


.berita-not-found h1 {
    margin-bottom: 10px;

    color: #172033;

    font-size: 30px;
}


.berita-not-found p {
    margin-bottom: 25px;

    color: #64748b;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .detail-sidebar {
        position: static;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .detail-berita-page {
        padding: 25px 0 50px;
    }


    .detail-berita-card {
        padding: 22px;

        border-radius: 13px;
    }


    .detail-berita-title {
        font-size: 29px;
    }


    .detail-berita-image {
        height: 300px;

        border-radius: 10px;
    }


    .detail-berita-summary {
        font-size: 14px;
    }


    .detail-berita-content {
        font-size: 15px;

        line-height: 1.8;
    }


    .detail-berita-footer {
        flex-direction: column;

        align-items: flex-start;
    }


    .detail-share {
        width: 100%;
    }


    .sidebar-box {
        padding: 20px;
    }

}


/* =========================================================
   MOBILE KECIL
========================================================= */

@media (max-width: 480px) {

    .detail-breadcrumb {
        font-size: 11px;
    }


    .detail-berita-card {
        padding: 18px;
    }


    .detail-berita-title {
        font-size: 25px;
    }


    .detail-berita-image {
        height: 230px;
    }


    .sidebar-article-image {
        flex-basis: 75px;

        width: 75px;
        height: 68px;
    }

}