@charset "UTF-8";
/* CSS Document */

:root {
  /* 导航栏高度控制 */
  --nav-height: 55px; 
  --bg: #F6F5F1; 
  --surface: #FFFEFC;
  --text: #1F2328;
  --muted: #6F716A;
  --primary: #92071c;
  --primary-600: #7a0617;
  --accent: #fdb837;
  --font-body: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", Arial, sans-serif;
  --font-heading: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;
  --logo-left-height: 60px;
  --logo-right-height: 30px;
  --border: #E3E0D8;
  --radius: 12px; /* 全局圆角变量，方便统一调整 */
}

* { box-sizing: border-box; }

body {
	margin: 0 auto;
	padding: 0;
	background-color: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	overflow-x: hidden; /* 彻底防止任何意外的横向滚动条 */
	/* --- 新增：开启字体平滑抗锯齿 --- */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--text); }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-600); background-color: transparent; }
.a1 { text-decoration: none; }
.a1:hover { color: var(--surface); }

.top-accent {
	height: 6px;
	background: linear-gradient(90deg, var(--primary-600), var(--accent));
}

/* ========================================================= */
/* 1. 纯CSS自适应导航栏 (无JS方案) */
/* ========================================================= */
.site-header {
	background-color: var(--primary);
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.site-nav {
	margin: 0 auto;
	max-width: 1400px; 
	width: 100%;
	min-height: var(--nav-height); 
	display: flex;
	flex-wrap: wrap; /* 核心：允许换行 */
	align-items: center;
	justify-content: space-between; 
	padding: 10px 20px; /* 上下预留一点空间给换行时使用 */
}

.site-header .logo--left img { height: calc(var(--nav-height) * 0.9); width: auto; max-width: 100%; }
.site-header .logo--right img { height: calc(var(--nav-height) * 0.55); width: auto; max-width: 100%; }

.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.nav-list {
	display: flex;
	flex-wrap: wrap; /* 核心：允许导航按钮换行 */
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 10px; 
}

.nav-item { display: flex; align-items: center; }

.nav-item a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 16px; 
	color: var(--surface);
	font-size: 17px; 
	font-weight: bold;
	border-radius: 8px; /* 高级微圆角 */
	transition: all 0.3s ease;
	white-space: nowrap; /* 保证文字不折断 */
}

.nav-item--active a { background-color: rgba(255, 255, 255, 0.15); }
.nav-item a:hover { background-color: var(--primary-600); transform: translateY(-1px); }

/* --- 导航栏在不同屏幕下的智能排版 --- */
/* --- 导航栏在不同屏幕下的智能排版 --- */
@media (max-width: 1100px) {
	/* 核心魔法：使用 order 属性重新排列视觉顺序 */
	.logo--left { 
		order: 1; /* 排在第 1 位 */
		margin-right: 0; 
	}
	.logo--right { 
		order: 2; /* 排在第 2 位（和左Logo并排在最上面） */
		margin-left: 0; 
	}
	.nav-list { 
		order: 3; /* 排在最后（被挤到下一行） */
		width: 100%; 
		margin-top: 15px; /* 与上方的 Logo 拉开一点优雅的间距 */
	}
	.site-nav { 
		justify-content: space-between; /* 完美让两个 Logo 分居左右两端 */
	}
}

@media (max-width: 600px) {
	/* 极小屏幕（手机），字体缩小，按钮间距变小 */
	.nav-item a { font-size: 15px; padding: 6px 10px; }
	.site-header .logo--left img { height: 35px; }
	.site-header .logo--right img { height: 22px; }
	.nav-list { gap: 6px; } /* 让菜单按钮更紧凑，避免折行太多 */
}

/* ========================================================= */
/* 2. 主体区块流体化 (使用 max-width 和 flex-wrap) */
/* ========================================================= */
.hero {
	margin: 0 auto;
	max-width: 1300px; 
	width: 100%;
	/* 核心魔法 1：使用 Grid 让所有图片堆叠在同一个格子里 */
	display: grid; 
	position: relative; /* 为半透明按钮提供定位基准 */
	background-color: var(--surface);
	box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.08);
	overflow: hidden; 
}

