/* ==========================================================================
   CSS CUSTOM DESAIN UNTUK PLATFORM OJS (MUKHTASAB / AN-NUR ELITE VERSION)
   Disiapkan khusus oleh Prof untuk Ahmad Syauky
   Penyempurnaan Kekuasaan Warna Emas Murni (Anti-Tabrakan Global - V4 Ultra Force)
   Waktu Pembaruan: 23/6/2026
   ========================================================================== */

/* 1. IMPORT FONTS agar Tampilan Jernih & Akademik Mewah */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&family=Lora:wght@400;700&display=swap');

/* =========================================
   A. LATAR BELAKANG GEOMETRIS ISLAMI ELEGAN KUSTOM
   ========================================= */
body {
    background-color: #fdfcf0 !important;
    background-image: radial-gradient(rgba(197, 160, 33, 0.2) 1px, transparent 1px), radial-gradient(rgba(197, 160, 33, 0.2) 1px, transparent 1px) !important;
    background-size: 24px 24px !important;
    background-position: 0 0, 12px 12px !important;
    background-attachment: fixed !important;
}

/* =========================================
   B. DESAIN HEADER UTAMA & NAVIGASI (MEMAKSA EMAS)
   ========================================= */
.pkp_structure_head {
    border-bottom: 4px solid #c5a021 !important; 
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05) !important;
    background: #ffffff !important;
}

.pkp_structure_head .pkp_navigation_primary_wrapper {
    display: flex !important;
    justify-content: flex-start !important;
    padding-left: 20px !important;
    padding-right: 0px !important;
}

