/* --- css/struktur.css --- */

.page-header { background: var(--light); padding: 40px 0; text-align: center; }

.group-title {
    text-align: center;
    margin: 40px 0 20px;
    color: var(--primary);
    font-size: 1.5rem;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
    padding-bottom: 5px;
}

/* --- Style untuk Grid Profile (Kartu Anggota) --- */
.struktur-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.profile-card {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    transition: 0.3s;
}

.profile-card:hover { transform: translateY(-5px); border-color: var(--accent); }

.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    margin-bottom: 10px;
}

.profile-card h3 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 5px;
}

/* Badge Jabatan */
.badge {
    background: var(--primary);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    display: inline-block;
}

.jabatan {
    color: #666;
    font-size: 0.85rem;
    font-style: italic;
}

/* Khusus BPI agar lebih menonjol */
.bpi-grid { justify-content: center; }
.bpi-section { text-align: center; margin-bottom: 50px; }

/* --- ACCORDION STYLE (Menu Buka Tutup) --- */
.accordion {
    background-color: #f1f1f1;
    color: var(--dark);
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: 0.4s;
    border-radius: 5px;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion:hover { background-color: #e0e0e0; }

/* Saat tombol aktif (diklik) */
.accordion.active {
    background-color: var(--primary);
    color: var(--white);
}

.accordion.active i { transform: rotate(180deg); } /* Putar panah */
.accordion i { transition: 0.3s; }

/* Panel yang disembunyikan */
.panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    margin-bottom: 10px;
    border-radius: 0 0 5px 5px;
}