/* team-styles.css */
/* Simple CSS for the alternating team layout */

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.team-member {
    display: flex;
    align-items: flex-start;
    margin-bottom: 60px;
    gap: 40px;
}

/* Left alignment - image left, content right */
.team-member-left {
    flex-direction: row;
}

/* Right alignment - content left, image right */  
.team-member-right {
    flex-direction: row;
}

.team-image {
    flex: 0 0 300px;
    text-align: center;
}

.team-image img {
    width: 300px;
    height: auto;
    border-radius: 8px;
}

.team-content {
    flex: 1;
    padding: 0 20px;
}

.team-content h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 28px;
}

.team-content p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #333;
}

/* Mobile responsive - stack vertically */
@media (max-width: 768px) {
    .team-member {
        margin-bottom: 30px;
    }

    .team-member,
    .team-member-left,
    .team-member-right {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .team-member-right {
        flex-direction: column-reverse;
    }
    
    .team-image {
        flex: none;
        margin-bottom: 20px;
    }
    
    .team-image img {
        width: 250px;
    }
    
    .team-content {
        padding: 0;
    }

    .team-content h2 {
        word-break: break-word;
    }
}