.section--team {
}

.section--team .section__header {
    background: var(--color-secondary);
    padding: 86px clamp(14px, 5%, 25px) 198px clamp(14px, 5%, 25px);
}

.section--team .section__header .section__title {
    color: var(--color-white);
    margin: 0 0 32px 0;
}

.section--team .section__header .section__introduction {
    color: var(--color-white);
    margin: 0;
}


.section--team .grid--teams {
    margin: 0 auto;
    margin-top: calc(-198px + 83px);
    width: calc(100% - 2 * clamp(14px, 5%, 25px));
    max-width: 850px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap:66px 0
}

.section--team .card-member {
    width: 355px;
    max-width: calc(50% - 17px);
}

.section--team .card-member .card__image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 0 30px 0 0;
    overflow: hidden;
}

.section--team .card-member .card__image img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}

.section--team .card-member .card__content {
    margin: 43px 0 0 0;
}

.section--team .card-member .card__name {
    color: var(--color-primary);
    text-transform: uppercase;
    width: 100%;
    text-align: center;
    font-size:20px;
    line-height: 1.5;
    margin: 0;
    font-weight: 700;
    font-family: "Alwyn New", sans-serif;
}

.section--team .card-member .card__role {
    width: 100%;
    text-align: center;
    margin: 15px 0 0 0;
    font-size:18px;
    line-height: 1.5;
}

@media all and (max-width: 1080px){
    .section--team .grid--teams {
        justify-content: center;
        gap:66px 33px;
    }
}


@media all and (max-width: 576px){
    .section--team .grid--teams {
        flex-direction: column;
        gap:50px 0;
    }
    .section--team .card-member {
        max-width: 100%;
    }
}
