/* ==========================================================
   JURNAL SAINS DAN PRAKTIK KESEHATAN (JSPK)
   Custom CSS - OJS 3.5.0.1
   Versi revisi: perbaikan header logo + pembersihan konflik
   ========================================================== */


/* === FONT IMPORT === */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');


/* === RESET DASAR (dipindah ke atas agar tidak menimpa aturan lain) === */
* {
    box-sizing: border-box;
}

body {
    font-family: "Poppins", Arial, sans-serif;
    margin: 0;
    padding: 0;
}


/* ==========================================================
   HEADER / LOGO -- BAGIAN YANG DIPERBAIKI
   PENYEBAB LAMA: max-height: 200px !important + width: auto
   membuat TINGGI dipatok 200px lalu lebar dihitung dari rasio,
   sehingga banner selalu terender +-800px berapa pun besar file.
   SOLUSI: kunci LEBAR, bebaskan TINGGI.
   ========================================================== */

#headerNavigationContainer {
    max-height: none;
}

.pkp_structure_head {
    position: relative;
}

.pkp_head_wrapper {
    display: block;
    max-width: none;
    padding: 0;
}

.pkp_site_name_wrapper,
.pkp_site_name {
    float: none;
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}

.pkp_site_name {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.pkp_site_name > a {
    display: block;
    padding-top: 0;
    padding-bottom: 0;
}

.pkp_site_name .is_img {
    padding: 0;
}

.pkp_site_name .is_img img {
    display: block;
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
}

.pkp_navigation_user_wrapper {
    position: absolute;
    top: 8px;
    right: 20px;
    z-index: 2;
    padding-right: 0;
}


/* === STRUKTUR HALAMAN === */
.pkp_structure_page {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    padding-bottom: 20px !important;
}

.pkp_structure_main::before {
    content: none !important;
}


/* === NAVIGASI UTAMA === */
.pkp_navigation_primary > li > a {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
}

.journals ul .body .description a {
    display: inline;
}


/* ==========================================================
   TOMBOL LOGIN & REGISTER
   DIPERBAIKI: sebelumnya color dan background sama-sama
   #049fd7 sehingga tulisannya tidak terbaca.
   ========================================================== */

.pkp_navigation_user a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 8px 16px;
    margin-left: 6px;

    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 500;

    color: #ffffff;
    background: #049fd7;

    border: 1.5px solid #ffffff;
    border-radius: 8px;

    text-decoration: none;
    transition: all 0.3s ease;
}

.pkp_navigation_user a:hover {
    background: #027ba8;
    color: #ffffff;
    transform: translateY(-2px);
}

.pkp_navigation_user a:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(4, 159, 215, 0.35);
}


/* ==========================================================
   SIDEBAR JURNAL
   DIPERBAIKI: margin-top: 50 !important tanpa satuan (invalid).
   ========================================================== */

.journal-sidebar {
    font-family: "Poppins", sans-serif;
    margin-top: 0;
    margin-bottom: 30px;
}

.sidebar-title {
    background: #049fd7;
    color: #fff;
    text-align: center;
    padding: 12px;
    font-weight: 600;
    border-radius: 8px;
    margin-bottom: 14px;
}

.sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* JARAK ANTAR KOTAK */
.sidebar-menu li {
    margin-bottom: 5px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 5px;

    padding: 14px 18px;
    background: #ffffff;
    color: #000000;

    border: 1px solid #049fd7;
    border-radius: 10px;

    text-decoration: none;
    font-weight: 500;

    transition: all 0.3s ease;
}

.sidebar-menu .icon {
    font-size: 18px;
    min-width: 24px;
    text-align: center;
    transition: transform 0.3s ease;
}

.sidebar-menu a:hover {
    background: #049fd7;
    color: #ffffff;
    transform: translateX(6px);
}

.sidebar-menu a:hover .icon {
    transform: scale(1.15);
}


/* === EDITORIAL TEAM (SELARAS SIDEBAR) === */

.editorial-preview {
    padding: 0;
}

.editor-item {
    display: flex;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 8px;

    background: #ffffff;
    border: 1px solid #049fd7;
    border-radius: 10px;

    transition: all 0.3s ease;
}

.editor-item:hover {
    background: #049fd7;
    transform: translateX(6px);
}

.editor-item img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #049fd7;
    background: #fff;
}

