/* ========== 首页官网布局（独立于 Big Picture） ========== */
body.portal-layout-home {
	background: #e4e7ec;
	min-height: 100vh;
}

.site-home {
	--home-accent: #27a8e1;
	--home-accent-2: #0aa2c0;
	--home-cta: #e62e5d;
	--home-cta-hover: #cf2650;
	--home-ink: #1a1d21;
	--home-muted: #5c636a;
	--home-line: rgba(0, 0, 0, 0.08);
	--home-radius: 0;
	--home-section-top-radius: clamp(16px, 2.2vw, 26px);
	--home-section-overlap: clamp(20px, 3vw, 36px);
	--home-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
	--home-display: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
	--home-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
	color: var(--home-ink);
	font-family: var(--home-body);
}
.site-home h2,
.site-home h3,
.home-rec-head h2 {
	font-family: var(--home-display);
	text-wrap: balance;
}

/* 椤舵爮涓庡崰浣嶅湪閮ㄥ垎鏂偣涓嶄竴鑷存椂锛屼繚璇侀灞忎笉琚伄鎸?*/
.site-home .home-hero {
	margin-top: 0;
}

/* 鈥斺€?涓昏瑙夎疆鎾?鈥斺€?*/
.home-hero {
	position: relative;
	width: 100%;
	overflow: visible;
	isolation: isolate;
}
.home-hero .swiper-container {
	position: relative;
	z-index: 1;
	width: 80%;
	margin-left: auto;
	margin-right: auto;
	height: auto;
	transform: translateZ(0);
	border: 1px solid rgba(148, 163, 184, 0.28);
}
.home-hero .swiper-container .swiper-wrapper {
	height: auto;
}
/* Swiper fade锛氬够鐏墖闇€涓庡鍣ㄥ悓楂橈紝鍚﹀垯鏄撳嚭鐜板彔灞?瑁佸垏寮傚父 */
.home-hero .swiper-container-fade .swiper-slide {
	width: 100% !important;
	height: auto;
	box-sizing: border-box;
}
.home-hero .swiper-slide {
	position: relative;
	display: block;
	overflow: hidden;
	height: auto;
}
.home-hero .slide-bg {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: top;
}

.home-hero .slide-inner {
	position: relative;
	z-index: 2;
	max-width: 920px;
	padding: 2.5rem 1.25rem 3.5rem;
	text-align: center;
	color: #fff;
}
.home-hero .slide-inner.home-hero-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	max-width: none;
	margin: 0;
	text-align: left;
	padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.25rem, 4vw, max(1.25rem, calc((100vw - 1200px) / 2 + 15px)));
}
.home-hero .slide-inner.home-hero-caption h2 {
	max-width: 16em;
	margin: 0;
	font-size: clamp(1.35rem, 2.8vw, 2.15rem);
	line-height: 1.22;
	text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}
