

/* Start:/local/templates/.default/components/bitrix/news.list/our_works_new/style.css?17960202356419*/
.our-works-v2-plit{
    display: flex;
    gap: 8px;
    padding-bottom: 24px;
    position: relative;
}

.our-works-v2-plit .slider__arrows{
    top: 50px;
    z-index: 2;
    position: absolute;
}

.our-works-v2-plit-item{
    display: flex;
    height: 40px;
    padding: 0 20px;
    align-items: center;
    border-radius: 100px;
    background: #FFF;
    color: #242424;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
.our-works-v2-plit-item:hover{
    cursor: pointer;
}
.our-works-v2-plit-item.active{
    border-radius: 100px;
    background: #00C5D2;
    color: #FFF;
}
.our-works-v2-card{
    margin-right: 26px;
    background-color: #fff;
    position: relative;
    border-radius: 10px;
}

.our-works-v2-wrap {
    border-radius: 12px;
    background: #F2F3F7;
    border-radius: 12px;
    padding: 40px;
    position: relative;
}
.our-works-v2{
    position: relative;
}
.our-works-v2 h2 {
    font-weight: 500;
    font-size: 30px;
    line-height: 36px;
    color: #4c4c4c;
    margin-bottom: 30px;
}
.our-works-v2:before{
    content: url(/upload/frontend/our_works_arrow_bg.svg);
    position: absolute;
    top: -35px;
    left: 260px;
    transform: rotate(342deg);
}

.our-works-v2-card-slide {
    height: 300px;
    width: 100%;
    border-radius: 10px;
}
.our-works-v2-card-slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

/* Слайд с видео: ссылка и видео растягиваются на всю площадь слайда */
.our-works-v2-card-slide--video a{
    display: block;
    width: 100%;
    height: 100%;
}
.our-works-v2-card-slide--video video{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.our-works-v2-cards {
    display: flex;
    gap: 24px;

}

/* slick сам управляет шириной слайдов: во flex-контейнере .slick-list
   не растягивается на всю ширину, если карточек меньше, чем в ряду */
.our-works-v2-cards.slick-initialized {
    display: block;
}

/* у slick .slick-track имеет margin: auto — при одной карточке трек уже
   списка и центрируется, а нужна привязка к левому краю */
.our-works-v2-cards .slick-track {
    display: flex;
    align-items: stretch;
    margin-left: 0;
    margin-right: 0;
}

.our-works-v2-cards .slick-track:before,
.our-works-v2-cards .slick-track:after {
    display: none;
    content: none;
}
.our-works-v2-cards .slick-slide {
    float: none;
    height: auto;
    /* ширину слайд получает инлайново от slick; запрещаем сжатие,
       иначе сумма ширин + margin-right: 26px у .our-works-v2-card
       заставит браузер «съесть» ширину карточек */
    flex: 0 0 auto;
}
.our-works-v2-card-title {
    margin-left: 24px;
    margin-top: 24px;
    color: #242424;
    font-size: 21px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.our-works-v2-card-text {
    color: #777B83;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin-top: 8px;
    margin-left: 24px;
    margin-bottom: 24px;
}

.our-works-v2-card-zoom {
    background-color: #ffffff;
    display: flex;
    width: 36px;
    height: 36px;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 16px;
    top: 250px;
    border-radius: 100px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.our-works-v2 .slick-dots li.slick-active button:before{
    width: 8px;
    height: 8px;
    background-color: #00C5D2;
    border-radius: 30px;
    content: "";
}

.our-works-v2 .slick-dots li button:before {
    width: 8px;
    height: 8px;
    background-color: #00C5D2;
    border-radius: 30px;
    background-color: #D6D6D3;
    content: "";
}
.our-works-v2  .slick-dots li{
    margin: unset;
}
.our-works-v2-card .slick-dots{
    bottom: 10px;
}
.our-works-v2 .slider__arrows{
    display: flex;
    right: 0;
    top: 0;
    align-items: center;
}

.our-works-v2 .slider__arrow {
    width: 40px;
    height: 40px;
    border-radius: 3px;
    background: #00cad4 url(/upload/frontend/slider_arrow.svg) no-repeat 11px 13px;
    border: 1px solid #00cad4;
    cursor: pointer;
    transition: opacity .3s ease-out;
}
.our-works-v2 .slick-arrow.slick-disabled{
    opacity: 0.6;
}
.our-works-v2 .our-works-v2-cards .slick-dots{
    display: none;
}

/* На разрешении меньше 750px слайдер карточки не работает:
   видна только первая картинка (slick на этом разрешении не инициализируется) */
@media (max-width: 749px) {
    .our-works-v2-card-slider .our-works-v2-card-slide:not(:first-child) {
        display: none;
    }
}

@media (max-width: 767px) {
    .our-works-v2-card-slide{
        height: 184px;
    }
    .our-works-v2-wrap{
        padding: 16px;
    }
    .our-works-v2{
        padding-bottom: 30px;
    }
    .our-works-v2 .slider__arrows{
        display: none;
    }

    .our-works-v2 .slick-dots{
        display: block;
        position: absolute;
        bottom: -45px;
    }
    .our-works-v2-card .slick-dots{
        bottom: 5px;
    }
    .our-works-v2-plit{
        width: calc(100% + 32px);
        margin-left: -16px;
        padding: 0 16px 24px;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .our-works-v2-plit::-webkit-scrollbar{
        display: none;
    }
    .our-works-v2-plit-item{
        flex-shrink: 0;
        white-space: nowrap;
    }
}

/* --- Отступы блока «Наши работы» --- */
.our-works-v2 h2 { margin-bottom: 30px !important; }
.our-works-v2-wrap { margin-bottom: 30px; }

/* Единый вид с главной: h2 и точки пагинации (убираем «—» aspro) */
.our-works-v2 h2 { font-size: 30px !important; line-height: 36px !important; font-weight: 500 !important; color: #4c4c4c !important; }
.our-works-v2 .slick-dots li::before { content: none !important; display: none !important; }

/* End */
/* /local/templates/.default/components/bitrix/news.list/our_works_new/style.css?17960202356419 */
