

/* Start:/local/components/api/news.filter/templates/.default/style.css?1767429324942*/
.news-channels {
    margin-bottom: 20px;
}

.news-channels__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.news-channels__item {
    border-radius: 6px;
    background-color: #a5a07c;
    transition:
            background-color 0.2s ease,
            transform 0.15s ease,
            box-shadow 0.15s ease;
}

.news-channels__item.is-active {
    background-color: #c7b85a;
}

.news-channels__link {
    display: block;
    padding: 6px 12px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    white-space: nowrap;
}

.news-channels__item:hover {
    transform: translateY(-1px);
    background-color: #bdb46c;
}

.news-channels__item.is-selected {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

@media (max-width: 768px) {
    .news-channels__list {
        gap: 6px;
    }

    .news-channels__link {
        padding: 6px 10px;
        font-size: 13px;
    }
}

/* End */


/* Start:/local/components/api/news.list/templates/.default/style.css?17677740521806*/
.articles_wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    padding: 16px;
}

.article_card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    height: 100%;
}

.article_card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.article_img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    display: block;
}

.article_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article_card:not(:has(.article_img)) .article_content {
    padding-top: 16px;
}

.article_content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
}

.article_title {
    font-size: 18px;
    margin: 0 0 8px;
    line-height: 1.3;
}

.article_title a {
    text-decoration: none;
    color: #1a1a1a;
}

.article_title a:hover {
    color: #007c00;
}

.article_preview {
    font-size: 16px;
    color: #555;
    line-height: 1.4;
    margin: 0;
    cursor: pointer;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


@media (max-width: 768px) {
    .articles_wrapper {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 12px;
    }
    .article_img {
        height: 160px;
    }
    .article_title {
        font-size: 1em;
    }
    .article_preview {
        font-size: 0.85em;
        -webkit-line-clamp: 5;
    }
}

.article_card:not(:has(.article_img)) {
    flex-direction: column;
}

/* End */
/* /local/components/api/news.filter/templates/.default/style.css?1767429324942 */
/* /local/components/api/news.list/templates/.default/style.css?17677740521806 */
