.team__above-heading {
    font-size: 14px;
    color: #7c7c7c;
    margin-bottom: 6px;
}

.team__heading {
    margin-bottom: 48px;
}

.team__item {
    display: flex;
    gap: 146px;
    align-items: center;
    border: 1px solid #bdbdbd;
    background: #fbfbfb;
    position: relative;
}

.team__item:not(:last-child) {
    margin-bottom: 36px;
}

.team__item-image-wrapper {
    flex-basis: 431px;
    height: auto;
}

.team__item-image {
    width: 100%;
    height: 100%;
    vertical-align: middle;
}

.team__item-text-block {
    flex-basis: 659px;
    height: 100%;
    padding: 36px 50px 36px 0;
}

.team__item-text {
    color: #7c7c7c;
}

.team__item-above-heading {
    opacity: 0.5;
    font-size: 14px;
}

.team__item-heading {
  font-size: 32px;
    margin-bottom: 24px;
}

.team__splide {
    display: none
}

@media screen and (max-width: 1343.98px) {
    .team__item {
        display: flex;
        gap: 75px;
        align-items: center;
        border: 1px solid #bdbdbd;
        background: #fbfbfb;
    }
}

@media screen and (max-width: 1199.98px) {
    .team__item {
        display: flex;
        gap: 50px;
        align-items: center;
        border: 1px solid #bdbdbd;
        background: #fbfbfb;
    }
}

@media screen and (max-width: 1023.98px) {
    .team__splide {
        display: block;
    }

    .team__track {
        padding: 2px 1.5px!important;
    }

    .item-desktop {
        display: none;
    }

    .team__item {
        flex-direction: column;
        height: 100%;
        gap: 36px;
        border: none;
        background: #FEFBE7;
    }

    .team__item-image-wrapper,
    .team__item-text-block {
        flex-basis: fit-content;
    }

    .team__item-image-wrapper {
        width: 100%;
        height: 327px;
    }

    .team__item-text-block {
        padding: 0 24px 24px 24px;
    }

    .team__item-heading {
        font-size:24px;

    }

    .team__item-text {
        opacity: 0.5;
        color: #141414;
    }
}

@media screen and (max-width: 599.98px) {
    .team__above-heading {
        margin-bottom: 4px;
    }

    .team__heading {
        margin-bottom: 16px;
    }
}