@charset "UTF-8";

/* ==========================================================================
	长江商学院 (CKGSB) 官网首页专属样式与动效
	========================================================================== */

:root {
  --ck-blue-dark: #071533;
  --ck-blue-main: #0b2865;
  --ck-blue-accent: #0190c5;
  --ck-primary: #0190c5;
  --ck-primary-hover: #007ba8;
  --ck-gold-main: #c8a051;
  --ck-gold-light: #e2bc61;
  --ck-bg-light: #f4f6fa;
}

/* 页面滚动与基础字体 */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  background-color: var(--ck-bg-light);
  color: #1e293b;
  overflow-x: hidden;
}

/* 全局 1400px 黄金版心自适应容器 */
.site-container {
  max-width: 1400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  width: 100% !important;
}
@media (min-width: 640px) {
  .site-container {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}
@media (min-width: 1024px) {
  .site-container {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
}

/* ==========================================================================
   全站导航栏架构：内页统一纯色 #0190c5，首页专属沉浸透明
   ========================================================================== */

/* 1. 内页所有导航栏：统一固定为长江商学院品牌主色 #0190c5 */
.glass-header,
.glass-nav {
	background-color: #0190c5 !important;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	box-shadow: 0 2px 12px rgba(1, 144, 197, 0.25);
	border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
	transition: all 0.3s ease;
}

/* 内页双层导航栏尺寸统一 (桌面端舒展精致，移动端适中，确保不遮挡内页横幅) */
body:not(.page-home) .glass-header .site-container {
	padding-top: 14px !important;
	padding-bottom: 12px !important;
}
@media (max-width: 1023px) {
	body:not(.page-home) .glass-header .site-container {
		padding-top: 10px !important;
		padding-bottom: 10px !important;
	}
}

/* 移动端内页导航占位块精确收紧：fixed 导航实际高度约 61px(10+40+10+1边框)，
   而占位块 h-16=64px 会多出约 3px 露出页面背景形成白色过渡条，收紧至 60px 由导航边框自然覆盖 */
@media (max-width: 1023px) {
	body:not(.page-home) header#navbar + div[aria-hidden="true"] {
		height: 60px !important;
	}
}

/* 2. 首页 (page-home) 桌面端专属：首屏深蓝平滑渐隐背景 (无明显硬区分线，无边框，无毛玻璃)，自然融入视频背景 */
@media (min-width: 1024px) {
	.page-home .glass-header:not(.scrolled) {
		background: linear-gradient(
			180deg,
			rgba(3, 19, 46, 0.85) 0%,
			rgba(3, 19, 46, 0.72) 30%,
			rgba(3, 19, 46, 0.45) 60%,
			rgba(3, 19, 46, 0.18) 82%,
			rgba(3, 19, 46, 0.04) 94%,
			transparent 100%
		) !important;
		backdrop-filter: none !important;
		-webkit-backdrop-filter: none !important;
		box-shadow: none !important;
		border-bottom: none !important;
	}

	/* 导航栏下方微弱渐隐延展，让深蓝与视频衔接如行云流水，杜绝一切硬切线 */
	.page-home .glass-header:not(.scrolled)::after {
		content: "";
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		height: 36px;
		background: linear-gradient(180deg, rgba(3, 19, 46, 0.04) 0%, transparent 100%);
		pointer-events: none;
		opacity: 1;
		transition: opacity 0.3s ease;
	}

	.page-home .glass-header.scrolled::after {
		opacity: 0;
	}

	.page-home .glass-header.scrolled {
		background: #0190c5 !important;
		backdrop-filter: none !important;
		-webkit-backdrop-filter: none !important;
		box-shadow: 0 4px 20px -2px rgba(1, 144, 197, 0.35) !important;
		border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
	}

	/* 桌面端常规/首屏未滚动：高度大气充盈（上下 26px，总高度约 118px） */
	.page-home .glass-header .site-container {
		padding-top: 26px !important;
		padding-bottom: 26px !important;
		transition: padding 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	}

	/* 桌面端向下滚动后：依然保持舒展大气的品牌蓝条（上下 22px，总高度约 110px），彻底消除压抑局促感 */
	.page-home .glass-header.scrolled .site-container {
		padding-top: 22px !important;
		padding-bottom: 22px !important;
	}
}

@media (min-width: 1280px) {
	/* 1280px 及以上宽屏桌面端：更尊贵舒展的殿堂级留白尺度 */
	.page-home .glass-header .site-container {
		padding-top: 15px !important;
		padding-bottom: 10px !important;
	}

	.page-home .glass-header.scrolled .site-container {
		padding-top: 15px !important;
		padding-bottom: 10px !important;
	}
}

/* 3. 移动端全端统一纯色 #0190c5 支撑（严禁任何颜色渐变、毛玻璃或渐变投影） */
@media (max-width: 1023px) {
	.glass-header,
	.glass-header.scrolled,
	.page-home .glass-header,
	.page-home .glass-header.scrolled,
	.glass-nav {
		background: #0190c5 !important;
		background-image: none !important;
		backdrop-filter: none !important;
		-webkit-backdrop-filter: none !important;
		box-shadow: 0 2px 10px rgba(1, 144, 197, 0.25) !important;
		border-bottom: none !important;
	}

	.page-home .glass-header::after {
		display: none !important;
	}

	/* 移动端 hero 顶部偏移精确对齐 fixed 头部实际高度 (16+40+16=72px)，
	   偏移过大时多出部分会露出 body 背景形成白色过渡条 */
	.page-home #hero {
		margin-top: 72px;
	}
}

