﻿@media screen and (max-width: 768px) {

/* Banner 移动端 - 非全屏 */
.banner {
	height: 400px;
	min-height: 400px;
}

.banner-dots {
	bottom: 15px;
	gap: 8px;
}

.dot {
	width: 8px;
	height: 8px;
}

.dot.active::after {
	width: 30px;
	height: 28px;
}

/* 顶部栏 - 紧凑 */
.header {
	position: fixed;
	height: 56px;
	padding: 0 12px;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.header-logo img {
	height: 40px;
	width: auto;
}

/* PC端导航区隐藏 */
.header-nav-area {
	display: none;
}

/* 移动端搜索按钮 */
.header-search-btn {
	display: block;
	width: 22px;
	height: 22px;
	background: url(../images/search.png) center center / contain no-repeat;
	cursor: pointer;
	opacity: 0.85;
	transition: opacity 0.3s;
	flex-shrink: 0;
}

.header-search-btn:hover {
	opacity: 1;
}

/* 汉堡按钮 */
.hamburger {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 36px;
	height: 36px;
	cursor: pointer;
	z-index: 101;
	gap: 5px;
}

.hamburger span {
	display: block;
	width: 22px;
	height: 2px;
	background: #fff;
	transition: all 0.3s;
	border-radius: 1px;
}

.hamburger.active span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
	opacity: 0;
}

.hamburger.active span:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -5px);
}

/* PC端 nav 隐藏 */
#mainNav {
	display: none;
}

/* ============ 移动端导航抽屉（蛋糕层）============ */
.mobile-nav-overlay {
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 199;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;
}

.mobile-nav-overlay.show {
	opacity: 1;
	visibility: visible;
}

.mobile-nav {
	display: block;
	position: fixed;
	top: 0;
	right: 0;
	width: 280px;
	max-width: 80%;
	height: 100%;
	background: #fff;
	z-index: 200;
	transform: translateX(100%);
	transition: transform 0.35s ease;
	overflow-y: auto;
}

.mobile-nav.show {
	transform: translateX(0);
}

.mobile-nav-header {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 12px 16px;
	border-bottom: 1px solid #eee;
}

.mobile-nav-close {
	width: 30px;
	height: 30px;
	cursor: pointer;
	position: relative;
}

.mobile-nav-close::before,
.mobile-nav-close::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 2px;
	background: #333;
}

.mobile-nav-close::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-nav-close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-nav-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.mobile-nav-list > li {
	border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-list > li > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	font-size: 15px;
	color: #333;
	text-decoration: none;
	transition: background 0.2s;
}

.mobile-nav-list > li > a:active {
	background: #f5f5f5;
}

.mobile-nav-list > li > a .arrow {
	width: 8px;
	height: 8px;
	border-right: 2px solid #999;
	border-bottom: 2px solid #999;
	transform: rotate(-45deg);
	transition: transform 0.3s;
}

.mobile-nav-list > li.open > a .arrow {
	transform: rotate(45deg);
}

.mobile-nav-list > li > a.active-link {
	color: #419038;
	font-weight: bold;
}

/* 二级栏目 */
.mobile-sub-nav {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s ease;
	background: #fafafa;
}

.mobile-nav-list > li.open > .mobile-sub-nav {
	max-height: 300px;
}

.mobile-sub-nav a {
	display: block;
	padding: 12px 16px 12px 32px;
	font-size: 14px;
	color: #555;
	text-decoration: none;
	border-bottom: 1px solid #f0f0f0;
	transition: color 0.2s;
}

.mobile-sub-nav a:active {
	color: #419038;
}

/* ============ 搜索弹窗移动端 ============ */
.search-box {
	width: 90%;
}

.search-box input {
	padding: 12px 15px;
	font-size: 14px;
}

.search-box button {
	padding: 12px 18px;
}

/* ============ 内容区移动端 ============ */
.content-section {
	padding: 30px 0 40px;
}

.content-row {
	flex-direction: column;
	gap: 30px;
}

.news-col,
.notice-col {
	width: 100%;
}

.section-title h2 {
	font-size: 24px;
}

.section-header {
	margin-bottom: 20px;
}

/* 学院新闻 - 轮播 */
.news-carousel-wrap {
	width: 100%;
	max-width: 100%;
}

.carousel-green-extend {
	display: none;
}

.news-swiper {
	aspect-ratio: 480 / 320;
}

