.shen-post-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	align-items: stretch;
}

.shen-post-nav__item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 20px 24px;
	border: 1px solid #e8ebf1;
	border-radius: 4px;
	background: none;
	text-decoration: none;
	transition: border-color .2s ease;
}
.shen-post-nav__item:hover {
	border-color: #c2cbdb;
}

/* 无更多文章：保持边框与位置，弱化显示且不可点击 */
.shen-post-nav__item.is-empty {
	pointer-events: none;
	opacity: .55;
}
.shen-post-nav__none {
	color: #98a1b0;
	font-size: 15px;
	line-height: 1.6;
}

/* 下一篇整体右对齐 */
.shen-post-nav__item.is-next {
	justify-content: flex-end;
	text-align: right;
}
.shen-post-nav__item.is-next .shen-post-nav__label { justify-content: flex-end; }

.shen-post-nav__text {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.shen-post-nav__label {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #98a1b0;
	font-size:13px;
	letter-spacing: .06em;
}

.shen-post-nav__arrow {
	width: 14px;
	height: 14px;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform .2s ease;
}
.shen-post-nav__item.is-prev:hover .shen-post-nav__arrow { transform: translateX(-3px); }
.shen-post-nav__item.is-next:hover .shen-post-nav__arrow { transform: translateX(3px); }

.shen-post-nav__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	color: #1a2440;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.6;
	transition: color .2s ease;
}

.shen-post-nav__thumb {
	flex: 0 0 auto;
	width: 56px;
	height: 56px;
	border-radius: 3px;
	background: #eef1f5;
	overflow: hidden;
}
.shen-post-nav__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
/* 下一篇：缩略图放到文字右侧 */
.shen-post-nav__item.is-next .shen-post-nav__thumb { order: 2; }

@media (max-width: 767px) {
	.shen-post-nav.is-stack-mobile {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	.shen-post-nav__none { font-size: 14px; }
	/* 统一左对齐，避免右对齐在窄屏显得割裂 */
	.shen-post-nav.is-stack-mobile .shen-post-nav__item.is-next {
		justify-content: flex-start;
		text-align: left;
	}
	.shen-post-nav.is-stack-mobile .shen-post-nav__item.is-next .shen-post-nav__label {
		justify-content: flex-start;
	}
	.shen-post-nav.is-stack-mobile .shen-post-nav__item.is-next .shen-post-nav__thumb { order: 0; }
	.shen-post-nav__item { padding: 16px 18px; }
	.shen-post-nav__title { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
	.shen-post-nav__item,
	.shen-post-nav__arrow,
	.shen-post-nav__title { transition: none; }
	.shen-post-nav__item:hover .shen-post-nav__arrow { transform: none; }
}