/* 移动端 sm 断点 (640-767px)：头部高度 20+48+20=88px，偏移同步校正 */
@media (max-width: 1023px) and (min-width: 640px) {
	.page-home #hero {
		margin-top: 88px;
	}
}

/* 移动端 md 断点 (768-1023px)：头部高度 20+56+20=96px，偏移同步校正 */
@media (max-width: 1023px) and (min-width: 768px) {
	.page-home #hero {
		margin-top: 96px;
	}
}

/* 4. 导航链接在 #0190c5 蓝底与透明底下的自适应 */
.glass-header nav > a,
.glass-header nav > .nav-dropdown-wrapper > a,
.glass-nav nav > a,
.glass-header .nav-item-link {
	color: rgba(255, 255, 255, 0.92) !important;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.glass-header nav > a:hover,
.glass-header nav > .nav-dropdown-wrapper > a:hover,
.glass-nav nav > a:hover,
.glass-header .nav-item-link:hover {
	color: #ffffff !important;
	opacity: 0.85;
}

/* 选中项高亮态：在 #0190c5 底下为白色高亮和白色下划线 */
.glass-header nav > a.active,
.glass-header nav > a.border-\[\#0190c5\],
.glass-header .nav-item-link.active,
.glass-nav nav a.active {
	color: #ffffff !important;
	border-bottom-color: #ffffff !important;
	font-weight: 700;
}

/* 首页顶部未滚动透明时的选中色 */
.page-home .glass-header:not(.scrolled) .nav-item-link.active,
.page-home .glass-header:not(.scrolled) nav a.text-\[\#0190c5\] {
	color: #0190c5 !important;
	border-bottom-color: #0190c5 !important;
}

.page-home .glass-header:not(.scrolled) nav a:hover,
.page-home .glass-header:not(.scrolled) .nav-item-link:hover {
	color: #0190c5 !important;
	opacity: 1;
}

/* 节气印章红底样式 */
.season-stamp {
  background-color: #c23a3a;
  color: #ffffff;
  border-radius: 4px;
  padding: 1px 4px;
  font-size: 11px;
  line-height: 1.2;
  display: inline-block;
  transform: scale(0.9);
  vertical-align: middle;
}

/* AI 搜索框阴影与微光 */
.ai-search-card {
  background: #ffffff;
  box-shadow:
    0 16px 40px -10px rgba(11, 40, 101, 0.12),
    0 0 1px 1px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.ai-search-card:hover {
  box-shadow:
    0 20px 48px -10px rgba(11, 40, 101, 0.18),
    0 0 1px 1px rgba(11, 40, 101, 0.08);
}

/* 卡片悬停微浮动 */
.hover-float {
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease;
}

.hover-float:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -6px rgba(11, 40, 101, 0.12);
}

/* 视频播放按钮微光脉冲 */
.play-btn-pulse {
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: pulse-white 2s infinite;
}

@keyframes pulse-white {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* 地图光点脉冲 */
.map-dot-pulse {
  position: relative;
}

.map-dot-pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background-color: inherit;
  opacity: 0.6;
  animation: dot-glow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes dot-glow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* 校友案例 Swiper 定制导航按钮 */
.alumni-swiper-prev,
.alumni-swiper-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.2s ease;
}

.alumni-swiper-prev:hover,
.alumni-swiper-next:hover {
  background: #0190c5;
  color: #ffffff;
}

/* 隐藏原生滚动条 */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Hero 首屏全屏大 Swiper 分页器定制 */
.hero-main-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 5px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  margin: 0 4px !important;
  cursor: pointer;
}

.hero-main-pagination .swiper-pagination-bullet-active {
  width: 28px;
  background: #fbbf24 !important; /* amber-400 */
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.7);
}

