.team {
    margin: 44px 0;
}

.team-item {
    margin-top: 44px;
}

.team-item-name {
    font-size: 24px;
    font-weight: 500;
}

.team-item-position {
    font-weight: 500;
}

.team-item-data {
    text-align: center;
}

.team-item-image {
    margin: 12px 0;
    text-align: center;
}

.team-item-image .image-wrap {
    width: 144px;
    height: 144px;
    border-radius: 50%;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
}

.team-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.team-item-about {
    padding-top: 24px;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.4;
    text-align: center;
}

.team-item-about p {
    margin-bottom: 24px;
}

.team-item-right {
    background: #E7F1FF99;
    padding: 16px;
    font-size: 24px;
    font-weight: 500;
    border-radius: 0 44px 44px 44px;
}

.team-item-btn {
    margin-top: 24px;
}

@media (min-width: 768px) {
    .team {
        margin: 0 0 80px;
        padding-top: 48px;
        background-image: url('image/tor.jpg');
        background-repeat: no-repeat;
        background-position: left -40px top 40px;
        background-size: 460px auto;
    }
    .team-item {
        margin-top: 44px;
    }

    .team-item-left {
        display: flex;
        justify-content: space-between;
    }

    .team-item-about {
        flex: 0 0 50.55%;
    }

    .team-item-right {
        margin-top: 20px;
        padding: 36px;
    }

    .team-item-btn {
        margin-top: 44px;
    }
}

@media (min-width: 1200px) {
    .team {
        padding-top: 56px;
        background-size: 560px auto;
        background-position: left -60px top 60px;
    }
    .team-list {
        max-width: 1100px;
        margin: 0 auto;
    }

    .team-item {
        margin-top: 100px;
    }

    .team-item-wrap {
        display: flex;
        justify-content: space-between;
        gap: 44px;
    }

    .team-item-left {
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex: 0 0 33%;
    }

    /* reset tablet flex-basis so credentials don't take 50% of column height */
    .team-item-about {
        flex: 0 0 auto;
        padding-top: 28px;
    }

    .team-item-right {
        align-self: flex-start;
    }

}
