﻿@charset "utf-8";
/* CSS Document */
/* 添加简单的样式 */



:root { /* 新增主题变量 */
  --primary-color: #0a192f;      /* 主色调 - 沉稳蓝灰 */
  --secondary-color: #839788;    /* 副色调 - 自然绿灰 */
  --accent-color: #D4B483;       /* 强调色 - 温暖米黄 */
  --text-dark: #2B2D42;          /* 深色文本 */
  --text-light: #F4F4F4;         /* 浅色文本 */ 
  --gradient-bg: linear-gradient(165deg, #F8F9FA 0%, #E9ECEF 100%);
  --bg-image: url('background.jpg'); /* 新添加的背景图片变量 */
}

.header {
  background: var(--primary-color) !important; /* 延续主色系统一性 */
  box-shadow: 0 2px 10px rgba(0,0,0,0.15); /* 增加深度感 */
  border-bottom: 1px solid rgba(255,255,255,0.1); /* 精致的分割线 */
}

/* head设计 */
/* ////////////////////////// */
/* ===== 新增顶部头部栏样式 ===== */
.header-bar {
  background: rgba(10, 25, 47, 0.85) !important; /* 添加透明度 */
  backdrop-filter: blur(10px); /* 添加毛玻璃模糊效果 */
  -webkit-backdrop-filter: blur(10px); /* Safari兼容 */
  padding: 12px 0;
  min-width: 1400px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.lab-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
}

.lab-info {
  display: flex;
  flex-direction: column;
}

.lab-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 3px;
}

.lab-subtitle {
  font-size: 0.8rem;
  color: var(--text-light);
}

.external-links {
  display: flex;
  gap: 25px;
}

.link-column {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: right;
}

.link-column a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.link-column a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .lab-name {
    font-size: 1.4rem;
  }
  
  .lab-subtitle {
    font-size: 0.8rem;
  }
  
  .link-column a {
    font-size: 0.8rem;
  }
}
/* //////////////////////////////// */










body {
  overflow-x: auto !important; /* 重要：启用水平滚动 */
  min-width: 1400px; /* 关键：设置页面最小宽度（与主要内容区域同宽） */
  position: relative;

  background: var(--bg-image) no-repeat center center fixed !important; 
  background-size: cover !important;
  line-height: 1.7;

/* //////////////固定foot位置 /////////////////*/
  /* 添加以下2行实现Footer置底 */
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* 确保body至少占据全屏高度 */
  /* //////////////固定foot位置 /////////////////*/
}

/* //////////////固定foot位置 /////////////////*/
.main-container {
  flex: 1 0 auto; /* 自动填充剩余空间 */
}
/* //////////////固定foot位置 /////////////////*/



.center-flex img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-width: 1400px;
}










/* ///////////////////////////// */
/* 首页导航栏 */
nav {
  overflow-x: hidden;  /* 改为hidden隐藏滚动条 */
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  background: rgba(10, 25, 47, 0.85) !important; /* 添加透明度 */
  backdrop-filter: blur(10px); /* 添加毛玻璃模糊效果 */
  -webkit-backdrop-filter: blur(10px); /* Safari兼容 */
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  /* 隐藏滚动条通用方案 */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}
/* 隐藏Webkit内核浏览器的滚动条 */
nav::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Opera */
}
nav ul {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  padding: 10px 0;
  min-width: min-content;
  list-style-type: none;
}
nav li {
  flex: 1 0 auto;
  text-align: center;
  min-width: max-content;
  padding: 0 15px;
}
nav li a {
  display: block;
  color: white;
  padding: 12px 20px;
  text-decoration: none;
  margin: 0 5px;
  transition: all 0.3s;
  border-radius: 4px;
  font-size: 18px !important;
  color: var(--text-light);
}
/* 鼠标悬停样式 [优化版] */
nav li a:hover {
  background-color: rgba(255,255,255,0.15);
  transform: scale(1.05);  /* 新增悬停放大效果 */
}
/* 响应式调整 [新增] */
@media (max-width: 768px) {
  nav li {
    padding: 0 10px;  /* 缩小间距 */
    flex-shrink: 0;   /* 移动端保持内容不压缩 */
  }
  nav li a {
    padding: 10px 15px;
    font-size: 20px;  /* 调小字号 */
  }
}

