/* ==================== 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: #fefdfa;
	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: 10px;
	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.8rem;
	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: 4rem;
	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: 10px;
	padding-bottom: 0px;
	border-bottom: 1px solid #e5e5e5;
}

.newsBox > .nav-underline > .nav-item > .nav-link {
	font-size: 18px;
	padding: 8px 22px;
	color: #666;
	background-color: #f8f8f8;
	border-radius: 8px 8px 0 0;
	position: relative;
	z-index: 2;
	transition: all 0.3s ease;
	border: 1px solid #e5e5e5;
	border-bottom: none;
}

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

.newsBox > .nav-underline > .nav-item > .nav-link:hover {
	background-color: #fff0f0;
	color: #970000;
	border-color: #ffd0d0;
}

.newsBox > .nav-underline > .nav-item > .nav-link.active {
	background: linear-gradient(180deg, #c91b2e 0%, #970000 100%);
	color: #fff;
	font-weight: 700;
	border-color: #970000;
	box-shadow: 0 -2px 8px rgba(151, 0, 0, 0.2);
}

.newsBox > .nav-underline > .nav-item > .nav-link.active::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #970000;
}

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

.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;
}

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

/* 普通文字列表（含日期） */
.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;
}

/* ==================== 第二行：招生政策 + 招生计划 ==================== */

.secondWidth {
	width: calc(50% - 10px);
	height: 370px;
	padding-left: 20px;
	padding-right: 10px;
	box-shadow: 0 0 5px #ccc;
	border-radius: 10px;
	overflow: hidden;
	background: linear-gradient(135deg, #fff 0%, #fff8f8 100%);
}

/* 第二行每个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 bottom;
	padding-bottom: 40px;
}

.quickEntry > .mainCont {
	display: block;
}

/* 区块标题（学院及专业介绍共用） */
.imgTitle {
	box-sizing: border-box;
	text-align: center;
	padding: 10px 0px;
	position: relative;
}

.imgTitle > h2 {
	display: inline-block;
	width: 220px;
	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% - 90px);
	position: absolute;
	top: 30px;
}

.imgTitle > .lineRight {
	right: 0;
}

/* 学院及专业介绍卡片 */
.quickEntryList {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 20px 15px;
	padding: 15px 0;
}

.quick-item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
	border-radius: 6px;
	/* border-left: 2px solid #970000; */
	border-bottom: 1px solid #945200;
	padding: 5px 8px 5px 11px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
	text-decoration: none;
	color: #333;
	transition: all 0.3s ease;
	box-sizing: border-box;
	text-align: center;
	min-height: 50px;
	width: 100%;
	overflow: hidden;
}

.quick-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(151, 0, 0, 0.06) 0%, transparent 60%);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.quick-item:hover {
	background: #970000;
	color: #fff;
	border-left-color: #c91b2e;
	transform: translateY(-3px) scale(1.02);
	box-shadow: 0 8px 22px rgba(151, 0, 0, 0.3);
}

.quick-item:hover::before {
	opacity: 1;
}

.quick-item span {
	position: relative;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 100%;
}

.quick-item span::before {
	content: '▸';
	display: inline-block;
	margin-right: 4px;
	color: #970000;
	transition: color 0.3s ease;
	font-size: 12px;
}

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

/* Swiper 导航按钮颜色（由 swiper-bundle.min.js 使用） */
.swiper-button-next:after,
.swiper-button-prev:after {
	font-size: 30px;
	color: #9d4242;
}
