/* =========================================================
   ARTICLE DETAIL - FINAL LAYOUT
========================================================= */
#publicArticlesList .news-card.expanded {
    position: relative;

    width: 100%;
    max-width: 100% !important;

    margin: 0 !important;

    padding: 10px 4px 28px !important;

    border-bottom: 0 !important;

    background: transparent !important;
    box-shadow: none !important;
}
/* =========================================================
   BACK TO LIST
   LEFT SIDE - SAME LEVEL AS TITLE
========================================================= */

#publicArticlesList
.news-card.expanded
.article-back-to-list {

    position: absolute !important;

    top: 14px !important;
    left: 4px !important;

    display: inline-flex !important;
    align-items: center;

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

    border: 0 !important;
    background: transparent !important;

    color: #3f845f;

    font-family: inherit;
    font-size: 12px !important;
    font-weight: 500;
    line-height: 1.3;

    white-space: nowrap;

    cursor: pointer;
}


#publicArticlesList
.news-card.expanded
.article-back-to-list:hover {

    color: #2f6f4d;

    text-decoration: underline;
}


/* =========================================================
   TITLE AREA
   145px LEFT COLUMN RESERVED FOR BACK BUTTON
========================================================= */
#publicArticlesList
.news-card.expanded
.news-title-row {

    width: calc(100% - 105px);

    margin-left: 105px !important;
    margin-top: -10px !important;
    margin-bottom: 0 !important;

    padding: 0 0 10px !important;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 24px;

    border-bottom: 1px solid #e5e7eb;
}
/* =========================================================
   TITLE
========================================================= */

#publicArticlesList
.news-card.expanded
.news-title-link {

    flex: 0 1 720px;

    min-width: 0;
}


#publicArticlesList
.news-card.expanded
.news-title {

    width: 100%;
    max-width: 720px;

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

    color: #102a43;

    font-size: 24px !important;
    font-weight: 600 !important;
    line-height: 1.28 !important;

    letter-spacing: -0.15px;
}


/* Jangan berubah warna saat hover
   ketika artikel sedang terbuka */

#publicArticlesList
.news-card.expanded
.news-title:hover {

    color: #102a43;
}

/* =========================================================
   SECTOR / SUBSECTOR
========================================================= */
#publicArticlesList
.news-card.expanded
.news-taxonomy {

    display: flex;
    align-items: center;

    gap: 5px;

    flex-shrink: 0;

    margin: 3px 0 0 !important;
    padding: 0 !important;
}

/* =========================================================
   ARTICLE CONTENT
   NARROWER READING WIDTH
========================================================= */
#publicArticlesList
.news-card.expanded
.full-content {

    display: block;

    width: calc(100% - 105px);
    max-width: 720px !important;

    margin-top: 8px !important;
    margin-left: 105px !important;

    padding: 0;
    box-sizing: border-box;

    color: #111827;

    font-size: 14px !important;
    font-weight: 400;
    line-height: 1.65 !important;
}

/* PARAGRAPH */
#publicArticlesList
.news-card.expanded
.full-content p {

    margin: 0 0 14px !important;

    font-size: 14px !important;
    line-height: 1.65 !important;
}


#publicArticlesList
.news-card.expanded
.full-content p:last-child {

    margin-bottom: 0 !important;
}


/* =========================================================
   CONTENT HEADINGS
========================================================= */

#publicArticlesList
.news-card.expanded
.full-content h2 {

    margin: 24px 0 9px;

    color: #102a43;

    font-size: 17px;
    font-weight: 600;

    line-height: 1.35;
}


#publicArticlesList
.news-card.expanded
.full-content h3 {

    margin: 20px 0 8px;

    color: #102a43;

    font-size: 15px;
    font-weight: 600;

    line-height: 1.35;
}


/* =========================================================
   TAGS
   ALIGN WITH ARTICLE CONTENT
========================================================= */
#publicArticlesList
.news-card.expanded
.news-tags {
    width: calc(100% - 105px);
    max-width: 720px;

    margin-left: 105px !important;
    margin-top: 18px;
    margin-bottom: 18px;

    box-sizing: border-box;
}

/* =========================================================
   ARTICLE NAVIGATION
   KEEP FULL WIDTH - NO LEFT OFFSET
========================================================= */

#publicArticlesList
.news-card.expanded
.article-navigation {

    width: 100%;

    margin-left: 0 !important;
    margin-top: 28px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

    #publicArticlesList
    .news-card.expanded {

        padding: 12px 4px 24px !important;
    }


    /* Back kembali di atas title pada mobile */

    #publicArticlesList
    .news-card.expanded
    .article-back-to-list {

        position: static !important;

        display: inline-flex !important;

        margin: 0 0 12px !important;

        font-size: 11px !important;
    }


    #publicArticlesList
    .news-card.expanded
    .news-title-row {

        width: 100%;

        margin-left: 0 !important;

        display: block;

        padding-bottom: 14px !important;
    }


    #publicArticlesList
    .news-card.expanded
    .news-title {

        max-width: 100%;

        font-size: 20px !important;
        line-height: 1.3 !important;
    }


    #publicArticlesList
    .news-card.expanded
    .news-taxonomy {

        margin-top: 10px !important;
    }


    #publicArticlesList
    .news-card.expanded
    .full-content {

        max-width: 100%;

        margin-left: 0 !important;

        font-size: 14px !important;
        line-height: 1.65 !important;
    }


    #publicArticlesList
    .news-card.expanded
    .news-tags {

        max-width: 100%;

        margin-left: 0 !important;
    }

}