.swiper-button-prev.news-prev,
.swiper-button-next.news-next {
	width: 40px !important;
	height: 40px !important;
}

/* 新闻列表 */
.news-body {
	flex-direction: column;
}

.news-list-title {
	font-size: 15px;
	height: 42px;
}

.news-list-date {
	font-size: 14px;
}

/* 通知公告 */
.notice-list li {
	padding: 14px 16px;
}

.notice-day {
	font-size: 24px;
}

.notice-content a {
	font-size: 15px;
}

.section-title img{
	width: 38px;
	top: -25px;
}

/* ============ 党建思政移动端 ============ */
.party-section {
	padding: 30px 0 40px;
}

.party-header {
	margin-bottom: 24px;
}

.party-title h2 {
	font-size: 24px;
}

.party-title img {
	width: 38px;
	top: -25px;
}

.party-more {
	font-size: 14px;
}

.party-cards {
	flex-direction: column;
	gap: 20px;
}

.party-card {
	width: 100%;
}

/* 移动端取消交替，统一图片在上文字在下 */
.party-card-reverse {
	display: flex;
	flex-direction: column;
}

.party-card-reverse .party-card-info {
	order: -1;
	padding: 16px 14px 30px;
}

.party-card-reverse .party-card-img {
	order: 0;
}

.party-card-reverse .party-date-top {
	top: -15px;
	bottom: auto;
}

.party-card-img img {
	aspect-ratio: 340 / 230;
}

.party-date span {
	font-size: 14px;
	padding: 5px 12px;
}

.party-card-info {
	padding: 30px 14px 16px;
}

.party-card-info h3 {
	font-size: 16px;
	height: 48px;
}

.party-card-info p {
	font-size: 14px;
	height: 44px;
}

.party-card:hover {
	transform: none;
	box-shadow: none;
}

/* ============ 科学研究移动端 ============ */
.research-section {
	padding: 30px 0 50px;
}

.research-title h2 {
	font-size: 24px;
}

.research-title img {
	width: 38px;
	top: -25px;
}

.research-more {
	font-size: 14px;
}

.report-cards {
	flex-direction: column;
	gap: 16px;
}

.report-card {
	width: 100%;
	padding: 18px 16px;
}

.report-card h3 {
	font-size: 16px;
	height: 48px;
}

.report-meta-item {
	font-size: 14px;
}

.report-meta-item em {
	font-size: 16px;
}

.simple-cards {
	flex-direction: column;
	gap: 16px;
}

.simple-card {
	width: 100%;
	padding: 16px;
}

.simple-card-text h3 {
	font-size: 16px;
}

.simple-card-date {
	font-size: 16px;
}

/* ============ 折叠标签模块移动端 ============ */
.fold-text-row{
	display:block;
}
.fold-text-card{
	margin-bottom: 20px;
}
.fold-enroll-layout{
	display: block;
}

.fold-section {
	padding: 30px 0 40px;
}

.fold-container {
	flex-direction: column;
	height: auto;
}

.fold-group {
	flex: none !important;
	height: auto;
	flex-direction: column;
	overflow: visible;
}

.fold-group.hover {
	flex: none !important;
}

.fold-title {
	width: 100%;
	min-width: 100%;
	height: 50px;
	flex-direction: row;
}

.fold-title::before {
	background-size: 100% 50px;
	clip-path: none !important;
}

.fold-group.hover .fold-title::before {
	clip-path: none !important;
}

.fold-title span {
	writing-mode: horizontal-tb;
	font-size: 18px;
}

.fold-title span i {
	display: none;
}

.fold-content {
	display: block;
	padding: 20px;
	overflow: visible;
}

.fold-cards-row {
	flex-direction: column !important;
	gap: 16px;
}

.fold-card {
	width: 100%;
}

.fold-card-img img {
	aspect-ratio: 340 / 230;
}

.fold-card-body {
	padding: 14px;
}

.fold-card-title {
	font-size: 15px;
}

.fold-card-date {
	font-size: 14px;
}

.fold-card-icon {
	width: 16px;
	height: 16px;
}

/* 招生就业 */
.fold-enroll-main {
	width: 100%;
	margin-bottom: 20px;
}

.fold-edu-cards-row{
	display: block;
}

.fold-enroll-list {
	width: 100%;
}

.fold-enroll-list li a {
	padding: 12px;
}