.TopPhoto {
	/* 核心魔法 2：所有图片都占第 1 行第 1 列，完美重叠且高度自适应 */
	grid-area: 1 / 1; 
	width: 100%;
	margin: 0;
	opacity: 0; /* 默认完全透明 */
	visibility: hidden; /* 默认不可见，防止阻挡点击 */
	transition: opacity 0.8s ease-in-out, visibility 0.8s; /* 0.8秒的极致丝滑淡入淡出 */
	z-index: 1;
}

.TopPhoto.is-active {
	opacity: 1; /* 激活时完全显示 */
	visibility: visible;
	z-index: 2; /* 浮在最上面 */
}

.TopPhoto img {
	width: 100%; 
	height: auto; 
	display: block;
	object-fit: cover;
}

/* --- 高级半透明切换按钮 --- */
.slider-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(0, 0, 0, 0.25); /* 极具高级感的 25% 半透明黑色背景 */
	color: rgba(255, 255, 255, 0.8);
	border: none;
	width: 44px;
	height: 44px;
	border-radius: 50%; /* 圆形按钮 */
	font-size: 18px;
	cursor: pointer;
	z-index: 10; /* 保证浮在图片最上层 */
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	backdrop-filter: blur(4px); /* 苹果风磨砂玻璃特效，如果浏览器支持的话极为惊艳 */
}

/* --- 高级半透明切换按钮（默认状态：几乎隐形） --- */
.slider-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	/* 改动1：背景色变得极淡，几乎看不见 */
	background-color: rgba(0, 0, 0, 0.1); 
	/* 改动2：箭头颜色也变淡 */
	color: rgba(255, 255, 255, 0.4);
	border: none;
	width: 44px;
	height: 44px;
	border-radius: 50%; 
	font-size: 18px;
	cursor: pointer;
	z-index: 10; 
	display: flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(2px); /* 默认模糊度也降低一点 */
	
	/* 改动3：核心！默认整体透明度为 0，完全隐藏，不抢视觉重点 */
	opacity: 0; 
	/* 改动4：过渡时间稍微调慢到 0.5s，显得更优雅不急躁 */
	transition: all 0.5s ease; 
}

/* --- 新增：当鼠标悬停在整个轮播区域时，唤醒按钮 --- */
.hero:hover .slider-btn {
	/* 整体显形 */
	opacity: 1;
	/* 背景色稍微加深一点点，提高辨识度 */
	background-color: rgba(0, 0, 0, 0.3); 
	/* 箭头变亮 */
	color: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(4px); /* 恢复磨砂感 */
}

/* (保留原有的) 鼠标真正摸到按钮上时的状态：变红、放大 */
.slider-btn:hover {
	background-color: var(--primary-600) !important; /* 加上 !important 确保覆盖上面的灰色 */
	color: #ffffff !important;
	opacity: 1 !important;
	transform: translateY(-50%) scale(1.1); 
}


.slider-btn--left { left: 20px; }
.slider-btn--right { right: 20px; }

/* 手机端按钮稍微缩小 */
@media (max-width: 600px) {
	.slider-btn { width: 36px; height: 36px; font-size: 14px; }
	.slider-btn--left { left: 10px; }
	.slider-btn--right { right: 10px; }
}


.Show {	
	max-width: 1300px; width: 100%; height: auto;
	margin: 30px auto; padding: 0 0px;
	display: flex; flex-wrap: wrap; gap: 30px; 
}

.photo-card {
	width: 198px; max-width: 100%; margin:  auto; /* 手机上居中 */
	box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.18);
	background-color: var(--surface); border: 1px solid var(--border);
}
.photo-card img { width: 100%; height: auto; display: block; }

/* .intro-card {
	flex: 1; min-width: 280px; height: auto;
	margin: 0; padding: 20px;
	background-color: var(--surface); box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.08); border-top: 3px solid var(--accent);
} */

.intro-card {
	flex: 1;
	min-width: 300px;
	height: auto;
	margin: 0;
	padding: 35px; /* 从 20px 增加到 35px，让内容更从容 */
	background-color: var(--surface);
	/* 弱化阴影：降低 Alpha 透明度，增加模糊半径 (26px) */
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); 
	border-top: 3px solid var(--accent);
	border-radius: var(--radius); /* 应用你在根目录定义的圆角 */
}

.intro-content { width: 100%; height: auto; margin: 0; }

