/* ==================== CSS 变量 ==================== */
:root {
	--primary-red: #d32f2f;
	--dark-red: #b71c1c;
	--light-gray: #f8f9fa;
	--dark-gray: #343a40;
}

/* ==================== 基础布局 ==================== */

/* 顶部Banner轮播容器 */
.zzl-swiper {
	background-image: linear-gradient(to bottom, #ffe9e4, #fffcf4);
}

.zzl-swiper > div {
	width: 1400px;
	margin: 0 auto;
}

/* 页面主容器 */
.mainBox {
	background-color: #fffcf4;
	padding-top: 0px;
	min-width: 1400px;
}

.mainBox > .mainCont {
	width: 1400px;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 30px;
}

/* ==================== 左侧：招生文章轮播图 ==================== */

.mainBox > .mainCont > .newsSwiper {
	width: 650px;
	height: 460px;
	margin-top: 15px;
	border: 1px #ccc solid;
}

.newsSwiper {
	position: relative;
	height: 460px;
	border-radius: 7px;
	overflow: hidden;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* 轮播项 */
.newsSwiper .carousel-item {
	height: 460px;
	transition: transform 0.6s ease-in-out;
}

.newsSwiper .carousel-item img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

/* 轮播标题遮罩 */
.newsSwiper .carousel-caption {
	background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent);
	bottom: 0;
	left: 0;
	right: 0;
	padding: 150px 3rem 1.5rem;
	text-align: left;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
}

.newsSwiper .carousel-caption h3 {
	font-size: 1.3rem;
	font-weight: 700;
	margin: 0;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.newsSwiper .carousel-caption p {
	display: none;
}

/* 轮播指示器（圆点） */
.newsSwiper .carousel-indicators {
	margin-bottom: 5rem;
	justify-content: center;
	margin-left: 4%;
}

.newsSwiper .carousel-indicators [data-bs-target] {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 2px solid white;
	background: transparent;
	margin: 0 6px;
}

.newsSwiper .carousel-indicators .active {
	background: white;
}

/* 轮播左右控制按钮 */
.newsSwiper .carousel-control-prev,
.newsSwiper .carousel-control-next {
	width: 50px;
	height: 50px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	top: 50%;
	transform: translateY(-50%);
	margin: 0 30px;
	transition: all 0.3s ease;
}

.newsSwiper .carousel-control-prev:hover,
.newsSwiper .carousel-control-next:hover {
	background: var(--primary-red);
}

/* ==================== 右侧：招生快讯 / 通知公告 ==================== */

.newsNoteWidth {
	width: calc(100% - 700px);
	min-height: 530px;
}

/* Tab 容器 */
.newsBox {
	box-sizing: border-box;
	padding: 10px 0px;
	position: relative;
	align-self: flex-start;
}

/* Tab 标题栏 */
.newsBox > .nav-underline {
	gap: 4px;
}

.newsBox > .nav-underline > .nav-item > .nav-link {
	font-size: 20px;
	padding-left: 10px;
	padding-right: 10px;
	color: #c91b2e;
	position: relative;
	z-index: 2;
}

.newsBox > .nav-underline > .nav-item > .nav-link > span {
	color: #000;
}

.newsBox > .nav-underline > .moreCont {
	align-self: center;
	padding-right: 10px;
	margin-top: 10px;
}

.newsBox > .nav-underline > .moreCont > a {
	text-decoration: none;
	color: rgba(33, 37, 41, 0.5);
	font-size: 12px !important;
}

.newsBox > .nav-underline > .moreCont > a > i {
	font-size: 12px !important;
}

.newsBox > .nav-underline > .moreCont > a:hover {
	color: #c91b2e;
}

/* Tab 底部装饰线 */
.newsBox > .bottom-line {
	position: absolute;
	left: 0;
	top: 56px;
	display: inline-block;
	width: 100%;
	height: 2px;
	background-color: #ccc;
	z-index: 0;
}

/* ==================== 列表公共样式 ==================== */

/* 普通文字列表（含日期） */
.note-ul {
	list-style: none;
	padding: 0;
	margin: 0;
	margin-top: 20px;
	margin-bottom: 20px;
	padding-right: 10px;
}

.note-ul > li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 7px !important;
	padding-bottom: 7px !important;
	padding-left: 10px !important;
	font-size: 18px;
	background-image: url('../images/box_1.gif');
	background-repeat: no-repeat;
	background-position: left center;
}

.note-ul > li > a {
	display: inline-block;
	width: calc(100% - 135px);
	color: #475568;
}

.note-ul > li > a:hover {
	text-decoration: none;
	color: #c91b2e;
}

.note-ul > li > span {
	display: inline-block;
	width: 115px;
	color: #94a3b8;
	text-align: right;
}

/* 无日期列表 */
.note-ul-no-date > li > a {
	width: 100%;
}

/* 图片 + 文字列表 */
.note-ul-img {
	list-style: none;
	padding: 0;
	margin: 0;
	margin-top: 10px;
	margin-bottom: 10px;
	padding-right: 0px;
}

.note-ul-img > li {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding-top: 5px;
	padding-bottom: 5px;
	font-size: 18px;
	background-repeat: no-repeat;
	background-position: left center;
}

.note-ul-img > li > img {
	width: 160px;
	height: 100px;
	object-fit: cover;
}

.note-ul-img > li > .img-cont {
	width: calc(100% - 175px);
}

.note-ul-img > li > .img-cont > .img-date {
	color: #aaa;
	font-size: 14px;
	line-height: 22px;
	margin-top: 6px;
}

.note-ul-img > li > .img-cont > .img-title {
	display: block;
	font-size: 18px;
	height: 35px;
	line-height: 35px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.note-ul-img > li > .img-cont > .img-title:hover {
	color: #c91b2e;
}

.note-ul-img > li > .img-cont > .img-abstract {
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-box-orient: vertical;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	font-size: 14px;
	height: 37px;
	line-height: 18px;
	color: #999;
}

/* 旧版图文列表（当前未使用，保留兼容） */
.news-text {
	padding: 0px;
	padding-top: 10px;
}

.news-text > ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.news-text > ul > li {
	display: flex;
	justify-content: space-between;
	margin-bottom: 5px;
	padding: 10px 5px;
}

.news-text > ul > li:hover {
	-webkit-animation-name: pulse;
	animation-name: pulse;
	background-color: #f8f8f8;
}

.news-date {
	width: 70px;
	height: 70px;
	box-sizing: border-box;
	border: 1px solid #9d4242;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
	color: #9d4242;
	border-radius: 5px;
}

.news-date > h2 {
	padding: 0px;
	margin: 2px;
	font-size: 24px;
}

.news-date > h3 {
	width: 100%;
	padding: 0px;
	margin: 0px;
	font-weight: 100;
	font-size: 16px;
	background-color: #9d4242;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	color: #fffcf4;
	text-align: center;
	height: 28px;
	line-height: 28px;
}

.news-list {
	width: calc(100% - 100px);
	text-decoration: none;
	color: #475568;
}

.news-list:hover {
	color: #c91b2e;
	text-decoration: none;
}

.news-list > .news-title {
	font-weight: 500;
	font-size: 18px;
	margin-top: 5px;
	margin-bottom: 5px;
}

.news-list > .news-abstract {
	font-size: 14px;
	color: #999;
	line-height: 1.3em;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-line-clamp: 2;
	display: -webkit-box;
	-webkit-box-orient: vertical;
}

/* ==================== 第二行：招生简章/计划 + 招生政策/院系专业 ==================== */

.secondWidth {
	width: calc(50% - 10px);
	height: 370px;
	padding-left: 20px;
	padding-right: 10px;
	box-shadow: 0 0 5px #ccc;
	border-radius: 10px;
	overflow: hidden;
}

.secondWidth .bottom-line {
	left: 20px;
	width: calc(100% - 40px);
}

/* 第二行每个Tab最多显示6条 */
.secondWidth .note-ul li:nth-child(n+7),
.secondWidth .note-ul-no-date li:nth-child(n+7) {
	display: none;
}

#downCont {
	padding-left: 0px;
	padding-right: 0px;
}

/* ==================== 第三行：快速入口 ==================== */

.quickEntry {
	background-image: url('../images/m5-bg.png');
	background-repeat: no-repeat;
	background-position: center top;
	padding-bottom: 40px;
}

.quickEntry > .mainCont {
	display: block;
}

/* 区块标题（快速入口共用） */
.imgTitle {
	box-sizing: border-box;
	text-align: center;
	padding: 20px 0px;
	position: relative;
}

.imgTitle > h2 {
	display: inline-block;
	width: 120px;
	font-size: 22px;
	color: #000000;
	font-weight: bold;
	background-color: inherit;
	box-sizing: border-box;
	padding: 5px 10px;
}

.imgTitle > .imgLine {
	height: 1px;
	background-color: #ebebeb;
	width: calc(50% - 60px);
	position: absolute;
	top: 40px;
}

.imgTitle > .lineRight {
	right: 0;
}

/* 快速入口卡片 */
.quickEntryList {
	display: flex;
	justify-content: space-between;
	gap: 25px;
	padding: 20px 0;
}

.quick-item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background-color: #fff;
	border-radius: 12px;
	padding: 35px 20px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
	text-decoration: none;
	color: #333;
	transition: all 0.3s ease;
}

