* {
	box-sizing: border-box;
}
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
	font: inherit;
	vertical-align: baseline;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}
body {
	line-height: 1.5;
}
ol,
ul {
	list-style: none;
}
a {
	color: inherit;
	text-decoration: none;
}
img {
	max-width: 100%;
	display: block;
}

@font-face {
	font-family: "Source Han Serif SC";
	src: url("/css/assets/font/SourceHanSerifSC-Bold.otf") format("opentype");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--bg: #00826c;
	--line: rgba(38, 106, 168, 0.35);
	--green: rgba(0, 130, 108, 0.8);
	--orange: rgba(237, 112, 32, 1);
	--text-color: #1d2733;
	--font-family-base: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
}

html {
	font-size: clamp(50px, 5.208333vw, 100px);
	width: 100%;
	height: 100%;
}

body {
	width: 100%;
	height: 100%;
	margin: 0;
	overflow: hidden;
	font-family: var(--font-family-base);
	color: var(--text-color);
	background: #081a2b;
}

/* ===== Shared Header / Footer (Education pages) ===== */
.site-wrap {
	width: min(12.8rem, 100% - 0.4rem);
	margin: 0 auto;
}
.site-wrap-mom {
	width: min(16.8rem, 100% - 0.4rem);
	margin: 0 auto;
}
.site-topbar {
	background: #efefef;
	border-bottom: 1px solid #dcdcdc;
	color: #5f666b;
	font-size: 0.14rem;
}

.site-topbar-inner {
	min-height: 0.44rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.2rem;
}

.topbar-switches {
	display: flex;
	align-items: center;
	gap: 0.14rem;
}

.topbar-switches a {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 0.2rem;
	color: #5f666b;
	transition: color 0.2s ease;
}

.topbar-switches a::before,
.topbar-switches a::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 0.2rem;
	height: 0.2rem;
	background: url("/images/wheat.png") center/contain no-repeat;
	transform: translateY(-50%);
	transition: background-image 0.2s ease;
}

.topbar-switches a::before {
	left: 0;
}

.topbar-switches a::after {
	right: 0;
	transform: translateY(-50%) scaleX(-1);
}

.topbar-switches a:hover::before,
.topbar-switches a:hover::after,
.topbar-switches a.is-active::before,
.topbar-switches a.is-active::after {
	background-image: url("/images/wheat2.png");
}

.topbar-switches a.is-active {
	color: #0b8c7f;
	font-weight: 700;
}

.topbar-search {
	position: relative;
	display: inline-flex;
	align-items: center;
	width: 2.1rem;
	border: 1px solid #d2d7da;
	border-radius: 999px;
	background: #efefef;
}

.topbar-search input {
	width: 100%;
	height: 0.3rem;
	border: 0;
	outline: 0;
	background: transparent;
	padding: 0 0.34rem 0 0.14rem;
	font-size: 0.13rem;
	color: #5f666b;
}

.topbar-search input::placeholder {
	color: #a0a8ad;
}

.topbar-search-icon {
	position: absolute;
	right: 0.12rem;
	top: 50%;
	width: 0.14rem;
	height: 0.14rem;
	transform: translateY(-50%);
	background: url("/images/search_icon.svg") center/contain no-repeat;
	pointer-events: none;
}

.site-head {
	background: #fff;
	border-bottom: 1px solid #eceff0;
	padding: 0.2rem 0;
}

.site-head-inner {
	min-height: 0.9rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.2rem;
}

.site-brand img {
	width: min(4rem, 100%);
	height: auto;
}

.site-nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: nowrap;
	white-space: nowrap;
	gap: 0.2rem;
	font-size: 0.18rem;
	line-height: 1.2;
	font-family: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
	color: #333a41;
}

.site-nav-item > .site-nav-link {
	position: relative;
	flex: 0 0 auto;
	padding: 0.12rem 0;
}

.site-nav-item > .site-nav-link.is-active,
.site-nav-item > .site-nav-link:hover {
	color: #0a8e84;
}

.site-nav-item > .site-nav-link.is-active::after,
.site-nav-item > .site-nav-link:hover::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -0.05rem;
	height: 0.02rem;
	background: #0a8e84;
}

.site-nav-item {
	position: relative;
}

.site-nav-toggle,
.mobile-nav-drawer {
	display: none;
}

.site-subnav {
	position: absolute;
	top: calc(100% + 0.15rem);
	left: 50%;
	transform: translate(-50%, 0.08rem);
	min-width: 2rem;
	border: 2px solid var(--green);
	padding: 0.26rem 0.3rem;
	background: #fff;
	box-shadow: 0 0.1rem 0.24rem rgba(0, 0, 0, 0.08);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition:
		opacity 0.18s ease,
		transform 0.18s ease;
	z-index: 20;
}