.home-hero .slide-inner .eyebrow {
	display: inline-block;
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.85;
	margin-bottom: 0.75rem;
}
.home-hero .slide-inner h2 {
	font-weight: 800;
	font-size: clamp(1.75rem, 4vw, 2.85rem);
	line-height: 1.2;
	margin: 0 0 0.75rem;
	text-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
.home-hero .slide-inner p {
	font-size: clamp(0.95rem, 1.6vw, 1.15rem);
	line-height: 1.65;
	opacity: 0.92;
	max-width: 640px;
	margin: 0 auto 1.5rem;
}
.home-hero .slide-inner .slide-btn {
	display: inline-block;
	padding: 0.65rem 1.75rem;
	border-radius: 0;
	border: 1px solid rgba(255, 255, 255, 0.55);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.92rem;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.home-hero .slide-inner .slide-btn:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: #fff;
	transform: translateY(-1px);
	color: #fff;
	text-decoration: none;
}
.home-hero .swiper-button-next,
.home-hero .swiper-button-prev {
	width: 48px;
	height: 48px;
	border-radius: 0;
	/* 鍕跨敤 background 绠€鍐欙細浼氭竻绌?Swiper 鐢?background-image 鐢荤殑绠ご */
	background-color: rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(6px);
	transition: background-color 0.2s ease, transform 0.2s ease;
}
.home-hero .swiper-button-next:hover,
.home-hero .swiper-button-prev:hover {
	background-color: rgba(255, 255, 255, 0.22);
	transform: scale(1.05);
}
.home-hero .swiper-button-next::after,
.home-hero .swiper-button-prev::after {
	font-size: 18px;
	font-weight: 700;
	color: #fff;
}
.home-hero .swiper-pagination {
	bottom: 18px !important;
}
.home-hero .swiper-pagination-bullet {
	width: 28px;
	height: 3px;
	border-radius: 0;
	background: rgba(255, 255, 255, 0.35);
	opacity: 1;
	margin: 0 4px !important;
	transition: width 0.25s ease, background 0.25s ease;
}
.home-hero .swiper-pagination-bullet-active {
	width: 44px;
	background: #fff;
}
@media (max-width: 768px) {
	.home-hero .swiper-container {
		width: 100%;
		border-left: none;
		border-right: none;
	}
	.home-hero .swiper-button-next,
	.home-hero .swiper-button-prev {
		display: none;
	}
}

/* 鈥斺€?鎺ㄨ崘淇℃伅锛堣疆鎾笅鏂癸紝2脳3 涓嶅绉板鏍硷級 鈥斺€?*/
.site-home {
	/*chz-home_back*/
	/*background: #f2f4f7;*/
}

/*//chz-页面卡片整体宽度*/
.home-content-card {
	/*width: min(1200px, calc(100% - 32px));*/
	width: 80%;
	margin: -40px auto -20px;
	background: #ffffff;
	border: 1px solid rgba(148, 163, 184, 0.36);
	box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(15, 23, 42, 0.05);
	overflow: visible;
}
@media (max-width: 768px) {
	.home-content-card {
		width: 100%;
		margin: 0 0 -12px;
		border-left: none;
		border-right: none;
	}
	.home-welcome {
		padding-top: clamp(1.25rem, 4vw, 1.75rem);
	}
}

/* 首页页脚：与主内容卡片同宽居中，边框 + 阴影 */
#portalPage .footer.home-footer-card {
	width: 80%;
	max-width: 100%;
	margin: 1.25rem auto 0;
	padding: 0;
	box-sizing: border-box;
	--home-accent: #27a8e1;
	--home-cta: #e62e5d;
	--home-ink: #1a1d21;
	--home-muted: #5c636a;
	--home-display: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
	background: linear-gradient(180deg, #d8f0ff 0%, #d0edff 100%);
	border: 1px solid rgb(25 102 209 / 36%);
	border-top: 1px solid rgb(89 158 255 / 36%);
	box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(15, 23, 42, 0.05);
	overflow: hidden;
	color: var(--home-ink, #1a1d21);
}

.home-footer__body {
	padding: 0.85rem clamp(1rem, 2.5vw, 1.5rem) 0.75rem;
}

.home-footer__grid {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.85rem 1.75rem;
	max-width: 960px;
	margin: 0 auto;
}

.home-footer__col {
	flex: 1 1 220px;
	min-width: min(100%, 220px);
	max-width: 100%;
}

/* PC：pair 不参与布局，子项直接进 grid */
.home-footer__pair {
	display: contents;
}

.home-footer__text {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--home-muted, #5c636a);
	text-wrap: pretty;
}

.home-footer__label {
	font-weight: 600;
	color: #0875a5;
}

.home-footer__meta {
	margin: 0;
}

.home-footer__meta-row {
	display: grid;
	grid-template-columns: 4.25em minmax(0, 1fr);
	gap: 0.5rem 0.75rem;
	align-items: baseline;
	padding: 0.15rem 0;
}

.home-footer__meta-row + .home-footer__meta-row {
	border-top: 1px dashed rgba(8, 117, 165, 0.14);
}

.home-footer__meta-row dt {
	margin: 0;
	font-size: 0.88rem;
	font-weight: 600;
	color: #0875a5;
	white-space: nowrap;
}

.home-footer__meta-row dd {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--home-ink, #1a1d21);
	word-break: break-all;
}

.home-footer__meta-row dd a {
	color: var(--home-ink, #1a1d21);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.home-footer__meta-row dd a:hover {
	color: var(--home-accent, #27a8e1);
	border-bottom-color: rgba(39, 168, 225, 0.35);
	text-decoration: none;
}

.home-footer__col--qrcode {
	flex: 0 0 auto;
	width: auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
}

@media (min-width: 768px) {
	.home-footer__col--qrcode {
		margin-left: auto;
	}
}

.home-footer__qrcode {
	margin: 0;
	padding: 0.35rem;
	background: #fff;
	border: 1px solid rgba(148, 163, 184, 0.32);
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.home-footer__qrcode img {
	display: block;
	width: 72px;
	height: 72px;
	object-fit: contain;
}

.home-footer__legal {
	background: rgba(255, 255, 255, 0.72);
	border-top: 1px solid rgba(148, 163, 184, 0.22);
	padding: 0.55rem clamp(0.85rem, 2.5vw, 1.25rem);
}

.home-footer__legal-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.35rem 0.85rem;
	max-width: 960px;
	margin: 0 auto;
	font-size: 0.84rem;
	line-height: 1.6;
	color: var(--home-muted, #5c636a);
	text-align: center;
}

.home-footer__legal-item + .home-footer__legal-item::before {
	content: "·";
	margin-right: 0.85rem;
	color: rgba(8, 117, 165, 0.45);
	font-weight: 700;
}

.home-footer__bottom-spacer {
	height: 49px;
}

@media (max-width: 991px) {
	#portalPage .footer.home-footer-card {
		width: 100%;
		border-left: none;
		border-right: none;
	}

	.home-footer__grid {
		flex-direction: column;
		gap: 0.5rem;
		max-width: none;
	}

	.home-footer__col--address {
		flex: 1 1 auto;
		min-width: 0;
		width: 100%;
	}

	/* 手机：电话/邮箱左，二维码右 */
	.home-footer__pair {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 0.65rem 0.85rem;
		width: 100%;
	}

	.home-footer__col--contact {
		flex: 1 1 auto;
		min-width: 0;
		width: auto;
	}

	.home-footer__col--qrcode {
		flex: 0 0 auto;
		align-items: center;
		margin-left: 0;
		align-self: center;
	}

	.home-footer__meta-row {
		grid-template-columns: 4.5em minmax(0, 1fr);
	}

	.home-footer__legal-inner {
		flex-direction: column;
		gap: 0.25rem;
		font-size: 0.82rem;
	}

	.home-footer__legal-item + .home-footer__legal-item::before {
		content: none;
		margin: 0;
	}
}

@media (max-width: 576px) {
	#portalPage .footer.home-footer-card {
		margin-top: 1rem;
	}

	.home-footer__body {
		padding: 0.75rem 1rem 0.65rem;
	}

	.home-footer__pair {
		gap: 0.5rem 0.65rem;
	}

	.home-footer__meta-row {
		grid-template-columns: 4.25em minmax(0, 1fr);
		gap: 0.15rem 0.5rem;
		padding: 0.1rem 0;
	}
}
.home-content-card > section {
	margin: 0;
}
.home-content-card > section + section {
	border-top: 1px solid rgba(148, 163, 184, 0.16);
}
.home-content-card .home-rec,
.home-content-card .home-section--hot-courses {
	background: transparent;
}
.home-rec {
	padding: clamp(2.5rem, 5vw, 3.75rem) 0;
	background: #c75858;
}
.home-rec-head {
	text-align: center;
	margin: 0 auto 2rem;
	max-width: 720px;
	padding: 0 15px;
}
.home-rec-head h2 {
	font-weight: 500;
	font-size: clamp(1.35rem, 2.4vw, 1.85rem);
	color: #818995;
	margin: 40px 0 0.65rem;
	letter-spacing: 0.02em;
}
.home-rec-head h2::after {
	content: "";
	display: block;
	width: 48px;
	height: 3px;
	margin: 0.55rem auto 0;
	border-radius: 0;
	background: linear-gradient(90deg, var(--home-cta) 0%, #e11d48 100%);
}
.home-rec-head__desc {
	margin: 0.65rem auto 0;
	max-width: 520px;
	font-size: 0.95rem;
	color: var(--home-muted);
	line-height: 1.65;
	text-wrap: pretty;
}
.home-rec-head__more {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: 0.5rem;
	padding: 0.15rem 0.15rem;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--home-accent);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
}
.home-rec-head__more:hover {
	color: #0a58ca;
	border-bottom-color: rgba(13, 110, 253, 0.35);
	text-decoration: none;
	gap: 0.55rem;
}
.home-rec-head__more span {
	display: inline-block;
	transition: transform 0.2s ease;
}
.home-rec-head__more:hover span {
	transform: translateX(3px);
}
.home-rec-empty {
	grid-column: 1 / -1;
	margin: 0;
	padding: 2.5rem 1rem;
	text-align: center;
	color: var(--home-muted);
	font-size: 0.95rem;
	background: #f6f8fb;
	border-radius: var(--home-radius);
	border: 1px dashed rgba(0, 0, 0, 0.08);
}
.home-rec-empty--wide {
	grid-column: 1 / -1;
}
.home-rec-head p:not(.home-rec-head__desc) {
	margin: 0.75rem 0 0;
	font-size: 0.95rem;
	color: var(--home-muted);
	line-height: 1.65;
}
/*chz-杂志*/
.home-rec-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: minmax(200px, 24vw);
	gap: clamp(12px, 1.8vw, 18px);
	width: 90%;
	margin: 0 auto;
	padding: 0 15px;
}
.home-rec-card {
	position: relative;
	display: block;
	border-radius: var(--home-radius);
	overflow: hidden;
	background: #0b1220;
	min-height: 200px;
	color: #fff;
	text-decoration: none;
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.12);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.home-rec-card:hover {
	transform: translateY(-4px);
	box-shadow:
		0 20px 50px rgba(15, 23, 42, 0.25),
		0 0 0 2px rgba(39, 168, 225, 0.4),
		inset 0 0 0 1px rgba(255, 255, 255, 0.1);
	color: #fff;
	text-decoration: none;
}
.home-rec-card:focus-visible {
	outline: 2px solid var(--home-accent);
	outline-offset: 3px;
}
.home-rec-card__media {
	position: absolute;
	inset: 0;
}
.home-rec-card__media > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.04);
	transition: transform 0.55s ease;
}
.home-rec-card:hover .home-rec-card__media > img {
	transform: scale(1.08);
}
.home-rec-card__media::after {
	border: 2px solid #73c5df;
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	transition: opacity 0.3s ease;
}
.home-rec-card:hover .home-rec-card__media::after {
	opacity: 0.92;
}
.home-rec-card__top-gradient {
	position: absolute;
	top: 2px;
	left: 2px;
	right: 0;
	height: 13%;
	width: 99.7%;
	z-index: 2;
	pointer-events: none;
	background: linear-gradient(
		to bottom,
		rgba(216, 220, 227, 0.95) 0%,
		rgba(193, 195, 197, 0.45) 45%,
		rgba(228, 231, 236, 0) 100%
	);
}
.home-rec-card__title-bar {
	position: absolute;
	top: 8px;
	left: 20px;
	right: 20px;
	height: 10%;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0 0.65rem;
	box-sizing: border-box;
	background-color: rgba(121, 205, 232, 0.7);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid #fff;
}
.home-rec-card__title-logo {
	flex-shrink: 0;
	width: 35px;
	height: 35px;
	object-fit: contain;
}
.home-rec-card__title-text {
	flex: 1;
	min-width: 30px;
	margin-right: 30px;
	font-family: "SimSun", "Songti SC", "STSong", serif;
	font-size: clamp(0.78rem, 1.35vw, 1rem);
	font-weight: 600;
	line-height: 2.2;
	color: #fff;
	text-shadow: 3px 6px 5.5px rgb(70 126 199 / 90%);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.home-rec-card__title-more {
	flex-shrink: 0;
	font-family: "SimSun", "Songti SC", "STSong", serif;
	font-size: clamp(0.72rem, 1.15vw, 0.92rem);
	font-weight: 400;
	line-height: 1.2;
	color: #fff;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
	white-space: nowrap;
	transition: color 0.2s ease;
}
.home-rec-card__title-more:hover {
	color: var(--home-accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.home-rec-grid .home-rec-card:nth-child(1) {
	grid-column: 1 / span 2;
}
.home-rec-grid .home-rec-card:nth-child(2) {
	grid-column: 3;
}
.home-rec-grid .home-rec-card:nth-child(3) {
	grid-column: 1;
}
.home-rec-grid .home-rec-card:nth-child(4) {
	grid-column: 2 / span 2;
}
/* 骞虫澘瀹藉害锛氫笁鍒椾笉瀵圭О瀹牸杩囩獎锛屾敼涓轰袱鍒楁暣鍗★紝閬垮厤鏂囨鍖鸿繃鎸?*/
@media (max-width: 991px) and (min-width: 769px) {
	.home-rec-grid {
		grid-template-columns: repeat(2, 1fr);
		grid-auto-rows: minmax(210px, 38vw);
	}
	.home-rec-grid .home-rec-card:nth-child(n) {
		grid-column: auto;
	}
}
@media (max-width: 768px) {
	.home-rec-grid {
		grid-template-columns: 1fr;
		grid-auto-rows: minmax(220px, 52vw);
	}
	.home-rec-grid .home-rec-card:nth-child(n) {
		grid-column: auto;
	}
}

/* 鈥斺€?蹇嵎鏁版嵁鏉?鈥斺€?*/
.home-strip {
	background: linear-gradient(90deg, #0b5ed7 0%, #0aa2c0 100%);
	color: #fff;
}
.home-strip .strip-item {
	padding: 1rem 0.5rem;
	text-align: center;
	border-right: 1px solid rgba(255, 255, 255, 0.15);
}
.home-strip .row > div:last-child .strip-item {
	border-right: 0;
}
.home-strip .strip-label {
	font-size: 0.78rem;
	opacity: 0.9;
	letter-spacing: 0.04em;
}
.home-strip .strip-value {
	font-weight: 700;
	font-size: 1.1rem;
	margin-top: 0.15rem;
}

/* 鈥斺€?閫氱敤鍖哄潡鏍囬 鈥斺€?*/
.home-section {
	padding: 3.25rem 0;
}
/* 鍝佺墝涓撳尯 #products-preview锛氳儗鏅浘 + 宸︿晶鍗婇€忔槑鐧藉簳鏂囨鍖猴紙鏃犳繁鑹查伄缃╋級 */
#products-preview.home-brand-zone {
	position: relative;
	padding: 0;
	margin: 0;
	overflow: visible;
	min-height: clamp(256px, 41.6vw, 448px);
	background-color: #fff;
	background-size: min(88vw, 1120px) auto;
	background-position: center center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
}
#products-preview.home-brand-zone .home-brand-zone__motion {
	position: relative;
	z-index: 1;
	width: 100%;
}
/* 鑷笅鑰屼笂 + 娣″叆锛堣鐩?animate 榛樿 fadeInUp 鐨?100% 浣嶇Щ锛屾洿鍏嬪埗锛?*/
#products-preview.home-brand-zone .home-brand-zone__motion.fadeInUp {
	-webkit-animation-name: home-brand-zone-rise;
	animation-name: home-brand-zone-rise;
	-webkit-animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
	animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
@-webkit-keyframes home-brand-zone-rise {
	from {
		opacity: 0;
		-webkit-transform: translate3d(0, 44px, 0);
		transform: translate3d(0, 44px, 0);
	}
	to {
		opacity: 1;
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
}
@keyframes home-brand-zone-rise {
	from {
		opacity: 0;
		transform: translate3d(0, 44px, 0);
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}
#products-preview.home-brand-zone .home-brand-zone__inner {
	width: 100%;
	padding: clamp(1.6rem, 4vw, 2.8rem) 15px;
}
#products-preview.home-brand-zone .home-brand-zone__text {
	width: 70%;
	max-width: 70%;
	color: #334155;
	text-align: left;
	background: rgba(255, 255, 255, 65%);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(14px);
	padding: clamp(1.45rem, 3.8vw, 2.65rem) clamp(1.25rem, 3.2vw, 2.35rem);
	border-radius: var(--home-radius);
	border: 1px solid rgba(255, 255, 255, 0.75);
	filter: drop-shadow(0 0px 9px rgba(6, 5, 0, 0.12));
	box-shadow:
		0 2px 4px rgba(15, 23, 42, 0.06),
		0 8px 20px rgba(15, 23, 42, 0.1),
		0 18px 44px rgba(15, 23, 42, 0.12);
}
#products-preview.home-brand-zone .home-brand-zone__text h2 {
	font-weight: 800;
	font-size: clamp(1.45rem, 3.1vw, 2.35rem);
	line-height: 1.28;
	margin: 0 0 0.55rem;
	letter-spacing: 0.02em;
	color: #0875a5;
	text-shadow: none;
}
#products-preview.home-brand-zone .home-brand-zone__rule {
	display: block;
	width: clamp(8.5rem, 38vw, 18rem);
	height: 2px;
	margin: 0 0 1rem;
	border-radius: 0;
	background: #e11d48;
	box-shadow: none;
}
#products-preview.home-brand-zone .home-brand-zone__desc {
	margin: 0 0 1.5rem;
	font-size: clamp(0.98rem, 1.38vw, 1.12rem);
	font-weight: 400;
	line-height: 1.85;
	color: #1f2937;
	text-indent: 0;
	opacity: 1;
	text-shadow: none;
}
#products-preview.home-brand-zone .home-brand-zone__btn {
	display: inline-block;
	padding: 0.62rem 1.85rem;
	background: #27a8e1;
	color: #fff !important;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	border: none;
	border-radius: 0;
	box-shadow: 0 4px 14px rgb(85 143 187 / 35%);
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
#products-preview.home-brand-zone .home-brand-zone__btn:hover {
	background: #27a8e1;
	color: #fff !important;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 8px 22px rgb(6 109 161 / 25%);
}
/*chz-为什么选择超声医学网课程学习-宽度*/
@media (min-width: 1440px) {
	#products-preview.home-brand-zone {
		border-top-color: #ffffff;

		background-size: min(84vw,88%) auto;
	}
}
@media (max-width: 768px) {
	#products-preview.home-brand-zone {
		min-height: clamp(220px, 62vw, 360px);
		background-size: cover;
		background-position: center center;
		align-items: flex-end;
	}
	#products-preview.home-brand-zone .home-brand-zone__inner {
		padding: 1rem 12px 1.25rem;
	}
	#products-preview.home-brand-zone .home-brand-zone__text {
		width: 100%;
		max-width: 100%;
		padding: 1.15rem 1rem 1.25rem;
		box-sizing: border-box;
	}
}
@media (max-width: 576px) {
	#products-preview.home-brand-zone {
		min-height: clamp(200px, 68vw, 320px);
	}
	#products-preview.home-brand-zone .home-brand-zone__text h2 {
		font-size: clamp(1.2rem, 5.2vw, 1.45rem);
	}
	#products-preview.home-brand-zone .home-brand-zone__desc {
		font-size: 0.92rem;
		line-height: 1.75;
		margin-bottom: 1.1rem;
	}
}
.home-section.alt {
	background: #f6f8fb;
	border-top: 1px solid var(--home-line);
	border-bottom: 1px solid var(--home-line);
}
/* 瀛﹂櫌浠嬬粛 + 瀛︿範璧勬簮锛氶粯璁ゅ尯鍧楄儗鏅?*/
.home-section.alt.home-dual {
	position: relative;
	padding: clamp(3.5rem, 6vw, 5.5rem) 0;
	overflow: hidden;
}
.home-section.alt.home-dual::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 80% 50% at 10% 20%, rgba(13, 110, 253, 0.07), transparent 55%),
		radial-gradient(ellipse 70% 45% at 90% 80%, rgba(10, 162, 192, 0.08), transparent 50%);
	pointer-events: none;
	animation: home-dual-bg-shift 14s ease-in-out infinite alternate;
}
@keyframes home-dual-bg-shift {
	from {
		opacity: 0.85;
		transform: scale(1);
	}
	to {
		opacity: 1;
		transform: scale(1.03);
	}
}
/* 浜ら敊鍥炬枃锛氱櫧搴曘€佹棤鍔ㄦ€佸簳绾癸紝鍙傝€冦€屾枃-鍥?/ 鍥?鏂囥€嶇増寮?*/
.home-section.alt.home-dual.home-dual--zigzag {
	border: 0px;
	background: #fff;
	border-top-color: #eceef2;
	border-bottom-color: #eceef2;
	padding: clamp(2rem, 3.5vw, 3rem) 0;
	overflow-x: hidden;
}
.home-section.alt.home-dual.home-dual--zigzag::before {
	display: none;
}
/*chz-学院介绍-学习资源*/
.home-dual-inner {
	position: relative;
	z-index: 1;
	max-width: 90%;
	margin: 0 auto;
	padding: 0 15px;
}
.home-dual--zigzag .home-dual-inner {
	max-width: 1320px;
}
.home-dual .row {
	min-height: clamp(380px, 42vh, 540px);
	align-items: stretch;
}
.home-dual--zigzag .home-zigzag-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: clamp(1.5rem, 3.2vw, 2.5rem);
	padding: clamp(1rem, 2vw, 1.5rem) 0;
}
.home-dual--zigzag .home-zigzag-copy {
	flex: 0 1 32rem;
	max-width: 32rem;
	min-width: 0;
}
/* 鏂囧乏鍥惧彸锛氭鏂囧湪宸︽爮鍐呭乏瀵归綈锛涙枃妗堝尯鍗犳弧鍥剧墖宸︿晶鍙敤瀹藉害 */
.home-dual--zigzag .home-zigzag-row--text-first .home-zigzag-copy {
	text-align: left;
	margin-right: 0;
	margin-left: 0;
	flex: 1 1 16rem;
	max-width: none;
	min-width: 0;
}
/* 鍥惧乏鏂囧彸锛氭枃妗堝崰婊″浘鐗囧彸渚у墿浣欏搴︼紝姝ｆ枃鑷劧鎹㈣ */
.home-dual--zigzag .home-zigzag-row--media-first .home-zigzag-copy {
	text-align: left;
	margin-left: 0;
	margin-right: 15px;
	flex: 1 1 16rem;
	max-width: none;
	min-width: 0;
}
.home-dual--zigzag .home-zigzag-copy h3 {
	font-weight: 600;
	font-size: clamp(1.35rem, 2.35vw, 1.68rem);
	color: #0875a5;
	margin: 0 0 0.75rem;
	padding: 0;
	border: none;
}
.home-dual--zigzag .home-zigzag-copy h3::after {
	display: none;
}
.home-dual--zigzag .home-zigzag-row--text-first .home-zigzag-copy h3 {
	text-align: right;
}
.home-dual--zigzag .home-zigzag-body {
	color: #5c6570;
	font-size: clamp(1.02rem, 1.38vw, 1.14rem);
	line-height: 1.82;
	margin: 0 0 0.95rem;
}
/* 鍥惧乏鏂囧彸锛氶琛岀缉杩涳紝鎹㈣浠庡潡宸︾紭璧锋帓锛岀浉瀵归琛岀暐闈犲乏锛堝父瑙佷腑鏂囨钀借鎰燂級 */
.home-dual--zigzag .home-zigzag-row--media-first .home-zigzag-body {
	text-indent: 1.5em;
}
.home-dual--zigzag .home-zigzag-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--home-accent);
	text-decoration: none;
	padding: 0.45rem 0;
	border-bottom: 1px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
}
.home-dual--zigzag .home-zigzag-link:hover {
	border-bottom-color: rgba(13, 110, 253, 0.35);
	color: #0a58ca;
	text-decoration: none;
	gap: 0.55rem;
}
.home-dual--zigzag .home-zigzag-link::after {
	content: "→";
	font-size: 0.9em;
	transition: transform 0.2s ease;
}
.home-dual--zigzag .home-zigzag-link:hover::after {
	transform: translateX(3px);
}
.home-dual--zigzag .home-zigzag-visual {
	filter: drop-shadow(0 0px 9px rgba(6, 5, 0, 0.2));
	flex: 0 0 auto;
}
@media (min-width: 768px) {
	/* 鏂囧乏鍥惧彸锛氭暣缁勯潬鍙筹紝鏂囨涓庡浘鐗囦粎淇濈暀 gap锛岄伩鍏嶄腑闂磋 margin 鎾戝紑 */
	.home-dual--zigzag .home-zigzag-row--text-first {
		justify-content: flex-end;
	}
	.home-dual--zigzag .home-zigzag-row--text-first .home-zigzag-copy {
		text-align: right;
	}
	.home-dual--zigzag .home-zigzag-row--text-first .home-zigzag-news-list .home-news-item {
		padding: 0.75rem 1rem;
		margin-left: 0;
		margin-right: 0;
		border-left: none;
		border-right: none;
		border-radius: 0;
		transition: background 0.2s ease;
	}
	.home-dual--zigzag .home-zigzag-row--text-first .home-study-ticker:not(.is-interacting) .home-news-item.is-active {
		background: rgba(13, 110, 253, 0.06);
	}
	.home-dual--zigzag .home-zigzag-row--text-first .home-study-ticker.is-interacting .home-news-item:hover,
	.home-dual--zigzag .home-zigzag-row--text-first .home-study-ticker.is-interacting .home-news-item:focus-within {
		background: rgba(13, 110, 253, 0.06);
	}
	.home-dual--zigzag .home-zigzag-row--text-first .home-news-more {
		text-align: right;
	}
}
.home-dual--zigzag .home-zigzag-visual img {
	display: block;
	width: clamp(176px, 27vw, 240px);
	height: clamp(176px, 27vw, 240px);
	object-fit: cover;
	border-radius: var(--home-radius);
	border: none;
	box-shadow:
		0 4px 6px rgba(15, 23, 42, 0.04),
		0 16px 40px rgba(15, 23, 42, 0.12);
	background: #e9eef5;
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.home-dual--zigzag .home-zigzag-row:hover .home-zigzag-visual img {
	transform: translateY(-2px);
	box-shadow:
		0 8px 12px rgba(15, 23, 42, 0.06),
		0 22px 48px rgba(15, 23, 42, 0.14);
}
.home-dual--zigzag .home-zigzag-rule {
	border: 0;
	border-top: 1px solid #e5e7eb;
	margin: 0;
}
.home-dual--zigzag .home-zigzag-news-list {
	width: 100%;
	margin-top: 0.35rem;
	min-width: 0;
}
/* 学习资源：纵向滚动轮播 */
.home-study-ticker {
	position: relative;
}
.home-study-ticker__viewport {
	overflow: hidden;
	width: 100%;
	-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 6%, #000 94%, transparent 100%);
	mask-image: linear-gradient(to bottom, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.home-study-ticker__track {
	will-change: transform;
}
.home-study-ticker__track .home-news-item {
	min-height: 4.1rem;
	padding-top: 0.65rem;
	padding-bottom: 0.65rem;
	box-sizing: border-box;
	transition: background 0.25s ease;
}
.home-study-ticker:not(.is-interacting) .home-news-item.is-active {
	background: rgba(13, 110, 253, 0.08);
}
.home-study-ticker.is-interacting .home-news-item.is-active {
	background: transparent;
}
.home-study-ticker.is-interacting .home-news-item:hover,
.home-study-ticker.is-interacting .home-news-item:focus-within {
	background: rgba(13, 110, 253, 0.08);
}
.home-study-ticker.is-static .home-study-ticker__viewport {
	overflow: visible;
	-webkit-mask-image: none;
	mask-image: none;
	height: auto !important;
}
.home-study-ticker.is-static .home-study-ticker__track {
	transform: none !important;
}
.home-dual--zigzag .home-zigzag-news-list .home-news-item a {
	color: #4b5563;
	font-weight: 600;
	font-size: clamp(1rem, 1.25vw, 1.1rem);
	text-decoration: none;
}
.home-dual--zigzag .home-zigzag-news-list .home-news-item a:hover {
	color: var(--home-accent);
}
.home-dual--zigzag .home-zigzag-news-list .home-news-meta {
	color: #9ca3af;
	font-size: 0.92rem;
	margin-top: 0.2rem;
}
.home-dual--zigzag .home-news-more {
	margin-top: 0.75rem;
	font-size: 0.95rem;
}
.home-dual--zigzag .home-news-more a {
	color: var(--home-accent);
	font-weight: 600;
	text-decoration: none;
}
.home-dual--zigzag .home-news-more a:hover {
	text-decoration: underline;
}
@media (max-width: 767px) {
	.home-dual--zigzag .home-zigzag-row {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 1.15rem 0;
	}
	.home-dual--zigzag .home-zigzag-row--text-first .home-zigzag-copy,
	.home-dual--zigzag .home-zigzag-row--media-first .home-zigzag-copy {
		text-align: center;
		margin-left: auto;
		margin-right: auto;
		order: 2;
	}
	.home-dual--zigzag .home-zigzag-row--text-first .home-zigzag-copy h3 {
		text-align: center;
	}
	.home-dual--zigzag .home-zigzag-row--text-first .home-zigzag-news-list,
	.home-dual--zigzag .home-zigzag-row--text-first .home-zigzag-news-list .home-news-item {
		text-align: left;
	}
	.home-dual--zigzag .home-zigzag-row--text-first .home-zigzag-visual {
		order: 1;
	}
	.home-dual--zigzag .home-zigzag-row--media-first .home-zigzag-visual {
		order: 1;
	}
	.home-dual--zigzag .home-zigzag-row--media-first .home-zigzag-body {
		text-indent: 0;
	}
	.home-study-ticker__track .home-news-item {
		min-height: 3.85rem;
	}
}
@media (prefers-reduced-motion: reduce) {
	.home-study-ticker__track {
		transition: none !important;
	}
}
/* 浜ら敊鍖哄潡鍏ュ満锛氱函娣″叆 + 鏋佽交寰í鍚戜綅绉伙紙鏃犵旱鍚戯級銆備笉鐢?animate 鐨?.fadeIn锛岄伩鍏?WOW 缁撴潫鍚庡幓鎺?.animated 鏃跺啀娆¤Е鍙?fadeIn 閫犳垚闂竴涓?*/
@-webkit-keyframes home-zigzag-fade-in-mf {
	from {
		opacity: 0;
		-webkit-transform: translate3d(clamp(18px, 2.4vw, 28px), 0, 0);
		transform: translate3d(clamp(18px, 2.4vw, 28px), 0, 0);
		visibility: visible;
	}
	to {
		opacity: 1;
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
}
@keyframes home-zigzag-fade-in-mf {
	from {
		opacity: 0;
		transform: translate3d(clamp(18px, 2.4vw, 28px), 0, 0);
		visibility: visible;
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}
@-webkit-keyframes home-zigzag-fade-in-tf {
	from {
		opacity: 0;
		-webkit-transform: translate3d(calc(-1 * clamp(18px, 2.4vw, 28px)), 0, 0);
		transform: translate3d(calc(-1 * clamp(18px, 2.4vw, 28px)), 0, 0);
		visibility: visible;
	}
	to {
		opacity: 1;
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
}
@keyframes home-zigzag-fade-in-tf {
	from {
		opacity: 0;
		transform: translate3d(calc(-1 * clamp(18px, 2.4vw, 28px)), 0, 0);
		visibility: visible;
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}
.home-dual--zigzag .home-zigzag-row--media-first.home-zigzag-enter.animated {
	-webkit-animation-name: home-zigzag-fade-in-mf !important;
	animation-name: home-zigzag-fade-in-mf !important;
	-webkit-animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
	animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
.home-dual--zigzag .home-zigzag-row--text-first.home-zigzag-enter.animated {
	-webkit-animation-name: home-zigzag-fade-in-tf !important;
	animation-name: home-zigzag-fade-in-tf !important;
	-webkit-animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
	animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (prefers-reduced-motion: reduce) {
	.home-dual--zigzag .home-zigzag-row--media-first.home-zigzag-enter.animated,
	.home-dual--zigzag .home-zigzag-row--text-first.home-zigzag-enter.animated {
		-webkit-animation: none !important;
		animation: none !important;
		opacity: 1 !important;
		-webkit-transform: none !important;
		transform: none !important;
	}
	.home-rec-card,
	.home-rec-card__media > img,
	.home-hot-card,
	.home-hot-card__picture img,
	.home-dual--zigzag .home-zigzag-visual img {
		transition: none !important;
	}
	.home-rec-card:hover,
	.home-hot-card:hover,
	.home-dual--zigzag .home-zigzag-row:hover .home-zigzag-visual img {
		transform: none !important;
	}
}
.home-section-head {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 2.25rem;
}
.home-section-head h2 {
	font-weight: 800;
	font-size: clamp(1.35rem, 2.4vw, 1.85rem);
	margin-bottom: 0.5rem;
	color: var(--home-ink);
}
.home-section-head h2::after {
	content: "";
	display: block;
	width: 48px;
	height: 2px;
	margin: 0.5rem auto 0;
	border-radius: 0;
	background: var(--home-accent);
}
.home-section-head p {
	margin: 0;
	color: var(--home-muted);
	font-size: 0.95rem;
	line-height: 1.65;
}

/* 鈥斺€?浜у搧鍗＄墖 鈥斺€?*/
.home-card-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
}
.home-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--home-line);
	border-radius: var(--home-radius);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
	transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.2s ease;
}
.home-card:hover {
	box-shadow: var(--home-shadow);
	transform: translateY(-4px);
	border-color: rgba(13, 110, 253, 0.25);
	text-decoration: none;
	color: inherit;
}
.home-card .thumb {
	aspect-ratio: 4 / 3;
	background: #e9eef5;
	overflow: hidden;
}
.home-card .thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}
.home-card:hover .thumb img {
	transform: scale(1.04);
}
.home-card .body {
	padding: 1rem 1.05rem 1.15rem;
	flex: 1 1 auto;
}
.home-card .body h3 {
	margin: 0;
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.45;
	color: var(--home-ink);
}
.home-more {
	text-align: center;
	margin-top: 2rem;
}
.home-more a {
	display: inline-block;
	padding: 0.55rem 1.6rem;
	border-radius: 0;
	border: 1px solid var(--home-accent);
	color: var(--home-accent);
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}
.home-more a:hover {
	background: var(--home-accent);
	color: #fff;
	text-decoration: none;
}

/* 鈥斺€?鍏充簬 + 鍔ㄦ€?鈥斺€?*/
.home-split-card {
	background: #fff;
	border: 1px solid var(--home-line);
	border-radius: var(--home-radius);
	padding: 1.5rem 1.5rem 1.35rem;
	height: 100%;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
	transition: box-shadow 0.35s ease, transform 0.35s ease;
}
.home-dual .home-split-card {
	padding: clamp(1.75rem, 2.5vw, 2.35rem);
	min-height: clamp(320px, 38vh, 500px);
	display: flex;
	flex-direction: column;
}
.home-dual .home-split-card:hover {
	box-shadow: 0 20px 48px rgba(15, 23, 42, 0.1);
	transform: translateY(-3px);
}
.home-split-card h3 {
	font-weight: 800;
	font-size: 1.1rem;
	margin-bottom: 1rem;
	padding-bottom: 0.65rem;
	border-bottom: 1px solid var(--home-line);
}
.home-dual .home-split-card h3 {
	font-size: clamp(1.2rem, 2vw, 1.45rem);
	margin-bottom: 1.15rem;
	padding-bottom: 0.85rem;
	position: relative;
}
.home-dual .home-split-card h3::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 0;
	max-width: 120px;
	height: 3px;
	border-radius: 0;
	background: linear-gradient(90deg, var(--home-accent), var(--home-accent-2));
	animation: home-dual-title-line 1.1s ease-out 0.2s forwards;
}
@keyframes home-dual-title-line {
	to {
		width: 100%;
	}
}
.home-about-text {
	color: var(--home-muted);
	font-size: 0.95rem;
	line-height: 1.75;
	margin-bottom: 1rem;
}
.home-dual .home-about-text {
	font-size: clamp(1rem, 1.35vw, 1.12rem);
	line-height: 1.85;
	flex: 1 1 auto;
	margin-bottom: 1.25rem;
}
.home-dual .home-about-actions {
	margin-top: auto;
	padding-top: 0.35rem;
}
.home-about-actions .btn-home {
	display: inline-block;
	padding: 0.45rem 1.2rem;
	border-radius: 0;
	background: var(--home-accent);
	color: #fff;
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
}
.home-about-actions .btn-home:hover {
	opacity: 0.92;
	color: #fff;
	text-decoration: none;
}
.home-news-item {
	padding: 0.65rem 0;
	border-bottom: 1px dashed var(--home-line);
}
.home-news-item:last-child {
	border-bottom: 0;
}
.home-news-item a {
	color: var(--home-ink);
	font-weight: 600;
	font-size: 0.92rem;
	text-decoration: none;
}
.home-news-item a:hover {
	color: var(--home-accent);
}
.home-news-meta {
	font-size: 0.8rem;
	color: var(--home-muted);
	margin-top: 0.25rem;
}
.home-news-more {
	margin-top: 0.75rem;
	font-size: 0.88rem;
	font-weight: 600;
}

/* 瀛︿範璧勬簮锛氶潤鎬佸垪琛紙涓€娆℃€у睍绀哄叏閮ㄦ潯鐩級 */
.home-dual .home-news-list {
	flex: 1 1 auto;
	min-height: 0;
}
.home-dual .home-news-list .home-news-item {
	padding: 0.75rem 1rem;
	margin-left: 0;
	border-left: none;
	border-bottom: 1px dashed var(--home-line);
	border-radius: 0;
	transition: background 0.2s ease;
}
.home-dual .home-news-list .home-news-item:hover {
	background: rgba(13, 110, 253, 0.05);
}
.home-dual .home-news-list .home-news-item:last-child {
	border-bottom: 0;
}
.home-dual .home-news-list .home-news-item a {
	font-size: clamp(0.95rem, 1.15vw, 1.05rem);
	line-height: 1.5;
}
.home-dual .home-news-list .home-news-meta {
	font-size: 0.88rem;
	margin-top: 0.35rem;
}

/* 鈥斺€?鐑棬璇剧▼锛氱櫧搴曞崱鐗?+ CSS 閲戣壊鎻忚竟鍥惧尯锛涗环绛?home-hot-jiagedise.png 璐村浘鍙充笅瑙掍笅鍨傦紙鏍囬鍖?.home-rec-head 涓嶆敼锛?鈥斺€?*/
.home-content-card .home-section.home-section--hot-courses {
	border-top-color: #ffffff;
	border: 1px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	overflow-x: hidden;
	background: linear-gradient(180deg, #fff 0%, #f6f8fb 100%);
}
.home-content-card .home-section.home-section--hot-courses > .container {
	width: 90%;
	max-width: 90%;
	margin-left: auto;
	margin-right: auto;
	min-width: 0;
	box-sizing: border-box;
}
.home-hot-courses {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.85rem;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}
.home-hot-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	width: 100%;
	max-width: 100%;
	background: #fff;
	border-radius: var(--home-radius);
	border: 1px solid rgba(226, 232, 240, 0.95);
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
	text-decoration: none;
	color: inherit;
	overflow: visible;
	box-sizing: border-box;
	padding: 15px 15px 14px;
	transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.2s ease;
}
.home-hot-card:hover {
	box-shadow: 0 14px 36px rgba(15, 23, 42, 0.11);
	transform: translateY(-4px);
	border-color: rgba(13, 110, 253, 0.22);
	text-decoration: none;
	color: inherit;
}
.home-hot-card:focus-visible {
	outline: 2px solid var(--home-accent);
	outline-offset: 3px;
}
.home-hot-card__media {
	min-width: 0;
	padding: 0;
	margin: 0;
	/* 瀹藉害鐩稿叧 % 涓庡浘鍖哄悓姝ョ缉鏀撅紱棰濆 rem 淇濊瘉鏋佸皬灞忎篃鏈夌┖闅?*/
	padding-bottom: calc(-2.55rem + max(8px, 2.8vw));
}
.home-hot-card__visual {
	position: relative;
	width: 100%;
	min-width: 0;
	display: block;
	overflow: visible;
}
/* 閲戣壊绾挎鍥惧尯锛氶珮搴︿负鍘熷厛 4:3 鏃剁殑 80%锛堝悓瀹戒笅 H'=0.8脳(3/4)W 鈬?aspect-ratio 5/3锛?*/
.home-hot-card__picture {
	width: 100%;
	aspect-ratio: 5 / 3;
	box-sizing: border-box;
	border: 1px solid #e4b58c;
	border-radius: 0;
	overflow: hidden;
	background: #f1f5f9;
}
.home-hot-card__picture img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}
.home-hot-card:hover .home-hot-card__picture img {
	transform: scale(1.03);
}
.home-hot-card__price-tag {
	position: absolute;
	z-index: 2;
	right: 21px;
	bottom: calc(-1 * max(0.42rem, 18.8%));
	box-sizing: border-box;
	min-width: min(100%, 7.75em);
	max-width: 100%;
	padding: 0.4em 0.52em 0.56em;
	font-size: clamp(0.78rem, 0.22vw + 0.72rem, 0.94rem);
	font-weight: 700;
	color: #fff;
	text-align: center;
	height: 22.5%;
	letter-spacing: 0.02em;
	background: url(/portal/images/home-hot-jiagedise.png) no-repeat 50% 50%;
	background-size: 100% 100%;
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.28));
	pointer-events: none;
	transform: translateZ(0);
	-webkit-font-smoothing: antialiased;
}
.home-hot-card__price-tag--muted {
	font-size: 0.88em;
	font-weight: 600;
	opacity: 0.95;
}
.home-hot-card__body {
	padding: 0;
	margin: 0;
	text-align: left;
}
.home-hot-card__title {
	margin: 0 0 0.35rem;
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--home-ink);
	line-height: 1.45;
	transition: color 0.2s ease;
}
.home-hot-card:hover .home-hot-card__title {
	color: var(--home-accent);
}
.home-hot-card__meta {
	margin: 0;
	font-size: 0.82rem;
	color: var(--home-muted);
	line-height: 1.4;
}