.quick-item:hover {
	background-color: #970000;
	color: #fff;
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(151, 0, 0, 0.25);
}

.quick-item i {
	font-size: 48px;
	margin-bottom: 15px;
	color: #970000;
	transition: color 0.3s ease;
}

.quick-item:hover i {
	color: #fff;
}

.quick-item span {
	font-size: 20px;
	font-weight: 500;
}

/* ==================== 第四行：友情链接/合作单位 ==================== */

.partner {
	min-height: 450px;
	background-image: url('../images/m5-bg.png');
	background-repeat: no-repeat;
	background-position: center bottom;
}

.partner > .mainCont {
	display: block;
}

.partner > .mainCont > .imgTitle > h2 {
	width: 220px;
}

.partner > .mainCont > .imgTitle > .imgLine {
	width: calc(50% - 110px);
}

.partner > .mainCont > .partnerCont {
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 10px;
}

.partner > .mainCont > .partnerCont > a {
	flex: 0 0 calc(20% - 10px);
	max-width: calc(20% - 10px);
	box-sizing: border-box;
	padding: 2px 10px;
	border-right: 1px solid #999;
	margin-bottom: 10px;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* 每行最后一个去掉右边框 */
.partner > .mainCont > .partnerCont > a:nth-child(5n) {
	border-right: none;
}

/* ==================== 工作剪影（旧版模块，当前未使用） ==================== */

.workImg {
	height: 410px;
	background-image: url('../images/m5-bg.png');
	background-repeat: no-repeat;
	background-position: center top;
}

.workImg > .mainCont {
	display: block;
}

.workImg .card-title {
	text-align: center;
}

.moreWork {
	width: 1400px;
	box-sizing: border-box;
	text-align: center;
	font-size: 16px;
	color: #c91b2e;
	padding: 30px;
	margin: 0 auto;
}

.moreWork > a:hover {
	color: #c91b2e;
}

/* ==================== 遗留/兼容性样式 ==================== */

.note-ul-date {
	list-style: none;
	padding: 0;
	margin: 0;
	margin-top: 10px;
	margin-bottom: 10px;
	padding-right: 0px;
	min-height: 330px;
}

.note-ul-date > li {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding-top: 8px;
	padding-bottom: 11px;
	font-size: 18px;
	background-repeat: no-repeat;
	background-position: left center;
}

.note-ul-date > li > .img-cont {
	width: calc(100% - 80px);
}

.note-ul-date > li > .img-cont > .img-title {
	display: block;
	font-size: 18px;
	height: 32px;
	line-height: 32px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #000;
}

.note-ul-date > li > .img-cont > .img-title:hover {
	color: #9d4242;
}

.note-ul-date > li > .img-cont > .img-abstract {
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-box-orient: vertical;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	font-size: 14px;
	height: 40px;
	line-height: 21px;
	color: #999;
}

.pubdate {
	border-radius: 5px;
	overflow: hidden;
	border: 1px solid #9d4242;
	margin-top: 5px;
	width: 70px;
	height: 68px;
}

.news_days {
	color: #9d4242;
	font-size: 22px;
	text-align: center;
	line-height: 38px;
}

.news_year {
	text-align: center;
	background: #9d4242;
	color: #fffcf4;
	line-height: 28px;
	font-size: 14px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
	font-size: 30px;
	color: #9d4242;
}

.card-body {
	position: absolute;
	left: 0;
	bottom: 0;
	display: block;
	width: 100%;
	text-align: center;
	color: #fff;
}

.card-body > h4 {
	font-size: 18px;
	font-weight: normal;
}
