.team{
    padding-bottom: 100px;
}
.team-container{
    max-width: 1200px;
    height: auto;
}
.team-inner{
    display: flex;
    justify-content: space-between;
    /* gap: 210px; */
    padding-bottom: 40px;
}
.team-title{
    font-weight: 500;
    font-size: 40px;
    line-height: 48px;
    letter-spacing: -0.015em;
    color: #101010;
    padding-right: 60px;
}
.team-inner-content{
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    color: #4E4E4E;
    max-width: 600px;
}
.team-cards{
    /* display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    row-gap: 42px; */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 8px;
    grid-row-gap: 42px;
    align-items: stretch;
}
.team-card{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 8px;
    max-width: 100%;
    height: auto;    
    width: initial;
}
.team-card img{
    height: auto;    
    width: 100%;
    border-radius: 2000px;
    border: 1px solid var(--gray-light, #CFCFCF);
}
.team-card-content{
    display: flex;
    gap: 8px;
    flex-direction: column;
}
.team-card-name{
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
    color: #000000;
}
.team-rec .team-inner{
    padding-bottom: 0px;
}
.team-rec-item .item-b{
    color: var(--black, #101010);
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
}
.team-rec-item a, .team-rec-item p, .team-rec-item div{
    margin-bottom: 16px;
}
.team-rec-item a:last-child, .team-rec-item p:last-child, .team-rec-item div:last-child{
    margin-bottom: 0;
}
.team-rec-item-title a, .team-rec-item-title p, .team-rec-item-title div{
    margin-bottom: 8px;
}
.team-rec-item-title a:last-child, .team-rec-item-title p:last-child, .team-rec-item-title div:last-child{
    margin-bottom: 0;
}

.team-rec-container .team-rec-item{
    margin-bottom: 40px;
}
.team-rec-container .team-rec-item:last-child{
    margin-bottom: 0;
}
@media(max-width: 1000px){
    .team-inner{
        display: flex;
        justify-content: space-between;
        /* gap: 190px; */
        padding-bottom: 32px;
    }
    .team-title{
        font-weight: 500;
        font-size: 28px;
        line-height: 36px;
        letter-spacing: -0.015em;
    }
    .team-inner-content{
        font-style: normal;
        font-weight: 400;
        font-size: 16px;
        line-height: 24px;
    }
    .team-cards{
        grid-row-gap: 28px;
    }
    .team-card{
        max-width: 100%;
    }
    .team-card img{
        height: auto;    
        width: 100%;
    }
    .team-card-content{
        display: flex;
        gap: 8px;
        flex-direction: column;
    }
    .team-card-name{
        font-style: normal;
        font-weight: 400;
        font-size: 18px;
        line-height: 24px;
    }
    .team-card-position{
        font-style: normal;
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
        color: #4E4E4E;
    }
    .team{
        padding-bottom: 64px;
    }

}

@media(max-width: 700px){
    
    .team-inner{
        display: flex;
        justify-content: space-between;
        /* gap: 14px; */
        padding-bottom: 52px;
        flex-direction: column;
    }
    .team-title{
        font-weight: 500;
        font-size: 20px;
        line-height: 26px;
        padding-right: 0px;
        padding-bottom: 14px;
    }
    .team-inner-content{
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
    }
    .team-cards{
        grid-row-gap: 28px;
        grid-template-columns: repeat(2, 1fr);
    }
    .team-card{
        max-width: 100%;
    }
    .team-card-content{
        display: flex;
        gap: 8px;
        flex-direction: column;
    }
    .team-card-name{
        font-weight: 400;
        font-size: 18px;
        line-height: 24px;
    }
    .team-card-position{
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
    }
    .team{
        padding-bottom: 64px;
    }
    .team-rec-item .item-b{
        font-size: 18px;
        line-height: 24px; 
    }
}
@media(max-width: 400px){
    .team-card{
        max-width: 100%;
    }
}