/*
Theme Name: Astra Child
Template: astra
Version: 1.0.9
Author: Camp Nusantara / Dian Prihantoro
Update: Final Bridge for Elementor Global Typography
*/

/* 1. GLOBAL SYSTEM FONT */
html { scroll-behavior: smooth; }

body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    text-rendering: optimizeLegibility; 
    -webkit-font-smoothing: antialiased; 
    font-size: 16px; 
    color: #333333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Georgia", "Times New Roman", serif;
}

/* 2. SEO & ACCESSIBILITY - ELEMENTOR BRIDGE */
/* Kode ini membiarkan Elementor menentukan warna, tapi memaksa ketebalan teks demi SEO */
.entry-content a, 
.elementor-widget-text-editor a { 
    /* Menghapus !important warna agar pengaturan Elementor Bapak berfungsi */
    text-decoration: none !important; 
    
    /* WAJIB: Tetap gunakan font-weight tinggi agar lolos audit Google */
    font-weight: 800 !important; 
    
    transition: all 0.3s ease;
}

.entry-content a:hover, 
.elementor-widget-text-editor a:hover { 
    /* Efek sedikit transparan saat hover sebagai indikator klik */
    opacity: 0.8;
}

/* 3. FIX CLS & LAYOUT */
img { height: auto; max-width: 100%; display: block; content-visibility: auto; }
.ti-widget-container { min-height: 250px; }

/* 4. CUSTOM ELEMENTS (FLOATING BAR) */
/* Warna dipergelap untuk lulus kontras aksesibilitas */
.bar-btn.wa { background-color: #0e7065 !important; }
.bar-btn.tel { background-color: #054a42 !important; }
.bar-btn span, .bar-btn a { color: #ffffff !important; font-weight: 800; }

/* 5. FIX KONTRAS AUTHOR */
.elementor-post-author, 
.elementor-post-author a { 
    color: #222222 !important; 
    font-weight: 700; 
}