/* ==================================================================
   文件：public/web/lanv10/css/page-news.css
   用途：新闻 / 公告的列表、分类列表与正文版式
         （news.html / news-classify.html / news-details.html /
           announce.html / announce-details.html）
   说明：基础变量、v2-wrap、v2-btn、v2-sec 等来自 ui-v2.css，
         本文件只补充资讯页专属结构（面包屑 / 侧栏 / 列表 / 分页 / 正文）。
   ================================================================== */

/* ---------- 资讯首屏 ---------- */
.v2n-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(30px, 2.8vw, 48px) 0 clamp(26px, 2.6vw, 40px);
	background: linear-gradient(180deg, #EEF4FF 0%, #F7FAFF 70%, #FFFFFF 100%);
}
.v2n-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(27, 92, 230, .05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(27, 92, 230, .05) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse at 30% 20%, #000 26%, transparent 76%);
	mask-image: radial-gradient(ellipse at 30% 20%, #000 26%, transparent 76%);
	pointer-events: none;
}
.v2n-hero .v2-wrap {
	position: relative;
	z-index: 1;
}
.v2n-title {
	margin: 0 0 10px;
	font-size: clamp(26px, 2.6vw, 36px);
	font-weight: 700;
	line-height: 1.3;
	color: #12181F;
}
.v2n-desc {
	max-width: 46em;
	margin: 0;
	font-size: 13.5px;
	line-height: 1.85;
	color: var(--muted);
}

/* ---------- 面包屑 ---------- */
.v2n-crumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-bottom: 16px;
	font-size: 12.5px;
	color: var(--muted-2);
}
.v2n-crumb a {
	color: var(--muted);
}
.v2n-crumb a:hover {
	color: var(--accent);
}
.v2n-crumb span {
	color: var(--line);
}
.v2n-crumb em {
	font-style: normal;
	color: var(--ink-2);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 40em;
}

/* ---------- 主体版式 ---------- */
.v2n-sec {
	padding: clamp(32px, 3.2vw, 56px) 0 clamp(48px, 4.4vw, 78px);
}
.v2n-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: clamp(22px, 2.6vw, 40px);
	align-items: start;
}
.v2n-main {
	min-width: 0;
}

/* ---------- 分类区块 ---------- */
.v2n-block {
	margin-bottom: 26px;
	padding: clamp(20px, 2.2vw, 30px);
	background: #fff;
	border: 1px solid var(--line-soft);
	border-radius: var(--radius-card);
	box-shadow: var(--shadow-sm);
}
.v2n-block:last-child {
	margin-bottom: 0;
}
.v2n-block-hd {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 14px;
	margin-bottom: 16px;
	border-bottom: 1px solid var(--line-soft);
}
.v2n-block-hd h2,
.v2n-block-hd h3 {
	margin: 0;
	font-size: 19px;
	font-weight: 600;
	color: #12181F;
}
.v2n-block-hd h2::before,
.v2n-block-hd h3::before {
	content: "";
	display: inline-block;
	width: 3px;
	height: 15px;
	margin-right: 9px;
	border-radius: 2px;
	vertical-align: -2px;
	background: linear-gradient(180deg, #4A90E2, #1B5CE6);
}
.v2n-more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12.5px;
	color: var(--muted);
	white-space: nowrap;
}
.v2n-more::after {
	content: "→";
	transition: transform .2s ease;
}
.v2n-more:hover {
	color: var(--accent);
}
.v2n-more:hover::after {
	transform: translateX(3px);
}

