

.doctor-works-carousel:not(.swiper) {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}

.doctor-works-carousel:not(.swiper) .doctor-work {
    width: 90vw;
}

.doctor-work {
    display: flex;
    padding: 15px;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
    border-radius: 8px;
    background: #f0f7f9;
    flex-direction: column;
}

.doctor-work__images {
    order: 2;
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    flex-direction: row !important;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.doctor-work__images .before img,
.doctor-work__images .after img {
    border-radius: 16px;
    width: 100%;
}

.doctor-work__content h4 {
    color: var(--color-text-green);
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.doctor-work__text {
    color: #18383C;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 15px;
}

.doctor-work__content span {
    color: var(--color-text-green);
    font-size: 14px;
    font-weight: 600;
}

.doctor-work__content span b {
    display: block;
    color: #18383C;
    font-size: 16px;
    font-weight: 400;
}

.doctor-work__images .before,
.doctor-work__images .after {
    flex: 50%;
    position: relative;
}

.doctor-work__images .before:after,
.doctor-work__images .after:after {
    content: "Было";
    border-radius: 4px;
    background: rgb(232 230 212);
    display: block;
    padding: 7px 15px;
    color: #18383C;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    transform: translateY(-13px);
}

.doctor-work__images .after:after {
    content: "Стало";
}

.swiper .doctor-work {
    display: flex;
}

.doctor-work__images img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    display: block;
    max-height: 230px;
    width: 270px;
}

.doctor-works__header.section-header {
    margin-left: 0;
    align-items: baseline;
}


@media (min-width: 768px) {

}


@media (min-width: 1024px) {
    .doctor-works-carousel {
        margin-bottom: 80px;
        gap: 20px;
    }

    .doctor-works-carousel.swiper {
        max-height: 100vh;
    }

    .doctor-works-carousel:not(.swiper) {
        flex-wrap: nowrap;
    }

    .doctor-works-carousel:not(.swiper) .doctor-work {
        width: auto;
    }

    .doctor-work {
        flex-direction: row;
    }

    .doctor-work__images {
        order: 1;
    }

    .doctor-work__content {
        order: 2;
        min-width: 50%;
        max-width: 50%;
    }

    .doctor-work__images .before:after,
    .doctor-work__images .after:after {
        position: absolute;
        left: 10px;
        top: 10px;
        z-index: 10;
        background: var(--color-turquoise);
        transform: none;
    }
}


@media (min-width: 1200px) {

}


@media (min-width: 1440px) {

}


@media (min-width: 1920px) {

}
