/* =========================================================
   DETAIL BERITA
========================================================= */

.article-page {
    padding: 130px 0 90px;
    background: #f7faf8;
}


.article-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}


/* =========================================================
   CATEGORY
========================================================= */

.article-category {
    display: inline-flex;
    align-items: center;

    padding: 7px 11px;

    border-radius: 8px;

    background: #eaf7ef;

    color: #198754;

    font-size: 10px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .4px;
}


/* =========================================================
   TITLE
========================================================= */

.article-title {
    margin-top: 16px;
    margin-bottom: 0;

    font-size: 42px;
    line-height: 1.25;

    font-weight: 800;

    color: #1f2937;

    overflow-wrap: anywhere;
}


/* =========================================================
   META
========================================================= */

.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 18px;

    margin-top: 17px;
    margin-bottom: 32px;

    color: #8a938d;

    font-size: 11px;
}


.article-meta span {
    display: inline-flex;
    align-items: center;

    gap: 6px;
}


.article-meta i {
    color: #198754;

    font-size: 12px;
}


/* =========================================================
   FEATURE IMAGE
========================================================= */

.article-image-wrapper {
    width: 100%;

    overflow: hidden;

    border-radius: 20px;

    background: #edf4ef;
}


.article-image {
    display: block;

    width: 100%;
    height: auto;

    max-height: 520px;

    object-fit: cover;
}


.article-caption {
    margin-top: 10px;

    color: #8b948e;

    font-size: 11px;
    line-height: 1.7;

    font-style: italic;
}


/* =========================================================
   CONTENT
========================================================= */

.article-content {
    width: 100%;

    margin-top: 35px;

    color: #4b5563;

    font-size: 15px;
    line-height: 2;

    overflow-wrap: break-word;
    word-wrap: break-word;
}


.article-content p {
    margin-top: 0;
    margin-bottom: 20px;
}


/* =========================================================
   CONTENT HEADING
========================================================= */

.article-content h2 {
    margin-top: 35px;
    margin-bottom: 15px;

    color: #1f2937;

    font-size: 28px;
    font-weight: 800;

    line-height: 1.4;
}


.article-content h3 {
    margin-top: 30px;
    margin-bottom: 13px;

    color: #1f2937;

    font-size: 22px;
    font-weight: 800;

    line-height: 1.4;
}


.article-content h4 {
    margin-top: 25px;
    margin-bottom: 10px;

    color: #1f2937;

    font-size: 18px;
    font-weight: 700;
}


/* =========================================================
   IMAGE DARI CKEDITOR
========================================================= */

.article-content img {
    display: block;

    max-width: 100% !important;
    height: auto !important;

    margin: 25px auto;

    border-radius: 12px;

    object-fit: contain;
}


.article-content figure {
    max-width: 100%;

    margin: 25px auto;
}


.article-content figure.image {
    display: table;

    clear: both;
}


.article-content figure.image img {
    display: block;

    max-width: 100% !important;
    height: auto !important;
}


.article-content figure.image.image_resized {
    box-sizing: border-box;

    max-width: 100%;
}


/* =========================================================
   CAPTION
========================================================= */

.article-content figcaption {
    display: table-caption;

    caption-side: bottom;

    padding: 8px 0;

    color: #888;

    font-size: 12px;
    line-height: 1.6;

    text-align: center;
}


/* =========================================================
   BLOCKQUOTE
========================================================= */

.article-content blockquote {
    margin: 25px 0;

    padding: 15px 20px;

    border-left: 4px solid #198754;

    background: #eaf7ef;

    color: #4b5563;

    border-radius: 0 10px 10px 0;
}


.article-content blockquote p {
    margin-bottom: 0;
}


/* =========================================================
   LIST
========================================================= */

.article-content ul,
.article-content ol {
    margin-top: 10px;
    margin-bottom: 20px;

    padding-left: 25px;
}


.article-content li {
    margin-bottom: 7px;
}


/* =========================================================
   LINK
========================================================= */

.article-content a {
    color: #198754;

    text-decoration: underline;

    font-weight: 600;
}


.article-content a:hover {
    color: #146c43;
}


/* =========================================================
   TABLE
========================================================= */

.article-content table {
    width: 100%;
    max-width: 100%;

    margin: 25px 0;

    border-collapse: collapse;

    overflow: hidden;
}


.article-content table th,
.article-content table td {
    padding: 10px;

    border: 1px solid #e9efeb;

    font-size: 13px;

    vertical-align: top;
}


.article-content table th {
    background: #eaf7ef;

    color: #1f2937;

    font-weight: 700;
}


/* =========================================================
   VIDEO / IFRAME
========================================================= */

.article-content iframe {
    width: 100%;
    max-width: 100%;

    min-height: 400px;

    margin: 25px 0;

    border: 0;

    border-radius: 12px;
}


/* =========================================================
   DIVIDER
========================================================= */

.article-divider {
    margin: 38px 0 25px;

    border: 0;

    border-top: 1px solid #e9efeb;
}


/* =========================================================
   AUTHOR
========================================================= */

.article-author {
    display: flex;

    align-items: center;

    gap: 12px;
}


.author-icon {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: #eaf7ef;

    color: #198754;

    font-size: 17px;
}


.author-info strong {
    display: block;

    font-size: 12px;
    font-weight: 700;

    color: #1f2937;
}


.author-info span {
    display: block;

    margin-top: 3px;

    font-size: 10px;

    color: #909993;
}


/* =========================================================
   BACK BUTTON
========================================================= */

.article-back {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: 35px;

    padding: 11px 15px;

    border-radius: 10px;

    background: #198754;

    color: #ffffff;

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;

    transition: .2s ease;
}


.article-back:hover {
    background: #146c43;

    color: #ffffff;

    transform: translateY(-1px);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 992px) {

    .article-page {
        padding-top: 120px;
    }

}


@media (max-width: 768px) {

    .article-page {
        padding: 105px 0 70px;
    }


    .article-title {
        font-size: 30px;
    }


    .article-image {
        max-height: 400px;
    }


    .article-content {
        font-size: 14px;

        line-height: 1.9;
    }


    .article-content iframe {
        min-height: 280px;
    }

}


@media (max-width: 480px) {

    .article-page {
        padding-top: 95px;
    }


    .article-title {
        font-size: 26px;
    }


    .article-content {
        font-size: 14px;

        line-height: 1.9;
    }


    .article-content img {
        margin: 20px auto;
    }


    .article-content figure {
        margin: 20px auto;
    }


    .article-meta {
        gap: 12px;
    }


    .article-back {
        font-size: 10px;
    }

}

/* =========================================================
   BLOCKQUOTE
========================================================= */

.article-content blockquote {
    margin: 25px 0;

    padding: 15px 20px;

    border-left: 4px solid #198754;

    background: #eaf7ef;

    color: #4b5563;

    border-radius: 0 10px 10px 0;
}

.article-content blockquote p {
    margin: 0;
}