/* News secondary pages */
body.np-news-page {
	margin: 0;
	background: #eef2f7;
	color: #17293d;
	font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
	line-height: 1.7;
}

body.np-news-page * {
	box-sizing: border-box;
}

body.np-news-page a {
	text-decoration: none;
}

[v-cloak] {
	display: none;
}

/* Navigation */
.np-nav {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	border-bottom: 1px solid #e3ebf4;
}

.np-nav-inner {
	width: min(1180px, calc(100% - 40px));
	height: 72px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.np-brand {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
}

.np-brand img {
	display: block;
	width: auto;
	height: 44px;
}

.np-links {
	display: flex;
	align-items: center;
	gap: 25px;
	color: #34465a;
	font-size: 14px;
}

.np-links a {
	display: inline-block;
	padding: 25px 0 22px;
	border-bottom: 2px solid transparent;
	color: #34465a;
	white-space: nowrap;
	transition: color .18s ease;
}

.np-links a:hover {
	color: #1d82ff;
}

.np-links a.active {
	color: #1d82ff;
	border-bottom-color: #1d82ff;
}

.np-menu-toggle {
	display: none;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid #e3ebf4;
	border-radius: 9px;
	background: #fff;
	color: #17293d;
	font-size: 18px;
	cursor: pointer;
}

.np-mobile-nav {
	display: none;
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
	padding: 6px 0 14px;
	border-top: 1px solid #eef3f8;
}

.np-mobile-nav a {
	display: block;
	padding: 11px 4px;
	border-bottom: 1px solid #f0f4f8;
	color: #42546a;
	font-size: 14px;
}

.np-mobile-nav a.active {
	color: #1d82ff;
	font-weight: 600;
}

/* Page banner */
.np-banner {
	position: relative;
	overflow: hidden;
	min-height: 290px;
	background:
		radial-gradient(circle at 82% 28%, rgba(255,255,255,.20), transparent 22%),
		radial-gradient(circle at 68% 72%, rgba(255,255,255,.12), transparent 28%),
		linear-gradient(115deg, #136fe8 0%, #2b8cff 54%, #8dcaff 100%);
}

.np-banner:after {
	content: "";
	position: absolute;
	right: -70px;
	bottom: -130px;
	width: 470px;
	height: 470px;
	border: 1px solid rgba(255,255,255,.24);
	border-radius: 50%;
}

.np-banner-inner {
	position: relative;
	z-index: 1;
	padding: 148px 15px 46px;
	color: #fff;
}

.np-breadcrumb {
	margin: 0 0 20px;
	color: rgba(255,255,255,.74);
	font-size: 13px;
	font-weight: 400;
}

.np-breadcrumb a {
	color: inherit;
}

.np-banner h1 {
	margin: 0;
	color: #fff;
	font-size: clamp(34px, 4vw, 48px);
	line-height: 1.2;
	font-weight: 500 !important;
	letter-spacing: .06em;
}

/* List */
.np-main {
	margin-top: 26px;
}

.np-card {
	padding: 34px;
	border: 1px solid rgba(221, 231, 241, .9);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 12px 34px rgba(18, 42, 66, .07);
}

.np-section-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
	margin-bottom: 28px;
	text-align: center;
}

.np-section-head:before {
	content: "";
	width: 50px;
	height: 2px;
	background: #1d82ff;
}

.np-section-head h2 {
	margin: 0;
	color: #17293d;
	font-size: 28px;
	line-height: 1.35;
	font-weight: 500 !important;
}

.np-news-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.np-news-card {
	min-width: 0;
	border: 1px solid #e6edf5;
	border-radius: 16px;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 8px 22px rgba(18, 42, 66, .06);
	transition: transform .2s ease, box-shadow .2s ease;
}

.np-news-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(18, 42, 66, .11);
}

.np-news-link {
	display: flex;
	height: 100%;
	flex-direction: column;
	color: inherit;
}

.np-thumb {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #edf5ff;
}

.np-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.np-news-card:hover .np-thumb img {
	transform: scale(1.04);
}

.np-thumb-fallback {
	position: relative;
	display: flex;
	width: 100%;
	height: 100%;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	padding: 20px;
	overflow: hidden;
	background:
		radial-gradient(circle at 82% 22%, rgba(255,255,255,.24), transparent 26%),
		linear-gradient(130deg, #136fe8 0%, #2b8cff 56%, #9bd2ff 100%);
	color: #fff;
}

.np-thumb-fallback:after {
	content: "";
	position: absolute;
	right: -48px;
	top: -60px;
	width: 190px;
	height: 190px;
	border: 1px solid rgba(255,255,255,.24);
	border-radius: 50%;
}

.np-thumb-fallback span {
	position: relative;
	z-index: 1;
	font-size: 10px;
	letter-spacing: .2em;
	opacity: .78;
}

.np-thumb-fallback strong {
	position: relative;
	z-index: 1;
	margin-top: 3px;
	font-size: 24px;
	font-weight: 500;
	letter-spacing: .12em;
}

.np-news-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 18px 18px 20px;
}