/* 鈥斺€?搴曢儴 CTA 鈥斺€?*/
.home-cta {
	background: linear-gradient(135deg, #aee6fd 0%, #429384 100%);
	color: #fff;
	padding: 2.75rem 1.25rem;
	text-align: center;
}
.home-cta h2 {
	font-weight: 800;
	font-size: clamp(1.25rem, 2.2vw, 1.65rem);
	margin-bottom: 0.5rem;
}
.home-cta p {
	opacity: 0.88;
	margin-bottom: 1.25rem;
}
.home-cta .cta-row a {
	display: inline-block;
	margin: 0.35rem;
	padding: 0.55rem 1.35rem;
	border-radius: 0;
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
}
.home-cta .cta-primary {
	background: #fff;
	color: #0b1220;
}
.home-cta .cta-primary:hover {
	opacity: 0.95;
	color: #0b1220;
}
.home-cta .cta-ghost {
	border: 1px solid rgba(255, 255, 255, 0.45);
	color: #fff;
}
.home-cta .cta-ghost:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

@media (max-width: 991px) {
	.home-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.home-hot-courses {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.home-strip .strip-item {
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	}
	.home-strip .row > div:last-child .strip-item {
		border-bottom: 0;
	}
	.home-dual .row {
		min-height: 0;
	}
	.home-dual .home-split-card {
		min-height: 0;
	}
	.home-dual--zigzag .home-zigzag-row {
		min-height: 0;
	}
	/* 绐勫睆涓嬪幓鎺?hover 鏀惧ぇ锛岄伩鍏?scale 鍚庡崱鐗囪瑙変笂銆屾尋鍑恒€嶆爡鏍?*/
	.home-hot-card:hover {
		transform: translateY(-2px);
	}
}
@media (max-width: 576px) {
	.home-card-grid,
	.home-hot-courses {
		grid-template-columns: minmax(0, 1fr);
		gap: 0.7rem;
	}
	.home-section {
		padding: 2.5rem 0;
	}
	.home-hot-card {
		padding: 12px 12px 10px;
	}
	.home-hot-card__media {
		padding-bottom: calc(0.4rem + max(7px, 2.6vw));
	}
}

/* ========== 首页 Hub：学院介绍 + 三菜单悬浮面板 ========== */
.home-hub {
	position: relative;
	padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem) clamp(2rem, 3.5vw, 2.75rem);
	overflow: visible;
}

.home-welcome {
	padding-top: 50px;
	max-width: 100%;
	margin: 0 auto;
	text-align: center;
}

.home-welcome__title {
	margin: 0 0 0.35rem;
	font-family: var(--home-display);
	font-weight: 800;
	font-size: clamp(1.25rem, 2.6vw, 1.75rem);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #0875a5;
	line-height: 1.3;
}

.home-welcome__subtitle {
	margin: 0 0 1rem;
	font-size: clamp(0.95rem, 1.5vw, 1.1rem);
	color: var(--home-muted);
	font-weight: 400;
}

.home-welcome__body {
	margin: 0 auto;
	max-width: 996px;
	font-size: clamp(0.92rem, 1.35vw, 1.22rem);
	line-height: 1.82;
	color: var(--home-muted);
	text-wrap: pretty;
}

.home-welcome__more {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: 1rem;
	padding: 0.15rem;
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--home-accent);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
}