/* ========== 导航栏分层布局 ========== */
.nav-wrapper {
  width: 100vw;            /* 覆盖整个视口宽度 */
  left: 50%;               /* 视觉居中校准 */
  transform: translateX(-50%);
  background: var(--primary-color);  /* 导航栏背景色 */
  position: relative;
  min-width: 1400px;
}

.nav-container {
  width: 100%;             
  max-width: 1200px;       /* ※ 需与轮播图容器同宽 */
  margin: 0 auto;          /* 居中 */
  position: relative;
  z-index: 1;              /* 保持内容在上层 */
}

/* ========== 优化轮播图同步设置 ========== */ 
.carousel-container {
  max-width: 1200px;       /* 保持与导航栏内容相同 */
  margin: 0 auto;
}

/* ========== 应对小屏幕情况 ========== */
@media (max-width: 1240px) { /* 1200px + 20px安全边距 */
  .nav-wrapper {
    overflow-x: auto;     /* 允许小屏横向滚动 */ 
  }
}





/* /////////////////////////////// */



.side-nav li {
  flex: 0 1 auto;
  text-align: left;
  padding: 5px 0;
  margin: 3px 15px;
  min-width: auto;
  border-radius: 4px;
  transition: all 0.3s;
}
/* 固定主分类尺寸 */
.side-nav .nav-category > a {
  display: block !important;          /* 强制启用块级特性 */
  width: 200px;                       /* 完全固定宽度 */
  height: 34px;                       /* 完全固定高度 */
  line-height: 34px;                  /* 垂直居中 */
  padding: 0 18px !important;         /* 覆盖原有padding */
  box-sizing: border-box;             /* 包含内边距 */
  font-size: 20px !important;         /* 强制统一字号 */
  white-space: nowrap;                /* 禁止文字换行 */
  overflow: hidden;                   /* 隐藏溢出内容 */
}

.side-nav li a {
  display: block;
  color: var(--text-light);
  padding: 8px 15px;
  margin: 0;
  text-decoration: none;
  transition: all 0.2s;
}
.side-nav li:hover {
  background-color: rgba(0,0,0,0.15);
}
.side-nav li a:hover {
  transform: none;
  padding-left: 20px;
}
.side-nav .sub-directions li {
  margin: 8px 0;
  padding: 3px 10px;
}
.side-nav .sub-directions li a {
  font-size: 0.95em;
  opacity: 0.9;
}
@media (max-width: 768px) {
  .side-nav li {
    margin: 3px 10px;
    padding: 4px 0;
  }
  
  .side-nav li a {
    padding: 8px 12px;
    font-size: 20px;
  }
  
  .side-nav .sub-directions li a {
    font-size: 1em;
  }
}
@media (max-width: 768px) {
  /* 新增移动端尺寸调整 */
  .side-nav .nav-category > a {
    width: 180px !important;
    height: 32px;
    line-height: 32px;
    font-size: 20px !important;
  }
}









.side-nav {
  max-width: 240px;
  margin-right: 30px;
  background: rgba(10, 25, 47, 0.85); /* 添加透明度 */
  backdrop-filter: blur(10px); /* 添加毛玻璃模糊效果 */
  -webkit-backdrop-filter: blur(10px); /* Safari兼容 */
  border-radius: 8px;
  position: sticky;
  top: 60px;
  align-self: flex-start;
  height: max-content;
}
/* 新增清除flex继承的代码 */
.side-nav ul,
.side-nav .nav-list,
.side-nav .sub-directions {
    display: block !important;
    flex-direction: unset !important;
}


.sub-directions {
    padding-left: 25px;
}
.sub-directions li {
    display: block;
    margin: 10px 0;
}

.nav-category {
  /* 原始属性不变，添加以下两行 */
  -webkit-box-align: stretch !important;
  height: unset !important;
}


/* === 主研究容器 === */
.research-container {
  display: flex;
  width: 100%;
  max-width: none; /* 移除1400px限制 */
  margin: 50px auto;
  padding: 0 20px;
  box-sizing: border-box;
  justify-content: center; /* 保证内容始终居中 */
}
.research-content {
  flex: 0 0 1000px; /* 关键修改：固定尺寸而非比例 */
  max-width: 1000px; /* 最大宽度保护 */
  min-width: 1000px; /* 最小宽度保护 */
  padding-bottom: 60px;
  margin-left: 20px;
}
body {
  overflow-x: hidden;
}