.hero-main-prev,
.hero-main-next {
  cursor: pointer;
  z-index: 40 !important;
  pointer-events: auto !important;
}

.hero-main-prev:hover,
.hero-main-next:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Hero Swiper 容器全宽自适应与响应式画幅 (全端契合 21:9 原生超宽画幅彻底杜绝文字画面裁切；超宽屏等比缩放) */
.hero-main-swiper {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: auto;
	margin-right: auto;
	height: auto !important;
	aspect-ratio: 21 / 9 !important; /* 全端统一 21:9 原生超宽画幅，1200px、1366px、移动端等各端文字均 100% 完整展现 */
	max-height: 720px;
}

/* 1920px 分辨率及以上 (含 2K 2560px、4K 3840px 及超宽屏)，高度严格按 1920:720 (8:3) 等比自适应改变 */
@media (min-width: 1920px) {
	.hero-main-swiper {
		aspect-ratio: 1920 / 720 !important;
		max-height: none !important;
		height: auto !important;
	}
}

/* 封面图与降级 GIF 同层绝对定位叠放：GIF 懒加载期间封面图仍可见，加载完成后 GIF 覆盖其上。
   若两者留在普通文档流中，GIF 会被推到封面图下方而不可见（且 CSS !important 无法用内联 display:none 覆盖） */
.hero-main-swiper .hero-slide-fallback,
.hero-main-swiper .hero-slide-gif {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

/* 首屏视频无法自动播放时降级为图片展示：隐藏视频并显示上传的封面图 (容器级 class 同时作用于 loop 克隆 slide) */
.hero-video-degraded .hero-slide-video {
	display: none !important;
}
.hero-video-degraded .hero-slide-fallback {
	display: block !important;
}
/* 降级GIF动图：已懒加载出 src 的才显示（覆盖 Tailwind hidden），未配置 GIF 的 slide 仍走封面图 */
.hero-video-degraded .hero-slide-gif[src] {
	display: block !important;
}

/* 视频未真正进入播放状态时用封面图盖住视频：iOS/微信内核会在“可见但暂停”的视频画面上
   叠加原生播放按钮，先用封面图占位，待 playing 事件后再露出视频画面，消除切页窗口期闪现 */
.hero-video-waiting .hero-slide-video {
	display: none !important;
}
.hero-video-waiting .hero-slide-fallback {
	display: block !important;
}

/* 首页 Hero 右下角北京实时温度徽章（半透明毛玻璃卡片，减少对 banner 画面的遮挡） */
.hero-weather-badge {
	position: absolute;
	right: 8px;
	bottom: 12px; /* 移动端贴近底部边缘（地面/雪地区域），避免遮挡 banner 主体建筑 */
	z-index: 30;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 12px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.5);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	box-shadow: 0 4px 16px rgba(7, 21, 51, 0.18);
	color: #071533;
	font-size: 13px;
	line-height: 1;
	pointer-events: none; /* 纯展示组件，不拦截轮播触摸滑动 */
	user-select: none;
}
.hero-weather-badge-icon {
	width: 18px;
	height: 18px;
	display: inline-flex;
	color: #0190c5;
	flex-shrink: 0;
}
.hero-weather-badge-icon svg {
	width: 100%;
	height: 100%;
}
.hero-weather-badge-text b {
	font-size: 15px;
	font-weight: 700;
	margin-left: 2px;
}
@media (min-width: 640px) {
	.hero-weather-badge {
		right: 28px;
		bottom: 28px;
		padding: 10px 16px;
		font-size: 14px;
	}
	.hero-weather-badge-icon {
		width: 20px;
		height: 20px;
	}
	.hero-weather-badge-text b {
		font-size: 17px;
	}
}

