/* 成员页面样式 */
.team-member {
  margin-bottom: 30px;
  padding: 20px;
  background-color: #e6e6f0;
  border-radius: 8px;
}

.team-member h3 {
  color: #2f2a5e;
  margin-bottom: 10px;
}

h2 {
  text-align: center;
  font-size: 3em;
  color: #2980b9;
  margin-bottom: 20px;
}

.professor {
  margin-bottom: 15px;
  padding: 15px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 4px 4px 8px 12px rgba(0, 0, 0, 0.1);
}

.proup {
  display: flex;
  align-items: center;
}

.professor-image p {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1.2em;
  color: #2c3e50;
  font-weight: bold;
}

.professor-image {
  display: flex;
  flex-direction: column;
  margin-top: 10%;
  align-items: center;
}

.professor img {
  width: 200px;
  height: 200px;

  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  border: 1px solid black;
}

.professor-info-r {
  max-width: 650px;
  margin-top: 5%;
}

.professor-info-r h3 {
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 1.2em;
  color: #2c3e50;
}

.professor-info-l {
  margin-left: 20%;
}

.proleft {
  margin-right: 15px;
  width: 40%;
  height: 100%;
}

.prodown {
  margin: 0px 50px 15px 50px;
  padding: 10px;
}

.pro footer {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 15px 0;
  text-align: center;
}

.contact-info p {
  margin: 3px 0;
}

/* 博士后大卡片容器 */
.fellows {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 25px;
  margin-top: 30px;
  margin-bottom: 30px;
}

/* 内部人员排列容器 */
.fellows-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: flex-start;
  margin-top: 20px;
}

/* 单个博士后条目 */
/* .fellow {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 180px;
}

.fellow img {
  width: 150px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
} */
/*
.fellow p {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1em;
  color: #2c3e50;
  font-weight: bold;
} 
*/

/* 标题样式 */
.fellows h3 {
  color: #2980b9;
  font-size: 1.8em;
  border-bottom: 2px solid #e6e6f0;
  padding-bottom: 10px;
  margin-bottom: 20px;
  margin-top: 0px;
}

main a {
  color: #9522c2; /* 正文链接的默认颜色 */
  text-decoration: none;
}

main a:hover {
  text-decoration: underline;
}

main a:visited {
  color: #9522c2; /* 确保访问过的正文链接颜色不变 */
}

/* 学生容器样式 */
.fellow {
  display: flex;
  width: calc(50% - 30px);
  margin-bottom: 30px;
  padding: 0px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.fellow-image {
  flex: 0 0 120px;
  margin-right: 20px;
}

.fellow-image img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.fellow-info {
  flex: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

.fellow-info p {
  margin: 5px 0;
  color: #2c3e50;
}

.name {
  font-weight: bold;
  font-size: 1.1em;
}

/* .chinese-name {
  font-size: 0.95em;
  color: #666;
} */

.affiliation {
  font-size: 0.9em;
  margin-top: 8px !important;
}

.email {
  font-size: 0.9em;
  margin-top: 0;
  padding-bottom: 10px;
  word-break: break-all; /* 长文本换行策略 */
  width: 100%;
}

.email a {
  color: #2980b9;
  text-decoration: none;
}

.email a:hover {
  text-decoration: underline;
}

/* 调整容器布局 */
.fellows-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .proup {
    flex-direction: column;
  }

  .proleft {
    margin-right: 0px;
    width: 100%;
    height: 100%;
  }

  .proright,
  .prodown {
    max-width: 650px;
    width: 100%;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
  }

  .professor-info-l {
    margin: 0 0 0 0;
  }

  .professor img {
    width: 120px;
    height: 120px;
  }

  .fellow {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .fellow-image {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .fellows-container {
    flex-direction: column;
    align-items: center;
  }
}
