/* Force team member images to display */

/* Team container styles */
.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Style for team member cards */
.team-member {
    background-color: rgba(22, 34, 53, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Hard-coded images using direct backgrounds for each team member */
.team-member:nth-of-type(1) .team-member-photo {
    background-image: url("../../images/team/alex-zhang.jpg");
}

.team-member:nth-of-type(2) .team-member-photo {
    background-image: url("../../images/team/sophia-rodriguez.jpg");
}

.team-member:nth-of-type(3) .team-member-photo {
    background-image: url("../../images/team/marcus-patel.jpg");
}

.team-member:nth-of-type(4) .team-member-photo {
    background-image: url("../../images/team/layla-chen.jpg");
}

/* General styles for photo containers */
.team-member-photo {
    height: 280px;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hide the original image tags */
.team-member-img {
    display: none !important;
}

/* Content area styles */
.team-member-info {
    padding: 20px;
}

.team-member-info h3 {
    margin: 0 0 5px;
    font-size: 1.4rem;
    color: #ffffff;
}

.team-member-role {
    color: #14F195;
    font-size: 0.95rem;
    font-weight: 500;
    display: block;
    margin-bottom: 12px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .team-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .team-member-photo {
        height: 240px;
    }
}

@media (max-width: 576px) {
    .team-container {
        grid-template-columns: 1fr;
    }
    
    .team-member-photo {
        height: 220px;
    }
}