.section-title, .section-title--wide {
	width: 100%; height: auto; margin: 0 0 15px 0; 
	padding: 10px;
	border-bottom: 1px solid var(--border); font-weight: bold;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
}
.title-text { font-size: 20px; font-weight: bold; }
.more-link { text-decoration: none; color: var(--accent); font-size: 16px; }
.subheading { color: var(--text); font-size: 20px; font-weight: bold; line-height: 30px; margin: 10px 0 0; }

.body-text { color: var(--text); font-size: 16px; line-height: 1.7; margin: 12px 0 0; }

/* ========================================================= */
/* 3. 新闻与高亮区自适应 */
/* ========================================================= */
.dierbankuai {
	max-width: 1300px; width: 100%; height: auto; 
	margin: 10px auto; padding: 0 0px;
	display: flex; flex-wrap: wrap; gap: 30px;
}

.lastestnew {
	flex: 1; min-width: 300px; height: auto;
	padding-bottom: 20px; background-color: var(--surface);
	border-top: 3px solid var(--accent);
}

/* --- 优化 News 侧边栏：防止溢出 + 优雅内滚动 --- */
/* .youbianxinwen {
	width: 360px; 
	max-width: 100%; 
	display: flex;
	flex-direction: column; 
	margin: 0;
	background-color: var(--surface);
	box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.18);
	overflow: hidden; 
} */

.youbianxinwen {
	width: 360px;
	max-width: 100%;
	background-color: var(--surface);
	/* 同样使用弥散状浅阴影 */
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
	border-radius: var(--radius);
	overflow: hidden;
}

.NEWS111 {
	flex-shrink: 0; 
	width: 100%; 
	padding: 10px 20px; 
	font-size: 20px; 
	font-weight: bold;
	border-bottom: 1px solid var(--border); 
	display: flex; 
	justify-content: space-between;
}

.xinwenlundong {
	width: 100%; 
	padding: 10px 20px; 
	margin-top: 0; 
	line-height: 1.8;
	/* 【核心修复2】告诉浏览器最大高度是多少，超出这个高度就开始内滚动 */
	max-height: 900px; /* 这个高度刚好与左侧的4篇高亮文章差不多齐平 */
	overflow-y: auto;  /* 垂直方向超出则滚动 */
	overflow-x: hidden; /* 水平方向严禁滚动 */
}

/* --- 高级感定制滚动条 --- */
.xinwenlundong::-webkit-scrollbar {
	width: 6px; 
}
.xinwenlundong::-webkit-scrollbar-track {
	background: transparent; 
}
.xinwenlundong::-webkit-scrollbar-thumb {
	background-color: var(--border); 
	border-radius: 10px; 
}
.xinwenlundong::-webkit-scrollbar-thumb:hover {
	background-color: var(--primary-600); 
}

/* .highlight-card {
	width: 100%; height: auto; padding: 20px; border-bottom: 2px solid var(--border);
	display: flex; flex-wrap: wrap; gap: 20px;
} */

/* --- 论文高亮卡片：去除硬边框 + 增加间距 --- */
.highlight-card {
	width: 100%;
	height: auto;
	margin: 0;
	padding: 30px 40px; /* 增加上下左右的留白 */
	/* 去掉原本的 2px 实线边框，改为极淡的 1px 线条 */
	border-bottom: 1px solid rgba(0, 0, 0, 0.05); 
	display: flex;
	flex-wrap: wrap;
	gap: 30px; /* 增加图片与文字之间的间距 */
}

.highlight-card:last-of-type { border-bottom: none; }

.highlight-image {
	width: 240px; max-width: 100%; height: auto; 
	box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.18); object-fit: cover;
}
.highlight-text { flex: 1; min-width: 250px; height: auto; }
.highlight-title { font-size: 18px; line-height: 1.4; font-weight: bold; margin: 0 0 6px; }

.italic {
	font-style: italic;
	color: var(--primary);
	text-decoration: underline;
	font-size: 1em;
}
.date {
	color: var(--primary-600);
	font-weight: bold;
	font-size: 1em;
}

/* ========================================================= */
/* 4. People 人员页面卡片自适应 */
/* ========================================================= */
.Leader {
	max-width: 1300px; width: 100%; height: auto;
	margin: 0 auto; padding: 10px 20px;
	font-size: 22px; color: var(--primary); font-weight: bold; border-bottom: 3px solid var(--accent);
}
.Leaderphoto, .Leaderphoto2 {
	max-width: 1300px; width: 100%; height: auto; 
	margin: 20px auto; padding: 20px;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 30px;
	background-color: var(--surface); box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.18);
	border-radius: var(--radius);
	border: 1px solid rgba(0, 0, 0, 0.03); 
}

