@charset "UTF-8";

/* ==========================================================================
	长江商学院 (CKGSB) 教授与研究 (faculty.html) 专属样式与组件
	========================================================================== */

/* 1. Hero Banner 区域样式 (全通栏大背景图) */
.faculty-hero-section {
	position: relative;
	overflow: hidden;
	background-color: #eef3fb;
}

.faculty-hero-bg-layer {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.faculty-hero-bg-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: right center;
}

/* 渐变遮罩层，让左侧文字阅读极佳，与右侧大楼无缝融合 */
.faculty-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(243, 246, 251, 0.8) 0%, rgba(243, 246, 251, 0.5) 35%, rgba(243, 246, 251, 0.2) 60%, transparent 85%);
}

/* 教授详情页 (faculty-detail.html) Hero 巨幕横幅：2K屏幕与多端全景等比展现、0遮挡 */
.faculty-detail-hero-section {
	position: relative;
	width: 100%;
	overflow: hidden;
	background-color: #eef4fc;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	min-height: 320px;
}

/* 在平板及以上屏幕，配置弹性最小高度 */
@media (min-width: 768px) {
	.faculty-detail-hero-section {
		min-height: 360px;
	}
}

/* 在 1024px+ 桌面端，按大楼超宽全景图原始画幅比 2300:460 (5:1) 优雅自适应伸展 */
@media (min-width: 1024px) {
	.faculty-detail-hero-section {
		aspect-ratio: 2300 / 460;
		min-height: 380px;
		height: auto;
	}
}

/* 在 1440px 及以上主流高清显示屏 */
@media (min-width: 1440px) {
	.faculty-detail-hero-section {
		aspect-ratio: 2300 / 460;
		min-height: 420px;
	}
}

/* 在 1920px、2K 分辨率 (2560px) 及超宽大屏：高度随 5:1 画幅达到 512px+，大楼顶部CKGSB标志、天空流线与一层地面100%全景展现 */
@media (min-width: 1920px) {
	.faculty-detail-hero-section {
		aspect-ratio: 2300 / 460;
		min-height: 480px;
	}
}

@media (min-width: 2560px) {
	.faculty-detail-hero-section {
		aspect-ratio: 2300 / 460;
		min-height: 512px;
	}
}

/* 头图背景轮播容器 (Swiper Fade 渐变切换，绝对定位全景铺满) */
.faculty-hero-swiper,
.faculty-detail-hero-section .faculty-hero-swiper.swiper {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	z-index: 0 !important;
}

.faculty-hero-swiper .swiper-wrapper {
	width: 100% !important;
	height: 100% !important;
}

.faculty-hero-swiper .swiper-slide {
	position: relative;
	width: 100% !important;
	height: 100% !important;
	overflow: hidden;
	background-color: #eef4fc;
}

/* 高清背景大图：居右中呈现大楼全景与天空流线，0 裁切大楼主体与CKGSB顶标 */
.faculty-detail-hero-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	object-position: right center;
	z-index: 0;
	pointer-events: none;
	user-select: none;
}

/* 轻盈通透保护蒙层：让整张大楼建筑实景 100% 通透清晰可见，同时保障左侧文字与头像的高清晰度 */
.faculty-detail-hero-mask {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		rgba(238, 244, 252, 0.94) 0%,
		rgba(238, 244, 252, 0.82) 36%,
		rgba(238, 244, 252, 0.42) 60%,
		rgba(238, 244, 252, 0.08) 82%,
		transparent 100%
	);
	z-index: 1;
	pointer-events: none;
}

