/* ==================================================
   JST RESPONSIVE — DESKTOP, TABLET, HP POTRET & LANSKAP
   ================================================== */

/* ===== PENGATURAN UMUM ===== */

* {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.pkp_structure_head {
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    background-color: #001832;
}

.pkp_head_wrapper {
    width: 100%;
    max-width: 100% !important;
    margin: 0 auto;
    padding: 0 !important;
}

/* ===== HEADER JURNAL ===== */

.pkp_site_name {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0;
}

.pkp_site_name .is_img {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.pkp_site_name .is_img img,
.pkp_site_name img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border: 0;
    object-fit: contain;
}

/* ===== NAVIGASI ===== */

.pkp_navigation_primary_row {
    width: 100%;
    background-color: #003b66;
}

/* ===== KONTEN UTAMA ===== */

.pkp_structure_content {
    width: 100%;
}

.pkp_structure_main {
    color: #2a2a2a;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.jst-profile,
.jst-profile * {
    box-sizing: border-box;
}

.jst-profile {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    padding: 20px 22px 35px;
    color: #2a2a2a;
    background-color: #ffffff;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
}

.jst-main-grid {
    display: block;
    width: 100%;
}

/* ===== PARAGRAF ===== */

.jst-profile p {
    margin: 0 0 17px;
    color: #2a2a2a;
    text-align: justify;
    text-align-last: left;
    hyphens: auto;
    overflow-wrap: break-word;
}

/* ===== JUDUL PROFIL JURNAL ===== */

.jst-journal-title {
    display: block;
    margin: 0 0 16px;
padding-bottom: 11px;
border-bottom: 2px solid #d6e4ef;
    color: #003b66;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px !important;
    font-weight: 700;
    line-height: 1.4;
}

/* ===== TAUTAN ===== */

.jst-profile a {
    color: #005da8;
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.jst-profile a:hover,
.jst-profile a:focus {
    color: #003b66;
    text-decoration: underline;
}

/* ===== INFORMASI JURNAL ===== */

.jst-details ul {
    margin: 24px 0 0;
    padding: 21px 23px 21px 43px;
    border-left: 5px solid #1c75bc;
    border-radius: 7px;
    background-color: #f4f8fb;
}

.jst-details li {
    margin: 0 0 9px;
    padding-left: 3px;
    color: #252525;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.jst-details li:last-child {
    margin-bottom: 0;
}

.jst-details li::marker {
    color: #1c75bc;
}

.jst-label {
    color: #003b66;
    font-weight: 700;
}

/* ===== BAGIAN WHY US ===== */

.jst-why-us {
    width: 100%;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 3px solid #1c75bc;
}

.jst-section-title {
    margin: 0 0 27px;
    color: #003b66;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 31px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

.jst-section-title::after {
    display: block;
    width: 65px;
    height: 4px;
    margin: 11px auto 0;
    border-radius: 5px;
    background-color: #f4c430;
    content: "";
}

/* ===== KARTU ===== */

.jst-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.jst-card {
    display: flex;
    height: 100%;
    overflow: hidden;
    border: 1px solid #dce4ea;
    border-radius: 11px;
    background-color: #ffffff;
    box-shadow: 0 5px 17px rgba(0, 59, 102, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.jst-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 23px rgba(0, 59, 102, 0.14);
}

.jst-card-open {
    border-top: 5px solid #159957;
}

.jst-card-review {
    border-top: 5px solid #1c75bc;
}

.jst-card-body {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 24px;
}

.jst-card-title {
    margin: 0 0 14px;
    color: #003b66;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.35;
}

.jst-card-text {
    margin: 0 0 17px;
    color: #2a2a2a;
    font-size: 15px;
    line-height: 1.7;
    text-align: justify;
    text-align-last: left;
}

.jst-read-more {
    display: inline-block;
    align-self: flex-start;
    margin-top: auto;
    padding: 10px 18px;
    border-radius: 6px;
    color: #ffffff !important;
    background-color: #005da8;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none !important;
}

.jst-read-more:hover,
.jst-read-more:focus {
    color: #ffffff !important;
    background-color: #003b66;
}

/* ==================================================
   MEMPERJELAS MENU NAVIGASI JST
   ================================================== */

/* Latar belakang navigasi */
.pkp_navigation_primary_row {
    min-height: 70px;
    padding: 0 24px;
    background-color: #00436b !important;
    border: none !important;
}

/* Menu utama */
.pkp_navigation_primary > li > a,
.pkp_navigation_primary > li > button {
    padding: 23px 17px !important;
    color: #ffffff !important;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 24px;
    text-transform: uppercase;
    text-decoration: none !important;
    opacity: 1 !important;
}

/* Menu saat disentuh atau dipilih */
.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus,
.pkp_navigation_primary > li > a:active,
.pkp_navigation_primary > li > button:hover,
.pkp_navigation_primary > li > button:focus {
    color: #ffd43b !important;
    background-color: #00324f !important;
}

/* Tanda panah menu About */
.pkp_navigation_primary .dropdown-toggle::after {
    border-top-color: #ffffff !important;
}

/* Submenu */
.pkp_navigation_primary ul {
    background-color: #ffffff !important;
    border: 1px solid #d8e2ea !important;
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.18);
}

.pkp_navigation_primary ul li a {
    display: block;
    padding: 11px 16px !important;
    color: #003b66 !important;
    background-color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: none;
}

.pkp_navigation_primary ul li a:hover,
.pkp_navigation_primary ul li a:focus {
    color: #ffffff !important;
    background-color: #005da8 !important;
}

/* Tombol pencarian */
.pkp_navigation_search_wrapper a,
.pkp_search,
.pkp_search_desktop {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    opacity: 1 !important;
}

.pkp_navigation_search_wrapper a:hover,
.pkp_navigation_search_wrapper a:focus,
.pkp_search:hover,
.pkp_search:focus {
    color: #ffd43b !important;
}

/* Ikon pencarian */
.pkp_navigation_search_wrapper .fa,
.pkp_search .fa,
.pkp_search::before {
    color: #ffffff !important;
}

/* ==================================================
   TOMBOL REGISTER DAN LOGIN
   ================================================== */

.pkp_navigation_user {
    display: flex;
    gap: 10px;
    align-items: center;
}

.pkp_navigation_user > li > a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 20px !important;
    border: 2px solid #005da8 !important;
    border-radius: 8px;
    color: #ffffff !important;
    background-color: #005da8 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2;
    text-decoration: none !important;
    opacity: 1 !important;
    box-shadow: 0 3px 9px rgba(0, 59, 102, 0.18);
}

.pkp_navigation_user > li > a:hover,
.pkp_navigation_user > li > a:focus {
    border-color: #003b66 !important;
    color: #ffffff !important;
    background-color: #003b66 !important;
}

/* Tombol Register dibuat berbeda */
.pkp_navigation_user > li:first-child > a {
    border-color: #e5a800 !important;
    color: #222222 !important;
    background-color: #ffd43b !important;
}

.pkp_navigation_user > li:first-child > a:hover,
.pkp_navigation_user > li:first-child > a:focus {
    border-color: #c89400 !important;
    color: #111111 !important;
    background-color: #f5bd00 !important;
}

/* ==================================================
   MENU HP POTRET DAN LANSKAP
   ================================================== */

@media screen and (max-width: 992px) {

    /* Tombol hamburger */
    .pkp_site_nav_toggle {
        display: block;
        color: #ffffff !important;
        background-color: #00436b !important;
        border: 1px solid rgba(255, 255, 255, 0.35) !important;
        border-radius: 7px;
        opacity: 1 !important;
    }

    .pkp_site_nav_toggle > span,
    .pkp_site_nav_toggle > span::before,
    .pkp_site_nav_toggle > span::after {
        background-color: #ffffff !important;
    }

    /* Panel menu HP */
    .pkp_site_nav_menu {
        color: #ffffff !important;
        background-color: #003b66 !important;
    }

    .pkp_navigation_primary_row {
        min-height: 58px;
        padding: 0 15px;
        background-color: #003b66 !important;
    }

    .pkp_navigation_primary {
        width: 100%;
        padding: 10px 0 !important;
    }

    .pkp_navigation_primary > li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .pkp_navigation_primary > li > a,
    .pkp_navigation_primary > li > button {
        display: block;
        width: 100%;
        padding: 14px 18px !important;
        color: #ffffff !important;
        background-color: transparent !important;
        font-size: 15px !important;
        text-align: left;
    }

    .pkp_navigation_primary > li > a:hover,
    .pkp_navigation_primary > li > a:focus {
        color: #ffd43b !important;
        background-color: #002e49 !important;
    }

    /* Register dan Login pada HP */
    .pkp_navigation_user {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
        margin: 12px 0 !important;
        padding: 0 15px !important;
    }

    .pkp_navigation_user > li {
        width: 100%;
        margin: 0 !important;
    }

    .pkp_navigation_user > li > a {
        width: 100%;
        min-height: 44px;
        padding: 11px 14px !important;
        text-align: center;
    }

    .pkp_navigation_search_wrapper {
        padding: 12px 18px !important;
    }

    .pkp_navigation_search_wrapper a {
        color: #ffffff !important;
    }
}

/* HP kecil */
@media screen and (max-width: 380px) {
    .pkp_navigation_user {
        grid-template-columns: 1fr;
    }
}

/* ==================================================
   PERBAIKAN SUBMENU: TEKS GELAP DI LATAR PUTIH
   ================================================== */

/* Kotak submenu */
.pkp_navigation_primary ul,
.pkp_navigation_primary .dropdown-menu,
.pkp_navigation_primary .dropdown-menu ul {
    min-width: 260px !important;
    padding: 0 !important;
    border: 1px solid #d5dce3 !important;
    border-radius: 0 0 7px 7px !important;
    background-color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18) !important;
}

/* Semua baris submenu */
.pkp_navigation_primary ul li,
.pkp_navigation_primary .dropdown-menu li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #e7edf2 !important;
    background-color: #ffffff !important;
}

/* Menghilangkan garis pada baris terakhir */
.pkp_navigation_primary ul li:last-child,
.pkp_navigation_primary .dropdown-menu li:last-child {
    border-bottom: none !important;
}

/* Tulisan submenu */
.pkp_navigation_primary ul li a,
.pkp_navigation_primary ul a,
.pkp_navigation_primary .dropdown-menu li a,
.pkp_navigation_primary .dropdown-menu a,
.pkp_nav_list ul li a,
.pkp_nav_list ul a {
    display: block !important;
    width: 100% !important;
    padding: 13px 18px !important;
    color: #003b66 !important;
    background-color: #ffffff !important;
    font-family: "Segoe UI", Roboto, Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    text-align: left !important;
    text-transform: none !important;
    text-decoration: none !important;
    white-space: normal !important;
    opacity: 1 !important;
}

/* Submenu aktif */
.pkp_navigation_primary ul li.current > a,
.pkp_navigation_primary .dropdown-menu li.current > a {
    color: #ffffff !important;
    background-color: #ff9200 !important;
    font-weight: 700 !important;
}

/* Submenu ketika disentuh */
.pkp_navigation_primary ul li a:hover,
.pkp_navigation_primary ul li a:focus,
.pkp_navigation_primary .dropdown-menu li a:hover,
.pkp_navigation_primary .dropdown-menu li a:focus,
.pkp_nav_list ul li a:hover,
.pkp_nav_list ul li a:focus {
    color: #ffffff !important;
    background-color: #005da8 !important;
}

/* Tampilan submenu pada HP */
@media screen and (max-width: 992px) {
    .pkp_navigation_primary ul,
    .pkp_navigation_primary .dropdown-menu {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        min-width: 100% !important;
        margin: 0 !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .pkp_navigation_primary ul li a,
    .pkp_navigation_primary .dropdown-menu li a,
    .pkp_nav_list ul li a {
        padding: 13px 18px 13px 32px !important;
        color: #003b66 !important;
        background-color: #ffffff !important;
        font-size: 14px !important;
    }

    .pkp_navigation_primary ul li a:hover,
    .pkp_navigation_primary ul li a:focus,
    .pkp_navigation_primary .dropdown-menu li a:hover,
    .pkp_navigation_primary .dropdown-menu li a:focus {
        color: #ffffff !important;
        background-color: #005da8 !important;
    }
}