/* ==========================================================================
   导航下拉菜单组件 (课程项目等)
   ========================================================================== */
.nav-dropdown-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 170px;
  background: #ffffff;
  border-radius: 4px;
  box-shadow:
    0 10px 25px -5px rgba(0, 0, 0, 0.15),
    0 8px 10px -6px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  /* 栏目较多时（如研究部下属研究中心）超高内部滚动 */
  max-height: calc(100vh - 160px);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 60;
}

/* 悬停防抖桥接层 */
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-dropdown-wrapper:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: block;
  padding: 10px 18px;
  font-size: 15px;
  line-height: 1.4;
  color: #262626;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  white-space: nowrap;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
  background: #ffffff;
  text-align: left;
}

.nav-dropdown-item:first-child {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.nav-dropdown-item:last-child {
  border-bottom: none;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.nav-dropdown-item:hover {
  background-color: #f8fafc;
  color: #0190c5;
}

/* 下拉内二级子栏目项（父项带箭头，子项缩进浅色平铺，如"关于长江 > 学院简介"下的长江大事记/联系我们） */
.nav-dropdown-item-parent .nav-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.nav-dropdown-submenu .nav-dropdown-item {
  padding-left: 32px;
  font-size: 13px;
  color: #64748b;
  background: #f8fafc;
}

.nav-dropdown-submenu .nav-dropdown-item:hover {
  color: #0190c5;
  background: #f1f5f9;
}

/* ==========================================================================
	沉浸式校园体验与画廊相册样式 (Campus Lightbox Modal)
	========================================================================== */
#campus-banner {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#campus-banner:hover #campus-bg-img {
  transform: scale(1.03);
}

/* 相册弹窗高性能极速渲染优化：去除高开销全屏滤镜，注入 GPU 硬件加速 */
#campus-modal {
	background-color: rgba(6, 12, 24, 0.95) !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	transform: translateZ(0);
}

.campus-modal-swiper .swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	transform: translateZ(0);
}

.campus-modal-swiper .swiper-slide img {
	transform: translateZ(0);
	transition: opacity 0.25s ease;
	backface-visibility: hidden;
}

/* 懒加载小菊花指示器 */
.campus-modal-swiper .swiper-lazy-preloader {
	border-color: #0190c5;
	border-top-color: transparent;
	width: 36px;
	height: 36px;
	margin-left: -18px;
	margin-top: -18px;
}

/* 相册弹窗左右切换按钮专属高精样式 */
.campus-modal-prev,
.campus-modal-next {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
	outline: none !important;
}

.campus-modal-prev:hover,
.campus-modal-next:hover {
	box-shadow: 0 0 25px rgba(1, 144, 197, 0.55);
}

.campus-modal-prev.swiper-button-disabled,
.campus-modal-next.swiper-button-disabled {
	opacity: 0.3;
	cursor: not-allowed;
	pointer-events: none;
}