/* 轮播指示器：右下角优雅半透明胶囊分页器 */
.faculty-hero-pagination {
	position: absolute;
	bottom: 16px;
	right: 24px;
	z-index: 10;
	display: flex;
	align-items: center;
	gap: 6px;
	width: auto !important;
	left: auto !important;
	background: rgba(7, 21, 51, 0.35);
	backdrop-filter: blur(8px);
	padding: 4px 10px;
	border-radius: 9999px;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.faculty-hero-pagination .swiper-pagination-bullet {
	width: 6px;
	height: 6px;
	margin: 0 !important;
	background: rgba(255, 255, 255, 0.7);
	opacity: 0.7;
	border-radius: 9999px;
	transition: all 0.3s ease;
	cursor: pointer;
}

.faculty-hero-pagination .swiper-pagination-bullet-active {
	width: 20px;
	background: #0190c5;
	opacity: 1;
}

/* 2. 研究方向分类 Tab 栏 */
.faculty-tabs-container {
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 10px 25px -5px rgba(11, 40, 101, 0.08), 0 4px 10px -2px rgba(0, 0, 0, 0.04);
	border: 1px solid rgba(226, 232, 240, 0.8);
}

.faculty-tab-item {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 24px;
	font-size: 15px;
	font-weight: 500;
	color: #334155;
	white-space: nowrap;
	cursor: pointer;
	transition: all 0.2s ease;
	background: transparent;
	border: none;
	outline: none;
}

.faculty-tab-item:hover {
	color: #0190c5;
}

.faculty-tab-item.active {
	color: #0190c5;
	font-weight: 700;
}

/* 激活态底部蓝色短横线指示器 + 小三角 */
.faculty-tab-item.active::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 15%;
	right: 15%;
	height: 3px;
	background: #0190c5;
	border-radius: 3px 3px 0 0;
}

.faculty-tab-item.active::before {
	content: "";
	position: absolute;
	bottom: 3px;
	left: 50%;
	transform: translateX(-50%);
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 5px solid #0190c5;
}

.faculty-tab-divider {
	width: 1px;
	height: 18px;
	background-color: #e2e8f0;
	align-self: center;
}

/* 3. 教授卡片矩阵组件 (统一切换为 186px 固定高度，内容超出自动微滚动) */
.faculty-card {
	background: #ffffff;
	border-radius: 14px;
	border: 1px solid #eef2f6;
	box-shadow: 0 2px 10px rgba(11, 40, 101, 0.03);
	padding: 18px;
	display: flex;
	gap: 16px;
	height: 238px;
	box-sizing: border-box;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	position: relative;
}

.faculty-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 32px -8px rgba(11, 40, 101, 0.12);
	border-color: #cbd5e1;
}

/* 教授信息右侧列容器 (自适应充满并分隔) */
.faculty-info-col {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	overflow: hidden;
}

/* 教授履历与头衔滚动容器 (超出自动滚动，保持外部绝对等高) */
.faculty-bio-scroll {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	margin-top: 3px;
	margin-bottom: 4px;
	padding-right: 4px;
	scrollbar-width: thin;
	scrollbar-color: rgba(1, 144, 197, 0.3) transparent;
}

/* 针对 Webkit 浏览器的精致微滚动条 */
.faculty-bio-scroll::-webkit-scrollbar {
	width: 3px;
}

.faculty-bio-scroll::-webkit-scrollbar-track {
	background: transparent;
}

.faculty-bio-scroll::-webkit-scrollbar-thumb {
	background-color: rgba(1, 144, 197, 0.28);
	border-radius: 9999px;
}

.faculty-bio-scroll:hover::-webkit-scrollbar-thumb {
	background-color: #0190c5;
}

/* 教授卡片英文姓名 (姓全大写，名首字母大写，text-transform: none) */
.faculty-name-en {
	font-size: 0.75rem;
	color: #94a3b8;
	font-weight: 500;
	margin-bottom: 0.375rem;
	letter-spacing: 0.025em;
	text-transform: none;
}

/* 头像容器与裁剪 */
.faculty-avatar-box {
	width: 116px;
	height: 144px;
	flex-shrink: 0;
	border-radius: 10px;
	overflow: hidden;
	background: #e2e8f0;
	position: relative;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.faculty-avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	transition: transform 0.4s ease;
}

.faculty-card:hover .faculty-avatar-img {
	transform: scale(1.04);
}

/* 个人主页小胶囊标签 */
.faculty-tag-profile {
	font-size: 11px;
	line-height: 1;
	padding: 3px 7px;
	background-color: #f1f5f9;
	color: #64748b;
	border-radius: 4px;
	transition: all 0.2s ease;
	font-weight: 500;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
}

.faculty-tag-profile:hover {
	background-color: #0b2865;
	color: #ffffff;
}

/* 教授履历与头衔行 */
.faculty-bio-line {
	font-size: 12px;
	line-height: 1.45;
	color: #475569;
}

