

/* Start:/local/templates/cf/css/ehnciklopediya.css?17645799471493*/
.card__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.card__item {
    border: 1px solid var(--border-card);
    border-radius: 8px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px 0;
    align-items: center;
    box-shadow: 0 22px 22px -25px #00000063;
}

.card__img {
    width: 100%;
    height: 380px;
    object-fit: cover !important;
    object-position: top;
    border-radius: 8px;
}
.card__title {
    text-align: center;
    font-size: 24px;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
    line-height: 1.2;
}

.card__btn {
    font-size: 16px !important;
    padding: 12px 55px !important;
    font-weight: 600 !important;
}

@media screen and (max-width: 1360px) {
    .card__img {
        height: 320px;
    }
    .card__title {
        font-size: 22px;
    }
}


@media screen and (max-width: 1024px) {
    .card__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 767px) {
    .card__title {
        font-size: 16px;
    }
    .card__item {
        padding: 15px;
    }
}


@media screen and (max-width: 500px) {

    .card__img {
        height: 150px;
    }

    .card__grid {
        gap: 6px;
    }

    .card__item {
        padding: 7px;
    }

    .card__btn {
        font-size: 14px !important;
        padding: 6px 25px !important;
    }

    .card__title {
        font-size: 12px;
        font-weight: 500;
    }
}

/* End */


/* Start:/local/templates/cf/components/bitrix/news.list/articles_section/style.css?17305032603045*/
.articles-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 0;
}

.articles-list__item {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 15px;
    box-shadow: 0 34px 23px -25px #0000002b;
    padding: 25px 30px;
}

.articles-list__image {
    width: 217px;
    height: 217px;
    min-width: 217px;
    border-radius: 8px;
    overflow: hidden;
}

.articles-list__image picture {
    width: 100%;
    height: 100%;
}

img.articles-list__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.articles-list__image:hover img.articles-list__img {
    transform: scale(1.1);
}

.articles-list__link {
    flex-grow: 1;
    margin-top: auto;
    display: flex;
    flex-direction: column;
}

.articles-list__content {
    display: flex;
    flex-direction: column;
}

.articles-list__date {
    font-size: 14px;
}

.articles-list__name {
    font-size: 18px;
    line-height: 1.2;
    font-weight: 600;
    margin-top: auto;
    transition: .5s;
}

.articles-list__name:hover {
    color: var(--primary)
}

.articles-list__item .arrow-btn {
    margin-top: auto;
    margin-bottom: 0;
}

.articles-pagination {
    margin-top: 50px;
}

@media (max-width: 1460px) {
    .articles-list__image {
        width: 200px;
        height: 200px;
        min-width: 200px;
    }
}

@media (max-width: 1360px) {
    .articles-list__image {
        width: 180px;
        height: 180px;
        min-width: 180px;
    }

    .articles-list__name {
        font-size: 16px;
    }

    .articles-list__date {
        font-size: 13px;
    }

    .articles-list__item .arrow-btn {
        font-size: 14px;
    }

    .articles-list__item .arrow-btn svg {
        width: 16px;
        height: 14px;
    }
}

@media (max-width: 1280px) {
    .articles-list__item {
        padding: 25px 20px;
    }

    .articles-list__image {
        width: 160px;
        height: 160px;
        min-width: 160px;
    }

    .articles-list__name {
        font-size: 15px;
    }
}

@media (max-width: 1100px) {
    .articles-list__item {
        flex-direction: column;
    }

    .articles-list__image {
        width: 100%;
        height: auto;
        margin: 0 auto;
        max-width: 100%;
        min-width: auto;
    }

    .articles-list__content,
    .articles-list__link {
        gap: 10px;
    }

    .articles-list__item .arrow-btn {
        margin-left: auto;
    }
}

@media (max-width: 767px) {
    .articles-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px 15px;
    }

    .articles-list__item {
        padding: 15px 2px;
    }

    .articles-list__date {
        font-size: 12px;
    }

    .articles-list__name {
        font-size: 13px;
    }

    .articles-list__item .arrow-btn {
        gap: 12px;
        font-size: 13px;
    }

    .articles-list__item .arrow-btn svg {
        width: 13px;
        height: 12px;
    }

    img.articles-list__img {
        height: 165px;
    }
}

.articles-list__item picture {
    height: inherit;
}

/* End */
/* /local/templates/cf/css/ehnciklopediya.css?17645799471493 */
/* /local/templates/cf/components/bitrix/news.list/articles_section/style.css?17305032603045 */