/* ---------- 头条新闻 ---------- */
.v2n-feature {
	position: relative;
	display: block;
	overflow: hidden;
	margin-bottom: 18px;
	min-height: 210px;
	padding: 26px 26px 24px;
	border-radius: var(--radius-card);
	background: linear-gradient(120deg, #101A2B 0%, #1B2A44 60%, #1B5CE6 140%);
	background-size: cover;
	background-position: center;
	color: #fff;
}
.v2n-feature::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10, 16, 26, .18) 0%, rgba(10, 16, 26, .82) 100%);
}
.v2n-feature > * {
	position: relative;
	z-index: 1;
}
.v2n-feature-tag {
	display: inline-block;
	margin-bottom: auto;
	padding: 3px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .16);
	font-size: 11.5px;
	color: #fff;
}
.v2n-feature-body {
	position: absolute;
	left: 26px;
	right: 26px;
	bottom: 22px;
	z-index: 1;
}
.v2n-feature-body h3 {
	margin: 0 0 8px;
	font-size: clamp(18px, 1.8vw, 23px);
	font-weight: 600;
	line-height: 1.45;
	color: #fff;
}
.v2n-feature-body p {
	margin: 0;
	font-size: 12.5px;
	color: rgba(255, 255, 255, .74);
}
.v2n-feature:hover .v2n-feature-body h3 {
	color: #D9E6FF;
}

/* ---------- 列表 ---------- */
.v2n-list {
	display: flex;
	flex-direction: column;
}
.v2n-item {
	display: block;
	padding: 15px 0;
	border-bottom: 1px dashed var(--line);
}
.v2n-item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}
.v2n-item-top {
	display: flex;
	align-items: baseline;
	gap: 12px;
}
.v2n-item-no {
	flex: 0 0 auto;
	font-family: var(--mono, monospace);
	font-size: 12px;
	color: var(--muted-2);
}
.v2n-item-title {
	flex: 1;
	min-width: 0;
	font-size: 14.5px;
	font-weight: 500;
	line-height: 1.6;
	color: var(--ink);
	transition: color .2s ease;
}
.v2n-item:hover .v2n-item-title {
	color: var(--accent);
}
.v2n-item-date {
	flex: 0 0 auto;
	font-family: var(--mono, monospace);
	font-size: 12.5px;
	color: var(--muted-2);
}
.v2n-item-desc {
	margin: 5px 0 0;
	padding-left: 0;
	font-size: 12.5px;
	line-height: 1.75;
	color: var(--muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ---------- 分类列表页（带摘要的卡片行） ---------- */
.v2n-rows {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.v2n-row {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr);
	gap: 20px;
	padding: 20px 24px;
	background: #fff;
	border: 1px solid var(--line-soft);
	border-radius: var(--radius-card);
	box-shadow: var(--shadow-sm);
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.v2n-row:hover {
	border-color: rgba(27, 92, 230, .22);
	box-shadow: var(--shadow);
	transform: translateY(-1px);
}
.v2n-row-date {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-right: 18px;
	border-right: 1px solid var(--line-soft);
}
.v2n-row-date b {
	font-family: var(--mono, monospace);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--accent);
}
.v2n-row-date span {
	margin-top: 3px;
	font-size: 12px;
	color: var(--muted-2);
}
.v2n-row-body h3 {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.55;
	color: #12181F;
}
.v2n-row:hover .v2n-row-body h3 {
	color: var(--accent);
}
.v2n-row-body p {
	margin: 0;
	font-size: 12.5px;
	line-height: 1.8;
	color: var(--muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.v2n-row-foot {
	margin-top: 10px;
	font-size: 12px;
	color: var(--muted-2);
}

/* ---------- 侧栏 ---------- */
.v2n-side {
	display: flex;
	flex-direction: column;
	gap: 18px;
	position: sticky;
	top: 76px;
}
.v2n-widget {
	padding: 22px 20px;
	background: #fff;
	border: 1px solid var(--line-soft);
	border-radius: var(--radius-card);
	box-shadow: var(--shadow-sm);
}
.v2n-widget-hd {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line-soft);
}
.v2n-widget-hd h3 {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: #12181F;
}
.v2n-widget-hd h3::before {
	content: "";
	display: inline-block;
	width: 3px;
	height: 13px;
	margin-right: 8px;
	border-radius: 2px;
	vertical-align: -1px;
	background: var(--accent);
}
.v2n-cats {
	display: flex;
	flex-direction: column;
}
.v2n-cats a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 9px 0;
	border-bottom: 1px dashed var(--line);
	font-size: 13px;
	color: var(--ink-2);
}
.v2n-cats a::after {
	content: "→";
	font-size: 12px;
	color: var(--muted-2);
}
.v2n-cats a:hover,
.v2n-cats a.is-active {
	color: var(--accent);
}
.v2n-cats a:last-child {
	border-bottom: 0;
}
.v2n-widget-note {
	font-size: 12.5px;
	line-height: 1.85;
	color: var(--muted);
}
.v2n-widget-note + .v2n-widget-note {
	margin-top: 8px;
}
.v2n-widget-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 14px;
}
.v2n-widget-actions .v2-btn {
	justify-content: center;
}

/* ---------- 分页 ---------- */
.v2n-pager-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 24px;
}
.v2n-total {
	font-size: 12.5px;
	color: var(--muted-2);
}
.v2n-pager {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}
.v2n-pager li {
	display: inline-flex;
}
.v2n-pager a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	padding: 0 9px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	font-size: 13px;
	color: var(--ink-2);
}
.v2n-pager a:hover {
	border-color: var(--accent);
	color: var(--accent);
}
.v2n-pager li.active a {
	border-color: var(--accent);
	background: var(--accent);
	color: #fff;
}
.v2n-pager .is-disabled a {
	opacity: .45;
	pointer-events: none;
}