.home-welcome__more:hover {
	color: #0a58ca;
	border-bottom-color: rgba(13, 110, 253, 0.35);
	text-decoration: none;
	gap: 0.55rem;
}

.home-welcome__more::after {
	content: "→";
	font-size: 0.9em;
	transition: transform 0.2s ease;
}

.home-welcome__more:hover::after {
	transform: translateX(3px);
}

.home-hub-divider {
	border: 0;
	border-top: 1px solid rgba(148, 163, 184, 0.35);
	margin: clamp(1.5rem, 3vw, 2.25rem) auto;
	max-width: min(92%, 960px);
}

.home-hub-menus {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	--home-hub-gap: clamp(10px, 1.5vw, 16px);
	--hub-panel-h-text: 430px;
	--hub-panel-h-resources: 460px;
	gap: var(--home-hub-gap);
	max-width: min(96%, 1080px);
	margin: 0 auto;
	/*padding-top: clamp(280px, 32vw, 380px);*/
	position: relative;
	z-index: 1;
}

.home-hub-menu {
	position: relative;
	z-index: 1;
	transition:
		transform 0.58s cubic-bezier(0.16, 1, 0.3, 1),
		filter 0.58s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-hub-menu.is-open {
	z-index: 20;
	transform: translateY(-10px);
	filter: drop-shadow(0 16px 40px rgba(15, 23, 42, 0.14));
}

.home-hub-menu__trigger {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 150px;
	padding: 0;
	border: none;
	cursor: pointer;
	background-color: #0b3d5c;
	background-size: cover;
	background-position: center;
	overflow: hidden;
	text-align: center;
	transition: box-shadow 0.58s cubic-bezier(0.16, 1, 0.3, 1);
}

a.home-hub-menu__trigger {
	text-decoration: none;
	color: inherit;
}

a.home-hub-menu__trigger:hover,
a.home-hub-menu__trigger:focus-visible {
	text-decoration: none;
	color: inherit;
}

a.home-hub-menu__trigger:focus-visible {
	outline: none;
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.65);
}

