/* --- BUNGKUS UTAMA FAQ --- */
.dg-faq-wrapper { 
    max-width: 800px; /* Lebar optimal agar mudah dibaca */
    margin: 0 auto; 
    padding: 60px 20px; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
}

/* --- HEADER FAQ --- */
.dg-faq-header { 
    text-align: center; 
    margin-bottom: 40px; 
}
.dg-faq-header h2 { 
    font-size: 32px; 
    color: #222; 
    font-weight: 800; 
    margin-bottom: 10px; 
}
.dg-faq-header p { 
    color: #666; 
    font-size: 16px; 
}

/* --- DAFTAR FAQ --- */
.dg-faq-container { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
}

/* Kotak Masing-masing FAQ */
.dg-faq-item { 
    background: #fff; 
    border-radius: 12px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.04); 
    overflow: hidden; 
    border: 1px solid #f0f0f0; 
    transition: all 0.3s ease; 
}

/* Efek saat FAQ sedang Terbuka */
.dg-faq-item.is-open { 
    border-color: #e67e22; 
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.12); 
}

/* --- TOMBOL PERTANYAAN --- */
.dg-faq-question { 
    width: 100%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 20px 25px; 
    background: none; 
    border: none; 
    cursor: pointer; 
    text-align: left; 
    transition: background 0.3s ease;
    -webkit-tap-highlight-color: transparent; 
}
.dg-faq-question:hover { 
    background: #fdf8f4; /* Efek hover warna oranye sangat pudar */
}
.dg-faq-question h3 { 
    line-height: 1.4; 
    color: #333; 
    font-size: 17px;
    font-weight: 700 !important;
    transition: color 0.3s; 
}
.dg-faq-item.is-open .dg-faq-question h3 { 
    color: #e67e22; 
}

/* --- IKON PLUS/MINUS (Tanpa Gambar/Font) --- */
.dg-faq-icon { 
    position: relative; 
    width: 20px; 
    height: 20px; 
    flex-shrink: 0; 
    margin-left: 15px; 
}
.dg-faq-icon::before, .dg-faq-icon::after { 
    content: ''; 
    position: absolute; 
    background-color: #e67e22; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease; 
}
/* Garis Horizontal (-) */
.dg-faq-icon::before { width: 16px; height: 2.5px; border-radius: 2px; }
/* Garis Vertikal (|) untuk membuat (+) */
.dg-faq-icon::after { width: 2.5px; height: 16px; border-radius: 2px; }

/* Animasi Ikon saat FAQ Terbuka (Memutar jadi minus) */
.dg-faq-item.is-open .dg-faq-icon::after { 
    transform: translate(-50%, -50%) rotate(90deg); 
    opacity: 0; 
}
.dg-faq-item.is-open .dg-faq-icon::before { 
    transform: translate(-50%, -50%) rotate(180deg); 
}

/* --- KONTEN JAWABAN --- */
.dg-faq-answer { 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.4s ease-out; /* Transisi halus buka tutup */
    background: #fafafa; 
}
.dg-faq-answer p { 
    margin: 0; 
    padding: 0 25px 25px; 
    color: #555; 
    line-height: 1.7; 
    font-size: 15px; 
}

/* --- TAMPILAN MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .dg-faq-wrapper { padding: 40px 15px; }
    .dg-faq-header h2 { font-size: 26px; }
    .dg-faq-question { padding: 18px 20px; }
    .dg-faq-question h3 { font-size: 16px; }
    .dg-faq-answer p { padding: 0 20px 20px; font-size: 14px; }
}
