

/* Start:/local/templates/ampm/components/bitrix/news/blog/style.css?1791904893753*/
.blog-page .type-page .info h1 {
    font-weight: 400;
    font-size: 24px;
    line-height: 130%;
    margin-bottom: 24px;
}

.blog-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 56px;

    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.blog-tags__item {
    display: flex;
    font-weight: 400;
    font-size: 12px;
    line-height: 32px;
    padding: 0 16px;
    text-decoration: none;
    border: 1px solid #E4E7EA;
    border-radius: 16px;
    white-space: nowrap;

    &.active {
        background: #1D1D1D;
        color: #fff;
    }
}

@media (max-width: 1199px) {
    .blog-page .type-page .info h1 {
        margin-bottom: 32px;
    }

    .blog-tags {
        margin-bottom: 32px;
    }
}
/* End */


/* Start:/local/templates/ampm/components/bitrix/news/blog/bitrix/news.list/blog_list/style.css?17919048931698*/
.blog-list {
    display: flex;
    flex-wrap: wrap;
    gap: 32px 24px;
    margin-bottom: 56px;
}

.blog-list__item {
    width: calc((100% - 24px * 2) / 3);
}

.blog-list:not(.all) .blog-list__item:nth-child(n + 7) {
    display: none;
}

.blog-list__item-img {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 334 / 188;
    margin-bottom: 16px;
    outline: none;
    text-decoration: none;

    & img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.blog-list__item-date {
    font-weight: 400;
    font-size: 11px;
    line-height: 100%;
    color: #798897;
    margin-bottom: 8px;
}

.blog-list__item-name {
    font-weight: 400;
    font-size: 22px;
    line-height: 130%;
    text-decoration: none;
}

.blog-list__item-text {
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    margin-top: 8px;
}

.blog-list_all {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    font-weight: 400;
    font-size: 14px;
    line-height: 48px;
    background: #F1F3F4;
    cursor: pointer;
    border: 0;
    width: 100%;
    margin-bottom: 56px;
}

@media (max-width: 1199px) {
    .blog-list {
        gap: 32px;
        margin-bottom: 32px;
    }

    .blog-list__item {
        width: 100%;
    }

    .blog-list__item-date {
        margin-bottom: 4px;
    }

    .blog-list__item-name {
        font-weight: 400;
        font-size: 18px;
        line-height: 130%;
    }

    .blog-list__item-text {
        font-weight: 400;
        font-size: 13px;
        line-height: 150%;
        margin-top: 0;
    }

    .blog-list_all {
        margin-bottom: 14px;
    }
}
/* End */
/* /local/templates/ampm/components/bitrix/news/blog/style.css?1791904893753 */
/* /local/templates/ampm/components/bitrix/news/blog/bitrix/news.list/blog_list/style.css?17919048931698 */
