/* Uni слайдшой для ПК версии */
@media (min-width: 992px) {
    .uni-slideshow_v2__description.text-over-image {
        position: absolute;
        right: 397px;
        z-index: 10;
    }

    .uni-slideshow_v2__text {
        font-size: 20px;
        color: #000000;
    }
}


/* Вспомогательный класс .d-flex */
.d-flex {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-wrap: wrap;
}

/* Секция преимуществ в подвале — отступы и фон, без перехода */
.footer .vantages {
    margin-top: -25px;
    padding-top: 75px;
    padding-bottom: 50px;
    background-color: #f9f9f9;
}

/* Основной контейнер */
.vantages__items {
    justify-content: center;
    margin-bottom: 100px;
    align-items: flex-start;
    width: 100%;
    padding: 0;
    /* Remove default ul padding */
}

/* Элемент (карточка) */
.vantages__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* margin-right: 94px;  <- У донора было так, но на узких экранах это много */
    margin: 0 45px 30px 45px;
    /* Лучше симметричные отступы */
}

/* Иконка */
.vantages__img {
    width: 125px;
    height: 125px;
    background: rgba(249, 249, 249, 0.7);
    border: 3px solid #ea4f20;
    border-radius: 50%;
    padding-top: 30px;
    margin: 0 auto 15px auto;
    box-sizing: border-box;
    flex-shrink: 0;
    /* Чтобы круг не сплющило */
}

.vantages__img img {
    margin: 0 auto;
    display: block;
}

/* Заголовки */
.vantages__title {
    color: #ea4f20;
    font-weight: 800;
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 15px;
    line-height: 1.2;
    max-width: 320px;
    /* Ограничиваем только заголовок, если он оч длинный */
}

/* Текст описания */
.vantages__text {
    width: 300px;
    /* <--- УВЕЛИЧИЛ ШИРИНУ (было 200px) */
    font-size: 16px;
    font-weight: 300;
    color: #000;
    line-height: 1.4;
}

/* Контакты */
.vantages__contacts {
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}

.vantages__tel {
    font-weight: 800;
    color: #434242;
    font-size: 26px;
    margin-bottom: 10px;
    text-decoration: none;
    white-space: nowrap;
    /* Чтобы телефон не переносился */
}

.vantages__mail {
    color: #ea4f20;
    text-decoration: underline;
    font-size: 26px;
    font-weight: 800;
}

/* Блок Pluses */
.pluses {
    position: relative;
    max-width: 1180px;
    margin: 0 auto 55px auto;
    /* padding-left: 200px; Removed to fix centering */
    box-sizing: border-box;
    /* overflow: hidden; Removed to allow image overflow */
}

.pluses__text {
    max-width: 900px;
    /* Increased from 650px */
    width: 100%;
    text-align: center;
    font-size: 16px;
    color: #333;
    /* Darker color */
    /* font-style: italic; Removed */
    margin: 0 auto 15px auto;
    display: block;
}

/* Космонавт */
.cosmo {
    position: absolute;
    top: -20px;
    /* Slight adjustment */
    right: 0;
    z-index: 1;
}

/* =========================================
   MEDIA QUERIES (Адаптив)
   ========================================= */

@media screen and (max-width: 1200px) {
    .pluses {
        padding-left: 0;
        text-align: center;
    }

    .cosmo {
        display: none !important;
    }

    .vantages__item {
        margin: 0 20px 30px 20px;
    }
}

@media screen and (max-width: 992px) {
    .vantages__items {
        justify-content: space-around;
    }

    .vantages__text {
        width: auto;
        /* На планшетах текст резиновый */
        max-width: 300px;
    }
}

@media screen and (max-width: 768px) {
    .vantages__item {
        width: 100%;
        max-width: none;
        margin: 0 0 40px 0;
        align-items: center;
        /* Ensure alignment */
    }

    .vantages__img {
        margin: 0 auto 15px auto !important;
        /* Force center */
    }

    .vantages__title {
        font-size: 16px;
        max-width: none;
    }

    .vantages__text {
        width: 80%;
        /* На мобилках не на весь экран, но широко */
        max-width: none;
        margin: 0 auto;
    }

    .pluses {
        padding: 0 15px;
        margin-bottom: 30px;
    }

    .pluses__text {
        font-size: 14px;
        text-align: center;
        width: 100%;
    }

    .vantages__tel,
    .vantages__mail {
        font-size: 20px;
    }
}

/* HTML модуль в колонках — независим от левого блока */
#column-right .html-module,
#column-left .html-module {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0;
    padding-right: 0;
}