.teams {
    display: flex;
    flex-direction: column;
    row-gap: 5rem;
}

.row_team:nth-child(even) {
    flex-direction: row-reverse;
}



.team_img {
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #EBEBEB;
    height: 22rem;
    margin-inline: auto;
}

.team_img img {
    border-radius: 1.25rem;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.card-team {
    padding-inline: 1rem;
}

.card-team .team_img {
    height: auto;
    aspect-ratio: 1.2;
}

.card-team .team_img img {
    object-position: top;
}

.team__header {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
}

.team_item_name {
    display: block;
    color: var(--gray-800);
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 1.25;
}

.team_item_position {
    color: var(--gray-800);
    font-size: .9375rem;
    font-weight: 400;
}

.row.aic.row_team {
    row-gap: 2rem;
}



.team_placeholder {
    padding: 1rem;
}

.team_placeholder img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: unset;
}

.card-team__title {
    font-size: 1.5rem;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .25rem;
    flex-wrap: nowrap;
    line-height: 1.25;
    margin-top: 1rem;
	text-align: center;
}

.card-team__content {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin-top: 1rem;
    font-weight: 300;
    font-size: .9375rem;
    text-align: center;
}

.team__cta {
    margin: 1rem auto 0;
}

@media (max-width:991.98px) {
    .team__header {
        justify-content: center;
        text-align: center;
        align-items: center;
    }

    .team_cta {
        margin-inline: auto;
    }

    .teams {
        row-gap: 3rem;
    }

    .team_img {
        aspect-ratio: 3 / 4;
    }

    .card-team {
        padding-inline: .5rem;
    }

    .card-team__title {
        font-size: 1.125rem;
    }

    .team__header {
        flex-wrap: wrap;
    }

    .team_item_name {
        font-size: 1fr;
    }

    .card-team__title {
        min-height: 2.75rem;
    }
}