
/* ============================================================
   KHAZANAH PENDIDIKAN ISLAM — CURRENT ISSUE V5
   Shows existing author affiliations/countries + current DOI
   ============================================================ */

/* Clean the old green vertical accent */
.pkp_page_index .additional_content,
.pkp_page_index .cmp_announcements,
.pkp_page_index .current_issue {
    border-left: 0 !important;
    border-right: 0 !important;
}

.pkp_page_index .additional_content:before,
.pkp_page_index .cmp_announcements:before,
.pkp_page_index .current_issue:before {
    display: none !important;
    content: none !important;
}

/* ---------- CURRENT ISSUE CONTAINER ---------- */
.pkp_page_index .current_issue {
    margin: 36px 0 44px;
    padding: 34px;
    background: #fff;
    border: 1px solid #e1e9ef !important;
    border-radius: 22px;
    box-shadow: 0 10px 34px rgba(9,43,82,.07);
}

.pkp_page_index .current_issue > h2 {
    margin: 0 0 25px;
    padding: 0 0 16px;
    color: #0b2447;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: 700;
    border: 0 !important;
}

.pkp_page_index .current_issue > h2:after {
    content: "";
    display: block;
    width: 72px;
    height: 4px;
    margin-top: 12px;
    border-radius: 10px;
    background: linear-gradient(90deg,#c79a2b,#8fb9df);
}

/* Issue title */
.pkp_page_index .current_issue .current_issue_title {
    color: #123d67;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
}

.pkp_page_index .current_issue .published {
    color: #687e90;
    font-size: 14px;
    margin-bottom: 24px;
}

/* ---------- ARTICLE LIST ---------- */
.pkp_page_index .current_issue .cmp_article_list,
.pkp_page_index .current_issue ul.articles {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pkp_page_index .current_issue .obj_article_summary {
    position: relative;
    margin: 0 0 15px;
    padding: 24px 25px 22px;
    background: linear-gradient(135deg,#fbfdfe,#f4f9fc);
    border: 1px solid #dce7ee;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(9,43,82,.055);
}

/* Article title */
.pkp_page_index .current_issue .obj_article_summary .title,
.pkp_page_index .current_issue .obj_article_summary .title a {
    color: #116b72 !important;
    font-size: 19px;
    line-height: 1.45;
    font-weight: 700;
    text-decoration: none;
}

/* ---------- AUTHORS + COUNTRY ---------- */
/*
   OJS already outputs each author's affiliation on the homepage.
   We preserve the actual affiliation/country rather than inventing
   country information.
*/
.pkp_page_index .current_issue .obj_article_summary .authors {
    margin: 12px 0 8px;
    color: #425b70;
    font-size: 14px;
    line-height: 1.65;
}

.pkp_page_index .current_issue .obj_article_summary .authors .author {
    display: block;
    margin: 3px 0;
}

/* Country/affiliation text */
.pkp_page_index .current_issue .obj_article_summary .affiliation,
.pkp_page_index .current_issue .obj_article_summary .affiliations,
.pkp_page_index .current_issue .obj_article_summary .author-affiliation {
    display: block;
    margin-top: 8px;
    padding: 10px 13px;
    border-radius: 8px;
    background: #eef7f7;
    color: #536f7b;
    font-size: 12px;
    line-height: 1.55;
    border-left: 3px solid #148f8b;
}

/* If the Bootstrap/OJS markup places affiliation directly after author */
.pkp_page_index .current_issue .obj_article_summary .meta {
    color: #6a7f90;
    font-size: 13px;
    line-height: 1.6;
}

/* ---------- PAGES ---------- */
.pkp_page_index .current_issue .obj_article_summary .pages {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #d9e4eb;
    color: #526a7d;
    font-size: 12px;
}

/* ---------- DOI FOR CURRENT ARTICLE ---------- */
/*
   The current homepage source contains the article link but does not
   print its DOI. The article page confirms:
   DOI = 10.15575/kpi.v8i2.45465
*/
.pkp_page_index .current_issue a[href*="/article/view/45465"] {
    position: relative;
}

/* Place DOI after the article's metadata area */
.pkp_page_index .current_issue .obj_article_summary:has(a[href*="/article/view/45465"]) .meta:after,
.pkp_page_index .current_issue .obj_article_summary:has(a[href*="/article/view/45465"]) .authors:after {
    content: " DOI  10.15575/kpi.v8i2.45465";
    display: inline-block;
    margin-left: 9px;
    padding: 5px 10px;
    border-radius: 20px;
    background: #fff5d8;
    border: 1px solid #e4c56b;
    color: #805f12;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 700;
}

/* ---------- PDF BUTTON ---------- */
.pkp_page_index .current_issue .obj_article_summary .galleys_links a,
.pkp_page_index .current_issue .obj_article_summary .galleys a {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 17px;
    border-radius: 7px;
    background: #116f72 !important;
    border: 0;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.pkp_page_index .current_issue .obj_article_summary .galleys_links a:hover,
.pkp_page_index .current_issue .obj_article_summary .galleys a:hover {
    background: #0b4f58 !important;
}

/* ---------- ANNOUNCEMENTS CLEANUP ---------- */
.pkp_page_index .cmp_announcements {
    margin: 34px 0;
    padding: 34px;
    background: #fff;
    border: 1px solid #e1e9ef !important;
    border-radius: 22px;
    box-shadow: 0 10px 34px rgba(9,43,82,.07);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 800px) {
    .pkp_page_index .current_issue,
    .pkp_page_index .cmp_announcements {
        padding: 22px 18px;
        border-radius: 16px;
    }

    .pkp_page_index .current_issue .current_issue_title {
        font-size: 23px;
    }

    .pkp_page_index .current_issue .obj_article_summary {
        padding: 19px 17px;
    }

    .pkp_page_index .current_issue .obj_article_summary:has(a[href*="/article/view/45465"]) .meta:after,
    .pkp_page_index .current_issue .obj_article_summary:has(a[href*="/article/view/45465"]) .authors:after {
        display: block;
        width: fit-content;
        margin: 8px 0 0;
    }
}

@media (max-width: 600px) {
    .pkp_page_index .current_issue > h2 {
        font-size: 28px;
    }

    .pkp_page_index .current_issue .obj_article_summary .title,
    .pkp_page_index .current_issue .obj_article_summary .title a {
        font-size: 17px;
    }
}
.pkp_page_index .page_index_journal {
    display: flex;
    flex-direction: column;
}

.pkp_page_index .page_index_journal .homepage-image {
    order: 1;
}

.pkp_page_index .page_index_journal .journal-description {
    order: 2;
}

.pkp_page_index .page_index_journal .additional_content {
    order: 3;
}

.pkp_page_index .page_index_journal .cmp_announcements {
    order: 4;
}

.pkp_page_index .page_index_journal .current_issue {
    order: 5;
}
/* =========================================================
   KHAZANAH PENDIDIKAN ISLAM
   ANNOUNCEMENT — HOMEPAGE
   OJS 3.3 / BOOTSTRAP 3
   ========================================================= */


/* ---------------------------------------------------------
   1. CLEAN DEFAULT ANNOUNCEMENT SECTION
   --------------------------------------------------------- */

.cmp_announcements {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 35px 0 45px 0 !important;
}


/* Remove OJS decorative borders */

.cmp_announcements::before,
.cmp_announcements::after {
    display: none !important;
}


/* ---------------------------------------------------------
   2. ANNOUNCEMENTS HEADING
   --------------------------------------------------------- */

.cmp_announcements > h2 {

    margin: 0 0 20px 0 !important;

    padding: 0 0 13px 0 !important;

    color: #142c50 !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: 32px !important;

    font-weight: 700 !important;

    line-height: 1.2 !important;

    border-bottom: 1px solid #e3e8ec !important;
}


/* Gold underline */

.cmp_announcements > h2::after {

    content: "";

    display: block;

    width: 52px;

    height: 3px;

    margin-top: 9px;

    background: #c7a44a;

    border-radius: 3px;
}


/* ---------------------------------------------------------
   3. ANNOUNCEMENT OUTER ARTICLE
   --------------------------------------------------------- */

.cmp_announcements .obj_announcement_summary {

    margin: 0 !important;

    padding: 0 !important;

    border: 1px solid #e2e7ea !important;

    border-radius: 18px !important;

    overflow: hidden !important;

    background: #ffffff !important;

    box-shadow:
        0 10px 30px rgba(15,23,42,.08) !important;
}


/* ---------------------------------------------------------
   4. HIDE DEFAULT OJS TITLE
   --------------------------------------------------------- */

.cmp_announcements
.obj_announcement_summary
> h3 {

    display: none !important;

    margin: 0 !important;

    padding: 0 !important;
}


/* ---------------------------------------------------------
   5. HIDE DEFAULT OJS DATE
   --------------------------------------------------------- */

.cmp_announcements
.obj_announcement_summary
> .date {

    display: none !important;

    margin: 0 !important;

    padding: 0 !important;
}


/* ---------------------------------------------------------
   6. HIDE DEFAULT "MORE / READ MORE"
   --------------------------------------------------------- */

.cmp_announcements
.obj_announcement_summary
+ .more {

    display: none !important;
}


/* ---------------------------------------------------------
   7. THE SUMMARY = OUR FEATURED CARD
   --------------------------------------------------------- */

.cmp_announcements
.obj_announcement_summary
> .summary {

    position: relative !important;

    display: block !important;

    width: 100% !important;

    min-height: 520px !important;

    margin: 0 !important;

    padding: 0 !important;

    overflow: hidden !important;

    box-sizing: border-box !important;

    background-color: #ffffff !important;

    background-image:

        linear-gradient(
            90deg,

            rgba(255,255,255,.98) 0%,

            rgba(255,255,255,.97) 28%,

            rgba(255,255,255,.90) 43%,

            rgba(255,255,255,.65) 57%,

            rgba(255,255,255,.18) 79%,

            rgba(255,255,255,0) 100%
        ),

        url("https://khazanah.uinsgd.ac.id/public/site/images/dzarin/bb-kpi.png") !important;

    background-size: cover !important;

    background-position: center center !important;

    background-repeat: no-repeat !important;
}


/* ---------------------------------------------------------
   8. TOP ACCENT LINE
   --------------------------------------------------------- */

.cmp_announcements
.obj_announcement_summary
> .summary::before {

    content: "";

    display: block;

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 5px;

    z-index: 20;

    background:
        linear-gradient(
            90deg,
            #00695c,
            #00897b,
            #c49a3a
        );
}


/* ---------------------------------------------------------
   9. FORCE OUR CUSTOM CONTENT TO SIT ABOVE BACKGROUND
   --------------------------------------------------------- */

.cmp_announcements
.obj_announcement_summary
> .summary
.kpi-announcement-card {

    position: relative;

    z-index: 5;
}


/* ---------------------------------------------------------
   10. ANNOUNCEMENT CONTENT WIDTH
   --------------------------------------------------------- */

.kpi-announcement-main {

    min-height: 430px !important;

    position: relative !important;

    background: transparent !important;

    overflow: hidden !important;
}


.kpi-announcement-content {

    width: 60% !important;

    padding: 35px 30px 30px 35px !important;

    box-sizing: border-box !important;

    position: relative !important;

    z-index: 10 !important;
}


/* ---------------------------------------------------------
   11. BADGE
   --------------------------------------------------------- */

.kpi-announcement-badge {

    display: inline-block !important;

    background: #24564f !important;

    color: #ffffff !important;

    padding: 7px 13px !important;

    border-radius: 6px !important;

    font-family: Arial, Helvetica, sans-serif !important;

    font-size: 10px !important;

    font-weight: 700 !important;

    letter-spacing: .7px !important;

    margin-bottom: 13px !important;
}


/* ---------------------------------------------------------
   12. TITLE
   --------------------------------------------------------- */

.kpi-announcement-title {

    color: #172f55 !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: 28px !important;

    line-height: 1.28 !important;

    font-weight: 700 !important;

    margin: 0 0 15px 0 !important;
}


/* ---------------------------------------------------------
   13. INTRO
   --------------------------------------------------------- */

.kpi-announcement-intro {

    color: #273b57 !important;

    font-family:
        Arial,
        Helvetica,
        sans-serif !important;

    font-size: 13px !important;

    line-height: 1.7 !important;

    padding: 14px 17px !important;

    margin: 0 0 18px 0 !important;

    background: rgba(247,250,249,.91) !important;

    border-left: 4px solid #c7a44a !important;

    border-radius: 0 8px 8px 0 !important;
}


/* ---------------------------------------------------------
   14. POLICY ITEMS
   --------------------------------------------------------- */

.kpi-policy-item {

    display: flex !important;

    align-items: flex-start !important;

    gap: 12px !important;

    margin: 0 0 15px 0 !important;
}


.kpi-policy-number {

    flex: 0 0 27px !important;

    width: 27px !important;

    height: 27px !important;

    line-height: 27px !important;

    text-align: center !important;

    border-radius: 50% !important;

    background: #c7a44a !important;

    color: #ffffff !important;

    font-family: Arial, Helvetica, sans-serif !important;

    font-size: 11px !important;

    font-weight: 700 !important;
}


.kpi-policy-content {

    color: #273b57 !important;

    font-family: Arial, Helvetica, sans-serif !important;

    font-size: 12.5px !important;

    line-height: 1.6 !important;

    padding-top: 2px !important;
}


.kpi-policy-content > strong {

    color: #00695c !important;

    font-size: 14px !important;
}


.kpi-policy-content p {

    margin: 4px 0 0 0 !important;

    color: #4d5d70 !important;

    font-size: 12.5px !important;
}


.kpi-green-text {

    color: #00695c !important;
}


/* ---------------------------------------------------------
   15. AUTHOR GUIDELINES
   --------------------------------------------------------- */

.kpi-guideline-button {

    display: inline-block !important;

    margin-top: 9px !important;

    padding: 9px 14px !important;

    background: #24564f !important;

    color: #ffffff !important;

    text-decoration: none !important;

    border-radius: 6px !important;

    font-family: Arial, Helvetica, sans-serif !important;

    font-size: 10px !important;

    font-weight: 700 !important;
}


.kpi-guideline-button:hover {

    background: #173f3a !important;

    color: #ffffff !important;
}


/* ---------------------------------------------------------
   16. CALL FOR REVIEWERS
   --------------------------------------------------------- */

.kpi-reviewer-box {

    display: flex !important;

    align-items: center !important;

    gap: 17px !important;

    margin: 20px 25px !important;

    padding: 20px 22px !important;

    box-sizing: border-box !important;

    background:
        linear-gradient(
            100deg,
            #fbf7ec,
            #fffaf0
        ) !important;

    border: 1px solid #eee3c6 !important;

    border-radius: 14px !important;
}


.kpi-reviewer-icon {

    flex: 0 0 58px !important;

    width: 58px !important;

    height: 58px !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    background: #f4e7bf !important;

    border-radius: 13px !important;

    color: #00695c !important;

    font-size: 27px !important;
}


.kpi-reviewer-text {

    flex: 1 !important;
}


.kpi-reviewer-label {

    color: #b2872e !important;

    font-family: Arial, Helvetica, sans-serif !important;

    font-size: 10px !important;

    font-weight: 700 !important;

    letter-spacing: 1px !important;

    margin-bottom: 4px !important;
}


.kpi-reviewer-title {

    color: #172f55 !important;

    font-family:
        Georgia,
        "Times New Roman",
        serif !important;

    font-size: 23px !important;

    font-weight: 700 !important;

    line-height: 1.25 !important;

    margin-bottom: 4px !important;
}


.kpi-reviewer-description {

    color: #59697b !important;

    font-family: Arial, Helvetica, sans-serif !important;

    font-size: 12px !important;

    line-height: 1.55 !important;
}


/* ---------------------------------------------------------
   17. REVIEWER BUTTON
   --------------------------------------------------------- */

.kpi-reviewer-action {

    flex: 0 0 auto !important;

    text-align: center !important;
}


.kpi-reviewer-button {

    display: inline-block !important;

    padding: 12px 20px !important;

    background: #24564f !important;

    color: #ffffff !important;

    text-decoration: none !important;

    border-radius: 8px !important;

    font-family: Arial, Helvetica, sans-serif !important;

    font-size: 11px !important;

    font-weight: 700 !important;

    white-space: nowrap !important;
}


.kpi-reviewer-button:hover {

    background: #173f3a !important;

    color: #ffffff !important;
}


.kpi-reviewer-link {

    margin-top: 7px !important;

    color: #7b8794 !important;

    font-family: Arial, Helvetica, sans-serif !important;

    font-size: 9px !important;

    word-break: break-all !important;
}


/* ---------------------------------------------------------
   18. FOOTER
   --------------------------------------------------------- */

.kpi-announcement-footer {

    margin: 0 30px 25px 30px !important;

    padding-top: 15px !important;

    border-top: 1px solid #e5e9eb !important;

    font-family: Arial, Helvetica, sans-serif !important;

    font-size: 11px !important;

    line-height: 1.6 !important;
}


.kpi-announcement-footer strong {

    display: block !important;

    color: #00695c !important;

    font-size: 15px !important;
}


.kpi-announcement-footer span {

    color: #7b8794 !important;
}


/* ---------------------------------------------------------
   19. MOBILE
   --------------------------------------------------------- */

@media (max-width: 767px) {

    .cmp_announcements > h2 {

        font-size: 27px !important;
    }


    .cmp_announcements
    .obj_announcement_summary
    > .summary {

        min-height: auto !important;

        background-image:

            linear-gradient(
                180deg,
                rgba(255,255,255,.97) 0%,
                rgba(255,255,255,.92) 55%,
                rgba(255,255,255,.35) 100%
            ),

            url("https://khazanah.uinsgd.ac.id/public/site/images/dzarin/bb-kpi.png") !important;

        background-position: center top !important;
    }


    .kpi-announcement-content {

        width: 100% !important;

        padding: 28px 20px !important;
    }


    .kpi-announcement-title {

        font-size: 23px !important;
    }


    .kpi-reviewer-box {

        display: block !important;

        margin: 15px !important;
    }


    .kpi-reviewer-icon {

        margin-bottom: 12px !important;
    }


    .kpi-reviewer-action {

        margin-top: 15px !important;

        text-align: left !important;
    }

}
.cmp_announcements .obj_announcement_summary {
    background: blue !important;
}

.cmp_announcements .obj_announcement_summary h3 {
    color: yellow !important;
}
/* =========================================================
   KHAZANAH PENDIDIKAN ISLAM - FOOTER
   ========================================================= */

.footer {
    background-color: #173f45 !important;
    background-image: url('https://khazanah.uinsgd.ac.id/public/site/images/dzarin/footer-kpi.png') !important;
    background-size: 100% 100% !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;

    color: #ffffff !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;

    border: none !important;
}


/* Footer container */

.footer .container {
    background: transparent !important;
}

.footer .row {
    background: transparent !important;
}


/* Sembunyikan OJS/PKP bawaan */

.footer .col-md-2[role="complementary"] {
    display: none !important;
}

.footer img[src*="ojs_brand"] {
    display: none !important;
}


/* Custom footer menjadi full width */

.footer .col-md-10 {
    width: 100% !important;
    float: none !important;

    padding-left: 0 !important;
    padding-right: 0 !important;
}


/* Hilangkan jarak bawaan */

.footer .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}


/* Semua tabel custom transparan */

.footer table {
    background: transparent !important;
    border-collapse: collapse !important;
}


/* Link */

.footer a {
    color: #ffffff !important;
    text-decoration: none !important;
}

.footer a:hover {
    color: #c9a227 !important;
}


/* Mobile */

@media (max-width: 767px) {

    .footer {
        background-size: cover !important;
    }

    .footer td {
        display: block !important;
        width: 100% !important;
        border-left: none !important;
        padding: 15px !important;
    }

}