.site-subnav::before {
	content: "";
	position: absolute;
	top: -0.12rem;
	left: 50%;
	transform: translateX(-50%);
	border-left: 0.1rem solid transparent;
	border-right: 0.1rem solid transparent;
	border-bottom: 0.12rem solid var(--green);
}

.site-subnav a {
	display: block;
	padding: 0.08rem 0;
	font-size: 0.18rem;
	line-height: 1.5;
	letter-spacing: 0.01em;
	color: #3b3f44;
	text-align: center;
}

.site-subnav a:hover {
	color: #0a8e84;
}

.site-nav-item.has-submenu:hover .site-subnav,
.site-nav-item.has-submenu:focus-within .site-subnav {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate(-50%, 0);
}

.site-footer-edu {
	color: #e7f5f3;
	background:
		linear-gradient(rgba(0, 115, 95, 0.9), rgba(0, 40, 33, 0.9)),
		url(/images/home/bg.jpg) center / cover no-repeat;
}

.footer-top-inner {
	--footer-col-gap: 0.32rem;
	min-height: 2.56rem;
	padding: 0.36rem 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: var(--footer-col-gap);
	row-gap: 0;
	align-items: center;
	font-size: 0.14rem;
	line-height: 1.75;
	position: relative;
}

.footer-contact {
	min-height: 1.04rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.08rem;
	font-size: 0.16rem;
	padding-right: 0.08rem;
}

.footer-contact-left {
	position: relative;
}

.footer-contact-mid {
	position: relative;
}

.footer-contact-left::after,
.footer-contact-mid::after {
	content: "";
	position: absolute;
	right: calc(var(--footer-col-gap) / -2);
	top: 50%;
	width: 1px;
	height: 1.06rem;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.22);
}

.footer-socials {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	overflow: visible;
}

.footer-social {
	position: relative;
	width: 0.58rem;
	height: 0.58rem;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease;
}

.footer-social:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.6);
	transform: translateY(-0.02rem);
}

.footer-social > .footer-social-icon {
	width: 0.26rem;
	height: 0.26rem;
	display: block;
	background-color: #fff;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.footer-social > .icon-wechatapp {
	-webkit-mask-image: url("/images/wechatapp.svg");
	mask-image: url("/images/wechatapp.svg");
}

.footer-social > .icon-wechat {
	-webkit-mask-image: url("/images/wechat.svg");
	mask-image: url("/images/wechat.svg");
}

.footer-social > .icon-wechatv {
	-webkit-mask-image: url("/images/wechatV.svg");
	mask-image: url("/images/wechatV.svg");
}

.footer-social > .icon-douyin {
	-webkit-mask-image: url("/images/douyin.svg");
	mask-image: url("/images/douyin.svg");
}

.footer-qr-pop {
	position: absolute;
	display: block;
	left: 50%;
	bottom: calc(100% + 0.18rem);
	transform: translateX(-50%) translateY(0.06rem);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	z-index: 30;
	transition:
		opacity 0.2s ease,
		transform 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
	.footer-social.has-pop:hover .footer-qr-pop,
	.footer-social.has-pop:focus-visible .footer-qr-pop {
		opacity: 1;
		visibility: visible;
		transform: translateX(-50%) translateY(0);
	}
}

@media (hover: none), (pointer: coarse) {
	.footer-social.has-pop.is-open .footer-qr-pop {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translateX(-50%) translateY(0);
	}
}

.footer-qr-inner {
	position: relative;
	display: flex;
	background: #fff;
	width: 1.52rem;
	padding: 0.12rem 0.12rem 0.1rem;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	line-height: 1;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
	border-radius: 0.01rem;
}

.footer-qr-inner::after {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: -0.14rem;
	border-width: 0.08rem;
	border-style: solid;
	border-color: #fff transparent transparent transparent;
}

.footer-qr-inner img {
	width: 1.28rem;
	height: 1.28rem;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: #fff;
	flex: none;
}

.footer-qr-text {
	display: block;
	text-align: center;
	color: #333;
	font-size: 0.18rem;
	line-height: 1.35;
	margin-top: 0.08rem;
	white-space: nowrap;
	flex: none;
	font-size: 0.14rem;
}

