/* 一行省略 */
.ellipsis-1-lines {
	display: -webkit-box;
	-webkit-line-clamp: 1;
	/* 限制显示的行数 */
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* 两行省略 */
.ellipsis-2-lines {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	/* 限制显示的行数 */
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* 三行省略 */
.ellipsis-3-lines {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	/* 限制显示的行数 */
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}


/* 分页 */
.pagination {

	display: flex;
	justify-content: center;
	list-style: none;
	gap: 0.5rem;
}


.page-link {
	display: block;
	padding: 0.5rem 1rem;
	margin: 0 0.25rem;
	color: #2c7be5;
	font-size: 0.875rem;
	background-color: #fff;
	font-weight: 500;
	border-radius: 0.375rem;
	border: 1px solid #eee;
	transition: all 0.2s ease;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-link:hover {
	background-color: #2563eb;
	color: white;
	border-color: #eee;
}

.page-link.current {
	background-color: #fff;
	color: #555;
	border-color: #4b5563;
	border: 1px solid #eee;
}


.page-link.next {
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

/* 文章图片居中 */
.article-content img {
	display: block; /* 确保图片是块级元素 */
	margin: 0 auto; /* 水平居中 */
	border-radius: 0.5rem;
}
