/* =========================================================
   responsive.css —— 全站移动端自适应
   仅作用于 <=991px，PC 端（>=992px）完全不受影响
   ========================================================= */

/* ---------------------------------------------------------
   1. 移动端顶栏 + 抽屉菜单（PC 端隐藏）
   --------------------------------------------------------- */
.iy-mhead,
.iy-mdrag,
.iy-mmask {
	display: none;
}

.iy-mhead {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 60px;
	background: #fff;
	box-shadow: 0 2px 10px rgba(11, 40, 84, .08);
	z-index: 999;
	align-items: center;
	justify-content: space-between;
	padding: 0 15px;
}

.iy-mlogo img {
	max-height: 36px;
	width: auto;
	display: block;
}

.iy-mtoggle {
	width: 40px;
	height: 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	cursor: pointer;
}

.iy-mtoggle i {
	display: block;
	width: 22px;
	height: 2px;
	border-radius: 2px;
	background: #003895;
	transition: transform .3s ease, opacity .3s ease;
}

body.iy-mopen .iy-mtoggle i:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

body.iy-mopen .iy-mtoggle i:nth-child(2) {
	opacity: 0;
}

body.iy-mopen .iy-mtoggle i:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.iy-mmask {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, .45);
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s ease, visibility .3s ease;
	z-index: 997;
}

body.iy-mopen .iy-mmask {
	opacity: 1;
	visibility: visible;
}

.iy-mdrag {
	position: fixed;
	right: 0;
	top: 0;
	width: 80%;
	max-width: 320px;
	height: 100%;
	background: #fff;
	transform: translateX(100%);
	transition: transform .35s ease;
	z-index: 998;
	display: flex;
	flex-direction: column;
	padding: 76px 0 30px;
	overflow-y: auto;
	pointer-events: none;
}

body.iy-mopen .iy-mdrag {
	transform: translateX(0);
	pointer-events: auto;
}

.iy-mdrag ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.iy-mdrag ul li {
	border-bottom: 1px solid #eef2f8;
}

.iy-mdrag ul li a {
	display: block;
	padding: 15px 22px;
	font-size: 16px;
	color: #1c2b3f;
}

.iy-mdrag .iy-mlogin {
	margin: 22px 22px 0;
	display: block;
	text-align: center;
	padding: 12px 0;
	border-radius: 24px;
	background: #003895;
	color: #fff;
	font-size: 15px;
}

.iy-mdrag .iy-mlogout {
	margin: 12px 22px 0;
	display: block;
	text-align: center;
	padding: 12px 0;
	border-radius: 24px;
	border: 1px solid #e2e9f3;
	color: #8a99ad;
	font-size: 14px;
}

/* ---------------------------------------------------------
   2. 平板 / 手机通用（<=991px）
   --------------------------------------------------------- */
