

/* Start:/local/templates/main/components/bitrix/news.list/articles_list/style.css?17666765933686*/
/*news*/
.news-page{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 24px;
}
.news-page .news-card{
    width: auto;
    margin: 0;

    & a {
        text-decoration: none;
    }
}
.news-card{
    width: 464px;
    height: 460px;
    border-radius: 4px;
    padding: 40px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
/* .news-card__tags{
    display: flex;
    flex-wrap: wrap;
} */
.news-card__date{
    font-weight: 500;
    font-size: 14px;
    color: var(--darkColor);
    opacity: .5;
    line-height: 14px;
    margin-bottom: 35px;
}
.news-card__title{
    font-weight: 900;
    font-size: 20px;
}
.news-card__tag{
    position: relative;
    font-weight: 500;
    font-size: 14px;
    margin-right: 20px;
    margin-bottom: 7px;
    color: var(--activeColor);
    text-decoration: dashed;
}
.news-card__tag::after, .news__tag::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 100%;
    background-image: repeating-linear-gradient(
            to right,
            blue,
            blue 4px,
            transparent 4px,
            transparent 8px
    );
}
.filters-wrapper{
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 50px;
}
.filters-row {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    transition: max-height 0.3s ease;
    line-height: 18px;
    /* ВАЖНО: высота строки */
    position: relative;
}

/* десктоп — 3 строки */
.filters-row.is-collapsed {
    max-height: calc(25px * 3);
}

/* мобильные — 5 строк */
@media (max-width: 768px) {
    .filters-row.is-collapsed {
        max-height: calc(25px * 5);
    }
}

/* развернуто */
.filters-row.is-expanded {
    max-height: none;
}

.filters-toggle {
    position: sticky;
    bottom: 7px;

    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 18px;

    background: var(--lightBgColor);
    border: none;
    cursor: pointer;
    z-index: 2;
}

.filters-toggle__icon {
    margin-bottom: 3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.filters-row.is-expanded .filters-toggle__icon {
    transform: rotate(-135deg);
    margin-bottom: 0;
    margin-top: 3px;
}

.news-card__tag.filter-item_current {
    color: var(--darkColor);
    cursor: default;

    &::after {
        display: none;
    }
}

.filters-select {
    min-width: 464px;
    height: 64px;
    border: 1px solid rgba(19, 157, 214, 0.2);
    border-radius: 4px;
    padding: 14px 18px;
    font-weight: 500;
    font-size: 16px;
    background: transparent;
}
@media(max-width: 1200px) {
    .news-page{
        grid-template-columns: repeat(2, 1fr);
    }
    .filters-wrapper{
        display: flex;
        justify-content: space-between;
        gap: 24px;
    }
}
@media(max-width: 900px) {
    .news-page{
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 10px;
    }
    .filters-wrapper{
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    .filters-select{
        width: 100%;
        min-width: auto;
        margin-bottom: 20px;
    }
    .news-page .news-card{
        height: auto;
    }
    .news-page .news-card__title{
        margin-bottom: 40px;
    }
}
/* End */


/* Start:/local/templates/main/components/bitrix/news.list/clients_carousel/style.css?1764252701466*/
/*brands*/
.brands{
    background: var(--darkColor);
    margin-top: -1px;
    padding-bottom: 20px;
    height: fit-content;
}

.brands .swiper-wrapper {
    align-items: center;
}

.brand.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 999px) {
    .brands{
        padding: 0 0 43px;
    }
}

@media (max-width: 600px) {
    .brands{
        padding: 0px 0 40px 0;
    }
}
/* End */
/* /local/templates/main/components/bitrix/news.list/articles_list/style.css?17666765933686 */
/* /local/templates/main/components/bitrix/news.list/clients_carousel/style.css?1764252701466 */