/* ==========================================
   学员登录快捷下拉菜单 (参考交大安泰与现有风格)
   ========================================== */
.top-tool-dropdown-wrapper {
	position: relative;
	display: inline-block;
}

.top-tool-dropdown-menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 50%;
	transform: translateX(-50%);
	min-width: 120px;
	background: #ffffff;
	border-radius: 6px;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
	border: 1px solid #e2e8f0;
	padding: 4px 0;
	z-index: 100;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

/* 顶部小三角箭头 */
.top-tool-dropdown-menu::before {
	content: "";
	position: absolute;
	top: -5px;
	left: 50%;
	transform: translateX(-50%) rotate(45deg);
	width: 10px;
	height: 10px;
	background: #ffffff;
	border-left: 1px solid #e2e8f0;
	border-top: 1px solid #e2e8f0;
}

.top-tool-dropdown-item {
	display: block;
	padding: 9px 18px;
	font-size: 14px;
	line-height: 1.4;
	color: #334155;
	text-decoration: none;
	text-align: center;
	transition: background-color 0.15s ease, color 0.15s ease;
	white-space: nowrap;
}

.top-tool-dropdown-item:hover {
	background-color: #f0f7fa;
	color: #0190c5;
}

/* ==========================================
   公共底部样式 (贴合全站品牌蓝风格，纯白Logo)
   ========================================== */
