/* ====================================================================
   CUSTOM CSS OJS 3 - GORONTALO MANAGEMENT RESEARCH (MODERN BLUE THEME)
   ==================================================================== */

/* 1. BACKGROUND HALAMAN KESELURUHAN (MENYATU DENGAN HEADER) */
body {
    background: linear-gradient(rgba(255, 255, 255, 0.25), rgba(13, 39, 92, 0.45)), 
                url('https://png.pngtree.com/thumb_back/fh260/background/20220919/pngtree-concept-of-innovation-data-management-customer-service-and-business-processes-in-digital-transformation-technology-strategy-with-internet-information-management-photo-image_48679832.jpg') !important;
    background-size: cover !important;
    background-attachment: fixed !important;
    background-position: center !important;
    font-family: 'Times New Roman', Times, serif !important;
}

/* 2. PEMBUNGKUS HALAMAN (TRANSPARAN) */
.pkp_structure_page {
    background: transparent !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* 3. AREA HEADER KESELURUHAN (DIBUAT TRANSPARAN AGAR GAMBAR BODY TEMBUS MENYATU) */
.pkp_structure_head {
    background: transparent !important; /* Menghilangkan background terpisah agar menyatu dengan body */
    border-top: 3px solid #0d275c !important;
    border-bottom: 3px solid #0d275c !important;
    width: 100% !important;
    min-width: 1000px !important; 
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
}

/* ==========================================================
   4. TOP BAR (PALING ATAS - LOGO UNIGO & LOGIN)
   ========================================================== */
.pkp_navigation_user_wrapper {
    background-color: #f8fafc !important; 
    width: 100% !important;
    margin: 0 !important;
    padding: 10px 20px !important;
    box-sizing: border-box !important;
    display: flex !important;
    justify-content: space-between !important; 
    align-items: center !important;
    border-bottom: 3px solid #1a4cb0 !important; 
}

.pkp_navigation_user_wrapper::before {
    content: "Universitas Gorontalo" !important;
    background-image: url('https://website.unigo.ac.id/wp-content/uploads/2024/10/Logo-Universitas-Gorontalo-small.png') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: left center !important;
    padding-left: 35px !important; 
    font-size: 15px !important;
    font-weight: bold !important;
    color: #1a4cb0 !important; 
    display: block !important;
    height: 30px !important;
    line-height: 30px !important;
    white-space: nowrap !important;
}

.pkp_navigation_user { margin: 0 !important; }
.pkp_navigation_user a {
    color: #1a4cb0 !important; 
    font-weight: bold !important;
}

/* ==========================================================
   5. DESAIN HEADER JURNAL (TEKS SATU BARIS - FULL PUTIH KONTRAST)
   ========================================================== */
.pkp_site_name_wrapper {
    padding: 15px 10px 5px 10px !important;
    text-align: center !important; 
    display: flex !important;
    flex-direction: column !important; 
    justify-content: center !important;
    align-items: center !important;      
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
}

.pkp_site_name_wrapper::before,
.pkp_site_name_wrapper .is_img,
.pkp_site_name img { 
    display: none !important; 
    margin: 0 !important;
    padding: 0 !important;
}

.pkp_site_name,
.pkp_site_name h1,
.pkp_site_name a {
    font-family: 'Times New Roman', Times, serif !important; 
    font-weight: bold !important;
    font-size: 46px !important; 
    letter-spacing: 0.8px !important; 
    margin: 0 auto !important; 
    text-align: center !important;
    line-height: 1.2 !important; 
    text-decoration: none !important;
    display: block !important;
    width: 100% !important;
    
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    
    filter: drop-shadow(0px 2px 3px rgba(0, 0, 0, 0.9)) drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.7)) !important;
}

.pkp_site_name::after,
.pkp_site_name a::after,
.pkp_site_name h1::after {
    display: none !important;
    content: "" !important;
}

.pkp_site_name_wrapper::after {
    content: "ISSN PRINT: 2614-5189 | ISSN ONLINE: 2614-5197" !important;
    display: inline-block !important;
    background-color: #0d275c !important; 
    color: #ffffff !important; 
    font-family: 'Times New Roman', Times, serif !important;
    font-weight: bold !important;
    font-size: 13px !important;
    padding: 4px 20px !important; 
    border-radius: 4px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3) !important;
    margin: 20px auto 0 auto !important;
    text-align: center !important;
    -webkit-text-fill-color: initial !important; 
}

/* ==========================================================
   6. AREA BAWAH HEADER (MENU UTAMA & SEARCH)
   ========================================================== */
