/* 文章列表和百科列表样式 */
.article-list-section,
.wiki-list-section {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.article-list-section h1,
.wiki-list-section h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.article-item,
.wiki-item {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.article-item:hover,
.wiki-item:hover {
    transform: translateY(-2px);
}

.article-item h2,
.wiki-item h2 {
    margin: 0 0 10px 0;
    font-size: 1.5em;
}

.article-item h2 a,
.wiki-item h2 a {
    color: #333;
    text-decoration: none;
}

.article-item h2 a:hover,
.wiki-item h2 a:hover {
    color: #007bff;
}

.article-meta,
.wiki-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    color: #666;
    font-size: 0.9em;
}

.article-excerpt,
.wiki-excerpt {
    color: #666;
    line-height: 1.6;
}

/* 分页样式 */
.pagination-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.page-link {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
}

.page-link:hover {
    background-color: #f8f9fa;
}

.page-link.active {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

/* 文章详情页样式 */
.article-detail-section {
    padding: 40px 0;
    background-color: #fff;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.article-content h1 {
    margin-bottom: 20px;
    color: #333;
}

.article-content .content {
    line-height: 1.8;
    color: #444;
}

.article-meta {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 0.9em;
}

.keywords {
    display: flex;
    gap: 10px;
    align-items: center;
}

.keyword {
    background-color: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    color: #666;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .article-content,
    .article-meta {
        padding: 0 15px;
    }

    .article-item h2,
    .wiki-item h2 {
        font-size: 1.2em;
    }

    .article-meta,
    .wiki-meta {
        flex-direction: column;
        gap: 5px;
    }

    .pagination-container {
        flex-wrap: wrap;
    }
}

.error-message {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 1.1em;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
} 