/* 新闻列表卡片等高：同行底边对齐，图片/标题/摘要高度一致 */
.w101-news-list.ast-row {
	display: flex;
	flex-flow: row wrap;
	align-items: stretch;
}

.w101-news-list.ast-row:before,
.w101-news-list.ast-row:after {
	display: none !important;
	content: none !important;
	flex-basis: 0;
	width: 0;
}

.w101-news-list .ast-article-post {
	display: flex;
	flex-direction: column;
	float: none;
}

.w101-news-list .blog-layout-1,
.w101-news-list .blog-layout-1 .post-content {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	width: 100%;
	height: 100%;
}

.w101-news-list .blog-layout-1 {
	background: #fff;
}

.w101-news-list .ast-blog-featured-section {
	flex: 0 0 auto;
	margin-bottom: 1em;
}

.w101-news-list .post-thumb-img-content {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #f3f3f3;
	line-height: 0;
}

.w101-news-list .post-thumb-img-content a {
	display: block;
	width: 100%;
	height: 100%;
}

.w101-news-list .post-thumb-img-content img {
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	object-position: center;
	display: block;
}

.w101-news-list .entry-header {
	flex: 0 0 auto;
	margin: 0 0 .6em;
}

.w101-news-list .entry-title {
	margin: 0;
	line-height: 1.35;
	min-height: calc(1.35em * 3);
	overflow: hidden;
}

.w101-news-list .entry-title a {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
	word-break: break-word;
}

.w101-news-list .entry-content {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	margin-top: 0;
}

.w101-news-list .entry-content > p:not(.read-more) {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
	line-height: 1.6;
	min-height: calc(1.6em * 3);
	margin: 0 0 .8em;
	word-break: break-word;
}

.w101-news-list .entry-content .read-more {
	margin-top: auto;
	margin-bottom: 0;
}

@media (max-width: 921px) {
	.w101-news-list .ast-article-post.ast-col-md-4 {
		width: 100%;
	}
}

/* 分页：覆盖 Astra 把 prev/next 拉满整行、末页当 next 右浮动导致重叠 */
.ast-pagination {
	display: block;
	width: 100%;
	padding-top: 1.5em;
	text-align: center;
}

.ast-pagination .nav-links {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px;
	width: 100%;
}

.ast-pagination .nav-links > a.page-numbers,
.ast-pagination .nav-links > span.page-numbers {
	float: none !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 36px;
	width: auto !important;
	height: 36px !important;
	margin: 0 !important;
	padding: 0 10px !important;
	border: 1px solid #e5e5e5;
	border-radius: 4px;
	line-height: 1 !important;
	font-size: 15px;
	text-decoration: none;
	color: #333;
	background: #fff;
}

.ast-pagination .nav-links > a.page-numbers:hover,
.ast-pagination .nav-links > a.page-numbers:focus {
	background: #0052a8;
	border-color: #0052a8;
	color: #fff;
}

.ast-pagination .nav-links > span.page-numbers.current {
	background: #0052a8 !important;
	border-color: #0052a8;
	color: #fff !important;
}

.ast-pagination .nav-links > span.page-numbers.dots {
	border: none;
	background: transparent;
	min-width: 16px;
	padding: 0 !important;
	color: #666;
	cursor: default;
}

.ast-pagination .nav-links > a.prev.page-numbers,
.ast-pagination .nav-links > a.next.page-numbers {
	width: auto !important;
	padding: 0 12px !important;
}
