﻿.ArticleSwiperCont{
/*    height: 110px;*/
    width: 100%;
    padding-left: 10px;
    padding-right: 225px;
    margin-bottom: 8px;
    margin-top: auto;
}
.ArticleSwiper-navcont{
    position: absolute;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 560px;
    bottom: 87px;
    z-index: 100;
    pointer-events: none;
}
    .ArticleSwiper-navcont > * {
        pointer-events: auto; /* Включаем события для всех дочерних элементов */
    }
.ArticleSwiper {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}
.Article-slide {
/*    height: 150px;*/
    width: 240px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
    .Article-slide:hover {
        opacity: 0.85;
    }
/* Эффект при нажатии */
.Article-slide:active {
    transform: scale(0.98);
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}
    .Article-slide img{
        height: 100%;
    }

.WelcomeSwiper {
    width: 100%;
    overflow: hidden;
}
.WelcomeSwiper-slide{
    display: flex !important;
    justify-content: center;
}
.testSwiper{
    background: #ff6a00;
    height: 600px !important;
}
.Video-pagination {
    padding: 0;
    margin-top: 40px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    gap: 33px;
    width: 1032px !important;
}
.Video-pagination-bullet {
    transition: all ease 0.5s;
    text-align: center;
    margin: 0;
    line-height: 20px;
    font-size: 12px;
    opacity: 1;
    background: #A7A7A7;
    width: 87px;
    border-radius: 50px;
    height: 3px;
}

.Video-pagination-bullet-active {
    background: #535353;
}
.Article-pagination {
    padding: 0;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    width: 1032px !important;
}

.Article-pagination-bullet {
    transition: all ease 0.5s;
    text-align: center;
    margin: 0;
    line-height: 20px;
    font-size: 12px;
    opacity: 1;
    background: #A7A7A7;
    width: 8.333333333%;
    border-radius: 50px;
    height: 3px;
}

.Article-pagination-bullet-active {
    background: #535353;
    width: 100%;
}

.Article-button-next {
    position: relative;
    background-color: #ffffffc7;
    color: transparent;
    margin: 0;
    width: 32px;
    left: 16px;
    right: 0;
    height: 32px;
    border-radius: 100%;
    transition-duration: .2s;
    transition-property: color, font-size, background-color;
    transition-timing-function: ease-in-out;
}

.Article-button-prev {
    position: relative;
    background-color: #ffffffc7;
    color: transparent;
    margin: 0;
    left: -16px;
    right: 0;
    width: 32px;
    height: 32px;
    border-radius: 100%;
    transition-duration: .2s;
    transition-property: color, font-size, background-color;
    transition-timing-function: ease-in-out;
}

    .Article-button-next:hover, .Article-button-prev:hover {
        background-color: #B1B1B1;
    }

    .Article-button-next:active, .Article-button-prev:active {
        background-color: #B1B1B1;
    }

.Article-button-next::after {
    content: 'next';
    display: flex;
    font-size: 32px;
    width: 32px;
    height: 32px;
    background-image: url("/img/nextBtn.svg");
    background-repeat: no-repeat;
    background-position: center center;
}

.Article-button-prev::after {
    content: 'back';
    display: flex;
    font-size: 32px;
    width: 32px;
    height: 32px;
    background-image: url("/img/prevBtn.svg");
    background-repeat: no-repeat;
    background-position: center center;
}
.VideoSwiper {
    user-select: none;
    overflow: hidden;
    border-radius: 8px;
    width: 476px;
    align-self: center;
}
.VideoSwiper-slide {
    transform-style: preserve-3d;
    transition: transform 0.7s cubic-bezier(0.33, 1, 0.68, 1), opacity 0.7s ease;
    backface-visibility: hidden;
}
.VideoSwiper-wrapper {
    transform-style: preserve-3d;
}
/* Превью видео */
.VideoBlock-Previewdiv {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 7 / 5;
}

/* Кнопка воспроизведения */
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    background: transparent;
    transition: all 0.3s ease;
}

    .video-play-btn:hover {
        transform: translate(-50%, -50%) scale(1.1);
    }



.FirstBlock-slide {
    border-radius: 10px;
    width: 340px;
    height: 528px;
    max-height: unset !important;
    display: flex;
    flex-direction: column;
    align-content: center;
    background-color: #1C8D95;
}

.DescrSwiper-slide{
    width: 100%;
    height: 126px;
    border-radius: 10px;
    background-color: #40BFC8;
    display: flex;
    flex-direction: column;
    padding: 10px 53px 8px 12px;
    gap: 10px;
}
.MobileArticleSwiper{
    position: relative;
    margin-top: auto;
}

.FirstBlock_mobilepagination{
    position: absolute;
    bottom: -21px !important;
    top: unset !important;
}


.descr-button-prev, .descr-button-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    /* Дополнительные стили по вашему вкусу */
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    opacity: 60%;
}
.MobArticle-button-prev, .MobArticle-button-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    /* Дополнительные стили по вашему вкусу */
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    opacity: 60%;
}
.descr-button-prev{
    left: -8px;
}

.MobArticle-button-prev {
    left: -15px;
}
.descr-button-next {
    right: -8px;
}
.MobArticle-button-next {
    right: -15px;
}