.article-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 3rem 0;
    color: white;
    margin-bottom: 2rem;
}

.category-nav {
    background-color: var(--light-bg);
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.category-nav .nav-link {
    color: var(--text-color) !important;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.category-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.category-nav .nav-link.active {
    background-color: var(--primary-color);
    color: white !important;
}

.article-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-card .article-title {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-card .article-title:hover {
    color: var(--primary-color);
}

.article-meta {
    font-size: 0.9rem;
    color: #666;
}

.article-meta i {
    margin-right: 0.3rem;
}

.article-preview-img {
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.featured-article {
    position: relative;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.featured-article img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-article-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

.sidebar-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.tag-cloud .badge {
    margin: 0.2rem;
    font-weight: normal;
    padding: 0.5rem 1rem;
}

/* 分页样式 */
.pagination {
    margin-bottom: 0;
}

.page-item:first-child .page-link {
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}

.page-item:last-child .page-link {
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.page-link {
    color: #4e73df;
    border: 1px solid #e3e6f0;
    margin: 0 2px;
    padding: 0.5rem 0.75rem;
    transition: all 0.2s ease;
}

.page-link:hover {
    color: #fff;
    background-color: #4e73df;
    border-color: #4e73df;
}

.page-item.active .page-link {
    background-color: #4e73df;
    border-color: #4e73df;
}

.page-item.disabled .page-link {
    color: #858796;
    background-color: #f8f9fc;
    border-color: #e3e6f0;
}

/* 标签云样式 */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud .badge {
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.tag-cloud .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}