.blog-layout {
    padding: 20px 0;
}

.blog-post-content {
    max-width: 1040px;
    margin: 0 auto;
    padding: 40px 0;
    font-size: 16px;
    line-height: 1.5;
    color: #363636;
}

.blog-post-content img {
    max-width: 100%;
    height: auto !important;
}

.blog-post-content h1 {
    font-size: 30px;
    color: #464646;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
}

.blog-post-content h2 {
    font-size: 21px;
    font-weight: 700;
}

.blog-post-content h3 {
    font-size: 18px;
    font-weight: 700;
}

.products-list {
    margin-top: 30px;
}

.related-articles {
    margin-top: 30px;
}

.news-page__articles__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.news-page__articles__list__item {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-page__articles__list__item img {
    max-width: 100%;
}

.news-page__articles__list__item__news-title {
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    line-height: 18px;
    color: #464646;
    text-transform: uppercase;
}


.news-page__articles__list__item__news-description {
    color: #464646;
    font-size: 13px;
}

.news-page__articles__list__item:hover .news-page__articles__list__item__news-title {
    color: #d71637;
}

.news-page__articles__list {
    margin-top: 30px;
}

.article-names-filter {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
    max-height: 300px;
    overflow-y: auto;
}

.article-names-filter.content-overflow:before {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    height: 200px;
    width: 100%;
    background: rgb(255, 255, 255);
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.article-names-filter > div > a {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 100%;
    border: 1px solid #ebebeb;
    position: relative;
    text-align: center;
    font-size: 13px;
    line-height: 16px;
    text-decoration: none;
    color: #6d6d6d;
    font-weight: 600;
    min-height: 50px;
    padding: 5px;
}

.article-names-filter > div > a.active {
    border-color: #d71637;
    color: #363636;
    font-weight: 700;
}


.article-names-filter > div > a:hover {
    border-color: #d71637;
}

hr {
    border-color: #ebebeb;
    opacity: 1;
}

.article-names-filter-holder h3 {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    margin-top: 30px;
}

.article-names-filter-holder__show-more {
    display: flex;
    flex-direcion: row;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 600;
    color: #d71637;
}

.related-models h3 {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    margin-top: 30px;
}

#models-list {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

#models-list li {
    width: 100%;
    break-inside: avoid;
    page-break-inside: avoid;
}

.models-list-holder {
    -moz-column-count: 4;
    -moz-column-gap: 1em;
    -webkit-column-count: 4;
    -webkit-column-gap: 1em;
    column-count: 4;
    column-gap: 1em;
    position: relative;
}

.models-list-holder.shadow {
    max-height: 350px;
    overflow: hidden;
}

.models-list-holder.shadow:before {
    width: 100%;
    height: 120px;
    content: "";
    position: absolute;
    background: rgb(255,255,255);
    background: -moz-linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    background: -webkit-linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#ffffff",GradientType=1);
    bottom: 0;
    left: 0;
    z-index: 100;
    pointer-events: none;
}

#models-list .model-item a {
    font-size: 14px;
    color: #a8151e;
    display: block;
}

@media(max-width: 767.5px) {
    .article-names-filter {
        grid-template-columns: repeat(4, 1fr);
    }

    .blog-post-content h1 {
        font-size: 20px;
        margin-bottom: 20px;
    }
}

@media(max-width: 575.5px) {
    .article-names-filter {
        grid-template-columns: repeat(2, 1fr);
    }
}