/* ==========================================================================
   CSS CUSTOM DESAIN JURNAL BIDAYAH (JOURNAL OF ISLAMIC STUDIES)
   Tema: Deep Maroon/Burgundy, Gold Academic Menu & New Floral Geometric
   Disiapkan untuk: Ahmad Syauky, S.H., M.Pd.
   Versi Pembaruan: Ralat Total Background Penuh Ke Atas & Sinkronisasi Corak Bunga
   ========================================================================= */

/* 1. IMPORT FONTS & TYPOGRAPHY STANDARDS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&family=Lora:ital,wght@0,400;0,700;1,400&display=swap');

/* =========================================
   A. LATAR BELAKANG GEOMETRIS & CORAK BUNGA ISLAMI PENUH SAMPAI KE ATAS
   ========================================= */
html, body {
    background-color: #fbf9f9 !important;
    
/* Versi Tebal: Meningkatkan stroke-width ke 1.5 & stroke-opacity ke 0.18 agar siluet mesjid terlihat jelas */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%234A0E17' stroke-width='1.5' stroke-opacity='0.18'%3E%3Cpath d='M35 70 C35 45 44 35 50 35 C56 35 65 45 65 70 Z'/%3E%3Cpath d='M50 35 C50 32 49 30 50 28 C51 30 50 32 50 35'/%3E%3Cpath d='M49 26 A2 2 0 1 1 52 29' fill='%234A0E17' fill-opacity='0.18'/%3E%3Cpath d='M22 75 L22 45 L25 41 L28 45 L28 75'/%3E%3Cpath d='M25 41 L25 34'/%3E%3Cpath d='M72 75 L72 45 L75 41 L78 45 L78 75'/%3E%3Cpath d='M75 41 L75 34'/%3E%3Cpath d='M20 73 Q50 65 80 73 Q50 78 20 73' fill='%234A0E17' fill-opacity='0.08'/%3E%3C/g%3E%3C/svg%3E") !important;
    
    background-size: 160px 160px !important;
    background-attachment: fixed !important;
    background-position: top center !important;
}

/* =========================================
   B. DESAIN HEADER & SINKRONISASI LATAR BELAKANG ATAS
   ========================================= */
.pkp_structure_head {
    border-bottom: 5px solid #4A0E17; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    
    /* SOLUSI: Mengubah background putih bawaan menjadi transparan agar pola corak di html/body tembus sampai ke atas */
    background: transparent !important;
}

.pkp_site_name .is_img img {
    animation: floatingLogo 4s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
    max-height: 140px !important; 
    transition: all 0.3s ease;
}

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