/* ---------- 公告分类标签 ---------- */
.v2n-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
}
.v2n-tabs a {
	padding: 7px 16px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	font-size: 13px;
	color: var(--ink-2);
}
.v2n-tabs a:hover {
	border-color: var(--accent);
	color: var(--accent);
}
.v2n-tabs a.is-active {
	border-color: var(--accent);
	background: var(--accent);
	color: #fff;
}

/* ---------- 公告条目 ---------- */
.v2n-notice {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 16px 0;
	border-bottom: 1px dashed var(--line);
}
.v2n-notice:first-child {
	padding-top: 0;
}
.v2n-notice:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}
.v2n-notice-title {
	position: relative;
	flex: 1;
	min-width: 0;
	padding-left: 16px;
	font-size: 14.5px;
	color: var(--ink);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.v2n-notice-title::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 5px;
	height: 5px;
	margin-top: -2.5px;
	border-radius: 50%;
	background: var(--accent);
	opacity: .55;
}
.v2n-notice:hover .v2n-notice-title {
	color: var(--accent);
}
.v2n-notice-time {
	flex: 0 0 auto;
	font-family: var(--mono, monospace);
	font-size: 12.5px;
	color: var(--muted-2);
}

/* ---------- 正文 ---------- */
.v2n-article {
	padding: clamp(22px, 2.6vw, 40px);
	background: #fff;
	border: 1px solid var(--line-soft);
	border-radius: var(--radius-card);
	box-shadow: var(--shadow-sm);
}
.v2n-article-hd {
	padding-bottom: 18px;
	margin-bottom: 22px;
	border-bottom: 1px solid var(--line-soft);
}
.v2n-article-hd h1 {
	margin: 0 0 12px;
	font-size: clamp(22px, 2.2vw, 29px);
	font-weight: 700;
	line-height: 1.45;
	color: #12181F;
}
.v2n-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 18px;
	font-size: 12.5px;
	color: var(--muted-2);
}
.v2n-meta span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.v2n-meta em {
	font-style: normal;
	font-family: var(--mono, monospace);
}
.v2n-meta a {
	color: var(--accent);
}

