/* ==================================================
   СТРАНИЦА СТАТЕЙ
   ================================================== */

.articles-page {
    width: 100%;
    padding: 42px 48px 55px;
    box-sizing: border-box;
}


/* ==================================================
   ЗАГОЛОВОК
   ================================================== */

.articles-title {
    margin: 0 0 38px;
    font-size: 42px;
    font-weight: 500;
    line-height: 1.15;
    color: var(--charcoal);
}


/* ==================================================
   ОБЩИЕ ЗАГОЛОВКИ БЛОКОВ
   ================================================== */

.articles-section-title {
    margin: 0 0 20px;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.25;
    color: var(--charcoal);
}


/* ==================================================
   НОВЫЕ СТАТЬИ
   ================================================== */

.articles-new {
    width: 100%;
    margin-bottom: 48px;
}


.articles-new-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}


.articles-new-item {
    display: block;
    min-width: 0;
    color: var(--charcoal);
    text-decoration: none;
}


.articles-new-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 11px;
    overflow: hidden;
    background: var(--cream-300);
}


.articles-new-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}


.articles-new-name {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
}


.articles-new-item:hover .articles-new-name {
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* ==================================================
   ССЫЛКИ НА ПОЛНЫЕ РАЗДЕЛЫ
   ================================================== */

.articles-section-link {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}


.articles-section-link a {
    font-size: 16px;
    font-weight: 500;
    color: var(--taupe);
    text-decoration: none;
}


.articles-section-link a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}


/* ==================================================
   КАТАЛОГ
   ================================================== */

.articles-catalog {
    padding-top: 30px;
    border-top: 1px solid var(--cream-500);
}


.articles-catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 45px;
    row-gap: 34px;
}


/* ==================================================
   КАТЕГОРИЯ
   ================================================== */

.articles-catalog-item {
    min-width: 0;
}


.articles-catalog-title {
    display: inline-block;
    margin-bottom: 11px;

    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;

    color: var(--charcoal);
    text-decoration: none;
}


.articles-catalog-title:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}


/* ==================================================
   ПОДКАТЕГОРИИ
   ================================================== */

.articles-catalog-subcategories {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}


.articles-catalog-subcategories a {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.35;

    color: var(--graphite);
    text-decoration: none;
}


.articles-catalog-subcategories a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}


.articles-catalog-more {
    font-size: 16px;
    line-height: 1;
    color: var(--taupe);
}

/* ==================================================
   КНОПКА МОБИЛЬНОГО КАТАЛОГА
   ================================================== */

.articles-catalog-toggle {
    display: none;
}