.home-hub-menu__overlay {
	position: absolute;
	inset: 0;
	background: rgba(39, 168, 225, 0.72);
	transition: background 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-hub-menu__trigger:hover .home-hub-menu__overlay,
.home-hub-menu.is-open .home-hub-menu__overlay {
	background: rgba(39, 168, 225, 35%);
}

.home-hub-menu__label {
	position: relative;
	z-index: 1;
	padding: 0 0.75rem;
	color: #fff;
}

.home-hub-menu__title {
	display: block;
	font-family: var(--home-display);
	font-weight: 700;
	font-size: clamp(0.95rem, 1.6vw, 1.15rem);
	line-height: 1.35;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
	transform: scale(1);
	transform-origin: center center;
	transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-hub-menu__rule {
	display: block;
	width: 40px;
	height: 3px;
	margin: 0.55rem auto 0;
	background: var(--home-cta);
	border-radius: 2px;
	transition:
		width 0.5s cubic-bezier(0.16, 1, 0.3, 1),
		height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
		border-radius 0.5s cubic-bezier(0.16, 1, 0.3, 1),
		margin 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-hub-menu__trigger:hover .home-hub-menu__title,
.home-hub-menu.is-open .home-hub-menu__title {
	transform: scale(1.08);
}

.home-hub-menu__trigger:hover .home-hub-menu__rule,
.home-hub-menu.is-open .home-hub-menu__rule {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	margin-top: 0.5rem;
}

@media (prefers-reduced-motion: reduce) {
	.home-hub-menu__title,
	.home-hub-menu__rule {
		transition: none;
	}

	.home-hub-menu__trigger:hover .home-hub-menu__title,
	.home-hub-menu.is-open .home-hub-menu__title {
		transform: none;
	}

	.home-hub-menu__trigger:hover .home-hub-menu__rule,
	.home-hub-menu.is-open .home-hub-menu__rule {
		width: 40px;
		height: 3px;
		border-radius: 2px;
	}
}

.home-hub-panel {
	position: absolute;
	bottom: 100%;
	left: 0;
	right: auto;
	width: calc(300% + 2 * var(--home-hub-gap));
	margin-bottom: 10px;
	max-height: var(--hub-panel-h-resources);
	opacity: 0;
	pointer-events: none;
	transition:
		opacity 0.58s cubic-bezier(0.16, 1, 0.3, 1),
		margin-bottom 0.58s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.14), 0 4px 16px rgba(15, 23, 42, 0.08);
	will-change: opacity;
}

.home-hub-menu:nth-child(2) .home-hub-panel {
	left: calc(-100% - var(--home-hub-gap));
	max-height: var(--hub-panel-h-resources);
}

.home-hub-menu:nth-child(3) .home-hub-panel {
	left: calc(-200% - 2 * var(--home-hub-gap));
}

/* 菜单①、③：居中展示、加大字号 */
.home-hub-menu:nth-child(1) .home-hub-panel,
.home-hub-menu:nth-child(3) .home-hub-panel {
	max-height: var(--hub-panel-h-text);
}

.home-hub-menu:nth-child(1) .home-hub-panel__inner--text,
.home-hub-menu:nth-child(3) .home-hub-panel__inner--text {
	max-height: var(--hub-panel-h-text);
	min-height: var(--hub-panel-h-text);
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.home-hub-menu:nth-child(1) .home-hub-panel__heading,
.home-hub-menu:nth-child(3) .home-hub-panel__heading {
	font-size: 1.38rem;
	margin-bottom: 0.85rem;
}

.home-hub-menu:nth-child(1) .home-hub-panel__body,
.home-hub-menu:nth-child(3) .home-hub-panel__body {
	font-size: 1.08rem;
	line-height: 1.85;
	max-width: min(720px, 92%);
	margin-bottom: 1.25rem;
}

.home-hub-menu:nth-child(1) .home-hub-panel__cta,
.home-hub-menu:nth-child(3) .home-hub-panel__cta {
	font-size: 1.05rem;
}

.home-hub-menu:nth-child(3) .home-hub-panel__cta--primary {
	padding: 0.65rem 1.65rem;
	font-size: 1.05rem;
}

.home-hub-menu.is-open .home-hub-panel {
	opacity: 1;
	pointer-events: auto;
	margin-bottom: 0;
}

/* 展开时面板与按钮拼接为一体 */
.home-hub-menu.is-open .home-hub-panel__inner {
	border-bottom: none;
}

.home-hub-menu.is-open .home-hub-menu__trigger {
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

@media (prefers-reduced-motion: reduce) {
	.home-hub-panel {
		transition: none;
	}

	.home-hub-menu {
		transition: none;
	}

	.home-hub-menu.is-open {
		transform: none;
		filter: none;
	}

	.home-hub-menu__trigger {
		transition: none;
	}
}

.home-hub-panel__inner {
	background: #fff;
	border: 1px solid rgba(148, 163, 184, 0.28);
	max-height: var(--hub-panel-h-resources);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: clamp(0.85rem, 2vw, 1.15rem);
	text-align: left;
	width: 100%;
	box-sizing: border-box;
}

.home-hub-menu:nth-child(2) .home-hub-panel__inner {
	max-height: var(--hub-panel-h-resources);
}

.home-hub-panel__inner--text {
	padding: clamp(1rem, 2.2vw, 1.35rem);
}

.home-hub-panel__heading {
	margin: 0 0 0.65rem;
	font-size: 1.12rem;
	font-weight: 700;
	color: #0875a5;
	line-height: 1.35;
}

.home-hub-panel__body {
	margin: 0 0 1rem;
	font-size: 0.98rem;
	line-height: 1.78;
	color: var(--home-muted);
	white-space: pre-line;
}

.home-hub-panel__cta {
	display: inline-block;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--home-accent);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.home-hub-panel__cta:hover {
	color: #0a58ca;
	border-bottom-color: rgba(13, 110, 253, 0.35);
	text-decoration: none;
}

.home-hub-panel__cta--primary {
	padding: 0.55rem 1.35rem;
	background: var(--home-cta);
	color: #fff !important;
	border: none;
	box-shadow: 0 4px 14px rgba(230, 46, 93, 0.28);
}

.home-hub-panel__cta--primary:hover {
	background: var(--home-cta-hover);
	color: #fff !important;
	border-bottom-color: transparent;
}

/* 资源面板：按后台布局开关显示对应方案 */
.home-hub-panel--resources .home-res-layout {
	display: none;
}

.home-hub-panel--resources[data-resources-layout="a"] .home-res-layout--a,
.home-hub-panel--resources[data-resources-layout="b"] .home-res-layout--b,
.home-hub-panel--resources[data-resources-layout="c"] .home-res-layout--c,
.home-hub-panel--resources[data-resources-layout="d"] .home-res-layout--d,
.home-hub-panel--resources[data-resources-layout="e"] .home-res-layout--e {
	display: block;
}

/* A — 纵向三段式：商业级图文比例（小图 + 大字号正文） */
.home-res-layout--a .home-res-block__head {
	margin-bottom: 0.65rem;
}

.home-res-layout--a .home-res-block__title {
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.home-res-layout--a .home-res-block__more {
	font-size: 0.88rem;
}

.home-res-layout--a .home-res-block + .home-res-block {
	margin-top: calc(0.85rem + 10px);
	padding-top: calc(0.85rem + 10px);
	border-top: 1px solid var(--home-line);
}

/* 学习资源与热门课程之间：无分割线，保留间距 */
.home-res-layout--a .home-res-block:nth-child(2) + .home-res-block {
	border-top: none;
	padding-top: 0;
	margin-top: calc(0.85rem + 10px);
}

.home-res-layout--a .home-res-mags--row,
.home-res-layout--a .home-res-courses--row {
	grid-template-columns: repeat(3, 1fr);
	gap: 0.65rem 0.85rem;
}

.home-res-layout--a .home-res-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 1rem;
}

.home-res-layout--a .home-res-mag,
.home-res-layout--a .home-res-course {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0.55rem 0.7rem;
	background: #f6f8fb;
	border: 1px solid rgba(148, 163, 184, 0.2);
	transition: background 0.2s ease, border-color 0.2s ease;
}

.home-res-layout--a .home-res-mag:hover,
.home-res-layout--a .home-res-course:hover {
	background: rgba(39, 168, 225, 0.07);
	border-color: rgba(39, 168, 225, 0.28);
	text-decoration: none;
}

.home-res-layout--a .home-res-mag img {
	width: 48px;
	height: 62px;
	flex-shrink: 0;
	aspect-ratio: auto;
	object-fit: cover;
	border: 1px solid rgba(148, 163, 184, 0.15);
}

.home-res-layout--a .home-res-course img {
	width: 64px;
	height: 44px;
	flex-shrink: 0;
	aspect-ratio: auto;
	object-fit: cover;
	border: 1px solid rgba(148, 163, 184, 0.15);
}

.home-res-layout--a .home-res-mag span,
.home-res-layout--a .home-res-course span {
	flex: 1;
	min-width: 0;
	margin-top: 0;
	font-size: 0.94rem;
	font-weight: 600;
	line-height: 1.45;
	color: var(--home-ink);
	white-space: normal;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.home-res-layout--a .home-res-list li {
	padding: 0.48rem 0;
	border-bottom-color: rgba(0, 0, 0, 0.06);
}

.home-res-layout--a .home-res-list li a {
	font-size: 0.96rem;
	line-height: 1.45;
	color: #374151;
}

.home-res-layout--a .home-res-list li time {
	font-size: 0.84rem;
	color: #8b95a1;
}

.home-res-layout--a .home-res-empty {
	font-size: 0.92rem;
	padding: 0.65rem;
}

@media (max-width: 991px) {
	.home-res-layout--a .home-res-mags--row,
	.home-res-layout--a .home-res-courses--row {
		grid-template-columns: 1fr;
	}

	.home-res-layout--a .home-res-list {
		grid-template-columns: 1fr;
	}

	.home-res-layout--a .home-res-mag span,
	.home-res-layout--a .home-res-course span {
		font-size: 0.9rem;
	}
}

.home-res-block + .home-res-block {
	margin-top: 0.75rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--home-line);
}

.home-res-block__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
}

.home-res-block__title {
	margin: 0;
	font-size: 0.88rem;
	font-weight: 700;
	color: #0875a5;
}

.home-res-block__more,
.home-res-panel-link {
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--home-accent);
	text-decoration: none;
	white-space: nowrap;
}

.home-res-block__more:hover,
.home-res-panel-link:hover {
	color: #0a58ca;
	text-decoration: none;
}

.home-res-empty {
	margin: 0.35rem 0;
	font-size: 0.82rem;
	color: var(--home-muted);
	text-align: center;
	padding: 0.5rem;
}

.home-res-mags--row,
.home-res-courses--row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.5rem;
}

.home-res-mags--grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.5rem;
}