/* 修正HTML结构后的对应样式 */
.content-section {
  margin-bottom: 50px;
  background: rgba(255,255,255,0.95);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
  background: rgba(250, 251, 253, 0.85); /* 深蓝透明白色 */
  backdrop-filter: blur(5px); /* 毛玻璃效果 */
}
.section-title {
  color: var(--primary-color);
  border-bottom: 3px solid var(--accent-color);
  padding-bottom: 15px;
  margin-bottom: 25px;
}







/* /////////////////////////// */
/* 轮播容器样式 */
.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 20px auto;
  padding: 40px 0 0 0;
  overflow: hidden;
  border-radius: 5px;
  z-index: 50;
}

/* 轮播滑动区域 */
.carousel-slides {
  position: relative;
  width: 100%;
  padding-top: 31.58%; /* 保持原比例(300/950≈31.58%) */
}

/* 单个轮播图 */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

/* 激活的轮播图 */
.slide.active {
  opacity: 1;
}

/* 指示点容器 */
.carousel-dots {
    position: absolute;
    bottom: 15px; /* 调整到描述区域上方 */
    right: 15px;
    display: flex;
    gap: 10px;
    z-index: 100; /* 确保在描述区域上方 */
}

/* 单个指示点 */
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.5s ease;
}

/* 激活状态指示点 */
.dot.active {
  background: #fff;
  transform: scale(1.2);
}


.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 居中显示 */
    background: rgba(10, 25, 47, 0.75); /* 增加不透明度 */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 90; /* 确保位于指示点下方 */
}


.carousel-caption:hover {
    background: rgba(10, 25, 47, 0.65);
}

.caption-text {
    font-size: 1.5rem;
    color: var(--text-light);
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    text-decoration: none;
    transition: all 0.3s;
    border-radius: 4px;
    text-align: left;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: unset;
    padding-left: 15px;
}
.caption-link {
    color: var(--accent-color);
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--accent-color);
    border-radius: 20px;
    transition: all 0.3s ease;
}
.caption-link:hover {
    background: var(--accent-color);
    color: var(--text-light);
    text-decoration: none;
}
.caption-text:hover {
    background: rgba(255, 255, 255, 0.15);
}
.caption-text sub {
    vertical-align: sub;
    font-size: 0.8em;
    position: relative;
    bottom: -0.2em;
}



/* ///////////////////////// */






/* ///////////////// */
.center-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px; /* 使容器的高度为视口高度 */
}


.list1 {
	list-style-type: none;
	padding-left: 0;
	position: relative; /* 相对定位 */
	left: 0%; /* 左侧对齐 */
	top: 0%; /* 顶部对齐 */
}

.list2 {
	list-style-type: none;
	padding-left: 0;
	position: relative; /* 相对定位 */
	left: 0%; /* 右侧对齐 */
	top: 0%; /* 顶部对齐 */
}

.container {
  display: flex; 
  justify-content: space-between;
  gap: 2%;
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
  height: auto; /* 移除固定高度 */
}
.list-container {
  width: 49%;
  background: rgba(250, 251, 253, 0.85); /* 深蓝透明白色 */
  backdrop-filter: blur(5px); /* 毛玻璃效果 */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 20px;
  transition: transform 0.3s ease;
  border: 1px solid #eaeaea; /* 替换原5px边框 */
  margin: 30px auto; /* 统一外边距 */
  height: auto; /* 移除固定高度 */
}
/* 列表通用样式 */
.list1, .list2 {
  list-style: none;
  padding: 0;
  margin: 0;
}
.li1 {
  font-size: 1.4rem; /* 改用rem单位 */
  font-weight: 600;
  color: #2c3e50; /* 更改标题颜色 */
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #3f729f; /* 新增强调线 */
}
.li2 {
  padding: 12px 0;
  border-bottom: 1px solid #eee; 
  font-size: 1rem;
  line-height: 1.6; /* 增加行高 */
  transition: all 0.3s ease;
  margin-bottom: 0; /* 移除原有间隔 */
}
.li2:hover {
  transform: translateX(5px);
}
.grey-link { 
  color: #555; /* 优化字体颜色 */
  text-decoration: none;
  display: block;
  transition: color 0.3s ease;
}
a.grey-link:hover {
  color: #3498db; /* 统一悬停颜色 */
  text-decoration: underline;
  filter: none; /* 移除原有滤镜效果 */
}
/* 响应式设计 */
@media (max-width: 768px) {
  .container {
      flex-direction: column;
      gap: 20px;
      margin: 50px auto;
  }
  
  .list-container {
      width: 100%;
      margin: 20px 0;
  }
  
  .li1 {
      font-size: 1.2rem;
  }
  
  .li2 {
      font-size: 0.95rem;
  }
}
/* 鼠标悬停链接 */
/* ////////////////////// */




