/** Блок списка услуг */
.services-info {
    margin: 50px auto 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.services-info {
    padding-bottom: 0;
}

.services-info__groups {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    --gap: 20px;
    gap: var(--gap);
    --column: 4;
}

.services-info__group {
    width: calc((100% - (var(--gap) * (var(--column) - 1))) / var(--column));
    border-radius: 30px 30px 0 0;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.services-info__group:not(.row--last) {
    border-radius: 30px;
}

.services-info__group.row--last {
    box-shadow: 0 -4px 20px 0 rgba(0, 0, 0, 0.15);
}

.group__picture img {
    width: 100%;
    height: auto;
}

.services-info__text-block {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.group__info {
    padding: 18px 16px;
    color: #000;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
}

.group__info h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

.group__info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
    flex-direction: column;
    text-align: center;
}

.group__info li {
    margin: 0;
}

.services-info__footer {
    display: flex;
    justify-content: center;
    padding-bottom: 35px;
}

.services-info__full-block {
    display: none;
    position: absolute;
    width: calc((1240px - 2rem - (var(--gap) * (var(--column) - 1))) / var(--column));
    box-sizing: border-box;
    background: #fffbcc;
    z-index: 1;
    padding: 16px;
    font-style: italic;
    line-height: 140%;
    border-radius: 10px;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
}

.services-info__full-block:before {
    content: '';
    border: 10px solid transparent;
    border-bottom: 10px solid #fffbcc;
    border-left: 10px solid #fffbcc;
    position: absolute;
    left: 105px;
    top: -20px;
}

.services-info__full-block p {
    margin-bottom: 8px;
}

.services-info__full-block ul {
    padding-left: 1rem;
    list-style-position: inside;
}

.services-info__full-block li {
    margin: 0;
}

@media (max-width: 1200px) {
    .services-info {
        padding-bottom: 60px;
    }

    .services-info__groups {
        --column: 3;
    }

    .services-info__group.row--last {
        box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
    }

    .group__info {
        font-size: 18px;
        line-height: 120%;
    }

    .group__info h2 {
        font-size: 28px;
    }

    .services-info__footer {
        padding-bottom: 25px;
    }

    .services-info__full-block {
        width: calc((100% - 100px - (var(--gap) * (var(--column) - 1))) / var(--column));
    }
}

@media (max-width: 950px) {
    .services-info {
        margin: 35px auto 0;
        gap: 20px;
    }

    .services-info__groups {
        --column: 2;
        --gap: 40px;
    }

    .services-info__full-block {
        width: calc((100% - 40px - (var(--gap) * (var(--column) - 1))) / var(--column));
    }

    .services-info__full-block:before {
        left: 35%;
    }

    .services-info__full-block.arrow--revers:before {
        border-right: 10px solid #fffbcc;
        border-left-color: transparent;
        left: 52%;
    }
}

@media (max-width: 620px) {
    .services-info {
        margin-top: 25px;
        padding-bottom: 50px;
    }

    .services-info__groups {
        --gap: 20px;
    }

    .services-info__group {
        width: 100%;
    }

    .services-info__full-block {
        width: calc(100% - 60px);
    }

    .services-info__full-block:before {
        left: 50%;
    }
}
/** Блок списка услуг – Конец */

/** Сотрудники */
.doctors {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-top: 45px;
    padding-bottom: 45px;
}

.doctors__list {
    display: flex;
    --gap: 20px;
    gap: var(--gap);
    flex-wrap: wrap;
    --column: 4;
}

.doctors__item {
    margin: 0 10px;
    padding: 25px 30px;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.13);
}

.slick-initialized .slick-slide.doctors__item {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: auto;
}

.doctors__list .doctors__item {
    width: calc((100% - (var(--gap) * (var(--column) - 1))) / var(--column));
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.doctors__picture {
    border-radius: 50%;
    overflow: hidden;
}

.doctors__item-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 17px;
}

.doctors__text-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.doctors__name {
    color: #333;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%;
}

.doctors__info {
    color: #333;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
}

.doctors__item-footer {
    display: flex;
    justify-content: center;
}

.doctors__footer {
    display: flex;
    justify-content: center;
}

@media (max-width: 1200px) {
    .doctors {
        gap: 30px;
        padding: 35px 60px;
    }

    .doctors_plain-list {
        padding: 0;
    }

    .doctors__list {
        --column: 3;
    }
}

@media (max-width: 758px) {
    .doctors {
        padding: 35px 20px;
    }

    .doctors__list {
        --column: 2;
    }

    .doctors__item {
        padding: 25px 50px;
    }

    .doctors__picture {
        min-height: 205px;
    }
}

@media (max-width: 758px) {
    .doctors__list .doctors__item {
        width: 100%;
    }
}

@media (max-width: 450px) {
    .doctors__item {
        padding: 25px 40px;
    }
}
/** Сотрудники – Конец */

/** Направления листинг */
.services-listing {
    --column: 4;
    display: flex;
    flex-wrap: wrap;
    --gap: 20px;
    gap: var(--gap);
    padding-bottom: 35px;
}

.services-listing__item {
    width: calc((100% - (var(--gap) * (var(--column) - 1))) / var(--column));
    padding: 35px 25px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    gap: 16px;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.13);
}

.services-listing__item-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
}

.item__letter {
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    border: 2px dashed #3d9322;
    background: #f4fff1;
    font-size: 64px;
    line-height: 140%;
    color: #3d9322;
}

.services-listing__item:nth-child(even) .item__letter {
    border-color: #ed7f27;
    background: #fff6ef;
    color: #ed7f27;
}

.item__title {
    color: #3d9322;
    font-size: 20px;
    font-weight: 700;
    line-height: 140%;
}

@media (max-width: 1200px) {
    .services-listing {
        --column: 3;
    }
}

@media (max-width: 1000px) {
    .services-listing {
        --column: 2;
    }
}

@media (max-width: 758px) {
    .services-listing__item {
        width: 100%;
    }

    .item__title {
        font-size: 18px;
    }
}
/** Направления листинг – Конец */

/** Фото галерея */
[id^="jig"].justified-image-grid {
    display: flex!important;
    flex-wrap: wrap;
    gap: 20px;
}

[id^="jig"] .jig-imageContainer {
    flex: 0 0 calc(25% - 20px);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin: 0 !important;
}

[id^="jig"] .jig-overflow {
    width: 100% !important;
    height: 100% !important;
}

[id^="jig"] img {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: cover;
    display: block;
}

@media (max-width: 1200px) {
    [id^="jig"] .jig-imageContainer {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 758px) {
    [id^="jig"] .jig-imageContainer {
        flex: 0 0 100%;
    }
}
/** Фото галерея – Конец */

