.our-team {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 2.5vw;
}

.team-members:last-child:nth-child(3n-2) {
    grid-column: 2;
}

.team-members {
    background-color: var(--white);
    max-width: 410px;
}

.team-members img {
    display: block;
    margin: 8% auto 3%;
    width: 89%;
}

.team-members .text {
    margin: 5%;
}

.team-members h5 {
    color: var(--dark-gray);
    font: normal 1.25em 'Arima', cursive;
    margin-bottom: 0.5em;
    margin-top: 0;
    line-height: 1;
}

.team-members h6 {
    font-weight: 800;
    font-size: 0.75em;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0;
    margin-bottom: 0.5em;
}

.team-members ul {
    color: var(--gray);
    font-weight: 500;
    margin-top: 0;
    font-size: calc(0.6em + 0.25vw);
    line-height: 1.3;
    padding: 0 1.4em 0 1.2em;
}

.benefits {
    display: flex;
    margin-bottom: 3em;
}

.benefit {
    box-sizing: border-box;
    flex: 0 0 calc(25% - 2.8vw);
    margin: 1.4vw;
    padding: 0.8em;
    background-color: rgb(110 110 112);
    border: 1em solid var(--gray);
    outline: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 0.9em;
}

.benefit .icon {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0.5em auto 0;
    padding: 14%;
    background-color: rgb(235 234 231);
    width: 72%;
    aspect-ratio: 1;
    border-radius: 50%;
}

.benefit .icon img {
    width: 100%;
}

.benefit ul {
    padding-left: 0;
    list-style-position: inside;
    line-height: 1.7;
}

@media (max-width: 1300px) {
    .benefits {
        flex-wrap: wrap;
    }

    .benefit {
        flex: 0 0 calc(50% - 2.8vw);
    }

    .benefit .icon {
        width: 50%;
        padding: 9%;
    }
}

@media (max-width: 1000px) {
    .our-team {
        grid-template-columns: repeat(2, 1fr);
        width: calc(32em + 7vw);
        margin: 0 auto;
    }

    .team-members ul {
        font-size: calc(0.68em + 0.17vw);
    }

    .basic-flex {
        flex-direction: column;
        align-items: center;
    }

    .basic-flex.reverse {
        flex-direction: column-reverse;
    }

    .basic-flex img {
        margin-bottom: 2em;
    }
}

@media (max-width: 680px) {
    .our-team {
        grid-template-columns: 1fr;
        width: calc(17em + 7vw);
    }

    .team-members:last-child:nth-child(3n-2) {
        grid-column: 1;
    }

    .team-members ul {
        font-size: calc(0.75em + 0.26vw);
    }

    .benefit {
        flex: 0 0 calc(100% - 2.8vw);
    }

    .benefit .icon {
        width: calc(6em + 15vw);
        padding: calc(1.8em + 0.8vw);
    }
}
