@import "./common-var.css";

/* Team Section */
.team-section {
    background-color: var(--white);
}

/* Team Member Card */
.team-member {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.team-image {
    width: 100%;
    height: 401px;
    overflow: hidden;
    border-radius: 6px;
}

.member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.team-member:hover .member-photo {
    transform: scale(1.05);
}

/* Team Info */
.team-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.member-name {
    color: var(--primary-color);
    font-family: var(--font-type2);
    font-size: 26px;
    font-weight: 400;
    line-height: 34px;
    margin: 0;
}

.member-position {
    color: var(--text-default-color);
    font-family: var(--font-type1);
    font-size: 18px;
    font-weight: 400;
    line-height: 34px;
    margin: 0;
}

/* RTL Support */
[dir="rtl"] .team-member {
    text-align: right;
}

[dir="rtl"] .member-name {
    font-family: var(--font-type1);
}

[dir="rtl"] .member-position {
    font-family: var(--font-type2);
}

/* Responsive Typography */
@media (max-width: 1200px) {
    .member-name {
        font-size: 24px;
        line-height: 32px;
    }
    
    .member-position {
        font-size: 16px;
        line-height: 28px;
    }
}

@media (max-width: 991px) {
    
    .member-name {
        font-size: 22px;
        line-height: 30px;
    }
    
    .member-position {
        font-size: 16px;
        line-height: 26px;
    }
}

@media (max-width: 576px) {
    
    .member-name {
        font-size: 20px;
        line-height: 28px;
    }
    
    .member-position {
        font-size: 15px;
        line-height: 24px;
    }
}

@media (max-width: 400px) {
    
    .member-name {
        font-size: 18px;
        line-height: 26px;
    }
    
    .member-position {
        font-size: 14px;
        line-height: 22px;
    }
}
