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

/* Global colors */
:root {
  --color-blue: #2D6FAE;
  --color-light-blue: #DEEBF7;
  --color-drak: #444;
  --color-gray: #666;
  --color-light-gray: #EEE;
  --color-white: #FFF;
}

* {
  padding: 0;
  margin: 0;
}

body {
  width:1280px;
  background-color:var(--color-light-gray);
  margin:auto;
  font-size:18px;
  font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", SimSun, "宋体", sans-serif;
}

/* common */
.larger{
  font-size: larger;
}
.bold{
  font-weight: bold;
}
.center{
  text-align: center;
}
.text-blue{
  color: var(--color-blue);
}


/* banner layer */
.banner-layer{
  margin: 0;
  width: 100%;
  text-align: left;
  line-height: 1.5;
  font-weight: bolder;
  text-indent: 2em;
  background-color: var(--color-blue);
  color: var(--color-white);
  font-size: 20px;
}

/* nav */
.nav-layer{
  margin: 0;
  padding-top: 10px;
  padding-bottom: 20px;
  background-color: var(--color-white);
  width: 100%;
  text-align:center;
}
.nav-layer ul {
  text-align:center;
  list-style-type:none;
}
.nav-layer ul, .nav-layer li {
  display:inline;
  list-style-type:none;
  font-weight:bold;
}
.nav-layer li {
  padding-left:15px;
  padding-right:15px;
  font-size: 24px;
  line-height: 1.5;
}
.underline{
  text-decoration: underline;
}
.nav-layer-inactive{
}

a:link {color:var(--color-blue);text-decoration:none;}    /* 未被访问的链接 */
a:visited {color:var(--color-blue);text-decoration:none;} /* 已被访问的链接 */
a:hover {color:var(--color-blue);text-decoration:none;}   /* 鼠标指针移动到链接上 */
a:active {color:var(--color-blue);text-decoration:none;}  /* 正在被点击的链接 */

.hrline {
  padding:0;
  margin: 0;
  width: 100%;
  height:2px;
  border:0;
  border-top:3px solid var(--color-light-blue); /* DEEBF7  C6D7EE */
  float: left;
}

/* content-layer */
.content-frame{
  float: left;
  width: 100%;
  margin: 0;
  background-color: var(--color-white);
  line-height: 1.5;
}
.content-layer{
  padding-left: 60px;
  padding-right: 60px;
}
.content-layer ul{
  padding: 0;
  margin: 0;
}
.content-layer p{
  margin-bottom: 10px;
}


/* footer */
.footer{
  float: left;
  width: 100%;
  text-align: center;
  background-color: var(--color-white);
  line-height: 1.2;
}


/* home */
.home-slider {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
}
.home-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  z-index: 0;
}
.home-slide.active {
  opacity: 1;
  z-index: 1;
}
.home-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.home-spacer {
  flex-grow: 1;
}
.home-welcome {
  position: relative;
  z-index: 2; /* 明确在背景图层之上 */
  color: var(--color-white);
  font-size: 48px;
  font-weight: bold;
  text-align: center;
  padding-top: 60px;
  padding-bottom: 60px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);

  /* 强制建立合成层，避免动画重绘干扰 */
  transform: translateZ(0);
  will-change: opacity, transform;
}

/* publication */
.research-title{
  font-size: larger;
  font-weight: bold;
  text-align: center;
}
.research-direction-list{
  padding-left: 2em;
}


/* publication */
.publication-head-title{
  font-weight: bold;
}
.publication-head-note{
  font-size: smaller;
}
.publication-list ol{
  padding: 0;
  margin: 0;
}
.publication-list li{
  padding-top: 20px;
  padding-bottom: 0;
  line-height: 1.5;
}
.publication-corresponding {
  height: 16px;
  width: auto;
  margin-left: 3px;
}
.publication-journalName{
  font-style: italic;
  font-weight: bold;
  padding: 0;
  margin: 0;
}
.publication-labMember{
  font-weight: bold;
  padding: 0;
  margin: 0;
  color: var(--color-blue);
}
.publication-firstAuthor{
  padding: 0;
  margin: 0;
  text-decoration: underline;
}
.publication-title{
  font-style: italic;
  padding: 0;
  margin: 0;
}


/* resource */
.tool-head-title{
  font-weight: bold;
}
.tool-head-note{
  font-size: smaller;
}
.tool-item li{
  padding-top: 20px;
}
.tool-title{
  font-weight: bold;
  color: var(--color-blue);
}
.tool-description{
  padding-top: 10px;
  padding-bottom: 10px;
  /*font-size: smaller; */
}

/* team */
.team-pi-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 20px 0 20px 0;
  flex-wrap: wrap;
}
.team-pi-section img {
  width: auto;
  height: 180px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.team-pi-text {
  max-width: 700px;
}
.team-pi-name {
  font-weight: bold;
}
.team-pi-title {
  color: var(--color-gray);
}
.team-pi-introduction {
  margin-top:10px;
  font-size: 16px;
  color: var(--color-drak);
  line-height: 1.5;
}
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  row-gap: 8px;
  column-gap: 8px;
  padding: 0;
  margin-top: 50px;
  margin-bottom: 60px;
}
.team-member-card {
  background-color: var(--color-white);
  border-radius: 3px;
  padding: 1px;
  width: 19%;
  box-shadow: 0 1px 1px rgba(0,0,0,0.1);
  box-sizing: border-box;
  text-align: center;
}
.team-avatar-container {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 10px;
}
.team-avatar-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-member-name {
  font-weight: bold;
}
.team-member-title {
  color: var(--color-gray);
}
@media (max-width: 992px) {
  .team-member-card {
    width: 48%;
  }
  .team-pi-section {
    flex-direction: column;
    text-align: center;
  }
  .team-pi-text {
    max-width: none;
  }
}
@media (max-width: 600px) {
  .team-member-card {
    width: 100%;
  }
}


/* position */
.position-title{
  font-size: larger;
  font-weight: bold;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 30px;
}
.position-content {
  text-indent: 2em;
}

/* contact */
.contact-entrance{
  padding-top: 50px;
  padding-bottom: 30px;
}
.contact-entrance img{
  margin: 0 auto;
  width:100%;
}
.contact-text{
  text-align: center;
  padding-bottom: 50px;
}


/* common */
.lab-blue{
  color: var(--color-blue);
}
.lab-bold{
  font-weight: bold;
}


/* team avatars animation  */
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes slideInTop {
  0% { transform: translateY(-30px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes slideInLeft {
  0% { transform: translateX(-30px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes zoomIn {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes flipIn {
  0% { transform: rotateY(90deg); opacity: 0; }
  100% { transform: rotateY(0deg); opacity: 1; }
}

@keyframes blinds {
  0% { transform: scaleY(0); opacity: 0; transform-origin: top; }
  100% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

@keyframes rotateIn {
  0% { transform: rotate(-180deg); opacity: 0; }
  100% { transform: rotate(0); opacity: 1; }
}

/* 公共样式，控制动画参数 */
.team-avatar-container img {
  opacity: 0;
  animation-duration: 2s;
  animation-fill-mode: forwards;
}