/* 原有样式补充 */
.title-container {
  margin: 30px 0 15px;
  border-left: 5px solid #409eff;
  padding-left: 20px;
}
.title {
  font-size: 24px;
  color: #303133;
}
.textbox-container {
  line-height: 1.8;
  color: #606266;
  margin-bottom: 20px;
}




/* ///////////////////////// */
/*页面最下面的内容*/
/* === 底部样式修改 === */
.footer {
  left: 0;
  bottom: 0;
  width: 100%;
  background: rgba(10, 25, 47, 0.85) !important; /* 添加透明度 */
  backdrop-filter: blur(10px); /* 添加毛玻璃模糊效果 */
  -webkit-backdrop-filter: blur(10px); /* Safari兼容 */
  color: var(--text-light);
  border-top: 1px solid #e7e7e7;
  padding: 10px 0; /* 增加垂直内边距 */
  text-align: center;
  display: flex;         /* 新增flex布局 */
  flex-direction: column; /* 垂直排列 */
  justify-content: center; /* 垂直居中 */
  gap: 12px;            /* 行间距控制 */
  min-height: 150px;     /* 最小高度保证 */

  margin-top: auto;  /* 关键属性：将footer推到页面底部 */
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  color: inherit;
}

.footer p {
  margin: 8px 0;        /* 段落间距 */
  line-height: 1.6;     /* 行高优化 */
  color: var(--text-light);          /* 文字颜色加深 */
  font-size: 15px;
}

.footer a {
  color: var(--text-light);      /* 链接颜色 */
  text-decoration: none;
  transition: color 0.3s;
}

.footer a:hover {
  color: #3498db;       /* 悬停颜色 */
  text-decoration: underline;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .footer {
      padding: 25px 15px;
      min-height: auto;
  }
  .footer p {
      font-size: 14px;
  }
}

/* ///////////////////////// */









.textbox-container {
  display: flex;
  justify-content: center;
  align-items: center;
/*	position: auto;*/
  height: 100%;
  padding: 0px;
	margin: 10px auto;
    box-sizing: border-box;
    width: 800px;
    height: 100px;
	font-size: 18px;
	text-align: justify;
  }

/*《加入我们》的文本框设置*/
.textbox-container-1 {
/*  display: flex;*/
  justify-content: center;
  align-items: center;
/*	position: auto;*/
  height: 100%;
  padding: 0px;
	margin: 50px auto;
    box-sizing: border-box;
    width: 800px;
    height: 800px;
	font-size: 18px;
	text-align: justify;
  }
/*文本框*/

  .title-container {
    display: flex; /* 使用Flexbox布局 */
  }
  .title {
    flex: 1; /* 每个标题占据等分的空间 */
/*    margin: 5px;  标题之间的间隔 */
    padding: 10px; /* 标题内部的填充 */
    text-align: center; /* 文本居中 */
	  color: #2C77A2;
	  font-weight: bold;
	  font-size: 20px;
  }
/*研究方向标题*/
.title-1 {
    flex: 1; /* 每个标题占据等分的空间 */
/*    margin: 5px;  标题之间的间隔 */
    padding: 10px; /* 标题内部的填充 */
    text-align: center; /* 文本居中 */
	  color: #A22B6A;
	  font-weight: bold;
	  font-size: 20px;
  }
/*实验设备图注*/

ol.custom-list {
 	padding: 10px; /* 内边距 */
	margin: 0px 180px;  /* 外边距 */
	text-align: left;
	list-style-position: inside;
}
 
/* 调整列表项标记的大小 */
ol.custom-list li {
  list-style-type: decimal; /* 数字标记 */
  font-size: 18px; /* 文字大小 */
	margin: 40px;
	text-align: justify;
}