.site-footer-brand {
	background: linear-gradient(180deg, #0190c5 0%, #0186b8 50%, #016f96 100%);
	color: #ffffff;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-cert-badge {
	background: #ffffff;
	border-radius: 8px;
	padding: 8px 18px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.09);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-cert-badge:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

.footer-qr-card-brand {
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.22), 0 8px 12px -6px rgba(0, 0, 0, 0.12);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.footer-qr-card-brand:hover {
	box-shadow: 0 18px 36px -5px rgba(0, 0, 0, 0.32);
	transform: translateY(-2px);
}

.footer-bottom-bar-brand {
	background-color: rgba(0, 42, 85, 0.35);
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom-bar-brand a {
	color: rgba(224, 242, 254, 0.9);
	transition: color 0.15s ease;
}

.footer-bottom-bar-brand a:hover {
	color: #ffffff;
}

/* ==========================================
   首页专属右侧悬浮挂件 (Floating Toolbar)
   ========================================== */
.side-float-bar {
	position: fixed;
	right: 16px;
	top: 55%;
	transform: translateY(-50%);
	z-index: 45;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
}

.side-float-item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 56px;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
	color: #334155;
	text-decoration: none;
	transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
	cursor: pointer;
}

.side-float-item:hover,
.side-float-item.is-active {
	background: #0190c5;
	color: #ffffff !important;
	border-color: #0190c5;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(1, 144, 197, 0.35);
}

.side-float-item svg {
	color: #0190c5;
	transition: color 0.2s ease, transform 0.2s ease;
}

.side-float-item:hover svg,
.side-float-item.is-active svg {
	color: #ffffff !important;
	transform: scale(1.08);
}

.side-float-text {
	font-size: 11px;
	line-height: 1.1;
	font-weight: 500;
	margin-top: 3px;
	color: #475569;
	transition: color 0.2s ease;
}

.side-float-item:hover .side-float-text,
.side-float-item.is-active .side-float-text {
	color: #ffffff !important;
}

/* 悬停/激活向左展开的浮层信息卡片 */
.side-float-card {
	position: absolute;
	right: calc(100% + 8px);
	top: 50%;
	transform: translateY(-50%) translateX(6px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.06);
	padding: 13px 18px;
	color: #1e293b;
	transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s ease;
	z-index: 50;
}

/* 核心优化：透明感应安全连接桥 (Hover Bridge)
   向右延伸 24px，无死角覆盖卡片与按钮之间的 8px 间隙并深入按钮内部 16px，
   上下各外扩 16px，确保鼠标无论以何种角度从按钮移动到弹窗均 100% 保持在 hover 感应范围内 */
.side-float-card::before {
	content: "";
	position: absolute;
	top: -16px;
	bottom: -16px;
	right: -24px;
	width: 32px;
	background: transparent;
	pointer-events: auto;
	z-index: 1;
}

/* 侧滑气泡右侧尖角 */
.side-float-card::after {
	content: "";
	position: absolute;
	top: 50%;
	right: -6px;
	transform: translateY(-50%) rotate(45deg);
	width: 12px;
	height: 12px;
	background: #ffffff;
	border-top: 1px solid #e2e8f0;
	border-right: 1px solid #e2e8f0;
	z-index: 2;
}

/* 保证卡片内文字与链接层级在桥梁之上，正常接收点击 */
.side-float-card > * {
	position: relative;
	z-index: 3;
}

.side-float-item:hover .side-float-card,
.side-float-item.is-active .side-float-card,
.side-float-card:hover {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(-50%) translateX(0);
}

/* ==========================================
   移动端悬浮栏：默认收起只显示图标，点击整栏展开显示文字
   展开后再次点击按钮执行原功能（公告跳转/拨号/回顶部），
   点击页面其他区域自动收起；PC 端（≥640px）hover 交互不受影响
   ========================================== */
@media (max-width: 639px) {
	/* 收起态：小尺寸纯图标按钮 */
	.side-float-item {
		width: 46px;
		height: 46px;
		border-radius: 10px;
	}

	/* 文字默认收起（高度+透明度过渡，避免布局跳动） */
	.side-float-text {
		max-height: 0;
		opacity: 0;
		margin-top: 0;
		overflow: hidden;
		transition: max-height 0.25s ease, opacity 0.25s ease, margin-top 0.25s ease;
	}

	/* 展开态：整栏恢复带文字样式 */
	.side-float-bar.is-expanded .side-float-item {
		width: 54px;
		height: 56px;
		border-radius: 12px;
	}

	.side-float-bar.is-expanded .side-float-text {
		max-height: 1.2em;
		opacity: 1;
		margin-top: 3px;
	}

	/* 自动贴边：页面停止滚动后整栏向右滑出，仅露出约 16px 边耳提示可点 */
	.side-float-bar {
		transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
		will-change: transform;
	}

	.side-float-bar.auto-docked {
		transform: translateY(-50%) translateX(100%);
	}
}

/* ==========================================
   全局搜索弹窗 (Search Modal) 长江蓝 (#0190c5) 主题色彩
   ========================================== */
#search-modal-title svg {
	color: #0190c5 !important;
}

#search-modal-icon-inside svg {
	color: #0190c5 !important;
}

#search-modal-input {
	caret-color: #0190c5;
}

#search-modal-input:focus {
	border-color: #0190c5 !important;
	box-shadow: 0 0 0 3px rgba(1, 144, 197, 0.18) !important;
}

#search-modal-submit {
	background-color: #0190c5 !important;
	border: 1px solid #0190c5 !important;
	box-shadow: 0 2px 10px rgba(1, 144, 197, 0.35) !important;
}

#search-modal-submit:hover {
	background-color: #017ea9 !important;
	border-color: #017ea9 !important;
	box-shadow: 0 4px 14px rgba(1, 144, 197, 0.45) !important;
}

#search-modal-close:hover {
	color: #0190c5 !important;
	background-color: rgba(1, 144, 197, 0.08) !important;
}

/* ==========================================
   v2026 列表页按钮式分页 (新闻/教授观点/活动等)
   ========================================== */
.v2026-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.v2026-pagination .pg-item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	background: #ffffff;
	color: #334155;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.v2026-pagination a.pg-item:hover {
	border-color: #0190c5;
	color: #0190c5;
	background-color: rgba(1, 144, 197, 0.06);
	box-shadow: 0 4px 12px rgba(1, 144, 197, 0.15);
}

