/* ==========================================================================
   1. RESPONSIVE BACKGROUND (ISLAMIC ARABESQUE TILES) & BASE TYPOGRAPHY
   ========================================================================== */
body {
    background-color: #f5f8f7;
    
    /* Pola Mozaik Islami Baru: Jalinan Belah Ketupat Kontinu Simetris */
    background-image: 
        linear-gradient(135deg, rgba(17, 197, 187, 0.015) 25%, transparent 25%), 
        linear-gradient(225deg, rgba(17, 197, 187, 0.015) 25%, transparent 25%), 
        linear-gradient(45deg, rgba(9, 66, 148, 0.01) 25%, transparent 25%), 
        linear-gradient(315deg, rgba(9, 66, 148, 0.01) 25%, #f5f8f7 25%),
        radial-gradient(at 0% 0%, rgba(17, 197, 187, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(9, 66, 148, 0.05) 0px, transparent 50%);
        
    /* Ukuran modul anyaman geometri mozaik */
    background-size: 50px 50px, 50px 50px, 50px 50px, 50px 50px, 100vw 100vh, 100vw 100vh;
    background-position: 0 0, 0 25px, 25px -25px, -25px 0px, 0 0, 0 0;
    background-attachment: fixed;
    
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif !important;
    color: #2d3748;
    overflow-x: hidden !important; /* Mencegah bug geser horizontal di mobile */
}

/* ==========================================================================
   2. FLUID GLASSMORPHISM CONTAINER (Adaptif & Melengkung Halus)
   ========================================================================== */
#pkp_content_container, .page_index_journal, .page_issue, .obj_article_details {
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 12px 35px -5px rgba(9, 66, 148, 0.04) !important;
    transition: all 0.4s ease;
    
    /* Ukuran dinamis: otomatis menyesuaikan ruang layar */
    padding: clamp(16px, 3vw, 35px) !important;
    border-radius: clamp(12px, 2vw, 22px) !important;
    margin-bottom: 25px;
}

/* ==========================================================================
   3. RESPONSIVE ARTICLE BLOCKS (Daftar Abstrak/Naskah Jurnal)
   ========================================================================== */
.obj_article_summary {
    background: #ffffff !important;
    border-left: 4px solid #f2a523 !important; /* Batas Aksen Teal */
    border-radius: 12px !important;
    padding: clamp(15px, 2vw, 25px) !important;
    margin-bottom: clamp(15px, 2vw, 25px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.obj_article_summary:hover {
    transform: translateY(-4px);
    border-left-color: #094294 !important; /* Bermutasi Navy saat kursor mendekat */
    box-shadow: 0 12px 25px rgba(9, 66, 148, 0.08) !important;
}

/* Judul Artikel Fleksibel */
.obj_article_summary .title a, .obj_article_details .main_entry .title {
    color: #094294 !important;
    font-weight: 700 !important;
    font-size: clamp(15px, 2.3vw, 21px) !important;
    line-height: 1.4 !important;
    transition: color 0.2s ease !important;
}

.obj_article_summary .title a:hover {
    color: #f2a523 !important;
}

/* ==========================================================================
   4. PREMIUM ACTION BUTTONS (PDF Link)
   ========================================================================== */
.obj_galley_link {
    background: linear-gradient(135deg, #094294 0%, #063170 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 8px 20px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    box-shadow: 0 4px 10px rgba(9, 66, 148, 0.2) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.obj_galley_link:hover {
    background: linear-gradient(135deg, #f2a523 0%, #0e9e96 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 15px rgba(17, 197, 187, 0.35) !important;
}

/* ==========================================================================
   5. MOBILE-SPECIFIC ADJUSTMENTS (Breakpoint Layar Smartphone)
   ========================================================================== */
@media screen and (max-width: 768px) {
    
    /* Mengubah skala kerapatan mozaik islami agar tetap tajam di layar kecil HP */
    body {
        background-size: 30px 30px, 30px 30px, 30px 30px, 30px 30px, 100vw 100vh, 100vw 100vh;
        background-position: 0 0, 0 15px, 15px -15px, -15px 0px, 0 0, 0 0;
    }

    /* Transformasi susunan Kolom Sidebar menjadi bertumpuk vertikal */
    .pkp_structure_sidebar {
        width: 100% !important;
        margin-top: 25px !important;
        padding: 0 !important;
        border-left: none !important;
    }

    .pkp_block {
        padding: 16px !important;
        border-radius: 12px !important;
        margin-bottom: 16px !important;
    }

    /* Tombol PDF dioptimalkan agar pas dengan ketukan jari pengguna smartphone */
    .obj_galley_link {
        width: auto !important;
        padding: 10px 24px !important;
        margin-top: 4px;
    }
    
    .obj_article_summary .galleys_links {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
}