/* ////////////////////// */
/* 新增成员介绍样式 */
/* a.css 新增核心样式 */
.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 200px); /* 固定卡片宽度 */
  gap: 40px;
  padding: 15px;
  justify-content: center; /* 始终居中排列 */
}
.member-container {
  width: 180px;          /* 固定卡片宽度 */
  background: white;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.member-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.member-image {
  width: 148px;      /* 固定宽度 */
  height: 197px;     /* 固定高度 (4:3比例) */
  margin: 0 auto 15px;
  border-radius: 8px;
  overflow: hidden;
}
.member-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f5f5f5; /* 添加背景色填补空隙 */
}

.member-info {
  text-align: center;
  padding: 0 10px;
}

.member-name {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin: 0 0 8px;
}

.member-detail p {
  margin: 6px 0;
  font-size: 0.9rem;
  color: #666;
}


/* ////////////////成员列表样式/////////////// */
/* === 学生成员列表样式 === */
/* 新增成员列表样式 */
/* === 学生成员列表样式 - 网格布局 === */
.member-list-container {
  width: 100%;
  background: rgba(250, 251, 253, 0.85);
  border-radius: 12px;


}

.member-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 默认3列布局 */
  gap: 15px; /* 项目间距 */
  list-style: none;
  margin: 20px;
  padding: 30px 10px;
}

.member-item {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.member-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.member-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
  text-align: center;
}

.member-info-line {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}





.member-description {

  text-align: center;
  margin-top: auto; /* 确保描述底部对齐 */
  font-size: 1rem;
}

.member-email {
  color: #2c3e50;
  font-size: 1rem;
  text-align: center;
  /* 去除链接的悬停和下划线样式 */
}




/* //////////////////////////////// */







/* 负责人容器特殊样式 */
/* 负责人容器 */
.leader-container {
  display: flex;
  gap: 30px; /* 元素间距 */
  background: #f8f8f8;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.leader-left {
  flex: 0 0 280px; /* 固定宽度与照片对齐 */
  display: flex;
  flex-direction: column;
  padding-top: 30px;
}

.leader-right {
  flex: 1; /* 自适应剩余宽度 */
  padding: 15px 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.leader-right h3{
  color: var(--primary-color);
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent-color);
}

/* 保持照片框样式 */
.leader-left .member-image {
  width: 300px !important;
  height: 200px !important;
  margin-bottom: 20px;
  border-radius: 8px;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .leader-container {
    flex-direction: row;
    align-items: center;      /* 新增：子元素居中排列 */
  }
  
  .leader-left {
    flex: none;               /* 移除弹性缩放 */
    max-width: 280px;         /* 限制最大宽度 */
  }
  /* 移动端覆盖原有响应式设置 */
  .leader-left .member-image {
    aspect-ratio: auto !important;  /* 移除原有宽高比设置 */
    width: 300px !important;
    height: 200px !important;
  }
  
  .leader-right {
    width: 100%;             /* 保持右侧自适应 */
    max-width: none;         /* 移除最大宽度限制 */
  }
}



@media (max-width: 768px) {
  .member-image {
    width: 148px;
    height: 197px;       /* 保持4:3比例 */
  }
  
  .member-grid {
    grid-template-columns: repeat(5, 1fr);     /* 移动端单列布局 */
    justify-items: left;          /* 内容居中 */
    gap: 20px;
  }
  
  .member-container {
    width: 100%;
    max-width: 200px;
  }
}






/* ////////////////////////////// */


/* //////////////////////////// */
/* 新增实验设备展示样式 */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 20px;
}

.equipment-item {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  padding: 20px;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.equipment-item:hover {
  transform: translateY(-5px);
}

.equipment-image {
  width: 100%;
  max-width: 350px;
  height: auto;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.equipment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.equipment-name {
  text-align: center;
  font-size: 1.2rem;
  color: #333;
  margin-top: 15px;
  padding: 10px;
  background: #f8f8f8;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .equipment-image {
    height: 200px;
  }
  
  .equipment-name {
    font-size: 1rem;
  }
}
/* /////////////////////////// */



/* //////////////////////////// */
/* 加入我们页面专用样式 */
.joinus-container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 10px;
}

