.articles-page {
    padding-top: 28px;
    padding-bottom: 42px;
}
.articles-page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding: 22px 24px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: linear-gradient(135deg, #f8fbff, #fff);
    box-shadow: var(--shadow-sm);
}
.articles-page-head span {
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
}
.articles-page-head h1 {
    margin: 4px 0 0;
    color: var(--text-primary);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.3;
}
.articles-page-head a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    height: 38px;
    border-radius: 7px;
    color: #fff;
    background: var(--primary);
    font-weight: 700;
}
.articles-filter {
    background: #fff;
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}
.articles-filter-label { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-right: 4px; }
.articles-filter a {
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    background: var(--bg-page);
    transition: all .2s;
    border: 1px solid transparent;
}
.articles-filter a:hover { color: var(--primary); background: var(--primary-soft); }
.articles-filter a.active {
    color: var(--primary);
    background: var(--primary-soft);
    border-color: var(--primary);
    font-weight: 500;
}
.articles-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.article-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: box-shadow .25s, transform .25s;
    display: flex;
    flex-direction: column;
}
.article-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,.08);
    transform: translateY(-2px);
}
.article-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.article-card-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-card-title:hover { color: var(--primary); }
.article-card-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    margin-bottom: 12px;
}
.article-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

@media (max-width: 1180px) {
    .articles-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .articles-page { padding: 18px 16px 30px; }
    .articles-page-head { padding: 18px; align-items: flex-start; }
    .articles-page-head h1 { font-size: 22px; }
    .articles-page-head a { min-width: 86px; height: 34px; font-size: 13px; }
    .articles-filter { overflow-x: auto; flex-wrap: nowrap; }
    .articles-filter a { flex: 0 0 auto; }
    .articles-list { grid-template-columns: 1fr; }
}
