/* Team */

.team-area {
    padding: 3vw 0;
}

.team-container {
    margin: 3vw 5vw 0;
    text-align: left;
}

.team-section {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.team-item {
    width: 17.6vw;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 3vw;
}

.ts-even .team-item:first-child {
    margin-left: 17.6vw;
}

@media screen and (min-width: 900px) {
    .elements-5.ts-even .team-item:first-child {
        margin-left: 35.1vw;
    }
}

.team-itemImage {
    max-width: 80%;
    position: relative;
    height: 0;
    padding-bottom: 110%;
}

@media screen and (min-width: 900px) and (min-aspect-ratio: 21/9) {
    .team-itemImage {
        padding-bottom: 80%;
    }
}

.team-itemImage picture,
.team-itemImage source,
.team-itemImage img {
    display: block;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    object-fit: contain;
}

.team-itemName {
    font-weight: bold;
    white-space: nowrap;
    font-size: 18px;
    font-size: 1.3vw;
    line-height: 1.1;
    margin: 1vh 0;
}

.team-itemPosition,
.team-itemPositionSesc {
    max-width: 90%;
    line-height: 1.3;
    font-size: 14px;
    font-size: 1vw;
}

.team-itemPositionSesc {
    margin-top: 15px;
}

@media screen and (min-width: 1900px) {
    .team-itemName {
        font-size: 18px;
    }
    .team-itemPosition,
    .team-itemPositionSesc {
        font-size: 14px;
    }
}

@media screen and (max-width: 900px) {
    .team-container {
        margin: 50px 3vw 0;
    }
    .team-section {
        text-align: center;
    }
    .team-item {
        width: 30vw;
        margin-bottom: 50px;
    }
    .team-itemInner {
        padding: 0 20px;
    }
    .ts-three {
        margin-left: 0;
    }
    .ts-even .team-item:first-child {
        margin-left: 30vw;
    }
    .team-itemImage {
        max-width: 95%;
        margin: 0 auto;
        padding-bottom: 95%;
    }
    .team-itemImage picture,
    .team-itemImage source,
    .team-itemImage img {
        line-height: 0;
    }
    .team-itemName {
        font-size: 18px;
        text-align: center;
        margin: 10px 5px 10px;
        white-space: inherit;
    }
    .team-itemPosition,
    .team-itemPositionSesc {
        font-size: 12px;
        max-width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .team-area {
        padding: 50px 0;
    }
    .team-area h2 {
        display: none;
    }
    .team-container {
        margin: 0 1vw 0;
    }
    .team-item {
        width: 47vw;
        margin-bottom: 25px;
    }
    .team-itemInner {
        padding: 0;
    }
    .ts-even .team-item:first-child {
        margin-left: 47vw;
    }
    .team-itemName {
        font-size: 16px;
    }
}