/* 网站简介 */
.site-intro {
    background: white;
    padding: 25px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin:10px 0 30px;
    text-align: center;
}
.intro-title {
    font-size: 24px;
    color: #2d3748;
    margin-bottom: 10px;
    text-align:left;
}
.intro-desc {
    color: #4a5568;
    max-width: 800px;
    margin: 0 auto;
    text-align:left;
}

/* 分类导航 */
.category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
    padding: 15px 20px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.category-nav span {
    color: #666;
    font-size: 14px;
    white-space: nowrap;
}
.category-item {
    font-size: 14px;
    padding: 4px 10px;
    border-radius: 20px;
    background: #edf2f7;
    transition: all 0.3s;
}
.category-item:hover, .category-item.active {
    background: #2c6ecb;
    color: white;
}

/* 列表页标题 */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}
.page-title { 
    font-size: 24px; 
    color: #2d3748;
    padding-bottom: 5px;
    border-bottom: 2px solid #2c6ecb;
}
.filter-controls {
    font-size: 14px;
}
.filter-controls select {
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-left: 5px;
}

/* 文章列表（紧凑布局） */
.article-list { 
    display: flex; 
    flex-direction: column; 
    gap: 20px; /* 列表页减小间距，增加密度 */
    margin-bottom: 30px;
}
.article-item { 
    background: white; 
    padding: 20px; 
    border-radius: 4px; 
    box-shadow: 0 1px 3px rgba(0,0,0,0.1); 
    transition: box-shadow 0.3s;
}
.article-item:hover { box-shadow: 0 3px 8px rgba(0,0,0,0.15); }
.article-title { 
    font-size: 19px; 
    margin-bottom: 10px; 
    line-height: 1.4; 
}
.article-title a { color: #2d3748; }
.article-title a:hover { color: #2c6ecb; }
.article-meta { 
    color: #666; 
    font-size: 13px; 
    margin-bottom: 12px; 
    display: flex; 
    gap: 15px; 
    flex-wrap: wrap;
}
.article-excerpt { 
    font-size: 14px; 
    color: #4a5568; 
    margin-bottom: 12px; 
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 列表页摘要更短，只显示2行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

a.btn:hover{
    color:#fff;
}


/* 列表页标题 */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}
.page-title { 
    font-size: 24px; 
    color: #2d3748;
    padding-bottom: 5px;
    border-bottom: 2px solid #2c6ecb;
}
.filter-controls { font-size: 14px; }
.filter-controls select {
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-left: 5px;
}

/* 文章列表（紧凑布局） */
.articles{
    padding-top:20px;
}

.article-list { 
    display: flex; 
    flex-direction: column; 
    gap: 20px; /* 列表页减小间距，增加密度 */
    margin-bottom: 30px;
}
.article-item { 
    background: white; 
    padding: 20px; 
    border-radius: 4px; 
    box-shadow: 0 1px 3px rgba(0,0,0,0.1); 
    transition: box-shadow 0.3s;
}
.article-item:hover { box-shadow: 0 3px 8px rgba(0,0,0,0.15); }
.article-title { 
    font-size: 19px; 
    margin-bottom: 10px; 
    line-height: 1.4; 
}
.article-title a { color: #2d3748; }
.article-title a:hover { color: #2c6ecb; }
.article-meta { 
    color: #666; 
    font-size: 13px; 
    margin-bottom: 12px; 
    display: flex; 
    gap: 15px; 
    flex-wrap: wrap;
}
.article-excerpt { 
    font-size: 14px; 
    color: #4a5568; 
    margin-bottom: 12px; 
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 列表页摘要更短，只显示2行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 分页控件（列表页核心功能） */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0;
}



.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background: white;
    border: 1px solid #e2e8f0;
    color: #4a5568;
    font-size: 14px;
    transition: all 0.3s;
}
.page-btn:hover { border-color: #2c6ecb; color: #2c6ecb; }
.page-btn.active { background: #2c6ecb; color: white; border-color: #2c6ecb; }
.page-btn.ellipsis { border: none; background: transparent; cursor: default; }
.page-btn.ellipsis:hover { color: #4a5568; border: none; }

.pagination .prev,
.pagination .next {
    width:80px;
}


       