.editor-info strong {
    display: block;
    font-size: 14px;
    color: #049fd7;
    transition: color 0.3s;
}

.editor-info span {
    font-size: 12px;
    font-weight: 500;
    color: #555;
    transition: color 0.3s;
}

.editor-info small {
    font-size: 11px;
    color: #000000;
    transition: color 0.3s;
}

.editor-item:hover strong,
.editor-item:hover span,
.editor-item:hover small {
    color: #ffffff;
}

.editor-more {
    display: block;
    margin-top: 10px;
    padding: 10px;
    text-align: center;

    background: #ffffff;
    color: #049fd7;
    border: 1px solid #049fd7;
    border-radius: 10px;

    font-weight: 500;
    text-decoration: none;

    transition: all 0.3s ease;
}

.editor-more:hover {
    background: #049fd7;
    color: #ffffff;
    transform: translateX(6px);
}


/* ==========================================================
   KONTEN HALAMAN STATIS (kelas kustom, bukan milik OJS)
   CATATAN: max-width dinaikkan agar tidak jauh lebih sempit
   dari header yang sekarang lebar penuh.
   ========================================================== */

.container {
    max-width: 1200px;
    margin: auto;
    background: #ffffff;
    padding: 0;
}


/* === JUDUL + GARIS === */
.journal-title {
    font-size: 26px;
    font-weight: bold;
    border-bottom: 3px solid #049fd7;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.journal-title .issn {
    float: right;
    font-size: 18px;
    font-weight: normal;
    color: #049fd7;
}


/* === COVER + DESKRIPSI === */
.content-top {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.image-box {
    width: 240px;
    overflow: hidden;
    border-radius: 8px;
}

.image-box img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-box img:hover {
    transform: scale(1.06);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}


/* === DESKRIPSI (RATA KIRI-KANAN) === */
.description {
    flex: 1;
}

.description p {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.7;
    color: #333;
    margin: 0;
}


/* === GARIS PEMISAH === */
.divider {
    border-top: 3px solid #0d9aff;
    margin: 20px 0 5px;
}


/* === BANNER DALAM KONTEN === */
.banner-box {
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
}

.banner-box img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-box img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}


/* === INFO JOURNAL === */
.info-journal h2 {
    background: #049fd7;
    color: #ffffff;
    padding: 10px 12px;
    margin: 0;
    font-size: 18px;
}

.info-journal table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ccc;
}

.info-journal th,
.info-journal td {
    padding: 10px 12px;
    border: 1px solid #ddd;
    vertical-align: top;
}

.info-journal th {
    width: 30%;
    background: #f2f2f2;
    text-align: left;
}

/* DIPERBAIKI: sebelumnya #1ab1d7, teks jadi sulit dibaca */
.info-journal tr:hover {
    background: #e6f6fc;
}


/* ==========================================================
   BACKGROUND HALAMAN (area di luar kotak konten)
   CATATAN: sebelumnya body dideklarasikan dua kali dengan
   background berbeda (#f4f6f8 lalu #000000 + gambar).
   Sekarang digabung jadi satu deklarasi.
   ========================================================== */

body {
    background-color: #0a2a43;
    background-image: url('https://cvauratun.com/wp-content/uploads/2026/01/jurnal-kudsdsdsdssdsdsdsd.jpg');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    background-attachment: fixed;
}


/* === RESPONSIF (tambahan) === */
@media (max-width: 768px) {
    .content-top {
        flex-direction: column;
    }

    .image-box {
        width: 100%;
        max-width: 240px;
        margin: 0 auto;
    }

    .journal-title .issn {
        float: none;
        display: block;
        margin-top: 6px;
    }

    .pkp_navigation_user_wrapper {
        position: static;
        top: auto;
        right: auto;
    }
}

/* ==========================================================
   OVERRIDE PRIORITAS TINGGI
   Mengalahkan aturan dari Site Stylesheet tanpa bergantung
   pada urutan pemuatan file.
   ========================================================== */

body .pkp_structure_head .pkp_site_name .is_img img,
body .pkp_head_wrapper .pkp_site_name .is_img img,
body .pkp_site_name a.is_img img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
}

body .pkp_structure_head .pkp_site_name,
body .pkp_structure_head .pkp_site_name_wrapper {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body .pkp_structure_head .pkp_head_wrapper {
    display: block !important;
    max-width: none !important;
    padding: 0 !important;
}