/* ===== 全局基础 ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;  
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
html, body {
  overflow-x: hidden; 
}
body {
  font-family:"Times New Roman","Noto Sans SC", "Microsoft YaHei", "PingFang SC",sans-serif;
  margin: 0 auto;
  max-width: 10000px;
  color: #000000;
  background-color: #f4f7fa;
  line-height: 1.7;
  padding-top: 74px;
}
section[id] {
  scroll-margin-top: -5px;
}
img {
  max-width:100%;
  height:auto;
}


/* ===== 字体 ===== */
h1 {
  font-size: 2rem;
  color: #000000;
  margin-top: 0.5rem;
  margin-bottom: 0.6rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 4px;
  text-shadow: 0 1px 2px rgba(0,34,68,0.12);
}
h2 {
  font-size: 2rem;
  color: #000000;
  margin-top: 0rem;
  margin-bottom: 0rem;
  font-weight: 600;
}
h3 {
  font-size:1.5rem;
  color:#000000;
  margin:1.3rem 0 0.6rem;
}
p {
  font-size: 1.1rem;
  margin: 0.8rem 0;
  color:#000000;
}


/* ===== 框 =====  */
.intro-box {
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.1) 40%, rgba(142, 22, 39, 0.1) 100%);
  padding:24px 32px;
  box-shadow: 0 2px 12px rgba(0,20,50,0.10);
  margin: 0rem 0;
}
.member-group {
  margin: 1.2rem 0;
  max-width: 1250px;
  margin-inline: auto;
}
.member-container {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: flex-start;
  width: 100%;
  margin-bottom: 2rem;
}
.member-card-box {
  background: #ffffff;
  padding: 24px 32px; 
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0,20,50,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform, box-shadow;
}


/* ===== Header 导航栏 ===== */
.site-header {
  background-color: #8E1627;
  padding: 1rem 2.5rem;
  position: fixed;
  top: 0;
  left: 0;
  width:100%;
  z-index: 999;
}
.header-container {
  max-width: 1250px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}
/* 左侧校徽区域 */
.header-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.eit-logo {
  height: 50px;
  width: auto;
}
/* 中间横向课题组标题 */
.header-middle {
  text-align: center;
}
.title-main {
  font-size: 2rem;
  color: #ffffff;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 6px;
  font-family:"PingFang SC",sans-serif;
}
/* 右侧导航 */
.header-nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  font-size: 1rem;
}
.header-nav a {
  color: #ffffff;
  text-decoration: none;
}
.header-nav a:hover,
.header-nav a:focus {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
  transform: scale(1.2);
}


/* ===== 导师个人主页卡片 ===== */
.teacher-card {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  width: 100%;
  flex: 1 1 100% !important;
  box-sizing: border-box;
  background: rgba(255,255,255,0);
  padding:0px;
  position:relative;
  text-align: left !important; 
}
.teacher-info {
  flex: 1;
  text-align: left !important;
}
.teacher-name-row {
  display:flex;
  align-items:center;
  gap:16px;
  text-align: left !important;
}
.teacher-name {
  font-size:3rem;
  font-weight:700;
  color:#000000;
  margin:0;
  text-align: left !important;
  letter-spacing: 10px;
}
.teacher-title {
  font-size:1.5rem;
  font-weight: 700;
  color:#000000;
  margin: 8px 0 16px;
  text-align: left !important;
}
.contact-row {
  display: grid;
  grid-template-columns: 120px 1fr; 
  gap: 0.5rem;
  font-size:1.5rem;
  margin: 8px 0;
  color:#000000;
}
.contact-label {
  text-align: left; 
  font-size:1.5rem;
  font-weight: 700;
  color:#000000;  
}
.teacher-desc {
  font-size:1.5rem;
  color:#000000;
  line-height:1.7;
  margin:0px 0 0;
  text-align: left !important;
}
.desc-box {
  background: #ffffff;
  padding: 24px 32px; 
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0,20,50,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform, box-shadow;
}
.desc-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0,20,50,0.14);
}
/* 右侧头像 */
.teacher-avatar-wrap {
  position:relative;
  flex-shrink:0;
  align-self: center;
}
.teacher-avatar {
  width:325px;
  height:425px;
  border-radius: 10%;
  object-fit: cover;
  object-position: center 15%;
  border:4px solid #e8edf2;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform, box-shadow;
}
.teacher-avatar:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0,20,50,0.14);
}


/* ===== 研究方向 ===== */
.research-grid-box {
  background: #f7f9fc;
  padding: 24px 32px;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0,20,50,0.10);
  margin: 2.4rem 0;
}
.research-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.research-card-1 {
  background: #fcb841;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,20,50,0.08);
  border: 1px solid #eef2f7;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform, box-shadow;
}
.research-card-1:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0,20,50,0.14);
}
.research-card-2 {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,20,50,0.08);
  border: 1px solid #eef2f7;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform, box-shadow;
}
.research-card-2:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0,20,50,0.14);
}
.research-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 12px;
}
.research-card-desc {
  font-size: 1.25rem;
  color: #000000;
  line-height: 1.7;
}


/* ===== 团队成员板块 ===== */
.group-title {
  text-align: left;
  font-size:1.5rem;
  font-weight: 700;
  color:#000000;
  margin-bottom:1.2rem;
}
.postdoc-wrap {
  flex: 0 0 100%;
  width:100%;
  text-align:left;
}
.member-avatar {
  width:150px;
  height:150px;
  border-radius: 10%;
  object-fit: cover;
  object-position: center 15%;
  border:2px solid #e8edf2;
}
.member-name{
  font-size:1.25rem;
  color:#000000;
  text-align:center;
  margin:0;
}


/* ===== 通用卡片 ===== */
.postdoc-header {
  text-align: left;
  margin-bottom: 24px;
}
.postdoc-persons {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}
.person-item {
  text-align:center;
  flex-shrink: 0;
  border-radius: 10%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform, box-shadow;
}
.person-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0,20,50,0.14);
}

/* ===== 参考文献 ===== */
.reference-list {
  font-family: "Times New Roman", serif;
  line-height: 2;
  list-style-position: outside;
  padding-left: 1rem;
}
.reference-list li {
  margin-bottom: 0;
  font-size: 1rem; 
  color: #000000;
  text-indent: 0rem; 
  text-align: left;
  overflow-wrap: break-word;
  margin-left: 0;
}


/* ===== 版权所有 ===== */
.page-footer {
  margin-top: 0;
  width: 100%;
  background-color: #8E1627;
  color: #ffffff;
  font-size: 1rem;
  padding: 1rem 0;
}
.page-footer p {
  color: #ffffff;
  margin:0;
  text-align: center;
}


/* ===== 返回顶部按钮 ===== */
.back-to-top {
  position: fixed;
  bottom: 8rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  border-radius: 10%;
  background-color: #ffffff;
  color: #8E1627;
  border: none;
  font-size:1.5rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:0;
  transition: all 0.25s ease;
}
.back-to-top:hover {
  background-color: #8E1627;
  transform: scale(1.1);
  color: #ffffff;
}