.pkp_navigation_primary_wrapper {
    background: linear-gradient(to right, #1a4cb0 0%, #0d275c 100%) !important;
    border-top: 4px solid #4d82f3 !important; 
    border-bottom: 4px solid #4d82f3 !important;
    padding: 0 max(6vw, calc((100vw - 1300px) / 2)) !important; 
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important; 
    align-items: center !important;
}

.pkp_navigation_primary_row {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
}

.pkp_navigation_primary {
    display: flex !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    flex-grow: 1 !important; 
    width: 100% !important;
}

.pkp_navigation_primary > li > a {
    color: #ffffff !important;
    font-weight: bold !important;
    padding: 8px 20px !important;
    white-space: nowrap !important;
    display: block !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5) !important;
}

.pkp_navigation_primary > li:first-child > a {
    padding-left: 0 !important;
}

.pkp_navigation_primary > li > a:hover {
    background-color: #4d82f3 !important; 
    color: #ffffff !important; 
}

.pkp_search {
    display: flex !important;
    align-items: center !important;
    margin: 0 0 0 auto !important; 
}

.pkp_search a.search_prompt,
.pkp_search a {
    color: #ffffff !important;
    font-weight: bold !important;
    padding: 8px 0 8px 20px !important; 
    text-decoration: none !important;
    display: block !important;
    padding-right: 0 !important;
}

/* ==========================================================
   7. KOTAK PUTIH KONTEN (EFEK OPASITAS TRANSPARAN - BAYANG-BAYANG BACKGROUND TEMBUS)
   ========================================================== */
.pkp_structure_content {
    background-color: rgba(255, 255, 255, 0.88) !important; 
    backdrop-filter: blur(4px) !important; 
    border-radius: 8px !important;
    border: 2px solid #1a4cb0 !important; 
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35) !important;
    width: 88% !important; 
    max-width: 1300px !important;
    min-width: 1000px !important; 
    margin: 25px auto 40px auto !important; 
    padding: 20px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-wrap: nowrap !important; 
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 5% !important;
}

.pkp_structure_main {
    width: 63% !important; 
    flex: 0 0 63% !important;
    box-sizing: border-box !important;
    padding-right: 15px !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    overflow-x: hidden !important; 
}

