/* 首页 V2 · 基础层：六个板块共用的变量、局部复位、版心、标题、按钮、卡片外壳、弹窗
 * 作用域必须锁在 .nv2-home 内；板块自己的覆盖写在各 nv2-<板块>.css，不要往这里加 */

.nv2-home {
	--nv2-blue: #0071C3;
	--nv2-blue-bright: #2593FF;
	--nv2-blue-pale: #CCE8FF;
	--nv2-blue-bg: #DDEDFB;
	--nv2-orange: #FF8B00;
	--nv2-ink: #1B1B1B;
	--nv2-text: #525252;
	--nv2-card: #F7FAFC;
	--nv2-card-alt: #F0F5F7;
	--nv2-line: #DCE6EF;
	--nv2-maxw: 1480px;
	--nv2-gutter: clamp(20px, 4.5vw, 48px);
	--nv2-sec-y: clamp(48px, 6.5vw, 96px);
	--nv2-radius: 10px;
	--nv2-font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--nv2-shadow: 0 12px 32px rgba(0, 89, 154, .12);

	position: relative;
	font-family: var(--nv2-font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--nv2-text);
	background: #fff;
	overflow: hidden;
}

.nv2-home *,
.nv2-home *::before,
.nv2-home *::after {
	box-sizing: border-box;
}

/* ---- 局部复位：抵消 twentytwenty / NanoStyle / bootstrap 的默认值 ---- */
.nv2-home p {
	margin: 0 0 1.5em;
	font-family: var(--nv2-font);
	line-height: 1.65;
	letter-spacing: 0;
}

.nv2-home h1,
.nv2-home h2,
.nv2-home h3,
.nv2-home h4,
.nv2-home h5,
.nv2-home h6 {
	margin: 0 0 1.4em;
	font-family: var(--nv2-font);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: 0;
	color: var(--nv2-ink);
	text-transform: none;
}

.nv2-home a {
	color: inherit;
	text-decoration: none;
	transition: color .25s ease, opacity .25s ease;
}

.nv2-home a:hover,
.nv2-home a:focus-visible {
	text-decoration: none;
}

/* 坑：本条是 (0,1,1)，板块 css 只写单类抢不动这里的 display/height */
.nv2-home img {
	display: block;
	max-width: 100%;
	height: auto;
	border: 0;
}

.nv2-home ul,
.nv2-home ol,
.nv2-home dl,
.nv2-home dd {
	margin: 0;
	padding: 0;
}

.nv2-home button {
	font-family: var(--nv2-font);
	border: 0;
	background: none;
	padding: 0;
	cursor: pointer;
}

/* ---- 版心 ---- */
.nv2-inner {
	width: 100%;
	max-width: var(--nv2-maxw);
	margin-inline: auto;
	padding-inline: var(--nv2-gutter);
}

/* ---- 标题体系 ---- */
.nv2-title {
	margin: 0 0 clamp(20px, 2.4vw, 34px);
	font-size: clamp(24px, 2.9vw, 40px);
	font-weight: 700;
	letter-spacing: .01em;
	text-transform: uppercase;
	color: var(--nv2-ink);
}

.nv2-title--center {
	text-align: center;
}

.nv2-title__link {
	color: inherit;
}

.nv2-subtitle {
	margin: clamp(34px, 4vw, 56px) 0 clamp(18px, 2vw, 26px);
	font-size: clamp(18px, 1.5vw, 24px);
	font-weight: 600;
	color: var(--nv2-ink);
}

/* ---- 按钮 ---- */
.nv2-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 46px;
	padding: 10px 26px;
	border-radius: 8px;
	font-size: clamp(20px, .9vw, 24px);
	font-weight: 500;
	letter-spacing: .06em;
	/* 后台文案要按原文显示：必须显式写 none（主题 button{} 会顶回大写），删掉不等于不生效 */
	text-transform: none;
	line-height: 1.2;
	transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.nv2-btn i,
.nv2-btn svg {
	font-size: .9em;
}

/* 按钮颜色必须带 .nv2-home，单类会被上面 .nv2-home a{color:inherit} 顶成灰色 */
.nv2-home .nv2-btn--orange {
	background: var(--nv2-orange);
	color: #fff;
	/* 圆角按设计稿：左上/右下圆、右上/左下直 */
	border-radius: 32px 2px;
}