/* Mengubah Total Warna Latar Belakang Bagian Menu Atas Menjadi Gold/Emas */
.pkp_navigation_primary_wrapper {
    display: flex;
    justify-content: flex-start !important;
    padding-left: 15px !important;
    background: linear-gradient(180deg, #EAD078 0%, #D4AF37 100%) !important;
    border-top: 1px solid #FFF1C5;
    border-bottom: 3px solid #B08F1A;
    box-shadow: inset 0 1px 3px rgba(255,255,255,0.4);
}

/* Tombol Menu di Dalam Container Emas Menggunakan Warna Marun Kontras */
.pkp_navigation_primary > li > a {
    font-family: 'Inter', sans-serif !important;
    background: linear-gradient(180deg, #6B1D28 0%, #4A0E17 100%) !important; 
    color: #ffffff !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    font-size: 0.78em !important;
    padding: 10px 18px !important; 
    margin: 12px 4px !important;
    display: inline-block !important;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-bottom: 3px solid #2A050A;
    box-shadow: 0 2px 5px rgba(74, 14, 23, 0.2);
}

.pkp_navigation_primary > li > a:hover {
    background: linear-gradient(180deg, #8B2635 0%, #6B1D28 100%) !important;
    color: #FFF1C5 !important; 
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 14, 23, 0.35);
}

/* =========================================
   C. MAIN MENU SIDEBAR DENGAN IKON EMAS
   ========================================= */
.pkp_block .title {
    background: transparent !important;
    color: #4A0E17 !important;
    font-family: 'Inter', sans-serif !important;
    text-transform: uppercase;
    font-weight: 800 !important;
    text-align: left;
    font-size: 1.1em !important;
    border-bottom: 3px solid #E8D5D8;
    padding-bottom: 8px !important;
    margin-bottom: 20px !important;
    letter-spacing: 1px;
}

.pkp_block ul li a {
    font-family: 'Inter', sans-serif !important;
    background: #6B1D28 !important; 
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 12px 15px 12px 40px !important; 
    display: block !important;
    text-decoration: none !important;
    border-bottom: 3px solid #4A0E17;
    border-radius: 6px;
    margin-bottom: 10px !important;
    position: relative !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 3px 6px rgba(0,0,0,0.06);
    text-align: left !important;
}

.pkp_block ul li a::before {
    content: "✦" !important; 
    position: absolute !important;
    left: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #D4AF37 !important; 
    font-size: 1.1em !important;
    transition: all 0.3s ease;
}

.pkp_block ul li a:hover {
    background: #4A0E17 !important;
    color: #D4AF37 !important;
    transform: translateX(8px);
    box-shadow: 0 5px 15px rgba(74, 14, 23, 0.2);
}

.pkp_block ul li a:hover::before {
    transform: translateY(-50%) rotate(45deg) scale(1.2) !important;
    color: #ffffff !important;
}

/* =========================================
   D. DESAIN DAFTAR ISI / CURRENT ISSUE (TAMPILAN BERSIH ACADEMIC)
   ========================================= */
.obj_article_summary {
    background: linear-gradient(135deg, #FDF7F8 0%, #ffffff 100%) !important;
    border: none !important;
    border-bottom: 2px solid #E3CBD0 !important;
    border-radius: 0px !important; 
    padding: 24px 10px !important;
    margin-bottom: 15px !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.2s ease;
    box-shadow: none !important; 
}

.obj_article_summary::after {
    content: "✧" !important;
    position: absolute !important;
    right: 10px !important;
    bottom: -15px !important;
    font-size: 5em !important;
    color: rgba(107, 29, 40, 0.03) !important;
    pointer-events: none !important;
}

.obj_article_summary:hover {
    background: linear-gradient(135deg, #F7EAEB 0%, #FCF8F9 100%) !important;
    border-bottom-color: #6B1D28 !important;
}

.obj_article_summary .title a {
    font-family: 'Book Antiqua', 'Palatino Linotype', 'Lora', serif !important;
    color: #2A050A !important;
    font-size: 1.15em !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.obj_article_summary .title a:hover {
    color: #6B1D28 !important;
}

/* Tombol Unduh PDF Premium */
.galleys_links a.pdf {
    background: linear-gradient(135deg, #6B1D28 0%, #4A0E17 100%) !important;
    border-radius: 4px !important;
    padding: 6px 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    color: #ffffff !important;
    font-size: 0.8em !important;
    letter-spacing: 0.5px;
    border: none !important;
    transition: all 0.2s ease;
}

.galleys_links a.pdf:hover {
    background: linear-gradient(135deg, #8B2635 0%, #6B1D28 100%) !important;
    color: #D4AF37 !important;
}

/* =========================================
   E. TAMPILAN PER ARTIKEL INDIVIDU (ELEGANT & CLEAN)
   ========================================= */
.obj_article_details .main_entry .title {
    font-family: 'Book Antiqua', 'Palatino Linotype', 'Lora', serif !important;
    font-size: 2.1em !important;
    font-weight: 700 !important;
    color: #4A0E17 !important;
    line-height: 1.4 !important;
    margin-bottom: 25px;
    border-bottom: 2px solid #E3CBD0;
    padding-bottom: 15px !important;
}

/* Kolom Isian Abstrak Bersih & Gradasi Dipertajam */
.obj_article_details .item.abstract {
    background: linear-gradient(135deg, #ffffff 0%, #FAF2F3 100%) !important; 
    border: 1px solid #E3CBD0 !important;
    border-top: 5px solid #6B1D28 !important; 
    padding: 30px !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 12px rgba(74, 14, 23, 0.03) !important;
}

.obj_article_details .item.abstract .heading {
    font-family: 'Inter', sans-serif !important;
    color: #4A0E17 !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.05em !important;
    border-bottom: 3px solid #D4AF37; 
    padding-bottom: 4px !important;
    display: inline-block !important;
    margin-bottom: 15px !important;
}

.obj_article_details .item.abstract .value {
    font-family: 'Lora', serif !important;
    line-height: 1.75 !important;
    color: #2c3e50 !important;
    font-size: 1em !important;
    text-align: justify !important;
}

/* Bagian Identitas Penulis / Authors */
.obj_article_details .authors {
    background: #F5EAEB !important; 
    border-left: 5px solid #8B2635 !important;
    border-radius: 4px !important;
    padding: 18px 20px !important;
    margin-bottom: 25px !important;
}

.obj_article_details .authors::after {
    content: "✧" !important;
    position: absolute !important;
    right: 15px !important;
    top: 10px !important;
    font-size: 2em !important;
    color: rgba(107, 29, 40, 0.05) !important;
}

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

/* Kolom Isian Referensi / Daftar Pustaka */
.obj_article_details .item.references {
    background: linear-gradient(135deg, #ffffff 0%, #FAF2F3 100%) !important; 
    border: 1px solid #E3CBD0 !important;
    border-top: 5px solid #4A0E17 !important;
    padding: 30px !important;
    border-radius: 6px !important;
    margin-top: 35px !important;
}

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

/* =========================================
   F. PEWARNAAN BLOK SIDEBAR UTAMA
   ========================================= */
.item.published .label, 
.item.citation .heading, 
.item.issue .label, 
.item.copyright .label,
.pkp_block.block_galleys .title,
.obj_article_details .sidebar .label {
    background: linear-gradient(180deg, #6B1D28 0%, #4A0E17 100%) !important;
    color: #ffffff !important;
    font-family: 'Inter', sans-serif !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    padding: 10px 14px !important;
    border-radius: 4px 4px 0 0 !important;
    border-bottom: 2px solid #D4AF37 !important; 
    font-size: 0.85em !important;
    letter-spacing: 0.5px !important;
    display: block !important;
}

.item.published, 
.item.citation, 
.item.issue, 
.item.copyright {
    border: 1px solid #E3CBD0 !important;
    background: #ffffff !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    margin-bottom: 18px !important;
}

.item.published .value, 
.item.citation .value, 
.item.issue .value, 
.item.copyright .value {
    padding: 12px 14px !important;
    font-family: 'Inter', sans-serif !important;
}