/* About/Team Page Styles */
.team-hero {
    background: linear-gradient(135deg, #f6fafd 60%, #edf2f7 100%);
    padding: 48px 0;
    border-bottom: 1px solid #e9edf5;
}

.team-hero h1 {
    font-weight: 800;
    color: #29193d;
    letter-spacing: -0.5px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    justify-content: center;
}

.team-grid-2 {
    display: flex;
    justify-content: center;
    gap: 22px;
    width: 100%;
    max-width: 100%;
}

.team-grid-2 .team-card {
    flex: 1;
    max-width: calc((100% - 22px * 2) / 3);
    min-width: 250px;
}

.team-card {
    background: #fff;
    border: 1px solid #ececf1;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    padding: 16px;
    transition: 0.18s;
}

.team-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.06);
}

.team-photo {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    object-fit: cover;
    object-position: center top;
    border: 1px solid #f1f1f6;
}

.team-name {
    font-weight: 700;
    color: #29193d;
    margin-top: 10px;
    margin-bottom: 2px;
}

.team-role {
    color: #666;
    font-size: 0.98rem;
}

.team-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e7e7ef;
    margin-right: 8px;
    color: #444;
}

.team-links a:hover {
    border-color: #ff8000;
    color: #ff8000;
}

.section-title {
    font-weight: 800;
    color: #29193d;
}

@media (max-width:1200px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width:768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .team-photo {
        height: 200px;
    }
    .team-grid-2 .team-card {
        min-width: 200px;
    }
    .team-grid-2 .team-photo {
        height: 200px;
    }
}

@media (max-width:520px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    .team-photo {
        height: 220px;
    }
    .team-grid-2 .team-card {
        min-width: 100%;
        max-width: 100%;
    }
    .team-grid-2 .team-photo {
        height: 220px;
    }
}
