.team-grid-510fb9d3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Fallback */
    gap: 30px;
}

.team-card-510fb9d3 {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card-510fb9d3:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.team-img-wrap-510fb9d3 {
    width: 100%;
}

.team-img-510fb9d3 {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.team-content-510fb9d3 {
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-grow: 1;
}

.team-name-510fb9d3 {
    margin: 0 0 5px;
    font-size: 1.25rem;
    font-weight: 600;
}

.team-title-510fb9d3 {
    margin: 0 0 15px;
    font-size: 0.875rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-bio-510fb9d3 {
    margin: 0 0 20px;
    line-height: 1.6;
    color: #444;
}

.team-link-510fb9d3 {
    margin-top: auto;
    display: inline-block;
    padding: 10px 24px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

.team-link-510fb9d3:hover {
    opacity: 0.85;
}

@media (max-width: 1024px) {
    .team-grid-510fb9d3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 767px) {
    .team-grid-510fb9d3 {
        grid-template-columns: 1fr !important;
    }
}
