/* =========================
   RESET & GLOBAL
========================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Tahoma, sans-serif;
    background: url(https://iili.io/FS7zWCv.md.jpg) center/cover fixed no-repeat;
    color: #333;
    line-height: 1.6;
}

/* =========================
   WRAPPER UTAMA
========================= */
.pkp_structure_page {
    max-width: 1200px;
    margin: 25px auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
    overflow: hidden;
}

/* =========================
   HEADER FULL GAMBAR
========================= */
.pkp_structure_head {
    width: 100%;
    background: #710B94;
    padding: 0 !important;
}

.pkp_head_wrapper {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

.pkp_site_name {
    margin: 0 !important;
    padding: 0 !important;
    text-align: center;
}

.pkp_site_name a {
    display: block;
    width: 100%;
}

.pkp_site_name img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    display: block;
    object-fit: cover;
}

/* Hilangkan teks nama jurnal jika masih muncul */
.pkp_site_name .is_text {
    display: none !important;
}

/* =========================
   NAVIGATION
========================= */
.pkp_navigation_primary_wrapper {
    background: #5a0878;
    padding: 0 !important;
}

.pkp_navigation_primary {
    text-align: center;
    margin: 0;
    padding: 0;
}

.pkp_navigation_primary > li {
    display: inline-block;
}

