/* ==========================================================================
   1. RESPONSIVE BACKGROUND (ISLAMIC GEOMETRIC MOSAIC) & BASE TYPOGRAPHY
   ========================================================================== */
body {
    background-color: #f4f7f6;
    
    /* Seni Mozaik Islami Geometris Bintang Segi Delapan murni menggunakan CSS */
    background-image: 
        linear-gradient(45deg, rgba(9, 66, 148, 0.015) 25%, transparent 25%, transparent 75%, rgba(9, 66, 148, 0.015) 75%),
        linear-gradient(45deg, rgba(9, 66, 148, 0.015) 25%, transparent 25%, transparent 75%, rgba(9, 66, 148, 0.015) 75%),
        linear-gradient(30deg, rgba(17, 197, 187, 0.02) 12%, transparent 12%, transparent 88%, rgba(17, 197, 187, 0.02) 88%),
        linear-gradient(150deg, rgba(17, 197, 187, 0.02) 12%, transparent 12%, transparent 88%, rgba(17, 197, 187, 0.02) 88%),
        linear-gradient(60deg, rgba(9, 66, 148, 0.015) 25%, transparent 25%, transparent 75%, rgba(9, 66, 148, 0.015) 75%),
        linear-gradient(120deg, rgba(9, 66, 148, 0.015) 25%, transparent 25%, transparent 75%, rgba(9, 66, 148, 0.015) 75%),
        radial-gradient(at 0% 0%, rgba(17, 197, 187, 0.06) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(9, 66, 148, 0.06) 0px, transparent 50%);
        
    /* Ukuran repetisi mozaik agar terlihat presisi dan anggun */
    background-size: 60px 60px, 60px 60px, 60px 60px, 60px 60px, 60px 60px, 60px 60px, 100vw 100vh, 100vw 100vh;
    background-position: 0 0, 30px 30px, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
    background-attachment: fixed;
    
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif !important;
    color: #2d3748;
    overflow-x: hidden !important;
}

/* ==========================================================================
   2. FLUID GLASSMORPHISM CONTAINER (Menyesuaikan Ukuran Layar Otomatis)
   ========================================================================== */
#pkp_content_container, .page_index_journal, .page_issue, .obj_article_details {
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    box-shadow: 0 10px 30px -5px rgba(9, 66, 148, 0.05) !important;
    transition: all 0.4s ease;
    padding: clamp(15px, 3vw, 35px) !important;
    border-radius: clamp(12px, 2vw, 20px) !important;
    margin-bottom: 25px;
}

/* ==========================================================================
   3. RESPONSIVE ARTICLE BLOCKS (Daftar Naskah Jurnal)
   ========================================================================== */
.obj_article_summary {
    background: #f3f5f6 !important;
    border-left: 4px solid #1fb7d2 !important; 
    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; 
    box-shadow: 0 12px 25px rgba(9, 66, 148, 0.08) !important;
}

.obj_article_summary .title a, .obj_article_details .main_entry .title {
    color: #035a69 !important;
    font-weight: 700 !important;
    font-size: clamp(16px, 2.5vw, 22px) !important;
    line-height: 1.4 !important;
    transition: color 0.2s ease !important;
}

.obj_article_summary .title a:hover {
    color: #1fb7d2 !important;
}

/* ==========================================================================
   4. PREMIUM BUTTONS (PDF / Galley)
   ========================================================================== */
.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, #1fb7d2 0%, #0e9e96 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 15px rgba(17, 197, 187, 0.35) !important;
}

/* ==========================================================================
   5. MOBILE-SPECIFIC ADJUSTMENTS (Khusus Layar HP/Tablet di bawah 768px)
   ========================================================================== */
@media screen and (max-width: 768px) {
    
    /* Skala mozaik disesuaikan agar tetap proporsional dan presisi di HP */
    body {
        background-size: 40px 40px, 40px 40px, 40px 40px, 40px 40px, 40px 40px, 40px 40px, 100vw 100vh, 100vw 100vh;
        background-position: 0 0, 20px 20px, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
    }

    .pkp_structure_sidebar {
        width: 100% !important;
        margin-top: 30px !important;
        padding: 0 !important;
        border-left: none !important;
    }

    .pkp_block {
        padding: 16px !important;
        border-radius: 12px !important;
        margin-bottom: 16px !important;
    }

    .obj_galley_link {
        width: auto !important;
        padding: 10px 24px !important;
        margin-top: 5px;
    }
    
    .obj_article_summary .galleys_links {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
}