.footer-bottom-strip {
	border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.footer-bottom-inner {
	min-height: 0.96rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.28rem;
	font-size: 0.16rem;
	line-height: 1.6;
}

.footer-links {
	display: flex;
	align-items: center;
	gap: 0.66rem;
	white-space: nowrap;
}

.footer-links a {
	font-size: 0.14rem;
	transition: opacity 0.2s ease;
}

.footer-links a:hover {
	opacity: 0.85;
}

.footer-icp {
	display: inline-flex;
	align-items: center;
	gap: 0.12rem;
	white-space: nowrap;
	font-size: 0.14rem;
	font-weight: 400;
}

.footer-conac {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.footer-conac img {
	width: 0.35rem;
	height: auto;
	transition:
		transform 0.2s ease,
		opacity 0.2s ease;
}

.footer-conac:hover img {
	transform: translateY(-0.02rem) scale(1.04);
	opacity: 0.95;
}

/* Topbar visual alignment (match design) */
.site-topbar {
	color: #666;
	font-size: 0.14rem;
}

.site-topbar-inner {
	min-height: 0.72rem;
}

.topbar-switches {
	gap: 0.16rem;
}

.topbar-switches a {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 0.28rem;
	padding: 0 0.2rem;
	color: #666;
	font-size: 0.16rem;
	line-height: 1;
}

.topbar-switches a::before,
.topbar-switches a::after {
	content: "";
	position: absolute;
	top: 50%;
	display: block;
	width: 0.18rem;
	height: 0.18rem;
	background: url("/images/wheat.png") center/contain no-repeat;
	transform: translateY(-50%);
	opacity: 0.95;
}

.topbar-switches a::before {
	left: 0.02rem;
}

.topbar-switches a::after {
	right: 0.02rem;
	transform: translateY(-50%) scaleX(-1);
}
.topbar-switches a:hover {
	font-size: 0.16rem;
	color: #008f86;
	font-weight: 700;
}
.topbar-switches a:hover::before,
.topbar-switches a:hover::after,
.topbar-switches a.is-active::before,
.topbar-switches a.is-active::after {
	background-image: url("/images/wheat2.png");
}

.topbar-switches a.is-active {
	color: #008f86;
	font-weight: 700;
}

.topbar-search {
	position: relative;
	display: inline-flex;
	align-items: center;
	width: 2.2rem;
	height: 0.4rem;
	border: 1px solid #d2d7da;
	border-radius: 999px;
	background: #f0f0f0;
}

.topbar-search input {
	width: 100%;
	height: 100%;
	border: 0;
	outline: 0;
	background: transparent;
	padding: 0 0.54rem 0 0.2rem;
	font-size: 0.13rem;
	color: #666;
}

.topbar-search input::placeholder {
	color: #b6b6b6;
}

.topbar-search-icon {
	position: absolute;
	right: 0.12rem;
	top: 50%;
	width: 0.2rem;
	height: 0.2rem;
	transform: translateY(-50%);
	background: url("/images/search_icon.svg") center/contain no-repeat;
	cursor: pointer;
	pointer-events: auto;
}

.topbar-search-icon::before {
	content: "";
	position: absolute;
	left: -0.12rem;
	top: 50%;
	width: 1px;
	height: 0.16rem;
	transform: translateY(-50%);
	background: #d2d7da;
}

@media (max-width: 900px) {
	.site-topbar {
		display: none;
	}

	/* Mobile text floor: keep all text at least 12px */
	body,
	body * {
		font-size: max(12px, 1em);
	}

	.site-wrap {
		width: min(16.8rem, 100% - 0.24rem);
	}

	.site-topbar-inner {
		min-height: 0.56rem;
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		padding: 0.08rem 0;
	}

	.topbar-switches {
		flex-wrap: wrap;
		gap: 0.1rem;
	}

	.topbar-search {
		width: min(3.3rem, 100%);
		height: 0.36rem;
	}

	.site-head-inner {
		min-height: 0.86rem;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding: 0.1rem 0;
		position: relative;
		z-index: 320;
	}

	.site-brand img {
		width: min(4.2rem, 74vw);
	}

	.site-nav-toggle {
		width: 0.48rem;
		height: 0.48rem;
		border: 0;
		background: transparent;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 0;
		position: relative;
		z-index: 330;
	}

	.site-nav-toggle span,
	.site-nav-toggle::before,
	.site-nav-toggle::after {
		content: "";
		width: 0.24rem;
		height: 2px;
		background: #25313a;
		border-radius: 2px;
		position: absolute;
		transition:
			transform 0.2s ease,
			opacity 0.2s ease;
	}

	.site-nav-toggle::before {
		transform: translateY(-0.07rem);
	}

	.site-nav-toggle::after {
		transform: translateY(0.07rem);
	}

	.site-nav-toggle[aria-expanded="true"] span {
		opacity: 0;
	}

	.site-nav-toggle[aria-expanded="true"]::before {
		transform: rotate(45deg);
		background: #7a1225;
	}

	.site-nav-toggle[aria-expanded="true"]::after {
		transform: rotate(-45deg);
		background: #7a1225;
	}

	.site-nav {
		display: none;
	}

	.mobile-nav-drawer {
		display: block;
		position: fixed;
		inset: 0;
		background: #f4f4f4;
		z-index: 310;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translateY(-0.16rem);
		transition:
			opacity 0.2s ease,
			transform 0.2s ease;
	}

	.mobile-nav-drawer.is-open {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translateY(0);
	}

	.mobile-nav-panel {
		width: 100%;
		height: 100%;
		margin: 0;
		background: #f4f4f4;
		overflow-y: auto;
		padding-top: 1.06rem;
	}

	.mobile-nav-search {
		position: sticky;
		top: 0;
		z-index: 1;
		height: 0.7rem;
		display: flex;
		align-items: center;
		background: #f4f4f4;
		border-bottom: 1px solid #d9d9d9;
		margin-top: 0.06rem;
	}

	.mobile-nav-search input {
		flex: 1;
		height: 100%;
		border: 0;
		outline: 0;
		background: transparent;
		padding: 0 0.2rem;
		font-size: max(12px, 0.22rem);
		color: #3f4952;
		min-width: 0;
	}

	.mobile-nav-search input::placeholder {
		color: #9a8774;
	}

	.mobile-nav-search-icon {
		flex: 0 0 0.62rem;
		width: 0.28rem;
		height: 0.28rem;
		background: url("/images/search_icon.svg") center/contain no-repeat;
		margin-right: 0.2rem;
	}

	.mobile-menu-list {
		padding-bottom: 0.2rem;
	}

	.mobile-menu-item {
		border-bottom: 1px solid #d9d9d9;
	}

	.mobile-menu-row {
		display: flex;
		align-items: center;
	}

	.mobile-menu-link {
		flex: 1;
		min-height: 0.68rem;
		display: flex;
		align-items: center;
		padding: 0 0.2rem;
		font-size: max(12px, 0.19rem);
		line-height: 1.2;
		color: #102133;
	}

	.mobile-menu-expander {
		width: 0.66rem;
		height: 0.68rem;
		border: 0;
		background: transparent;
		position: relative;
	}

	.mobile-menu-expander::before {
		content: "";
		position: absolute;
		left: 50%;
		top: 50%;
		width: 0.12rem;
		height: 0.12rem;
		border-right: 2px solid #2f3f4d;
		border-bottom: 2px solid #2f3f4d;
		transform: translate(-50%, -62%) rotate(45deg);
		transition: transform 0.2s ease;
	}

	.mobile-menu-item.is-open .mobile-menu-expander::before {
		transform: translate(-50%, -38%) rotate(-135deg);
	}

	.mobile-submenu {
		display: none;
		background: #fff;
		border-top: 1px solid #ececec;
	}

	.mobile-menu-item.is-open .mobile-submenu {
		display: block;
	}

	.mobile-submenu a {
		display: block;
		padding: 0.16rem 0.2rem;
		font-size: max(12px, 0.17rem);
		color: #39434b;
		border-top: 1px solid #efefef;
	}

	.footer-top-inner {
		grid-template-columns: 1fr;
		gap: 0;
		min-height: auto;
		padding: 0.22rem 0 0.16rem;
		font-size: 0.14rem;
		line-height: 1.7;
	}

	.footer-contact {
		min-height: auto;
		gap: 0.08rem;
		font-size: max(12px, 0.14rem);
		line-height: 1.65;
		padding: 0.14rem 0 0;
		font-size: 14px;
	}

	.footer-contact-left,
	.footer-contact-mid {
		padding-right: 0;
		order: 2;
	}

	.footer-contact-left::after,
	.footer-contact-mid::after {
		display: none;
	}

	.footer-socials {
		order: 1;
		display: grid;
		grid-template-columns: repeat(4, max-content);
		justify-content: center;
		gap: 0.12rem 0.4rem;
		padding-bottom: 0.16rem;
	}

	.footer-social {
		width: 1rem;
		height: 1rem;
	}

	.footer-social > .footer-social-icon {
		width: 0.48rem;
		height: 0.48rem;
	}

	.footer-qr-pop {
		bottom: calc(100% + 0.12rem);
	}

	.footer-social.has-pop.is-open .footer-qr-pop {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translateX(-50%) translateY(0);
	}

	.footer-bottom-inner {
		min-height: auto;
		padding: 0.12rem 0 0.2rem;
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		font-size: max(12px, 0.14rem);
		line-height: 1.75;
		gap: 0.1rem;
	}

	.footer-links {
		width: 100%;
		flex-wrap: wrap;
		gap: 0.14rem 0.24rem;
		padding: 0.2rem 0.1rem;
	}
	.footer-links a {
		font-size: 14px;
	}
	.footer-icp {
		width: 100%;
		flex-wrap: wrap;
		white-space: normal;
		gap: 0.08rem 0.16rem;
		font-size: max(12px, 0.14rem);
		align-items: center;
		justify-content: center;
	}
}