/* .Leaderphoto, .Leaderphoto2 {
	padding: 30px; 
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
	border-radius: var(--radius);
	border: 1px solid rgba(0, 0, 0, 0.03); 
} */

.Leaderp1 {
	width: 150px; height: 200px; 
	background: url("../image/groupleader.jpg") no-repeat center / cover;
}
.Leaderp2 { flex: 1; min-width: 280px; height: auto; line-height: 1.6; }
.Leaderp3 {
	width: 180px; height: 40px; background-color: var(--primary); color: var(--surface);
	font-weight: bold; text-align: center; line-height: 40px; cursor: pointer; border-radius: 4px;
}
.postdoctor1 { width: 180px; max-width: 100%; height: auto; }
.postdoctor1 img { width: 100%; height: auto; border-radius: 8px; object-fit: cover; }
.postdoctor2 { flex: 1; min-width: 250px; height: auto; line-height: 1.6; }

/* ========================================================= */
/* 5. 底部页脚自适应 */
/* ========================================================= */
.dibu, .bottom, .bottom1 { width: 100%; height: auto; background-color: var(--primary-600); padding: 30px 0; }
.dibu a { color: #ffffff; text-decoration: none; }
.dibu a:hover { color: #ffcc00; text-decoration: underline; }

.bottomsite {
	max-width: 1374px; width: 100%; height: auto; margin: 0 auto; padding: 0 20px 20px;
	border-bottom: 1px solid rgba(255,255,255,0.2);
	display: flex; flex-wrap: wrap; justify-content: space-around; gap: 20px;
}
.bottoms1, .bottoms2, .bottoms3 { width: auto; line-height: 2; color: var(--surface); font-size: 16px; font-weight: bold; text-align: center; }

.shengming {
	max-width: 1440px; width: 100%; height: auto; margin: 0 auto; padding: 20px;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; text-align: center; gap: 15px;
}
.shengming1 { font-size: 20px; font-weight: bold; color: var(--surface); }
.shengming2, .shengming3 { font-size: 14px; font-weight: 100; line-height: 1.5; color: var(--surface); }

@media (max-width: 768px) {
	.shengming { flex-direction: column; justify-content: center; }
}

/* 兼容保留的其他碎类名 */
.jieshaowenzi, .jieshaowenzi6, .jieshaowenzi7, .jieshaowenzi9, .jieshaowenzi1, .jieshaowenzi2, .jieshaowenzi3 {
	max-width: 1000px; width: 100%; height: auto; margin-top: 10px; font-size: 18px; color: var(--text); line-height: 1.6;
}
.wenzilan { max-width:960px; width:100%; height: auto; color: var(--primary); font-size: 22px; font-weight: bold; margin-top: 40px; border-bottom: 3px solid var(--primary); line-height: 30px; }

/* ========================================================= */
/* 研究方向 (Research Interests) 三列图文排版 */
/* ========================================================= */
.research-grid {
	display: flex;
	flex-wrap: wrap; /* 核心自适应：允许在手机端自动换行堆叠 */
	gap: 20px;
	margin-top: 25px;
	justify-content: space-between;
}

.research-item {
	flex: 1; /* 电脑端平均平分三等份空间 */
	min-width: 180px; /* 当屏幕缩小，宽度不足240px时，自动掉到下一行 */
	text-align: center; /* 保证图片和文字完美居中 */
	padding: 10px;
	border-radius: var(--radius);
	transition: all 0.3s ease; 
	/* 增加悬停互动感 */
}

/* 鼠标放上去时，轻微上浮并显示淡阴影，增加高级感 */
.research-item:hover {
	transform: translateY(-5px);
	background-color: #faf9f6; /* 极浅的灰色背景 */
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.research-item img {
	width: 100%;
	height: 120px; /* 固定高度，确保三张图对齐 */
	object-fit: contain; /* 保证图片按比例缩放，不被拉伸变形或裁切 */
	margin-bottom: 0px;
}

.research-item h4 {
	margin: 0;
	font-size: 18px;
	color: var(--text);
	line-height: 1.5;
	font-weight: bold;
}

/* 英文副标题样式，弱化存在感 */
.research-en {
	font-size: 13px;
	color: var(--muted);
	font-weight: normal;
}