:root {
    --color-accent-main-half: #FDCCE7;
}


.describe__row {
    grid-template-columns: repeat(3, 1fr);
}

.teacher {
    width: 360px;
}

.teacher__wrap {
    position: relative;
    overflow: hidden;
}

.teacher__wrap:before {
    content: '';
    position: absolute;
    left: -40px;
    top: -50px;
    width: 100px;
    height: 100px;
    border: 12px solid #FC9AD0;
    border-radius: 100%;
}

.teacher__wrap:after {
    content: '';
    position: absolute;
    right: 30px;
    top: 120px;
    width: 50px;
    height: 50px;
    border: 8px solid #FC9AD0;
    border-radius: 20px;
    transform: rotate(45deg);
}

.teacher__photo-img {
    border: none;
}

.teacher__content {
    gap: 8px;
}

.teachers-slider__nav {
    background: var(--color-grey);
    border: none;
    border-radius: unset;
}

.bebefit__list {
    margin: 0 -28px;
}

.benefit__item {
    flex: 33.333% 0 0;
    padding-left: 28px;
    padding-right: 28px;
}

.bonus {
    padding-left: 0;
    overflow: hidden;
}

.bonus__right {
    padding: 24px 32px 24px 16px;
}

.bonus__img {
    left: -40px;
    position: relative;
}

.feedback__content--ur {
    grid-template-columns: 1fr;
}

@media screen and (max-width: 1360px) {
    .for-whom {
        gap: 0;
    }
}


@media screen and (max-width: 1023px) {
.benefit__item {
    flex: 50% 0 0;
}

    .describe__row {
        grid-template-columns: repeat(2, 1fr);
    }


    .describe__item:nth-child(3) {
        grid-column: span 2;
    }

  .bonus {
        padding-left: 24px;
        padding-right: 24px;
    }

    .bonus__img {
        left: 0;
    }

    .bonus__right {
        padding-left: 0;
        padding-right: 0;
    }

}

@media screen and (max-width: 767px) {
    .describe__row {
        grid-template-columns:1fr;
    }


    .describe__item:nth-child(3) {
        grid-column: unset;
    }

    .benefit__item {
        flex: 100% 0 0;
        width: 100%;
    }

    .bonus {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media screen and (max-width: 567px) {
    .teacher {
        width: 312px;
    }
}