.home-res-mag,
.home-res-course {
	display: block;
	text-decoration: none;
	color: var(--home-ink);
}

.home-res-mag img,
.home-res-course img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	background: #e9eef5;
}

.home-res-mag span,
.home-res-course span {
	display: block;
	margin-top: 0.25rem;
	font-size: 0.72rem;
	line-height: 1.35;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.home-res-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.home-res-list li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.35rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.home-res-list li a {
	flex: 1;
	min-width: 0;
	font-size: 0.82rem;
	font-weight: 600;
	color: #4b5563;
	text-decoration: none;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.home-res-list li a:hover {
	color: var(--home-accent);
}

.home-res-list li time {
	font-size: 0.72rem;
	color: #9ca3af;
	white-space: nowrap;
}

.home-res-list--dense li {
	padding: 0.28rem 0;
}

/* B: Tab */
.home-res-tabs {
	display: flex;
	gap: 0.25rem;
	margin-bottom: 0.65rem;
	border-bottom: 1px solid var(--home-line);
}

.home-res-tabs__btn {
	flex: 1;
	min-height: 44px;
	padding: 0.55rem 0.35rem;
	border: none;
	border-bottom: 2px solid transparent;
	background: transparent;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--home-muted);
	cursor: pointer;
	margin-bottom: -1px;
}

.home-res-tabs__btn.is-active {
	color: #0875a5;
	border-bottom-color: var(--home-cta);
}

.home-res-tabs__panel {
	display: none;
}

.home-res-tabs__panel.is-active {
	display: block;
}

.home-res-courses--grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.5rem;
}