.pkp_structure_head .pkp_navigation_primary > li > a {
    font-family: 'Inter', sans-serif !important;
    background: linear-gradient(180deg, #c5a021 0%, #8c6d13 100%) !important; 
    color: #ffffff !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.8em !important;
    padding: 8px 14px !important; 
    margin: 12px 4px !important;
    display: inline-block !important;
    border-radius: 6px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-bottom: 2px solid #8c6d13 !important;
}

.pkp_structure_head .pkp_navigation_primary > li > a:hover {
    background: #8c6d13 !important;
    transform: translateY(-1.5px) !important;
    box-shadow: 0 4px 8px rgba(197, 160, 33, 0.3) !important;
}

/* =========================================
   C. DESAIN SIDEBAR MENU UTAMA (MEMAKSA EMAS)
   ========================================= */
.pkp_structure_page .pkp_block .title {
    background: transparent !important;
    color: #c5a021 !important;
    font-family: 'Inter', sans-serif !important;
    padding: 10px !important;
    text-transform: uppercase !important;
    font-weight: 800 !important;
    text-align: center !important;
    font-size: 1.1em !important;
    border-bottom: 3px solid #8c6d13 !important;
    margin-bottom: 18px !important;
}

.pkp_structure_page .pkp_block ul li a {
    font-family: 'Inter', sans-serif !important;
    background: #c5a021 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 12px 15px !important;
    display: block !important;
    text-align: center !important;
    text-decoration: none !important;
    border-bottom: 3px solid #8c6d13 !important;
    border-radius: 6px !important;
    transition: all 0.25s ease-in-out !important;
    box-shadow: 0 3px 6px rgba(0,0,0,0.08) !important;
}

.pkp_structure_page .pkp_block ul li a:hover {
    background: #8c6d13 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 12px rgba(0,0,0,0.15) !important;
}

/* =========================================
   D. DESAIN KHUSUS TEKS ISSN 
   ========================================= */
.pkp_block .content p:contains("ISSN") {
    font-family: 'Inter', sans-serif !important;
    background: #ffffff !important;
    color: #c5a021 !important;
    padding: 15px 10px !important;
    margin-top: 22px !important;
    text-align: center !important;
    font-weight: 700 !important;
    border-bottom: 3px solid #c5a021 !important; 
    border-radius: 0 0 6px 6px !important;
    box-shadow: 0 4px 12px rgba(197, 160, 33, 0.1), 0 2px 4px rgba(0,0,0,0.03) !important;
}

/* =========================================
   E. TAMPILAN DAFTAR ISI ARTIKEL & CURRENT ISSUE
   ========================================= */
.obj_article_summary {
    background: linear-gradient(135deg, rgba(197, 160, 33, 0.04) 0%, #ffffff 100%) !important;
    border: 3px solid #c5a021 !important; /* Dipertebal dari 1px menjadi 3px solid emas murni agar kotak luar ikut berubah kuning/emas */
    border-left: 12px solid #8c6d13 !important; /* Paksa garis vertikal tebal warna emas di kiri kartu */
    padding: 22px !important;
    margin-bottom: 25px !important;
    border-radius: 8px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 12px rgba(197, 160, 33, 0.15) !important;
}

.obj_article_summary:hover {
    background: linear-gradient(135deg, rgba(197, 160, 33, 0.08) 0%, rgba(197, 160, 33, 0.02) 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 16px rgba(197, 160, 33, 0.25) !important;
}

/* ==========================================================================
   F. EKSTREMASI OVERRIDE GLOBAL (MENGHANCURKAN WARNA BIRU PADA SELEKTOR UTAMA)
   ========================================================================== */

/* Sapu bersih semua tag tautan dan teks judul di area utama & widget kanan agar tunduk menjadi kuning/emas murni */
.obj_article_summary h2 a, 
.obj_article_summary h3 a, 
.obj_article_summary .title a,
.obj_issue_toc .title a,
.pkp_structure_main a,
.block_most_read ul li a,
.pkp_structure_sidebar .title a,
.pkp_structure_sidebar a {
    color: #c5a021 !important; 
    font-family: 'Inter', sans-serif !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}

/* Efek Hover Teks saat disentuh kursor menjadi emas gelap */
.obj_article_summary h2 a:hover, 
.obj_article_summary h3 a:hover, 
.obj_article_summary .title a:hover,
.pkp_structure_main a:hover,
.block_most_read ul li a:hover,
.pkp_structure_sidebar a:hover {
    color: #8c6d13 !important;
}

/* Mengubah Link DOI yang berwarna biru menjadi warna emas gelap agar tetap kontras & terbaca */
.obj_article_summary .doi a,
.obj_article_details .doi a,
.doi a {
    color: #8c6d13 !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
}

/* Tombol PDF Galley */
.galleys_links a.pdf,
.obj_article_summary .galleys_links a.galleys_link,
.obj_article_summary .galleys_links a.pdf,
.obj_article_details .galleys_links a.pdf,
.obj_article_details .galleys_links a.galleys_link {
    background: #c5a021 !important;
    border-radius: 6px !important;
    padding: 7px 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85em !important;
    transition: all 0.2s ease !important;
    display: inline-block !important;
    text-decoration: none !important;
    border: none !important;
}

.galleys_links a.pdf:hover {
    background: #8c6d13 !important;
}

/* =========================================
   G. HALAMAN ARTIKEL INDIVIDU & BLOK ABSTRAK MEWAH
   ========================================= */
.obj_article_details .main_entry .title {
    font-family: 'Lora', serif !important;
    font-size: 2.2em !important;
    color: #c5a021 !important;
    margin-bottom: 30px !important;
    border-bottom: 2px solid #c5a021 !important;
    padding-bottom: 10px !important;
}

.obj_article_details .item.abstract {
    background: linear-gradient(135deg, rgba(197, 160, 33, 0.04) 0%, #ffffff 100%) !important;
    border: 1px solid rgba(197, 160, 33, 0.25) !important;
    border-top: 6px solid #c5a021 !important; 
    padding: 25px !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 12px rgba(197, 160, 33, 0.1), 0 2px 4px rgba(0,0,0,0.03) !important;
    margin-top: 25px !important;
    margin-bottom: 25px !important;
}

.obj_article_details .item.abstract .heading {
    font-family: 'Inter', sans-serif !important;
    color: #c5a021 !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-bottom: 3px solid #8c6d13 !important; 
    padding-bottom: 5px !important;
    display: inline-block !important;
    margin-bottom: 18px !important;
}

/* Identitas Penulis & Aksen Garis Vertikal */
.obj_article_details .authors {
    background: #ffffff !important;
    border-left: 5px solid #c5a021 !important;
    padding: 15px 20px !important;
    margin-bottom: 25px !important;
    border-radius: 0 6px 6px 0 !important;
    box-shadow: 0 4px 12px rgba(197, 160, 33, 0.1), 0 2px 4px rgba(0,0,0,0.03) !important;
}

.obj_article_details .author strong {
    color: #c5a021 !important;
    font-size: 1.1em !important;
    font-family: 'Inter', sans-serif !important;
}

/* =========================================
   H. BLOK REFERENSI / DAFTAR PUSTAKA
   ========================================= */
.obj_article_details .item.references {
    background: linear-gradient(135deg, #ffffff 0%, rgba(197, 160, 33, 0.02) 100%) !important;
    border: 1px solid rgba(197, 160, 33, 0.25) !important;
    border-top: 6px solid #c5a021 !important; 
    padding: 25px !important;
    border-radius: 6px !important;
    margin-top: 35px !important;
    box-shadow: 0 4px 12px rgba(197, 160, 33, 0.1), 0 2px 4px rgba(0,0,0,0.03) !important;
}

.obj_article_details .item.references .heading {
    font-family: 'Inter', sans-serif !important;
    color: #c5a021 !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-bottom: 3px solid #8c6d13 !important; 
    padding-bottom: 5px !important;
    display: inline-block !important;
    margin-bottom: 20px !important;
}

/* =========================================
   I. ANIMASI LOGO MELAYANG (FLOATING EFFECT)
   ========================================= */
.pkp_site_name .is_img img {
    animation: floatingLogo 4s ease-in-out infinite !important;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
    max-height: 140px !important;
}

@keyframes floatingLogo {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}