
/* ==================================================
   JAKAT PREMIUM THEME v2
   Jurnal Pengabdian Masyarakat
   OJS 3.3.0-11
   Color: Magenta, Fuchsia & Purple
   ================================================== */


/* ==================================================
   ROOT COLOR
   ================================================== */

:root {
    --primary: #D600A9;
    --secondary: #F044C8;
    --accent: #A00083;
    --dark: #35102F;
    --light: #FFFFFF;
    --muted: #766475;
    --border: #F0D8ED;
    --soft: #FFF0FC;
    --soft-hover: #FCE3F7;
    --shadow: 0 8px 25px rgba(105, 0, 85, .08);
    --shadow-hover: 0 14px 32px rgba(105, 0, 85, .14);
    --gradient: linear-gradient(135deg, #79005F, #D600A9, #F044C8);
}


/* ==================================================
   HEADER
   ================================================== */

.pkp_structure_head {
    background: linear-gradient(
        125deg,
        #79005F 0%,
        #B00091 45%,
        #E500B8 100%
    );

    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(85, 0, 70, .18);
}

.pkp_structure_head::before {
    content: "";
    position: absolute;
    top: -150px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    pointer-events: none;
}

.pkp_structure_head::after {
    content: "";
    position: absolute;
    bottom: -120px;
    left: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    pointer-events: none;
}

.pkp_head_wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.pkp_site_name_wrapper {
    padding: 20px 0 10px;
}

.pkp_site_name .is_img img {
    max-height: 300px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}


/* ==================================================
   NAVBAR
   ================================================== */

@media (min-width: 768px) {

    .pkp_navigation_primary_row {
        background: transparent;
    }

    .pkp_navigation_primary_wrapper {
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .pkp_navigation_primary > li > a {
        color: #FFFFFF !important;
        font-weight: 600;
        transition: .25s ease;
        border-radius: 7px;
        padding: 12px 15px;
    }

    .pkp_navigation_primary > li > a:hover {
        background: rgba(255, 255, 255, .16);
        color: #FFFFFF !important;
    }

    .pkp_navigation_primary .current > a,
    .pkp_navigation_primary .active > a {
        background: rgba(255, 255, 255, .22);
        color: #FFFFFF !important;
    }

    .pkp_navigation_search_wrapper a {
        color: #FFFFFF !important;
    }

    .pkp_navigation_search_wrapper a:hover {
        color: #FFE0F8 !important;
    }

    /* Dropdown */

    .pkp_navigation_primary ul {
        background: #FFFFFF;
        border: 1px solid var(--border);
        border-radius: 10px;
        box-shadow: 0 10px 25px rgba(70, 0, 60, .15);
        overflow: hidden;
    }

    .pkp_navigation_primary ul a {
        color: var(--dark) !important;
        transition: .2s ease;
    }

    .pkp_navigation_primary ul a:hover {
        background: var(--soft);
        color: var(--primary) !important;
    }
}


/* ==================================================
   ABOUT PAGE
   ================================================== */

.jundikma-about {
    color: var(--dark);
}

.jundikma-title {
    color: var(--dark);
    margin-bottom: 20px;
    border-left: 5px solid var(--primary);
    padding-left: 15px;
    font-weight: 800;
}

.jundikma-description {
    background: linear-gradient(135deg, #FFFFFF, #FFFAFE);
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
    line-height: 1.9;
    text-align: justify;
}

.jundikma-description p:last-child {
    margin-bottom: 0;
}

.highlight {
    color: var(--primary);
    font-weight: 700;
}

.journal-card {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 25px;
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
    transition: box-shadow .25s ease, transform .25s ease;
}

.journal-card:hover {
    box-shadow: var(--shadow-hover);
}

.journal-cover {
    flex: 0 0 180px;
    max-width: 100%;
}

.journal-cover img {
    display: block;
    width: 180px;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid var(--border);
    box-shadow: 0 8px 20px rgba(70, 0, 60, .15);
}

.journal-info {
    flex: 1;
    min-width: 0;
}

.info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 0;
    border-bottom: 1px solid #F0E6EF;
    line-height: 1.6;
}

.info-row:last-child {
    border-bottom: none;
}

.label {
    flex: 0 0 180px;
    font-weight: 700;
    color: var(--primary);
}

.value {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

.value a {
    color: var(--accent);
    text-decoration: none;
    transition: color .2s ease;
}

.value a:hover {
    color: var(--primary);
    text-decoration: underline;
}


/* ==================================================
   ARTICLE PROCESS
   ================================================== */

.process-section {
    background: linear-gradient(135deg, #FFFFFF, #FFF6FD);
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    margin-bottom: 25px;
}

.process-section h2 {
    color: var(--accent);
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 800;
}

.process-section img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 10px;
}


/* ==================================================
   CURRENT ISSUE
   ================================================== */

.obj_issue_summary,
.current_issue {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.obj_issue_summary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.current_issue_title,
.page_issue_archive .title,
.obj_issue_summary .title {
    color: var(--accent) !important;
    font-size: 28px;
    font-weight: 700;
    border-left: 5px solid var(--primary);
    padding-left: 15px;
}

.current_issue .cover img,
.obj_issue_summary img {
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(70, 0, 60, .15);
}

.current_issue .published,
.current_issue .description,
.obj_issue_summary .series {
    color: var(--muted);
}

.current_issue .read_more,
.obj_issue_summary .read_more {
    display: inline-block;
    background: var(--gradient);
    color: #FFFFFF !important;
    padding: 10px 18px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform .2s ease, box-shadow .2s ease;
}

.current_issue .read_more:hover,
.obj_issue_summary .read_more:hover {
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(170, 0, 135, .22);
}


/* ==================================================
   ARTICLE CARD
   ================================================== */

.obj_article_summary {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(70, 0, 60, .05);
    transition: transform .25s ease, box-shadow .25s ease;
}

.obj_article_summary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.obj_article_summary .title a {
    color: var(--dark) !important;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease;
}

.obj_article_summary .title a:hover {
    color: var(--primary) !important;
}

.obj_article_summary .meta {
    color: var(--muted);
}

.obj_article_summary .pages,
.obj_article_summary .subtitle {
    color: #8B7B89;
}

.obj_galley_link {
    display: inline-block;
    background: var(--gradient) !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 8px 18px !important;
    font-weight: 600;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease;
}

.obj_galley_link:hover {
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(170, 0, 135, .22);
}


/* ==================================================
   OJS FIX
   ================================================== */

.pkp_structure_content {
    border-top: none !important;
}

.pkp_page_content {
    border: none !important;
}


/* ==================================================
   BACKGROUND PUTIH JAKAT
   ================================================== */

html,
body,
.pkp_structure_page,
.pkp_structure_content,
.pkp_structure_main,
.pkp_page_content,
.page_index_journal {
    background: #FFFFFF !important;
}

.pkp_structure_content,
.pkp_structure_main {
    border: none !important;
    box-shadow: none !important;
}

.pkp_structure_content::before,
.pkp_structure_content::after,
.pkp_structure_main::before,
.pkp_structure_main::after {
    border: none !important;
}

.pkp_structure_sidebar {
    background: #FFFFFF !important;
}


/* ==================================================
   JAKAT SIDEBAR PREMIUM
   ================================================== */

.jundikma-sidebar-card {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
    transition: box-shadow .25s ease;
}

.jundikma-sidebar-card:hover {
    box-shadow: var(--shadow-hover);
}

.sidebar-title {
    background: var(--gradient);
    color: #FFFFFF;
    text-align: center;
    padding: 14px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
}

.sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 10px;
}

.sidebar-menu li {
    margin-bottom: 8px;
}

.sidebar-menu li:last-child {
    margin-bottom: 0;
}

.sidebar-menu a {
    display: block;
    padding: 12px 15px;
    background: #FFF6FD;
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    transition: background .25s ease, color .25s ease,
                transform .25s ease;
}

.sidebar-menu a:hover {
    background: var(--gradient);
    color: #FFFFFF !important;
    transform: translateX(4px);
}

.sidebar-section {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.sidebar-section img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    background: #FFFFFF;
    padding: 5px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.sidebar-section img:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(105, 0, 85, .12);
}


/* ==================================================
   BUTTONS & FORM CONTROLS
   ================================================== */

.pkp_button,
.pkp_button_primary,
button.submit,
input[type="submit"] {
    background: var(--gradient) !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 8px !important;
    transition: transform .2s ease, box-shadow .2s ease;
}

.pkp_button:hover,
.pkp_button_primary:hover,
button.submit:hover,
input[type="submit"]:hover {
    color: #FFFFFF !important;
    box-shadow: 0 5px 15px rgba(170, 0, 135, .20);
}

a {
    transition: color .2s ease;
}

.pkp_page_index .additional_content a,
.pkp_page_about .about a {
    color: var(--accent);
}

.pkp_page_index .additional_content a:hover,
.pkp_page_about .about a:hover {
    color: var(--primary);
}


/* ==================================================
   FOOTER
   ================================================== */

.pkp_structure_footer_wrapper {
    background: linear-gradient(
        125deg,
        #4A003D 0%,
        #79005F 50%,
        #A9008A 100%
    );
    color: #FFFFFF;
    border-top: 4px solid #F044C8;
}

.pkp_structure_footer_wrapper a {
    color: #FFD9F7 !important;
}

.pkp_structure_footer_wrapper a:hover {
    color: #FFFFFF !important;
}


/* ==================================================
   MOBILE RESPONSIVE
   ================================================== */

@media (max-width: 767px) {

    .pkp_structure_head {
        overflow: hidden;
    }

    .pkp_navigation_primary_wrapper {
        background: transparent !important;
        margin-top: -15px;
    }

    .pkp_site_name_wrapper {
        padding: 8px 0;
    }

    .pkp_site_name {
        text-align: center;
    }

    .pkp_site_name img,
    .pkp_site_name .is_img img {
        max-height: 110px !important;
        width: auto !important;
        max-width: 100%;
        margin: auto;
    }

    .pkp_navigation_primary > li > a {
        color: #FFFFFF !important;
    }

    .journal-card {
        flex-direction: column;
        gap: 20px;
        padding: 18px;
    }

    .journal-cover {
        flex: 0 0 auto;
        width: 100%;
        text-align: center;
    }

    .journal-cover img {
        width: 140px;
        max-width: 100%;
        margin: 0 auto;
    }

    .journal-info {
        width: 100%;
    }

    .info-row {
        flex-direction: column;
        gap: 4px;
        padding: 10px 0;
    }

    .label {
        flex: 0 0 auto;
        width: 100%;
    }

    .jundikma-description {
        padding: 18px;
    }

    .process-section {
        padding: 16px;
    }

    .obj_issue_summary,
    .current_issue {
        padding: 18px;
    }

    .current_issue_title,
    .page_issue_archive .title,
    .obj_issue_summary .title {
        font-size: 23px;
    }

    .obj_article_summary {
        padding: 16px;
    }

    .obj_article_summary .title a {
        font-size: 18px;
    }

    .sidebar-title {
        font-size: 15px;
    }
}


/* ==================================================
   ACCESSIBILITY: REDUCED MOTION
   ================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