.home-res-panel-link {
	display: inline-block;
	margin-top: 0.5rem;
}

/* C: 分栏 */
.home-res-columns {
	display: grid;
	grid-template-columns: 38% 1fr;
	gap: 0.75rem;
}

.home-res-mags--stack {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.home-res-mag--horizontal {
	display: flex;
	gap: 0.5rem;
	align-items: center;
}

.home-res-mag--horizontal img {
	width: 52px;
	height: 68px;
	flex-shrink: 0;
	aspect-ratio: auto;
}

.home-res-mag--horizontal span {
	margin-top: 0;
	white-space: normal;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.home-res-col__section + .home-res-col__section {
	margin-top: 0.65rem;
	padding-top: 0.65rem;
	border-top: 1px solid var(--home-line);
}

/* D: 入口卡片 */
.home-res-hub-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}

.home-res-hub-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 0.35rem;
	background: #f6f8fb;
	border: 1px solid rgba(148, 163, 184, 0.22);
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.home-res-hub-card:hover {
	background: rgba(39, 168, 225, 0.08);
	border-color: rgba(39, 168, 225, 0.35);
	text-decoration: none;
}

.home-res-hub-card__label {
	font-size: 0.75rem;
	font-weight: 600;
	color: #0875a5;
}

.home-res-hub-card__count {
	margin-top: 0.2rem;
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--home-ink);
}

