.articles__items, .related-articles{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(410px, 1fr));
    gap: 24px;
    margin-bottom: 36px;
}

.related-articles{
    margin-bottom: 0;
}

.articles__item, .articles__info{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.articles__info > .link{
    margin-left: auto;
}

.articles__cover{
    border-radius: 6px;
    overflow: hidden;
}

.articles__cover > img{
    width: 100%;
    object-fit: cover;
}

.articles__date{
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 200;
    font-size: 14px;
    line-height: 18px;
    color: var(--main-dark);
}

.articles__name{
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    text-overflow: ellipsis;
    min-height: 32px;
    text-decoration: none;
    font-size: 14px;
    line-height: 18px;
    color: var(--main-dark);
}

.articles__desc{
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    text-overflow: ellipsis;
    font-weight: 200;
    font-size: 14px;
    line-height: 18px;
    min-height: 51px;
    color: var(--secondary-text);
}

.articles__info{
    padding: 0 12px 12px;
}

#article .articles__date{
    margin-bottom: 36px;
}

#article .main-title{
    margin-bottom: 12px;
}

.articles__controls{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.limit-select{
    appearance: none;
    border: none;
    font-size: 16px;
    line-height: 20px;
    width: 157px;
    color: var(--secondary-text);
    background: url('/image/catalog/select-arrow.svg') no-repeat 100% 50%;
}

.limit-select:focus-visible{
    outline: none;
}

@media(max-width: 767px){
    .articles__items, .related-articles{
        grid-template-columns: 1fr;
    }
}