/* 底部邮箱与圆环右箭头 */
.faculty-email-link {
	font-size: 12px;
	color: #3b82f6;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	transition: color 0.2s ease;
	text-decoration: none;
	word-break: break-all;
}

.faculty-email-link:hover {
	color: #0190c5;
	text-decoration: underline;
}

.faculty-arrow-btn {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: 1px solid #e2e8f0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #94a3b8;
	flex-shrink: 0;
	transition: all 0.2s ease;
	text-decoration: none;
}

.faculty-card:hover .faculty-arrow-btn {
	border-color: #0190c5;
	background-color: #0190c5;
	color: #ffffff;
	transform: translateX(2px);
}

/* 筛选隐藏状态动画 */
.faculty-card-item {
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.faculty-card-item.is-hidden {
	display: none !important;
}

/* ==========================================================================
	4. 教授详情页 (faculty-detail.html) 专属样式
	========================================================================== */

/* 教授详情 Hero 头像大卡片 */
.faculty-detail-avatar {
	width: 140px;
	height: 180px;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
	flex-shrink: 0;
	background: #e2e8f0;
}
@media (min-width: 640px) {
	.faculty-detail-avatar {
		width: 160px;
		height: 200px;
	}
}

/* 下载个人简历按钮 */
.btn-download-resume {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: linear-gradient(135deg, #0190c5 0%, #007ba8 100%);
	color: #ffffff;
	padding: 8px 18px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 500;
	box-shadow: 0 4px 12px rgba(1, 144, 197, 0.3);
	transition: all 0.25s ease;
	text-decoration: none;
}

.btn-download-resume:hover {
	background: linear-gradient(135deg, #02a2de 0%, #0190c5 100%);
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(1, 144, 197, 0.4);
	color: #ffffff;
}

/* 详情页主体模块白底卡片 */
.faculty-detail-card {
	background: #ffffff;
	border-radius: 12px;
	border: 1px solid #eef2f7;
	box-shadow: 0 2px 10px rgba(11, 40, 101, 0.03);
	padding: 24px;
	margin-bottom: 24px;
	transition: all 0.3s ease;
}

.faculty-detail-card:hover {
	box-shadow: 0 8px 24px -4px rgba(11, 40, 101, 0.07);
	border-color: #e2e8f0;
}

/* 卡片模块标题 */
.faculty-section-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 17px;
	font-weight: 700;
	color: #0b2865;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid #f1f5f9;
}

.faculty-section-icon {
	width: 20px;
	height: 20px;
	color: #0190c5;
	flex-shrink: 0;
}

/* 学术成果文献列表排版 */
.publication-list {
	list-style: none;
	counter-reset: pub-counter;
	padding-left: 0;
}

.publication-item {
	position: relative;
	padding-left: 28px;
	margin-bottom: 12px;
	font-size: 13px;
	line-height: 1.6;
	color: #475569;
}

.publication-item::before {
	counter-increment: pub-counter;
	content: counter(pub-counter) ".";
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 600;
	color: #64748b;
}

/* 右侧侧边栏卡片 */
.faculty-sidebar-card {
	background: #ffffff;
	border-radius: 12px;
	border: 1px solid #eef2f7;
	box-shadow: 0 2px 10px rgba(11, 40, 101, 0.03);
	padding: 20px;
	margin-bottom: 24px;
}

.faculty-sidebar-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 12px;
	margin-bottom: 16px;
	border-bottom: 1px solid #f1f5f9;
}

.faculty-sidebar-title {
	font-size: 16px;
	font-weight: 700;
	color: #0b2865;
}

.faculty-sidebar-more {
	font-size: 12px;
	color: #0190c5;
	display: inline-flex;
	align-items: center;
	gap: 2px;
	transition: all 0.2s ease;
	text-decoration: none;
}

.faculty-sidebar-more:hover {
	color: #007ba8;
	transform: translateX(2px);
}

.news-timeline-item {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	font-size: 13px;
	line-height: 1.5;
	padding: 8px 0;
	border-bottom: 1px dashed #f1f5f9;
	color: #334155;
	transition: color 0.2s ease;
}

.news-timeline-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.news-timeline-item:hover {
	color: #0190c5;
}

.news-timeline-date {
	color: #0190c5;
	font-size: 12px;
	font-weight: 500;
	flex-shrink: 0;
}