.np-news-date {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #8190a0;
	font-size: 12px;
	font-weight: 400;
}

.np-news-date i {
	font-size: 13px;
	color: #9fc7f7;
}

.np-news-card h3 {
	margin: 10px 0 18px;
	color: #17293d;
	font-size: 17px;
	line-height: 1.62;
	font-weight: 600 !important;
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.np-read-more {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: auto;
	color: #1d82ff;
	font-size: 12px;
	font-weight: 400;
}

.np-read-more i {
	transition: transform .18s ease;
}

.np-news-card:hover .np-read-more i {
	transform: translateX(3px);
}

.np-loading,
.np-empty {
	display: flex;
	min-height: 220px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 12px;
	color: #8190a0;
	font-size: 14px;
	text-align: center;
}

.np-empty i {
	color: #a9c9ef;
	font-size: 34px;
}

.np-retry {
	min-height: 38px;
	padding: 0 18px;
	border: 1px solid #1d82ff;
	border-radius: 999px;
	background: #fff;
	color: #1d82ff;
	font-size: 13px;
	cursor: pointer;
}

.np-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid #edf2f7;
}

.np-page-btn {
	display: inline-flex;
	min-width: 38px;
	height: 38px;
	align-items: center;
	justify-content: center;
	padding: 0 14px;
	border: 1px solid #dce7f3;
	border-radius: 999px;
	background: #fff;
	color: #53667a;
	font-size: 13px;
	font-weight: 400;
	cursor: pointer;
	transition: all .18s ease;
}

.np-page-btn:hover:not(:disabled) {
	border-color: #1d82ff;
	color: #1d82ff;
}

.np-page-btn.active {
	border-color: #1d82ff;
	background: #1d82ff;
	color: #fff;
}

.np-page-btn:disabled {
	opacity: .42;
	cursor: not-allowed;
}

/* Article detail */
.np-article-card {
	width: 100%;
	max-width: 980px;
	margin: 26px auto 0;
	padding: 42px 46px 46px;
	border: 1px solid rgba(221, 231, 241, .9);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 12px 34px rgba(18, 42, 66, .07);
}

.np-article-head {
	padding-bottom: 24px;
	border-bottom: 1px solid #edf2f7;
}

.np-article-title {
	margin: 0;
	color: #17293d;
	font-size: clamp(26px, 3vw, 34px);
	line-height: 1.45;
	font-weight: 500 !important;
}

.np-article-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin-top: 16px;
	color: #8190a0;
	font-size: 13px;
	font-weight: 400;
}

.np-article-meta i {
	color: #9fc7f7;
}

.np-article-content {
	padding-top: 12px;
	color: #3f5266;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.95;
}

.np-article-content p {
	margin: 18px 0 0;
	text-indent: 0;
	color: #3f5266;
	font-weight: 400;
}

.np-article-content img {
	display: block;
	width: 100%;
	height: auto;
	margin: 24px 0;
	border-radius: 16px;
}

.np-article-actions {
	display: flex;
	justify-content: center;
	margin-top: 34px;
}

.np-back-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 20px;
	border: 1px solid #1d82ff;
	border-radius: 999px;
	background: #fff;
	color: #1d82ff;
	font-size: 13px;
}

.np-back-btn:hover {
	background: #1d82ff;
	color: #fff;
}

/* Footer */
.np-footer {
	padding: 24px 20px 30px;
	color: #8291a1;
	font-size: 12px;
	font-weight: 400;
	text-align: center;
}

.np-footer a {
	color: #8291a1;
}

.np-footer a:hover {
	color: #1d82ff;
}

@media (max-width: 1040px) {
	.np-news-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	.np-nav-inner {
		width: calc(100% - 32px);
		height: 64px;
	}

	.np-links {
		display: none;
	}

	.np-menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.np-mobile-nav.open {
		display: block;
	}

	.np-banner {
		min-height: 230px;
	}

	.np-banner-inner {
		padding: 116px 15px 38px;
	}

	.np-breadcrumb {
		margin-bottom: 14px;
		font-size: 12px;
	}

	.np-main {
		margin-top: 14px;
	}

	.np-card {
		padding: 22px 14px 18px;
		border-radius: 18px;
	}

	.np-section-head {
		gap: 12px;
		margin-bottom: 20px;
	}

	.np-section-head h2 {
		font-size: 24px;
	}

	.np-article-card {
		margin-top: 14px;
		padding: 26px 20px 30px;
		border-radius: 18px;
	}
}

@media (max-width: 640px) {
	.np-news-grid {
		grid-template-columns: 1fr;
	}

	.np-news-card h3 {
		font-size: 16px;
	}

	.np-pagination {
		gap: 6px;
		margin-top: 24px;
		padding-top: 18px;
	}

	.np-page-btn {
		min-width: 36px;
		height: 36px;
		padding: 0 11px;
		font-size: 12px;
	}

	.np-article-content {
		font-size: 15px;
		line-height: 1.9;
	}

	.np-article-meta {
		font-size: 12px;
	}
}