.home-res-latest-list {
	list-style: none;
	margin: 0.35rem 0 0;
	padding: 0;
}

.home-res-latest-list li {
	display: flex;
	align-items: baseline;
	gap: 0.45rem;
	padding: 0.35rem 0;
	font-size: 0.82rem;
}

.home-res-latest-tag {
	flex-shrink: 0;
	font-size: 0.68rem;
	font-weight: 700;
	color: #fff;
	background: var(--home-accent);
	padding: 0.1rem 0.35rem;
}

.home-res-latest-list a {
	color: #4b5563;
	text-decoration: none;
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.home-res-latest-list a:hover {
	color: var(--home-accent);
}

/* E: 横滑 + 双列 */
.home-res-scroll {
	display: flex;
	gap: 0.5rem;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	padding-bottom: 0.25rem;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.home-res-mag--scroll {
	flex: 0 0 88px;
}

.home-res-mag--scroll img {
	aspect-ratio: 3 / 4;
}

.home-res-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.65rem;
	margin-top: 0.65rem;
	padding-top: 0.65rem;
	border-top: 1px solid var(--home-line);
}

.home-res-courses--stack {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.home-res-course--compact {
	display: flex;
	gap: 0.45rem;
	align-items: center;
}

.home-res-course--compact img {
	width: 48px;
	height: 48px;
	aspect-ratio: 1;
	flex-shrink: 0;
}

.home-res-course--compact span {
	margin-top: 0;
	white-space: normal;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (max-width: 991px) {
	.home-hub-menus {
		grid-template-columns: 1fr;
		padding-top: 0;
		gap: 0.75rem;
	}

	.home-hub-menu.is-open {
		transform: none;
		filter: none;
	}

	.home-hub-menu__trigger {
		height: 160px;
	}

	.home-hub-panel {
		position: relative;
		bottom: auto;
		left: auto;
		right: auto;
		width: 100%;
		margin: 0;
		max-height: none;
		box-shadow: none;
	}

	.home-hub-menu:nth-child(2) .home-hub-panel,
	.home-hub-menu:nth-child(3) .home-hub-panel {
		left: auto;
	}

	.home-hub-panel__inner {
		max-height: min(var(--hub-panel-h-resources), 62vh);
		border-top: none;
	}

	.home-hub-menu:nth-child(2) .home-hub-panel__inner {
		max-height: min(var(--hub-panel-h-resources), 62vh);
	}

	.home-hub-menu:nth-child(1) .home-hub-panel__inner--text,
	.home-hub-menu:nth-child(3) .home-hub-panel__inner--text {
		min-height: auto;
		max-height: min(var(--hub-panel-h-text), 62vh);
	}

	.home-hub-menu:not(.is-open) .home-hub-panel {
		display: none;
	}

	.home-hub-menu.is-open .home-hub-panel {
		display: block;
	}

	.home-res-mags--row,
	.home-res-courses--row,
	.home-res-mags--grid,
	.home-res-hub-cards {
		grid-template-columns: repeat(2, 1fr);
	}

	.home-res-columns {
		grid-template-columns: 1fr;
	}

	.home-res-split {
		grid-template-columns: 1fr;
	}
}

/* 首页共享布局：导航、页脚、在线客服去圆角 */
.navbar-bigpic,
.navbar-bigpic *,
.portal-locale-toggle,
.portal-locale-toggle *,
#portalPage .footer,
#portalPage .footer *,
.online,
.online * {
	border-radius: 0 !important;
}
