

/* Start:/local/templates/main/components/bitrix/news.list/articles_cards/cards.css?17887329087692*/
html {
    overflow-y: scroll;
}

.articles-page {
    padding-top: var(--page-top);
    padding-bottom: 6rem;
    background: #fafaf9;
    min-height: 100vh;
}

.articles-page__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}







/* Page header */
.articles-page__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.6rem;
    font-weight: 600;
    color: #000;
    line-height: 1.15;
    margin-bottom: 1.75rem;
}

/* Tag filter chips */
.articles-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    align-items: center;
}

.articles-filters__btn {
    padding: 0.55rem 1.4rem;
    border-radius: 50px;
    border: 2px solid #e0dbd5;
    background: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.articles-filters__btn:hover {
    border-color: #E30613;
    color: #E30613;
}

.articles-filters__btn--active {
    border-color: #E30613;
    background: #E30613;
    color: #fff;
    font-weight: 600;
}

.articles-filters__btn--active:hover {
    background: #c00;
    border-color: #c00;
    color: #fff;
}

/* Articles list — 1 per row */
.articles-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Article card — horizontal */
.article-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0ece7;
    display: flex;
    flex-direction: row;
    transition: box-shadow 0.25s, transform 0.25s;
    min-height: 220px;
}

.article-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

/* Image — fixed left column */
.article-card__image-wrap {
    flex-shrink: 0;
    width: 300px;
    overflow: hidden;
    background: #EDEDED;
    position: relative;
}

.article-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.article-card:hover .article-card__image {
    transform: scale(1.05);
}

/* Body — right side */
.article-card__body {
    padding: 2rem 2.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
}

.article-card__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
}

.article-card__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.85rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.article-card__tag--events {
    background: rgba(227, 6, 19, 0.09);
    color: #E30613;
}

.article-card__tag--knowledge {
    background: rgba(37, 99, 235, 0.09);
    color: #2563eb;
}

.article-card__tag-icon {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.article-card__date {
    font-size: 0.8rem;
    color: #bbb;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.article-card__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #000;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.article-card__title a {
    color: inherit;
    text-decoration: none;
}

.article-card__title a:hover {
    color: #E30613;
}

.article-card__excerpt {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    flex: 1;
}

.article-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #E30613;
    text-decoration: none;
    transition: gap 0.2s;
    width: fit-content;
}

.article-card__link:hover {
    gap: 0.65rem;
}

.article-card__link svg {
    flex-shrink: 0;
}

/* Hidden state */
.article-card[data-hidden="true"] {
    display: none;
}

/* Empty state */
.articles-empty {
    display: none;
    text-align: center;
    padding: 3rem 1rem;
    color: #aaa;
    font-size: 0.95rem;
}

.articles-empty.visible {
    display: block;
}

/* Article detail */
.article-detail {
    padding-top: var(--page-top);
    padding-bottom: 6rem;
    background: #FAFAF9;
    min-height: 100vh;
}

.article-detail__container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 2rem;
}







/* Meta row */
.article-detail__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.article-detail__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.32rem 0.9rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(196, 30, 58, 0.09);
    color: #E30613;
}

.article-detail__tag--events {
    background: rgba(196, 30, 58, 0.09);
    color: #E30613;
}

.article-detail__tag--knowledge {
    background: rgba(37, 99, 235, 0.09);
    color: #2563eb;
}

.article-detail__date {
    font-size: 0.82rem;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Title */
.article-detail__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #000000;
    line-height: 1.2;
    margin-bottom: 2rem;
}

/* Hero image */
.article-detail__hero {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    background: #171717;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-detail__hero img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 760px;
    object-fit: contain;
}

/* Article body */
.article-detail__body {
    background: #EDEDED;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    margin-bottom: 2.5rem;
}

.article-detail__body p {
    font-size: 1.02rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.article-detail__body p:last-child {
    margin-bottom: 0;
}

.article-detail__body h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #000000;
    margin: 2rem 0 0.75rem;
}

.article-detail__body blockquote {
    border-left: 4px solid #E30613;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: rgba(196, 30, 58, 0.04);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #555;
}

/* Back link */
.article-detail__back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #E30613;
    text-decoration: none;
    padding: 0.6rem 1.4rem;
    border: 2px solid #E30613;
    border-radius: 50px;
    transition: background 0.2s, color 0.2s;
}

.article-detail__back:hover {
    background: #E30613;
    color: #fff;
}

/* Mobile */
@media (max-width: 680px) {
    .articles-page {
    }

    .articles-page__title {
        font-size: 2rem;
    }

    .article-card {
        flex-direction: column;
        min-height: unset;
    }

    .article-card__image-wrap {
        width: 100%;
        height: 220px;
    }

    .article-card__body {
        padding: 1.4rem 1.5rem;
    }

    .article-card__title {
        font-size: 1.1rem;
    }
}

@media (max-width: 640px) {
    .article-detail__title {
        font-size: 1.75rem;
    }

    .article-detail__body {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .article-detail {
    }
}

/* End */
/* /local/templates/main/components/bitrix/news.list/articles_cards/cards.css?17887329087692 */