.pkp_navigation_primary > li > a {
    color: #ffffff !important;
    padding: 13px 18px;
    display: block;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus {
    background: rgba(255,255,255,0.18);
    color: #ffffff !important;
}

/* Dropdown menu */
.pkp_navigation_primary ul {
    background: #ffffff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.15);
}

.pkp_navigation_primary ul a {
    color: #333 !important;
}

.pkp_navigation_primary ul a:hover {
    background: #f5e9fa;
    color: #710B94 !important;
}

/* =========================
   CONTENT LAYOUT
========================= */
.pkp_structure_main {
    padding: 25px !important;
}

.pkp_structure_content {
    background: #ffffff !important;
}

/* Naikkan sidebar ke atas */
.pkp_structure_sidebar {
    background: #ffffff !important;
    padding: 20px !important;
    margin-top: 0 !important;
    position: relative;
    top: -10px;
}

/* Untuk tema default OJS 3.3 */
.pkp_structure_body {
    align-items: flex-start !important;
}

/* =========================
   SIDEBAR BOX
========================= */
.pkp_block {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-left: 5px solid #710B94;
    border-radius: 8px;
    margin-bottom: 16px;
    padding: 14px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
}

.pkp_block .title {
    font-size: 15px;
    font-weight: 700;
    color: #710B94;
    border-bottom: 2px solid #eee;
    padding-bottom: 7px;
    margin-bottom: 10px;
}

.pkp_block ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pkp_block li {
    border-bottom: 1px solid #f0f0f0;
    padding: 7px 0;
}

.pkp_block li:last-child {
    border-bottom: none;
}

.pkp_block a {
    color: #333 !important;
    text-decoration: none;
    font-weight: 500;
}

.pkp_block a:hover {
    color: #710B94 !important;
}

/* =========================
   ARTIKEL DALAM KOTAK
========================= */
.obj_issue_toc .articles {
    list-style: none;
    padding: 0;
    margin: 0;
}

.obj_issue_toc .articles > li {
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-left: 5px solid #710B94;
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 18px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
}

.obj_issue_toc .articles > li:hover {
    background: #fcf7ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(113,11,148,0.16);
}

.obj_issue_toc .articles > li .title,
.obj_article_summary .title {
    font-size: 18px;
    font-weight: 700;
    color: #710B94;
    margin-bottom: 8px;
}

.obj_issue_toc .articles > li .title a,
.obj_article_summary .title a {
    color: #710B94 !important;
    text-decoration: none;
}

.obj_issue_toc .articles > li .title a:hover,
.obj_article_summary .title a:hover {
    color: #4b0663 !important;
    text-decoration: underline;
}

.obj_article_summary .authors {
    color: #555;
    font-size: 14px;
    margin-bottom: 8px;
}

.obj_article_summary .pages,
.obj_article_summary .published {
    color: #777;
    font-size: 13px;
}

/* Tombol PDF / Galley */
.obj_article_summary .galleys_links a,
.cmp_manuscript_button,
.cmp_button {
    background: #710B94 !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    padding: 7px 12px !important;
    border: none !important;
    text-decoration: none !important;
    font-weight: 600;
}

.obj_article_summary .galleys_links a:hover,
.cmp_manuscript_button:hover,
.cmp_button:hover {
    background: #4b0663 !important;
}

/* =========================
   JUDUL HALAMAN
========================= */
.page h1,
.page_title,
.obj_issue_toc .heading h2 {
    color: #710B94;
    font-weight: 700;
    border-bottom: 3px solid #710B94;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

/* =========================
   FOOTER
========================= */
.pkp_structure_footer_wrapper {
    background: #f1f3f5;
    color: #666;
    text-align: center;
    padding: 22px;
    font-size: 14px;
}

.pkp_structure_footer_wrapper a {
    color: #710B94 !important;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

    .pkp_structure_page {
        margin: 10px;
        border-radius: 8px;
    }

    .pkp_navigation_primary > li {
        display: block;
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }

    .pkp_navigation_primary > li > a {
        padding: 12px;
    }

    .pkp_structure_main {
        padding: 15px !important;
    }

    .pkp_structure_sidebar {
        top: 0;
        margin-top: 20px !important;
        padding: 15px !important;
    }

    .obj_issue_toc .articles > li {
        padding: 15px;
    }

    .obj_issue_toc .articles > li .title,
    .obj_article_summary .title {
        font-size: 16px;
    }
}
/* =========================
   MENU SIDEBAR FINAL (UNGU ELEGAN)
========================= */

/* Base menu jadi kotak */
.ojs-menu-item {
    display: block;
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-left: 5px solid #710B94;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
    transition: all 0.25s ease;
}

/* Link */
.ojs-menu-item a {
    color: #333 !important;
    text-decoration: none;
    font-weight: 500;
    display: block;
}

/* =========================
   HOVER (UBAH JADI UNGU MUDA)
========================= */
.ojs-menu-item:hover {
    background: #f4ecf7 !important; /* ungu sangat muda */
    border-left: 6px solid #bb8fce !important;
    transform: translateX(4px);
    box-shadow: 0 6px 18px rgba(155,89,182,0.15);
}

.ojs-menu-item:hover a,
.ojs-menu-item:hover i {
    color: #6c3483 !important;
}

/* =========================
   MENU AKTIF (UNGU MUDA PREMIUM)
========================= */
.ojs-menu-item.active {
    background: linear-gradient(135deg, #d7bde2, #c39bd3) !important;
    border-left: 6px solid #8e44ad !important;
    box-shadow: 0 6px 18px rgba(142,68,173,0.25);
}

.ojs-menu-item.active a,
.ojs-menu-item.active i {
    color: #ffffff !important;
    font-weight: 600;
}

/* =========================
   FIX MCD MENU
========================= */
.mcd-menu li {
    list-style: none;
}

.mcd-menu li a {
    height: auto !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
}

/* Hilangkan hover bawaan */
.mcd-menu li:hover > a {
    background: none !important;
    color: inherit !important;
}
/* =========================
   FOOTER RUNNING LOGO (SCROLL)
========================= */

.footer-running {
    overflow: hidden;
    width: 100%;
    background: linear-gradient(90deg, #f4ecf7, #ffffff);
    padding: 12px 0;
    border-top: 3px solid #c39bd3;
    position: relative;
}

/* Track */
.footer-track {
    display: flex;
    align-items: center;
    gap: 20px;
    width: max-content;
    animation: scrollLoop 25s linear infinite;
}

/* Item link */
.footer-track a {
    display: block;
    flex-shrink: 0;
}

/* Logo */
.footer-track img {
    height: 65px;
    width: auto;
    object-fit: contain;
    background: #ffffff;
    padding: 6px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

/* Hover logo */
.footer-track img:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(142,68,173,0.25);
}

/* Animasi looping halus */
@keyframes scrollLoop {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause saat hover */
.footer-running:hover .footer-track {
    animation-play-state: paused;
}

/* Mobile */
@media (max-width: 600px) {
    .footer-track img {
        height: 45px;
        padding: 4px;
    }
}
/* =========================
   REVIEWER CARD OJS 3
========================= */

.reviewer-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin: 20px 0;
}

.reviewer-card {
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-left: 5px solid #710B94;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.reviewer-card:hover {
    background: #f9f1fc;
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(113,11,148,0.18);
}

.reviewer-photo img {
    width: 86px;
    height: 86px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #c39bd3;
    padding: 3px;
    background: #ffffff;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-size: 17px;
    font-weight: 700;
    color: #710B94;
    margin-bottom: 4px;
}

.reviewer-role {
    display: inline-block;
    background: #f4ecf7;
    color: #6c3483;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.reviewer-affiliation {
    font-size: 13px;
    color: #555;
    margin-bottom: 10px;
}

.reviewer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.reviewer-links a,
.reviewer-links span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 5px 9px;
    font-size: 12px;
    color: #333 !important;
    text-decoration: none;
}

.reviewer-links a:hover {
    background: #710B94;
    color: #ffffff !important;
    border-color: #710B94;
}

.reviewer-icon {
    font-size: 14px;
}

/* Mobile */
@media (max-width: 600px) {
    .reviewer-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .reviewer-links {
        justify-content: center;
    }
}