/* calc/assets/css/blog_category.css */

.category-page-header {
    text-align: center;
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.category-page-header h1 {
    font-size: 2.5rem;
    margin: 0 0 16px 0;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

/* Хлебные крошки для категории */
.breadcrumbs {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
}
.breadcrumbs a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumbs a:hover {
    color: #2563eb;
    text-decoration: underline;
}
.breadcrumbs .separator {
    color: #cbd5e1;
}

/* Сетка статей */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

/* Карточка статьи */
.article-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

.article-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.article-card-desc {
    font-size: 1rem;
    color: #475569;
    margin: 0 0 20px 0;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #64748b;
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
    margin-top: auto;
}

.meta-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.read-more-link {
    color: #3b82f6;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}