.welcome-banner {
  background: rgba(250, 251, 253, 0.85); /* 添加透明度 */
  backdrop-filter: blur(5px); /* 添加毛玻璃模糊效果 */
  -webkit-backdrop-filter: blur(5px); /* Safari兼容 */
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 40px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.welcome-text {
  font-size: 18px;
  color: #000000;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;

}

.teacher-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.teacher-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.teacher-card:hover {
  transform: translateY(-5px);
}

.teacher-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
}

.teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.gallery-item {
  aspect-ratio: 4/3;
  background: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .image-gallery {
    grid-template-columns: 1fr;
  }
  
  .welcome-banner {
    padding: 25px;
  }
}
/* ////////////////////////// */




@media screen and (-webkit-min-device-pixel-ratio:0) {
  .nav-category > a {
    display: block !important;
    padding-top: 9.5px !important;
    padding-bottom: 9.5px !important;
  }
}





@media (min-width: 1920px) {
  .research-container {
    padding: 0 calc((100% - 1400px)/2);
  }
}
/* 手机端专用修复 */
@media (max-width: 480px) {
  body {
    min-width: 100% !important;
    overflow-x: scroll !important; /* 强制允许滚动 */
  }
  .research-container {
    width: 1000px; /* 保持宽内容区域 */
  }
}




/* /////////////////////////////////////// */
/* ===内容区链接基础样式=== */
.research-content a {
  color: #000000;        /* 常规黑色 */
  text-decoration: none; /* 移除下划线 */
  transition: all 0.1s ease; /* 平滑过渡 */
}

/* ===悬停状态=== */
.research-content a:hover {
  color: #1878b8 !important;     /* 悬停颜色（根据主题色调整） */
  text-decoration: underline !important; /* 悬停下划线 */
}

/* ===访问后状态=== */
.research-content a:visited {
  color: #000000;        /* 保持黑色 */
  text-decoration: none; /* 移除下划线 */
}

/* ===处理特殊灰色链接=== */
.grey-link {
  color: #000000 !important;    /* 覆盖原始灰色 */
}

.research-content a.grey-link:hover {
  color: #3498db !important;    /* 悬停颜色 */
  text-decoration: underline !important; /* 悬停下划线 */
}

/* ===激活状态保持原样=== */
.research-content a:active {
  color: #000000 !important;
  text-decoration: none !important;
}

/* ////////////////////////////////// */



/* //////////////////////////////// */
/* 新增动态内容区域样式 */
.dynamic-item {
  margin-bottom: 10px;
  padding: 20px;
  background: #fff;
}

.dynamic-text {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.dynamic-text a {
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.3s;
}



.dynamic-image {
  text-align: center;
  margin-top: 15px;
}

.dynamic-image img {
  max-width: 100%;
  width: 100%;
  height: 100%;
}



/* 响应式调整 */
@media (max-width: 768px) {
  .dynamic-item {
    padding: 15px;
    margin-bottom: 30px;
  }
  
  .dynamic-image img {
    max-width: 100%;
  }
}

/* ///////////////////////////////// */



/* ////////////////////////////////////// */
/* === 研究方向图片容器 === */
.research-section-image {
  width: 45%;
  height: auto;
  margin: 25px auto 40px;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5; /* 占位背景色 */
}

.research-section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: middle;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .research-section-image {
    width: 45%;
    margin: 20px auto 30px;
  }
}

/* ////////////////////////////////////// */





/* /////////////////////////////////// */

/* 锚点跳转时预留顶部间距 */
html {
  scroll-padding-top: 80px;
}

@media (max-width: 768px) {
  /* 移动端需要更大的预留空间 */
  html {
    scroll-padding-top: 120px;
  }
  
  /* 修复移动端最小宽度导致的滚动问题 */
  .research-container {
    min-width: auto !important;
  }
}

/* 保持水平滚动位置不变 */
html {
  scroll-behavior: smooth;

}

/* //////////////////////////////// */




/* /////////////////////////////////// */
/* 返回顶部按钮样式 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  padding: 12px 20px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 0 3px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  font-size: 14px;
  border: none;
  opacity: 0.9;
}

.back-to-top:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
  opacity: 1;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* 移动端适配 */
@media (max-width: 768px) {
  .back-to-top {
      bottom: 20px;
      right: 20px;
      padding: 10px 15px;
      font-size: 13px;
  }
}
/* /////////////////////////////// */





