/* 文章列表页专用样式 */

/* 覆盖全局 h3 样式，文章标题使用纯黑色 */
.articles h3,
.article-title {
	background: none;
	-webkit-background-clip: unset;
	background-clip: unset;
	-webkit-text-fill-color: unset;
	color: #000;
	text-shadow: none;
}

.articles {
	padding: 40px 0 60px;
	max-width: 900px;
	margin: 0 auto;
}

.articles-title {
	font-size: 2rem;
	font-weight: normal;
	margin-bottom: 10px;
	text-align: center;
}

.articles-subtitle {
	font-size: 1rem;
	color: #777;
	margin-bottom: 30px;
	text-align: center;
}

.articles-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 1200px;
	margin: 0 auto;
}

.article-item {
	border: 1px solid #eee;
	border-radius: 8px;
	padding: 20px 18px;
	background-color: #fafafa;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.article-item:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
	transform: translateY(-2px);
}

.article-title {
	font-size: 1.4rem;
	margin-bottom: 8px;
}

.article-meta {
	font-size: 0.85rem;
	color: #999;
	margin-bottom: 10px;
}

.article-excerpt {
	font-size: 0.95rem;
	color: #555;
	line-height: 1.7;
	margin-bottom: 10px;
}

.article-readmore {
	font-size: 0.9rem;
	color: #0077cc;
}

.article-readmore:hover {
	text-decoration: underline;
}

/* 分页样式 */
.pagination {
	margin-top: 40px;
	padding: 20px 0;
	text-align: center;
}

.pagination-info {
	font-size: 0.9rem;
	color: #666;
	margin-bottom: 15px;
}

.pagination-buttons {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.pagination-btn {
	min-width: 36px;
	height: 36px;
	padding: 0 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	background-color: #fff;
	color: #333;
	font-size: 0.9rem;
	cursor: pointer;
	transition: all 0.2s ease;
}

.pagination-btn:hover:not(.disabled):not(.active) {
	border-color: #333;
	background-color: #f5f5f5;
}

.pagination-btn.active {
	border-color: #333;
	background-color: #333;
	color: #fff;
	cursor: default;
}

.pagination-btn.disabled {
	border-color: #eee;
	background-color: #f9f9f9;
	color: #ccc;
	cursor: not-allowed;
}

.pagination-ellipsis {
	padding: 0 8px;
	color: #999;
	font-size: 0.9rem;
}

/* 响应式设计 - 平板和手机 */
@media (max-width: 768px) {
	.articles {
		padding: 30px 15px;
	}

	.articles-title {
		font-size: 1.8rem;
	}

	.articles-subtitle {
		font-size: 0.95rem;
	}

	.article-item {
		padding: 15px 12px;
	}

	.article-title {
		font-size: 1.2rem;
	}

	.article-excerpt {
		font-size: 0.9rem;
	}
}