.pkp_structure_sidebar {
    width: 28% !important; 
    flex: 0 0 28% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.pkp_structure_main *, .pkp_structure_sidebar * {
    max-width: 100% !important;
}

.pkp_structure_main p, .pkp_structure_main div {
    text-align: justify !important;
    line-height: 1.7 !important;
    color: #1a1a1a !important; 
    margin-bottom: 15px !important;
}

/* ==========================================================
   8. WIDGET SIDEBAR & KARTU (SIMETRIS & RAPI TANPA LATAR BELAKANG BIRU UNTUK LOGO)
   ========================================================== */
.pkp_block {
    background-color: rgba(255, 255, 255, 0.95) !important; 
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    margin-bottom: 25px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
    width: 95% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 20px !important; 
    box-sizing: border-box !important;
}

.pkp_block .title,
.pkp_block .content table tr:first-child td {
    background-color: #1a4cb0 !important; 
    color: #ffffff !important;
    text-align: center !important;
    padding: 14px !important;
    font-weight: 700 !important;
    font-size: 1.1em !important;
    border-bottom: 3px solid #4d82f3 !important; 
    margin-bottom: 20px !important; 
    border-radius: 4px !important; 
    letter-spacing: 0.5px !important;
    text-shadow: none !important; 
    display: block !important;
}

.pkp_block .content table tr:first-child td * {
    color: #ffffff !important;
}

.pkp_block .content {
    text-align: center !important; 
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important; /* Jarak antar baris seragam */
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.pkp_block .content p, 
.pkp_block .content div,
.pkp_block .content strong {
    text-align: center !important;
    color: #0d275c !important; 
    font-weight: 700 !important; 
    line-height: 1.6 !important;
    margin: 0 !important;
    font-size: 1em !important;
    width: 100% !important;
}

.pkp_block .content table,
.pkp_block .content tbody,
.pkp_block .content tr,
.pkp_block .content td,
.pkp_block .content ul,
.pkp_block .content li {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important; 
    gap: 15px !important;
}

.pkp_block .content br,
.pkp_block .content p:empty {
    display: none !important;
}

/* ============================================
   8A. TAMPILAN TOMBOL LINK TEKS UTAMA (SEPERTI MENU NAVIGASI & RECOMMENDED TOOLS) 
   ============================================ */
.pkp_block .content a:not(:has(img)) {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 48px !important; 
    padding: 10px 20px !important; 
    background-color: #1a4cb0 !important; 
    color: #ffffff !important; 
    font-weight: 700 !important;
    text-decoration: none !important;
    text-align: center !important; 
    transition: all 0.3s ease !important;
    border-radius: 5px !important; 
    border-left: 4px solid #4d82f3 !important; 
    box-shadow: 0 3px 6px rgba(0,0,0,0.08) !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

.pkp_block .content a:not(:has(img)) * {
    color: #ffffff !important;
    text-shadow: none !important;
}

.pkp_block .content a:not(:has(img)):hover {
    background-color: #4d82f3 !important; 
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 12px rgba(0,0,0,0.15) !important;
}

/* ============================================
   8B. TAMPILAN LOGO GAMBAR (MENDELEY, GRAMMARLY, TURNITIN, ETC) - HILANGKAN WARNA BIRU
   ============================================ */
/* Membuat pembungkus logo gambar menjadi transparan (tidak berwarna biru) agar menyatu dengan elegan */
.pkp_block .content a:has(img) {
    display: flex !important; 
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 65px !important; /* Tinggi kotak seragam dan luas */
    margin: 0 !important; 
    padding: 5px !important;
    background: transparent !important; /* MENGHILANGKAN WARNA BIRU LATAR */
    border: none !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    transition: transform 0.3s ease !important;
}

.pkp_block .content a:has(img):hover {
    transform: scale(1.06) !important; /* Efek membesar proporsional yang halus saat disentuh */
}

.pkp_block .content img {
    display: block !important; 
    max-width: 90% !important;    /* Menjaga logo tidak kebesaran keluar area */
    max-height: 55px !important;   /* Menyeimbangkan proporsi tinggi logo */
    width: auto !important;
    height: auto !important;
    vertical-align: middle !important;
    margin: 0 auto !important; 
    padding: 0 !important;
    border-radius: 0 !important;
    object-fit: contain !important; /* Memaksa logo tetap proporsional dan tidak gepeng */
}

/* ============================================
   8C. TOMBOL UTAMA UTILITY (SISTEM OJS)
   ============================================ */
.cmp_button_primary, .pkp_button_primary, .pkp_button {
    background-color: #1a4cb0 !important; 
    color: #ffffff !important;
    border: 1px solid #4d82f3 !important;
    border-radius: 5px !important;
    padding: 10px 15px !important;
    font-weight: bold !important;
}
.cmp_button_primary:hover, .pkp_button_primary:hover, .pkp_button:hover {
    background-color: #4d82f3 !important;
    color: #ffffff !important;
}

h1, h2, h3, h4, h5 {
    color: #0d275c !important;
    font-family: 'Times New Roman', Times, serif !important;
    font-weight: 700 !important;
}

/* ==========================================================
   9. RESPONSIVE MOBILE TAMPILAN HP 
   ========================================================== */
@media (max-width: 992px) {
    .pkp_structure_head, .pkp_head_wrapper {
        min-width: auto !important; 
        height: auto !important;
        position: relative !important;
        display: block !important;
    }

    .pkp_structure_head {
        padding-bottom: 25px !important; 
    }

    .pkp_site_name_wrapper {
        position: relative !important;
        padding: 25px 15px 15px 15px !important; 
        display: block !important;
        height: auto !important;
    }

    .pkp_site_name,
    .pkp_site_name h1,
    .pkp_site_name a {
        font-size: 30px !important; 
        line-height: 1.3 !important;
        white-space: normal !important; 
        word-wrap: break-word !important;
        display: block !important;
        text-align: center !important;
        position: relative !important;
        height: auto !important;
        
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
        background: none !important;
        filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.9)) !important;
    }

    .pkp_site_name_wrapper::after {
        font-size: 11px !important;
    }

    .pkp_structure_content {
        width: 95% !important;
        margin: 20px auto 30px auto !important; 
        padding: 20px !important;
        position: relative !important;
        top: 0 !important;
        clear: both !important; 
        flex-direction: column !important; 
        gap: 30px !important;
        background-color: rgba(255, 255, 255, 0.94) !important; 
    }

    .pkp_structure_main, .pkp_structure_sidebar {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
        padding-right: 0 !important; 
    }

    .pkp_navigation_user_wrapper::before {
        display: none !important; 
    }

    .pkp_navigation_primary_wrapper {
        background: #0d275c !important; 
        padding: 0 !important; 
        display: block !important; 
    }
    
    .pkp_navigation_primary_row { display: block !important; }
    .pkp_navigation_primary { display: block !important; width: 100% !important; }

    .pkp_navigation_primary > li > a {
        display: block !important;
        width: 100% !important;
        padding: 12px 20px !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important; 
        white-space: normal !important;
    }

    .pkp_search { display: block !important; width: 100% !important; margin: 0 !important; padding: 10px !important; }
    .pkp_search a.search_prompt, .pkp_search a { display: block !important; padding: 10px 20px !important; }
    .pkp_navigation_user_wrapper { display: block !important; padding: 10px !important; text-align: left !important; }
    .pkp_navigation_user { display: block !important; padding: 10px 20px !important; }
    .pkp_navigation_user > li > a { display: block !important; padding: 10px 0 !important; border-bottom: 1px solid #dcdad4 !important; }
}