/* =========================================================
   CUSTOM STYLESHEET - JURNAL THRONOS (OJS 3)
   ========================================================= */

/* 1. HILANGKAN GARIS PEMBATAS & PSEUDO-ELEMENTS BAWAAN */
div[class*="pkp_structure"],
section[class*="pkp_structure"],
aside[class*="pkp_structure"],
.pkp_structure_main,
.pkp_structure_sidebar,
.pkp_structure_content,
.pkp_structure_page,
.pkp_structure_body {
    border: none !important;
    box-shadow: none !important;
}

div[class*="pkp_structure"]::before,
div[class*="pkp_structure"]::after,
section[class*="pkp_structure"]::before,
section[class*="pkp_structure"]::after,
aside[class*="pkp_structure"]::before,
aside[class*="pkp_structure"]::after {
    display: none !important;
    content: none !important;
    border: none !important;
}

/* 2. LAYOUT CONTAINER & FIX LAYER (PERBAIKAN KONTEN & SIDEBAR) */
*, *::before, *::after {
    box-sizing: border-box !important;
}

.pkp_structure_content {
    display: block !important;
    clear: both !important;
}

.pkp_structure_main {
    position: relative !important;
    z-index: 10 !important;
    padding-right: 25px !important;
    box-sizing: border-box !important;
}

.pkp_structure_sidebar {
    position: relative !important;
    z-index: 1 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

@media (min-width: 992px) {
    .pkp_structure_main {
        width: 66% !important;
        float: left !important;
    }
    .pkp_structure_sidebar {
        width: 33% !important;
        float: right !important;
    }
}

.pkp_structure_content::after {
    content: "" !important;
    display: table !important;
    clear: both !important;
}

/* =========================================================
   3. STYLE CUSTOM SIDEBAR CONTAINER (.thronos-sidebar-container)
   ========================================================= */

.thronos-sidebar-container {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 16px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
    margin-bottom: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.thronos-sidebar-container .sidebar-section-title {
    color: #0f2c59;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #0c9e8b;
    padding-bottom: 6px;
    margin-bottom: 12px;
}

.thronos-sidebar-container ul.thronos-menu-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.thronos-sidebar-container ul.thronos-menu-list li {
    margin-bottom: 6px !important;
    padding: 0 !important;
}

.thronos-sidebar-container ul.thronos-menu-list li:last-child {
    margin-bottom: 0 !important;
}

.thronos-sidebar-container ul.thronos-menu-list li a {
    display: block !important;
    padding: 9px 12px !important;
    background-color: #f1f5f9;
    color: #334155 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-left: 4px solid #0f2c59;
    border-radius: 0 6px 6px 0;
    transition: all 0.2s ease-in-out !important;
    word-break: break-word !important;
}

.thronos-sidebar-container ul.thronos-menu-list li a:hover {
    background-color: #0c9e8b !important;
    color: #ffffff !important;
    border-left-color: #0f2c59 !important;
    padding-left: 16px !important;
    box-shadow: 0 2px 4px rgba(12, 158, 139, 0.2);
}

.thronos-sidebar-container .sidebar-banner-box {
    text-align: center;
    margin-top: 8px;
}

.thronos-sidebar-container .sidebar-banner-box img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.thronos-sidebar-container .sidebar-banner-box img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 4. HILANGKAN LOGO PLATFORM & WORKFLOW BY OJS / PKP */
.pkp_brand_footer,
.pkp_block.block_developer,
a.about_publishing_system {
    display: none !important;
}

/* =========================================================
   5. PERBAIKAN HEADER & NAVIGASI (SOLUSI DOUBLE LOGO)
   ========================================================= */

/* SEMBUNYIKAN LOGO/TEKS BAWAAN OJS (Karena sudah pakai Custom Header Plugin) */
.pkp_site_name_wrapper,
.pkp_site_name {
    display: none !important;
}

/* Penyelarasan Warna Latar Seluruh Header & Baris Navigasi (#395662) */
header#headerNavigationContainer,
.pkp_structure_head,
.pkp_navigation_primary_wrapper {
    background-color: #395662 !important;
}

/* Sembunyikan Tombol Register/Login Melayang di Atas Navbar */
.pkp_structure_head .pkp_navigation_user_wrapper,
div.pkp_navigation_user {
    display: none !important;
}

/* Menu Navigasi Utama yang Responsif dan Rapi */
.pkp_navigation_primary {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 8px 0 !important;
    margin: 0 auto !important;
    list-style: none !important;
}

/* Mengatur Ukuran Font & Margin Menu Header */
.pkp_navigation_primary > li > a {
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 6px 12px !important;
    letter-spacing: 0.2px !important;
    line-height: 1.3 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    display: block !important;
}

/* Efek Hover Menu Header */
.pkp_navigation_primary > li > a:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-radius: 4px;
}

/* Sembunyikan Navigasi User ekstra */
.pkp_navigation_primary .navigation_user {
    display: none !important;
}

/* =========================================================
   6. ELEMEN ESTETIKA HALAMAN UTAMA (HOMEPAGE IMPROVEMENTS)
   ========================================================= */

/* Memberikan Efek Bayangan (Timbul) pada Sampul Jurnal */
.homepage-about .cover img, 
.current_issue_toc .cover img,
.issue_toc .cover img {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
    border-radius: 4px !important;
}

/* Sembunyikan Judul Bawaan Halaman About */
.page_about_index h1.page_title,
.page_about h1.page_title,
.pkp_page_about h1 {
    display: none !important;
}

/* =========================================================
   7. CUSTOM FOOTER STYLING - THRONOS
   ========================================================= */

.pkp_structure_footer {
    background-color: #2c424d !important;
    color: #e0e0e0 !important;
    padding: 40px 0 0 0 !important;
    margin-top: 50px !important;
    border-top: 4px solid #0c9e8b !important;
    clear: both !important;
}

.thronos-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: inherit;
}

.thronos-footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.thronos-footer-col {
    flex: 1 1 300px;
    margin-bottom: 20px;
}

.thronos-footer-col h3 {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
    border-bottom: 2px solid #0c9e8b;
    display: inline-block;
    padding-bottom: 5px;
}

.thronos-footer-col p, 
.thronos-footer-col li {
    font-size: 13px !important;
    line-height: 1.6 !important;
    color: #cccccc !important;
}

.thronos-footer-col a {
    color: #64dafe !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.thronos-footer-col a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

.thronos-footer-col ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.thronos-footer-col ul li {
    margin-bottom: 8px !important;
}

.thronos-license-box {
    margin-top: 15px;
    background: rgba(0, 0, 0, 0.15);
    padding: 12px;
    border-radius: 6px;
    border-left: 3px solid #0c9e8b;
}

.thronos-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    padding: 15px 0;
    margin-top: 20px;
    font-size: 12px;
    color: #aaaaaa;
}

.thronos-footer-bottom a {
    color: #ffffff;
    text-decoration: none;
}