.fold-enroll-title {
	font-size: 15px;
}

.fold-list-date {
	font-size: 14px;
}

/* 教育教学 */
.fold-edu-cards {
	flex-direction: column !important;
	gap: 16px;
}

.fold-edu-card {
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 10px;
}

.fold-edu-list {
	width: 100%;
}

.fold-edu-list li a {
	padding: 12px;
}

.fold-edu-list-title {
	font-size: 15px;
}

.fold-edu-list-date {
	font-size: 14px;
}

/* ============ 榜样风采移动端 ============ */
.role-section {
	padding: 30px 0 40px;
}

.role-title h2 {
	font-size: 24px;
}

.role-title img {
	width: 38px;
	top: -25px;
	right: -40px;
}

.role-more {
	font-size: 14px;
}

.role-nav {
	display: none;
}

.role-card {
	padding: 14px;
}

.role-card h4 {
	font-size: 15px;
}

.role-card p {
	font-size: 13px;
}

.role-swiper{
	padding-right: 0;
}

/* ============ 内页内容区移动端 ============ */
.page-banner {
	height: auto;
}

.banner-inner-img {
	height: 200px;
}

.inner-content .w {
	flex-direction: column;
	gap: 0;
}

.inner-sidebar {
	width: 100%;
	margin-top: 0;
	align-self: auto;
	margin-top: 30px;
}

.sidebar-header {
	width: 100%;
	height: 60px;
	line-height: 60px;
	font-size: 20px;
	padding-left: 20px;
	box-sizing: border-box;
	cursor: pointer;
}

.sidebar-arrow {
	display: block;
	transform: translateY(-50%) rotate(-45deg);
}

.sidebar-header.open .sidebar-arrow {
	transform: translateY(-50%) rotate(45deg);
}

.sidebar-collapse {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s ease;
}

.sidebar-header.open + .sidebar-collapse {
	max-height: 600px;
}

.sidebar-menu li a {
	font-size: 16px;
	line-height: 50px;
	padding-left: 20px;
}

.sidebar-bg {
	height: 120px;
}

.inner-main {
	width: 100%;
}

.breadcrumb {
	width: 100%;
	height: 40px;
	line-height: 40px;
	font-size: 14px;
	padding: 0 20px;
	margin: 0 0 20px;
	background-color: rgba(0, 0, 0, 0.5);
	box-sizing: border-box;
}

.inner-title h2 {
	font-size: 22px;
}

.org-section {
	padding: 20px 16px;
}

.org-section h3 {
	font-size: 16px;
}

.org-grid {
	grid-template-columns: repeat(2, 1fr);
	gap: 8px;
}

.org-grid a {
	font-size: 14px;
}

/* ============ 底部移动端 ============ */
.footer-content {
	flex-direction: column;
	gap: 30px;
}

.footer-links {
	flex-direction: column;
	width: 100%;
}

.footer-links select {
	width: 100%;
}

.footer-qrcode {
	align-self: center;
}

/* 师资队伍移动端 */
.faculty-list {
	grid-template-columns: 1fr;
	gap: 20px;
}

.faculty-card {
	padding: 20px;
	gap: 20px;
}

.faculty-photo img {
	width: 120px;
	height: 160px;
}

.faculty-name {
	font-size: 18px;
}

.faculty-title,
.faculty-research {
	font-size: 14px;
}

/* 文章列表移动端 */
.article-item {
	flex-direction: column;
	gap: 12px;
	padding: 16px 20px;
}

.article-date {
	display: flex;
	align-items: baseline;
	gap: 8px;
	min-width: auto;
}

.date-day {
	font-size: 24px;
	padding-bottom: 0;
}

.date-day::after {
	display: none;
}

.date-month {
	font-size: 12px;
	margin-top: 0;
}

.article-content {
	padding-left: 0;
	border-left: none;
	border-top: 1px solid #ddd;
	padding-top: 12px;
}

.article-title {
	font-size: 16px;
}

.article-excerpt {
	font-size: 14px;
}

/* 文章详情移动端 */
.detail-title {
	font-size: 22px;
}

.detail-meta {
	font-size: 14px;
	padding: 12px 0;
	margin-bottom: 20px;
}

.detail-meta span {
	display: block;
	margin: 4px 0;
}

.detail-body {
	font-size: 16px;
}

.detail-body p {
	text-indent: 2em;
}

} /* end @media */