@media (max-width: 991px) {

	body {
		overflow-x: hidden;
	}

	html {
		overflow-x: hidden;
	}

	body.iy-mopen {
		overflow: hidden;
	}

	.container,
	.container-min {
		max-width: 100%;
		width: 100%;
		padding-left: 15px;
		padding-right: 15px;
	}

	.navbar.hidden-xs {
		display: none !important;
	}

	.iy-mhead {
		display: flex;
	}

	.iy-mdrag {
		display: flex;
	}

	.iy-mmask {
		display: block;
	}

	div.height {
		height: 60px !important;
	}

	/* ---------- 通用内容 ---------- */
	img {
		max-width: 100%;
		height: auto;
	}

	.ncon,
	.scon,
	.casecon {
		font-size: 16px;
		line-height: 1.8;
	}

	/* 后台富文本里的 nowrap 内联样式在手机上会导致溢出，强制换行 */
	.ncon [style*="nowrap"],
	.scon [style*="nowrap"],
	.casecon [style*="nowrap"] {
		text-wrap: wrap !important;
		white-space: normal !important;
		word-break: break-word;
	}

	.scon table {
		display: block;
		width: 100%;
		overflow-x: auto;
	}

	/* ---------- 页面 banner / 二级导航 ---------- */
	.nybanner {
		background-size: cover !important;
		background-position: center !important;
	}

	.nynav .nna {
		flex-wrap: nowrap !important;
		overflow-x: auto;
		justify-content: flex-start;
		-webkit-overflow-scrolling: touch;
	}

	.nynav .nna a {
		flex-shrink: 0;
		font-size: 14px;
		padding: 18px 0;
	}

	/* ---------- 首页 Banner ---------- */
	.home-banner {
		height: auto !important;
	}

	.home-banner .swiper-slide img {
		width: 100%;
		min-height: 200px;
		object-fit: cover;
	}

	.home-banner .swiper-slide .wz {
		padding: 70px 15px 40px;
	}

	.home-banner .swiper-slide .wz .nnt1 {
		font-size: 22px !important;
		line-height: 1.5;
	}

	.home-banner .swiper-slide .wz .nnt2 {
		font-size: 15px !important;
		margin-top: 15px;
	}

	/* ---------- 首页板块间距 ---------- */
	.id1,
	.id2,
	.id3,
	.case,
	.culture,
	.kcst,
	.dqf {
		padding: 45px 0;
	}

	.id1 .id1c {
		flex-direction: column;
		align-items: flex-start;
	}

	.id1 .id1c .id1cl,
	.id1 .id1c .id1cr {
		width: 100%;
	}

	.id1 .id1c .id1cr {
		margin-top: 25px;
	}

	.id1 .id1c .id1cl .ssb {
		flex-wrap: wrap;
	}

	.id1 .id1c .id1cl .ssb a {
		width: 46%;
		margin-right: 4%;
		margin-bottom: 12px;
		font-size: 15px;
		padding: 12px 0;
	}

	.id1 .id1c .id1cl .t1 {
		font-size: 26px;
		line-height: 1.4;
	}

	.id2 h2 {
		font-size: 26px;
	}

	.id2list .item {
		width: 31%;
		margin-right: 3.5%;
		margin-top: 35px;
	}

	.id2list .item:nth-child(3n) {
		margin-right: 0;
	}

	.id2list .item:nth-child(2n) {
		margin-right: 3.5%;
	}

	.id3 .id3t .tl {
		font-size: 26px;
	}

	.chuangshi .cscon {
		flex-direction: column;
	}

	.chuangshi .cscon .csconl,
	.chuangshi .cscon .csconr {
		width: 100%;
	}

	.chuangshi .cscon .csconr {
		margin-top: 30px;
	}

	.chuangshi .cscon .csconr .nddtlist .item {
		width: 48%;
		margin-right: 4%;
	}

	.chuangshi .cscon .csconr .nddtlist .item:nth-child(2n) {
		margin-right: 0;
	}

	/* ---------- 首页课程表（独立区块） ---------- */
	.iidkc {
		padding: 45px 0;
	}

	.nntitle {
		font-size: 26px;
		line-height: 1.5;
	}

	.kctt {
		flex-wrap: wrap;
		gap: 8px;
	}

	.inav {
		width: 100%;
		overflow-x: auto;
		flex-wrap: nowrap;
		-webkit-overflow-scrolling: touch;
	}

	.inav a {
		flex-shrink: 0;
		font-size: 14px;
		padding: 10px 14px;
		white-space: nowrap;
	}

	.kccon {
		flex-direction: column;
		padding: 16px;
		margin-top: 30px;
		gap: 18px;
	}

	.kccon .kcl,
	.kccon .kcc,
	.kccon .kcr {
		width: 100%;
	}

	.kccon .kcl {
		padding: 18px;
	}

	.kcbbcon {
		max-height: 360px;
	}

	.kccon .kcc .iimg img {
		width: 100%;
	}

	.kccon .kcr .kcrb {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.kccon .kcr .kcrb .item {
		width: 48%;
	}

	/* ---------- 首页辅导 / 关于我们 ---------- */
	.dqf .dqft {
		flex-wrap: wrap;
		gap: 10px;
	}

	.dqf .dqft .tl {
		font-size: 24px;
	}

	.dqf .dqfb {
		flex-wrap: wrap;
		gap: 12px;
		font-size: 14px;
	}

	.idabout .bb2 {
		max-width: 100%;
	}

	.idabout .jzcon {
		flex-direction: column;
		margin-top: 35px;
	}

	.idabout .jzcon .jzcl,
	.idabout .jzcon .jzcr {
		width: 100%;
	}

	.idabout .jzcon .jzcr {
		margin-top: 30px;
	}

	.idabout .jzcon .jzcl .jjclist .item {
		width: 100%;
	}

	/* ---------- 课程列表页 ---------- */
	.kcst .kcstt {
		flex-wrap: wrap;
		gap: 15px;
		padding: 18px;
	}

	.kcst .kcstt .ktl {
		font-size: 24px;
	}

	.kcst .kclist .item {
		width: 48%;
		margin-right: 4%;
	}

	.kcst .kclist .item:nth-child(2n) {
		margin-right: 0;
	}

	.kcst .kclist .item:nth-child(3n) {
		margin-right: 4%;
	}

	/* ---------- 课程详情节 ---------- */
	.tnncon {
		flex-direction: column;
	}

	.tnncl,
	.tnncr {
		width: 100% !important;
		max-height: none;
	}

	.tnncr {
		margin-top: 20px;
	}

	.course-player video {
		height: auto;
	}

	.tn1 {
		font-size: 24px;
	}

	/* ---------- 产品列表 / 详情 ---------- */
	.nprolist {
		flex-wrap: wrap;
	}

	.nprolist .item {
		width: 48%;
		margin-right: 4%;
		margin-top: 25px;
	}

	.nprolist .item:nth-child(2n) {
		margin-right: 0;
	}

	.procnn {
		flex-direction: column;
	}

	.procnnl,
	.procnnr {
		width: 100% !important;
	}

	.procnnl .nlist {
		display: flex;
		flex-wrap: wrap;
		gap: 10px;
	}

	.procnnl .nlist .item {
		width: 48%;
		margin: 0;
	}

	.procnnr {
		margin-top: 25px;
	}

	/* ---------- 案例 ---------- */
	.caselist .item {
		width: 48%;
		margin-right: 4%;
	}

	.caselist .item:nth-child(2n) {
		margin-right: 0;
	}

	.caselist .item:nth-child(3n) {
		margin-right: 4%;
	}

	/* ---------- 关于我们 ---------- */
	.nyab1 .ncon {
		flex-direction: column;
	}

	.nyab1 .ncon .ncl,
	.nyab1 .ncon .ncr {
		width: 100%;
	}

	.nyab1 .ncon .ncr {
		margin-top: 25px;
	}

	.nab2list .item {
		width: 48%;
		margin-right: 4%;
	}

	.nab2list .item:nth-child(2n) {
		margin-right: 0;
	}

	/* ---------- 新闻 / 文化 / 相册 / 专家 ---------- */
	.clist .item,
	.clist2 .item,
	.zzlist1 .item,
	.zzlist2 .item {
		margin-right: 0;
	}

	.clist .item {
		width: 100%;
	}

	.clist2 .item,
	.zzlist1 .item,
	.zzlist2 .item {
		width: 48%;
	}

	.zzlist2 .item:nth-child(2n) {
		margin-right: 0;
	}

	.zzlist1 .item:nth-child(2n) {
		margin-right: 0;
	}

	/* ---------- PDF 列表 ---------- */
	.pdf .pdflist .item {
		flex-wrap: wrap;
		gap: 8px 0;
	}

	.pdf .pdflist .item .t1 {
		width: 100%;
	}

	.pdf .pdflist .item .t2,
	.pdf .pdflist .item .t3,
	.pdf .pdflist .item .t4 {
		width: 32%;
	}

	.pdf .st {
		flex-wrap: wrap;
		gap: 10px;
	}

	/* ---------- 联系我们 ---------- */
	.ccontact .ccnn {
		flex-direction: column;
	}

	.ccontact .ccnn .ccnnl,
	.ccontact .ccnn .ccnnr {
		width: 100%;
	}

	.ccontact .ccnn .ccnnr {
		margin-top: 25px;
	}

	/* ---------- 搜索页 ---------- */
	.pro {
		flex-direction: column;
	}

	.prol,
	.pror {
		width: 100% !important;
	}

	.pror {
		margin-top: 20px;
	}

	.newslist .item .acon .dtl {
		width: 100%;
	}

	.newslist .item .acon .dtr {
		width: 100%;
		margin-top: 8px;
	}

	/* ---------- 商学院 ---------- */
	.yxyj,
	.szl {
		padding: 40px 0;
	}

	.szlist {
		flex-wrap: wrap;
	}

	.szlist .item {
		width: 48%;
		margin-right: 4%;
	}

	.szlist .item:nth-child(2n) {
		margin-right: 0;
	}

	/* ---------- 页脚 ---------- */
	.ftop {
		flex-wrap: wrap;
		gap: 15px;
	}

	.footer .fcen,
	footer .fcen {
		flex-wrap: wrap;
	}

	footer .fnav {
		flex-wrap: wrap;
	}

	footer .fnav a {
		width: 25%;
		font-size: 14px;
		margin: 8px 0;
	}

	footer .fbottom {
		line-height: 1.8;
		font-size: 13px;
	}

	.rrmeg {
		right: 12px;
		bottom: 20px;
	}

	.rrmeg img {
		width: 54px;
	}

	/* ---------- 分页 ---------- */
	.pagebar .pagination,
	.page .pagination {
		flex-wrap: wrap;
		gap: 8px;
	}

	/* ---------- 搜索弹层 ---------- */
	.sec {
		padding: 15px 0;
	}

	.sec input {
		max-width: 100%;
	}
}

/* ---------------------------------------------------------
   3. 手机（<=767px）
   --------------------------------------------------------- */
@media (max-width: 767px) {

	.id1,
	.id2,
	.id3,
	.case,
	.culture,
	.kcst,
	.dqf,
	.iidkc,
	.yxyj,
	.szl {
		padding: 35px 0;
	}

	/* 手机端 banner：图片在上、文案在下，避免文字被裁切 */
	.home-banner .swiper-slide img {
		width: 100%;
		height: auto;
		min-height: 0;
	}

	.home-banner .swiper-slide .wz {
		position: static;
		height: auto;
		display: block;
		padding: 18px 15px 20px;
		background: #0b2c5a;
	}

	.home-banner .swiper-slide .wz .nnt1 {
		font-size: 15px !important;
		line-height: 1.8;
	}

	.home-banner .swiper-slide .wz .nnt2 {
		font-size: 13px !important;
		margin-top: 12px;
	}

	.id2 h2,
	.id3 .id3t .tl,
	.dqf .dqft .tl,
	.id1 .id1c .id1cl .t1 {
		font-size: 22px;
	}

	.id2list .item,
	.id3list .item {
		width: 48%;
		margin-right: 4% !important;
	}

	.id2list .item:nth-child(2n),
	.id3list .item:nth-child(2n) {
		margin-right: 0 !important;
	}

	.id2list .item:nth-child(3n) {
		margin-right: 4%;
	}

	.kccon .kcl,
	.kccon .kcc,
	.kccon .kcr {
		width: 100%;
	}

	.kcst .kclist .item {
		width: 100%;
		margin-right: 0;
		margin-top: 15px;
	}

	.kcst .kclist .item:nth-child(3n),
	.kcst .kclist .item:nth-child(2n) {
		margin-right: 0;
	}

	.nprolist .item,
	.caselist .item,
	.clist2 .item,
	.zzlist1 .item,
	.zzlist2 .item,
	.szlist .item,
	.nab2list .item {
		width: 49%;
		margin-right: 2%;
		margin-top: 20px;
	}

	.nprolist .item:nth-child(2n),
	.caselist .item:nth-child(2n),
	.clist2 .item:nth-child(2n),
	.zzlist1 .item:nth-child(2n),
	.zzlist2 .item:nth-child(2n),
	.szlist .item:nth-child(2n),
	.nab2list .item:nth-child(2n) {
		margin-right: 0;
	}

	.nprolist .item:nth-child(3n),
	.caselist .item:nth-child(3n) {
		margin-right: 2%;
	}

	.chuangshi .cscon .csconr .nddtlist .item {
		width: 48%;
	}

	.ccontact .ccnn .ccnnr form ul li {
		width: 100%;
	}

	.footer .ftop,
	footer .ftop {
		flex-direction: column;
		align-items: flex-start;
	}

	.footer .fcen,
	footer .fcen {
		font-size: 20px;
	}

	.pdf .pdflist .item .t2 {
		width: 46%;
	}

	.pdf .pdflist .item .t3 {
		width: 50%;
	}

	.pdf .pdflist .item .t4 {
		width: 100%;
	}

	.tn1 {
		font-size: 20px;
	}

	.tn2 {
		font-size: 14px;
	}

	.page .pagination a,
	.pagebar .pagination a {
		font-size: 13px;
		padding: 6px 10px;
	}
}

/* ---------------------------------------------------------
   4. 小屏手机（<=480px）
   --------------------------------------------------------- */
@media (max-width: 480px) {

	.home-banner .swiper-slide img {
		min-height: 160px;
	}

	.id1 .id1c .id1cl .ssb a {
		width: 100%;
		margin-right: 0;
	}

	.id2list .item .wz,
	.id3list .item .wz {
		font-size: 13px;
	}

	.kccon .kcr .kcrb .item {
		width: 100%;
	}

	.nprolist .item,
	.caselist .item,
	.clist2 .item,
	.zzlist1 .item,
	.zzlist2 .item,
	.szlist .item,
	.nab2list .item {
		width: 100%;
		margin-right: 0;
	}

	footer .fnav a {
		width: 33.33%;
	}

	.ccontact .ccnn .ccnnr form ul li {
		width: 100%;
	}
}