.nv2-home .nv2-btn--orange:hover {
	background: #fff;
	color: var(--nv2-orange);
	transform: translateY(-2px);
}

.nv2-home .nv2-btn--blue {
	background: var(--nv2-blue);
	color: #fff;
}

.nv2-home .nv2-btn--blue:hover {
	background: var(--nv2-orange);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(0, 113, 195, .28);
}

.nv2-btn--block {
	display: flex;
	width: 100%;
}

/* ---- 文字链接 ---- */
.nv2-home .nv2-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: clamp(14px, 1vw, 16px);
	font-weight: 600;
	/* 展开全文用的是 <button>，主题 button{} 会顶成大写，和 nv2-btn 同一个坑 */
	text-transform: none;
	color: var(--nv2-blue);
	background: none;
	transition: gap .25s ease, color .25s ease;
}

.nv2-home .nv2-link:hover {
	color: var(--nv2-orange);
	gap: 12px;
}

.nv2-link--strong {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.nv2-link--inline {
	font-size: 15px;
}

.nv2-linkrow {
	display: flex;
	justify-content: flex-end;
	margin: -6px 0 clamp(16px, 1.8vw, 26px);
}

/* ---- 通用卡片 ---- */
/* 六块共用卡片外壳；.nv2-card 本身是个 <a>，所以必须带 .nv2-home */
.nv2-home .nv2-card {
	display: flex;
	flex-direction: column;
	border: 1px solid #c0c9ce;
	background: var(--nv2-card);
	border-radius: var(--nv2-radius);
	overflow: hidden;
	color: var(--nv2-text);
	transition: transform .3s ease, box-shadow .3s ease;
}

.nv2-card__media {
	position: relative;
	aspect-ratio: 16 / 7;
	background: var(--nv2-blue-bg);
	overflow: hidden;
}

.nv2-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nv2-card__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: clamp(16px, 1.6vw, 24px);
}

.nv2-card__title {
	font-size: clamp(15px, 1.35vw, 20px);
	font-weight: 700;
	color: var(--nv2-ink);
}

/* 简介默认截两行，各板块要改行数就去自己 css 里覆盖 */
.nv2-card__text {
	margin: 0;
	font-size: clamp(14px, 1vw, 15px);
	color: var(--nv2-text);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

/* ---- 滚动揭示 ---- */
[data-nv2-reveal] {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity .7s ease, transform .7s ease;
}

[data-nv2-reveal].is-inview {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	[data-nv2-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* ---- 弹窗（Webinars 详情） ---- */
.nv2-modal {
	position: fixed;
	inset: 0;
	z-index: 9990;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(12, 34, 55, .55);
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s ease, visibility .3s ease;
}

.nv2-modal.is-open {
	opacity: 1;
	visibility: visible;
}

.nv2-modal__box {
	position: relative;
	width: min(760px, 100%);
	max-height: 78vh;
	overflow: auto;
	padding: clamp(24px, 3vw, 44px);
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 24px 60px rgba(0, 40, 80, .3);
	transform: translateY(18px) scale(.98);
	transition: transform .3s ease;
}

.nv2-modal.is-open .nv2-modal__box {
	transform: none;
}

.nv2-modal__close {
	position: absolute;
	top: 10px;
	right: 16px;
	font-size: 30px;
	line-height: 1;
	color: #8aa;
}

.nv2-modal__close:hover {
	color: var(--nv2-blue);
}

.nv2-modal__body {
	font-size: 16px;
	line-height: 1.75;
	color: var(--nv2-text);
}

.nv2-modal__body p {
	margin: 0 0 1em;
}

/* ---- 自适应：992px 以下进入移动形态 ---- */
@media (max-width: 1200px) {
	.nv2-home {
		--nv2-gutter: clamp(20px, 4vw, 40px);
	}
}

@media (max-width: 991px) {
	.nv2-home {
		--nv2-sec-y: clamp(36px, 8vw, 64px);
		--nv2-radius: 8px;
		font-size: 15px;
	}

	.nv2-card__text {
		-webkit-line-clamp: 3;
	}

	.nv2-btn {
		min-height: 44px;
		padding: 10px 20px;
	}
}

@media (max-width: 560px) {
	.nv2-home {
		--nv2-gutter: 20px;
	}
}