.v2026-pagination .pg-current {
	background: #0190c5;
	border-color: #0190c5;
	color: #ffffff;
	font-weight: 600;
	box-shadow: 0 4px 12px rgba(1, 144, 197, 0.35);
}

.v2026-pagination .pg-nav {
	gap: 4px;
	font-weight: 600;
}

.v2026-pagination .pg-arrow {
	font-size: 18px;
	line-height: 1;
	transform: translateY(-1px);
}

.v2026-pagination .pg-disabled {
	opacity: 0.45;
	background: #f8fafc;
	cursor: not-allowed;
}

.v2026-pagination .pg-ellipsis {
	min-width: 24px;
	text-align: center;
	color: #94a3b8;
	user-select: none;
}

@media (max-width: 640px) {
	.v2026-pagination {
		gap: 6px;
	}

	.v2026-pagination .pg-item {
		min-width: 34px;
		height: 34px;
		padding: 0 8px;
		font-size: 13px;
		border-radius: 8px;
	}
}

/* ==========================================
   全站公共底部 Footer (深色极简版：logo + 五列菜单 + 二维码 + 版权行，对齐静态原型)
   ========================================== */
.v2026-footer-dark {
	background: #0a0f1f;
	color: rgba(255, 255, 255, 0.68);
}

/* 上层主体区：logo + 快捷导航 + 二维码 */
.v2026-footer-dark-main {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 48px;
	padding-top: 44px;
	padding-bottom: 40px;
}

/* 左侧品牌区 */
.v2026-footer-dark-brand {
	flex-shrink: 0;
}

.v2026-footer-dark-logo {
	height: 54px;
	width: auto;
	object-fit: contain;
}

/* 中间快捷导航：单行横排轻量链接，hover 亮起 */
.v2026-footer-dark-menu {
	flex: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	align-self: center;
	gap: 8px 30px;
}

/* 快捷导航链接项：箭头 + 文字，紧凑单行 */
.v2026-footer-dark-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 0;
	color: rgba(255, 255, 255, 0.68);
	font-size: 13.5px;
	line-height: 1.5;
	text-decoration: none;
	transition: color 0.15s ease;
}

.v2026-footer-dark-item svg {
	width: 12px;
	height: 12px;
	flex-shrink: 0;
	color: rgba(255, 255, 255, 0.35);
	transition: color 0.15s ease, transform 0.15s ease;
}

.v2026-footer-dark-item:hover {
	color: #ffffff;
}

.v2026-footer-dark-item:hover svg {
	color: #3fb6e8;
	transform: translateX(2px);
}

/* 右侧二维码区 */
.v2026-footer-dark-qr {
	flex-shrink: 0;
	text-align: center;
}

.v2026-footer-dark-qr-img {
	display: block;
	width: 96px;
	height: 96px;
	object-fit: cover;
	border-radius: 8px;
	padding: 4px;
	background: #ffffff;
	/* 图片为块级元素，需 margin auto 才能随容器水平居中 */
	margin: 0 auto;
}

.v2026-footer-dark-qr-text {
	margin-top: 10px;
	color: rgba(255, 255, 255, 0.55);
	font-size: 12.5px;
	letter-spacing: 0.5px;
}

/* 分隔线与版权行 */
.v2026-footer-dark-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding-top: 22px;
	padding-bottom: 26px;
	text-align: center;
	color: rgba(255, 255, 255, 0.55);
	font-size: 13px;
}

.v2026-footer-dark-bottom a {
	color: rgba(255, 255, 255, 0.55);
	text-decoration: none;
	transition: color 0.15s ease;
}

.v2026-footer-dark-bottom a:hover {
	color: #ffffff;
}

/* 移动端适配：纵向堆叠，菜单两列 */
@media (max-width: 1023px) {
	.v2026-footer-dark-main {
		flex-direction: column;
		gap: 36px;
		padding-top: 44px;
		padding-bottom: 40px;
	}

	.v2026-footer-dark-menu {
		width: 100%;
		gap: 6px 22px;
	}
}








