/* --- TEAM GRID (Perbaikan Galeri Foto) --- */
.team-grid {
    display: grid;
    /* Menggunakan auto-fill: Jika ada 4, 5, atau lebih, dia otomatis buat baris baru */
    /* minmax(280px, 1fr) artinya kartu minimal lebar 280px, selebihnya bagi rata */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 30px; 
    padding: 60px 0;
    align-items: start;
}

.member-card {
    background-color: #852F6A; 
    border-radius: 25px; 
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 420px;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(133, 47, 106, 0.3);
    border-left: 10px solid #f7e018; 
}

.card-header-text { padding: 25px 20px 5px 20px; color: white; }
.role-main { font-size: 0.85rem; font-weight: 700; line-height: 1.3; }
.role-sub { font-size: 0.7rem; opacity: 0.8; }

.member-photo { flex-grow: 1; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.member-photo img { height: 260px; width: auto; object-fit: contain; transition: transform 0.4s ease; }
.member-card:hover .member-photo img { transform: scale(1.05); }

.member-footer-name { background-color: rgba(0, 0, 0, 0.25); padding: 20px; backdrop-filter: blur(5px); text-align: center; }
.member-footer-name h4 { color: white; font-size: 0.85rem; font-weight: 700; }

/* --- TIM ASSOCIATE (Satu Grid Lebar) --- */
.roster-section-light {
    background-color: #ffffff;
    padding: 80px 0;
}

.roster-heading-minimal {
    text-align: center;
    color: #852F6A;
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 50px;
    position: relative;
}

.roster-heading-minimal::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #f7e018;
    border-radius: 2px;
}

.roster-grid-minimal {
    display: grid;
    grid-template-columns: 1fr; 
    /* DIUBAH: max-width diperlebar dari 900px ke 1200px agar area lebih luas */
    max-width: 1200px; 
    margin: 0 auto;
    padding: 0 20px; /* Jarak aman agar tidak nempel layar saat resize */
}

.roster-col-minimal {
    background: #852F6A;
    /* DIUBAH: Padding samping ditambah (60px) agar isi di dalamnya terlihat lebih luas */
    padding: 40px 60px; 
    border-radius: 30px;
    box-shadow: 0 10px 25px rgba(133, 47, 106, 0.15);
}

.roster-col-minimal h4 {
    color: #f7e018;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 2px solid rgba(247, 224, 24, 0.3);
    padding-bottom: 15px;
}

.bullet-list {
    list-style: none;
    padding: 0;
    display: grid;
    /* TETAP: 2 kolom sesuai permintaan */
    grid-template-columns: repeat(2, 1fr); 
    /* DIUBAH: Jarak antar kolom (gap samping) diperlebar menjadi 60px */
    gap: 10px 60px;
}

.bullet-list li {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 15px 0; /* Jarak antar baris diperlonggar agar lebih lega */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.bullet-list li::before {
    content: "\f111";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 7px;
    color: #f7e018;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    /* Pada tablet, area mengikuti lebar layar 90% */
    .roster-grid-minimal { max-width: 95%; }
    .roster-col-minimal { padding: 30px 40px; }
}

@media (max-width: 768px) {
    /* Pada layar HP, daftar nama otomatis menjadi 1 kolom agar tidak sempit */
    .bullet-list { grid-template-columns: 1fr; }
    .roster-col-minimal { padding: 25px; }
}

@media (max-width: 600px) {
    .team-grid { 
        grid-template-columns: 1fr; /* Di HP paksa 1 baris 1 kartu */
    }
}