.page-head-warp_banners {
    background-image: url('img/banner.jpg');
    background-size: cover;
    background-position: center 0;
    background-repeat: no-repeat;
    padding: 15px;
    min-height: 150px;
    margin-left: -16px;
    margin-right: -16px;

}

.page-head-warp_banners .bg-colos {
    background-color: rgb(255 255 255 / 80%);
}

.page-head-warp_banners .buttons {
    margin-top: 15px;
    display: inline-flex;
}
.warp_sub_menu-page {
    justify-content: space-between;
}
.sub_menu-page ul {
    display: flex;
    gap:28px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 0;
}
.sub_menu-page ul li:before {
    content: none;
}
.sub_menu-page ul li {
    list-style: none;
    margin-bottom: 0;
}

.sub_menu-page ul li a {
    text-decoration: none;
    color: #000;
    font-size: 16px;
    font-weight: bold;
    padding: 3px 10px;
    transition: 0.3s;
}
.sub_menu-page ul li a:hover,
.sub_menu-page ul li a.active{
    color: #a668bf;
}


.seconder-text {
    color: #a668bf;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 0;
    margin-top: 15px;
}

.warp-block-contact{
    display: flex;
    max-height: 360px;
    max-width: 880px;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(98.62deg, #fafafa -0.24%, #fafafa 100%);
    margin: 20px auto;
}


.warp-block-contact_ist {
    display: flex;
    max-height: inherit;
    flex-grow: 1;
    justify-content: space-between;
}

.warp-block-contact_text {
    padding: 64px 56px 48px 64px;
    overflow: hidden;
}
.warp-block-contact_desc {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
}

.warp-block-contact_figure {
    max-width: 42.5%;
    flex-shrink: 0;
    display: flex;
}

.warp-block-contact_img {
    max-height: 360px;
    object-fit: cover;
}


/* Секция с клиниками */
.clinics-section {
    padding: 40px 0px;
    background-color: #fff;
    text-align: center;
}

/* Заголовок */
.clinics-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
}

/* Сетка карточек */
.clinics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Карточка */
.clinic-card {
    background-color: #B08DEA; /* Фиолетовый фон, как на изображении */
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.clinic-card:hover {
    transform: translateY(-5px);
}

/* Иконка */
.clinic-icon {
    width: 150px;
    height: 150px;
    margin-bottom: 9px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1)); /* Легкая тень для иконок */
}

/* Текст */
.clinic-text {
    font-weight: 500;
    font-size: 14px;
    text-align: center;
    line-height: 1.5;
    margin: 0;
    color: #FFFFFF;

}

/* Адаптивность */
@media (max-width: 768px) {
    .clinics-title {
        font-size: 24px;
    }

    .clinic-icon {
        width: 120px;
        height: 120px;
    }

    .clinic-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .clinics-title {
        font-size: 20px;
    }

    .clinic-text {
        font-size: 12px;
    }

    .clinics-grid {
        grid-template-columns: repeat(2, auto); /* Одна колонка на очень маленьких экранах */
    }
    .clinic-icon {
        width: 90px;
        height: 90px;
    }
}


.warp_advantages {
    border: 1px solid #e5e5e5;
    background-color: #fafafa;
    padding: 19px 39px 39px;
}

.warp_advantages_title {
    text-align: center;
}

.warp_advantages_body {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
    align-items: flex-start;
}

.warp_advantages_body > div {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    text-align: center;
    line-height: normal;
}

.warp_video {
    margin-top: 50px;
}
video {
    width: 80%;
    max-width: 720px;
    border: 2px solid #4CAF50;
    border-radius: 8px;
    background-color: black;
}

.list-block {
    font-size: 18px;
}

.list-block {
    list-style: none;
}
.list-block li {
    position: relative;
    padding: 10px 0 10px 20px;

    font-variant: small-caps;
    font-weight: bold;

}
.list-block li:before {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #a668bf;
    content: "";
    left: 0;
    transition: .3s ease-in-out;
    top: 19px;
}
.list-block li:after {
    position: absolute;
    border-left: 1px dotted #a668bf;
    width: 1px;
    bottom: -12px;
    content: "";
    left: 3px;
    top: 35px;
}
.list-block li:hover:before{box-shadow: 0 0 0 5px rgba(166,104,191,.2)}
.list-block li:last-child:after {content: none;}


.warp-blcok_stock .grid-list  {
    max-width: calc(4* 310px + 3* 20px);
    margin: 0 auto;
}

.faq { margin: 0 auto; }
.faq-item { border-bottom: 1px solid #ddd; margin-bottom: 10px; }
.faq-question {
    cursor: pointer; padding: 15px; background: #f7f7f7; font-weight: bold;
    transition: background 0.3s ease;
}
.faq-question:hover { background: #eee; }
.faq-answer {
    max-height: 0; overflow: hidden; padding: 0 15px;
    transition: max-height 0.5s ease, padding 0.5s ease;
}
.faq-answer.open { max-height: 300px; padding: 15px; }

@media only screen and (max-width : 810px) {
    .sub_menu-page ul {
        gap: 10px;
    }
}
@media only screen and (max-width : 768px) {
    .warp-block-contact_text {
        padding: 40px 25px 40px 25px;
    }

    .warp-block-contact_figure {
        max-width: 70.5%;
    }
}

@media only screen and (max-width : 430px) {
    .maxwidth-theme.warp_page-vedenie-beremennosti {
        padding-left: 0;
        padding-right: 0;
    }

    .header-menu__wrapper.warp_sub_menu-page {
        height: auto;
    }

    .sub_menu-page {
        margin-bottom: 15px;
    }
    .sub_menu-page ul {
        gap: 5px;
    }
    
    .warp-block-contact_figure {
        display: none;
    }
}