/* 富文本正文 */
.v2n-content {
	font-size: 14.5px;
	line-height: 1.95;
	color: var(--ink-2);
	word-break: break-word;
	overflow-wrap: break-word;
}
.v2n-content p {
	margin: 0 0 15px;
}
.v2n-content h2,
.v2n-content h3,
.v2n-content h4 {
	margin: 26px 0 12px;
	font-weight: 600;
	color: #12181F;
}
.v2n-content h2 {
	font-size: 20px;
}
.v2n-content h3 {
	font-size: 17.5px;
}
.v2n-content h4 {
	font-size: 15.5px;
}
.v2n-content ul,
.v2n-content ol {
	margin: 0 0 15px;
	padding-left: 22px;
}
.v2n-content ul li {
	position: relative;
	padding-left: 14px;
	margin-bottom: 8px;
	list-style: none;
}
.v2n-content ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 10px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--accent);
	opacity: .6;
}
.v2n-content ol {
	list-style: decimal;
}
.v2n-content ol li {
	margin-bottom: 8px;
	list-style: decimal;
}
.v2n-content img {
	max-width: 100%;
	height: auto;
	margin: 10px 0;
	border-radius: var(--radius);
}
.v2n-content a {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.v2n-content blockquote {
	margin: 18px 0;
	padding: 14px 18px;
	border-left: 3px solid var(--accent);
	border-radius: 0 var(--radius) var(--radius) 0;
	background: var(--paper-2);
	font-size: 13.5px;
	color: var(--muted);
}
.v2n-content table {
	width: 100%;
	margin: 16px 0;
	border-collapse: collapse;
	font-size: 13px;
}
.v2n-content table th,
.v2n-content table td {
	padding: 9px 12px;
	border: 1px solid var(--line);
	text-align: left;
}
.v2n-content table th {
	background: var(--paper-2);
	color: var(--ink);
}
.v2n-content pre {
	max-width: 100%;
	padding: 14px 16px;
	overflow-x: auto;
	background: #0F1620;
	border-radius: var(--radius);
	font-family: var(--mono, monospace);
	font-size: 12.5px;
	line-height: 1.7;
	color: #D6E1F0;
	white-space: pre-wrap;
	word-break: break-word;
}
.v2n-content code {
	font-family: var(--mono, monospace);
	font-size: 13px;
}
.v2n-content > *:first-child {
	margin-top: 0;
}
.v2n-content > *:last-child {
	margin-bottom: 0;
}

/* 上下篇 */
.v2n-prevnext {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 26px;
	padding-top: 22px;
	border-top: 1px solid var(--line-soft);
}
.v2n-prevnext a,
.v2n-prevnext > div {
	display: block;
	padding: 14px 16px;
	background: var(--paper-2);
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
	font-size: 13px;
	line-height: 1.7;
	color: var(--ink-2);
}
.v2n-prevnext a:hover {
	border-color: var(--accent);
	color: var(--accent);
}
.v2n-prevnext em {
	display: block;
	margin-bottom: 4px;
	font-style: normal;
	font-size: 11.5px;
	color: var(--muted-2);
}
.v2n-prevnext span {
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* 空状态 */
.v2n-empty {
	padding: 60px 20px;
	text-align: center;
	background: var(--paper-2);
	border: 1px dashed var(--line);
	border-radius: var(--radius-card);
}
.v2n-empty p {
	margin: 0;
	font-size: 13.5px;
	color: var(--muted);
}

/* 加载中 */
.v2n-loading {
	padding: 50px 20px;
	text-align: center;
	font-size: 13px;
	color: var(--muted-2);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
	.v2n-layout {
		grid-template-columns: minmax(0, 1fr);
	}
	.v2n-side {
		position: static;
		flex-direction: row;
		flex-wrap: wrap;
	}
	.v2n-widget {
		flex: 1 1 260px;
	}
	.v2n-side .v2n-widget:last-child {
		flex: 1 1 260px;
	}
}

@media (max-width: 900px) {
	.v2n-hero {
		padding: 24px 0;
	}
	.v2n-article {
		padding: 20px 18px;
	}
}

@media (max-width: 640px) {
	.v2n-block {
		padding: 18px 16px;
	}
	.v2n-row {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
		padding: 18px 16px;
	}
	.v2n-row-date {
		flex-direction: row;
		align-items: baseline;
		gap: 8px;
		padding-right: 0;
		border-right: 0;
	}
	.v2n-row-date b {
		font-size: 17px;
	}
	.v2n-item-top {
		flex-wrap: wrap;
		gap: 4px 10px;
	}
	.v2n-item-title {
		flex: 1 1 100%;
		order: -1;
	}
	.v2n-item-date {
		margin-left: auto;
	}
	.v2n-prevnext {
		grid-template-columns: minmax(0, 1fr);
	}
	.v2n-feature {
		min-height: 180px;
		padding: 20px;
	}
	.v2n-feature-body {
		left: 20px;
		right: 20px;
		bottom: 18px;
	}
	.v2n-side {
		flex-direction: column;
	}
	.v2n-crumb em {
		max-width: 60vw;
	}
}
