
.page-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 0px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 4px;
   
    
}
.content-wrapper {
    flex: 1 0 auto; /* Растягивается на всю доступную высоту */
    width: 100%;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 4px;
}

.breadcrumb-text {
    font-size: 16px;
    line-height: 24px;
    color: #808080; /* Серый цвет для всех элементов */
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.2s ease;
    cursor: pointer; /* Курсор по умолчанию, не pointer */
}

/* Убираем hover эффект для ссылок */
.breadcrumb-text:hover {
    color: #a8a7a7;
}

/* Для статей на странице articles.html делаем "Северный альянс" ссылкой */
.articles-page .breadcrumb:first-child .breadcrumb-text {
    color: #808080;
    text-decoration: none;
    cursor: pointer;
}

.articles-page .breadcrumb:first-child .breadcrumb-text:hover {
    color: #0044ff;
}

/* Для страницы статьи - все элементы не кликабельны и серые */
.article-page .breadcrumb-text {
    color: #808080;
    cursor: default;
}

.breadcrumb-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}



/* Для страницы со статьями - скрываем иконку после "О флоте" */
.article-page .breadcrumb:last-child .breadcrumb-icon {
    display: flex; /* Показываем стрелку после "О флоте" */
}

/* Основной контейнер */
.articles-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

/* Заголовок */
.articles-header {
    text-align: center;
    margin-bottom: 20px;
}

.articles-title {
    font-size: 48px;
    font-weight: 800;
    color: #222222;
    margin-bottom: 16px;
    line-height: 1.2;
    text-align: left;
}

.articles-description {
    font-size: 18px;
    color: #686868;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Сетка - ИДЕНТИЧНО ГЛАВНОЙ СТРАНИЦЕ - 4 колонки */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 колонки как в ТЗ */
    gap: 32px;
    margin-bottom: 60px;
}

/* Карточка статьи - ТОЧНО КАК НА ГЛАВНОЙ */
.article-card {
    cursor: pointer;
    transition: color 0.2s ease; /* Только изменение цвета */
}

/* Убираем поднятие карточки при наведении */
.article-card:hover {
    transform: none;
    box-shadow: none;
}

.article-card .article-image {
    width: 100%;
    height: 232px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 24px;
}

.article-card h3 {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 8px;
    color: #222222;
    transition: color 0.2s ease; /* Анимация для цвета */
}

/* Изменение цвета заголовка при наведении на карточку */
.article-card:hover h3 {
    color: #0044ff; /* Синий цвет при наведении */
}

.article-card p {
    font-size: 16px;
    line-height: 24px;
    color: #222222;
}

/* Адаптивность */

/* Планшеты: 2 колонки */
@media (max-width: 1100px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Мобильные устройства: 1 колонка */
@media (max-width: 768px) {
    .page-header {
        padding: 20px 16px 10px;
    }
    
    .articles-page {
        padding: 0 16px 40px;
    }
    
    .articles-title {
        font-size: 32px;
    }
    
    .articles-description {
        font-size: 16px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .article-card .article-image {
        height: 200px;
    }
}


@media (max-width: 1024px) {
    .articles-page {
        max-width: 100%;
        padding: 0 40px 60px !important;
    }
    
    .cards-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .articles-title {
        font-size: 36px !important;
    }
}

@media (max-width: 768px) {
    .articles-page {
        padding: 0 20px 40px !important;
    }
    
    .page-header {
        padding: 15px 20px 10px !important;
    }
    
    .articles-title {
        font-size: 28px !important;
        line-height: 36px !important;
        text-align: left !important;
    }
    
    .articles-description {
        font-size: 16px !important;
        margin-bottom: 30px !important;
    }
    
    .cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    
    .article-card .article-image {
        height: 180px !important;
    }
    
    .breadcrumb-text {
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .articles-page {
        padding: 0 15px 30px !important;
    }
    
    .page-header {
        padding: 12px 15px 8px !important;
    }
    
    .articles-title {
        font-size: 24px !important;
        line-height: 32px !important;
        text-align: center !important;
    }
    
    .articles-description {
        font-size: 14px !important;
        line-height: 22px !important;
        text-align: center !important;
    }
    
    .cards-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .article-card .article-image {
        height: 160px !important;
    }
    
    .article-card h3 {
        font-size: 18px !important;
        line-height: 26px !important;
    }
    
    .article-card p {
        font-size: 14px !important;
        line-height: 22px !important;
    }
    
    .breadcrumbs {
        flex-wrap: wrap !important;
        gap: 5px !important;
    }
    
    .breadcrumb-text {
        font-size: 13px !important;
    }
    
    .breadcrumb-icon svg {
        width: 6px !important;
        height: 10px !important;
    }
}

/* Хлебные крошки на мобильных */
@media (max-width: 768px) {
    .breadcrumbs {
        margin-bottom: 20px !important;
    }
    
    .breadcrumb:last-child .breadcrumb-icon {
        display: none !important;
    }
}

/* Контейнер контента */
@media (max-width: 768px) {
    .content-wrapper {
        padding-top: 20px !important;
    }
}