/* ===== Editorial Team Styles ===== */

.ed-team-wrapper {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    max-width: 100%;
    color: #333;
    line-height: 1.5;
}

.ed-role-header {
    background-color: #2c3e50;
    color: #ffffff;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 1.2em;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 15px;
    border-left: 5px solid #3498db;
}

.ed-grid {
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.ed-card {
    background: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    flex: 1 1 280px;
    max-width: calc(33.333% - 10px);
    box-sizing: border-box;
}

/* Kartu tunggal (mis. Editor in Chief) tidak perlu lebar 30% */
.ed-card.ed-card-single {
    max-width: 350px;
    flex: 0 1 350px;
}

/* Kelas no-margin dipertahankan untuk kompatibilitas HTML lama, tidak lagi diperlukan dengan flexbox/gap */
.ed-card.no-margin {
    margin-right: 0;
}

.ed-name {
    font-size: 1.1em;
    font-weight: 700;
    color: #2980b9;
    margin-bottom: 6px;
}

.ed-univ {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
}

.ed-btn {
    display: inline-flex;
    align-items: center;
    background-color: #4285F4;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85em;
    font-weight: 600;
}

.ed-btn svg {
    margin-right: 6px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .ed-card {
        max-width: 100%;
        flex-basis: 100%;
    }
}
