/**
 * 团队成员详细页样式
 */

/* 顶部填充，避免导航栏遮挡 */
.team-member-top-spacer {
  height: 80px;
}

/* 主内容区域 */
.team-member-single {
  margin-bottom: 60px;
}

/* 个人资料英雄部分 */
.team-member-hero {
  background-color: #f9fafc;
  padding: 60px 0;
  margin-bottom: 40px;
  border-bottom: 1px solid #eaeef3;
}

.team-member-profile {
  display: flex;
  gap: 50px;
  align-items: center;
}

.team-member-image {
  flex: 0 0 300px;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 5px solid #fff;
}

.team-member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member-info {
  flex: 1;
}

.team-member-name {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 20px;
  color: #1e2933;
}

.team-member-meta {
  margin-bottom: 25px;
}

.meta-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  color: #566476;
  font-size: 16px;
}

.meta-item i {
  margin-right: 15px;
  width: 20px;
  color: #5c8dff;
}

.meta-item a {
  color: #5c8dff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.meta-item a:hover {
  color: #3366cc;
  text-decoration: underline;
}

/* 个人网站按钮 */
.team-member-buttons {
  margin-bottom: 25px;
}

.member-website-btn {
  display: inline-flex;
  align-items: center;
  background-color: #5c8dff;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(92, 141, 255, 0.2);
}

.member-website-btn i {
  margin-right: 10px;
  font-size: 16px;
}

.member-website-btn:hover {
  background-color: #3366cc;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 7px 15px rgba(92, 141, 255, 0.3);
}

.team-member-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.team-member-social .social-link {
  display: flex;
  align-items: center;
  background-color: #f1f5f9;
  color: #64748b;
  padding: 8px 16px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.team-member-social .social-link i {
  margin-right: 8px;
  font-size: 16px;
}

.team-member-social .social-link:hover {
  background-color: #5c8dff;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(92, 141, 255, 0.2);
}

/* 内容标签页 */
.team-member-content {
  padding: 20px 0 60px;
}

.team-member-tabs {
  margin-top: 20px;
}

.tab-nav {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  border-bottom: 2px solid #edf2f7;
  flex-wrap: wrap;
}

.tab-item {
  padding: 15px 25px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.tab-item:hover {
  color: #5c8dff;
}

.tab-item.active {
  color: #5c8dff;
}

.tab-item.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: #5c8dff;
}

.tab-content {
  min-height: 300px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 个人简介内容 */
.bio-content {
  font-size: 17px;
  line-height: 1.8;
  color: #4a5568;
}

.bio-content h2 {
  font-size: 24px;
  color: #2d3748;
  margin: 30px 0 15px;
}

.bio-content p {
  margin-bottom: 20px;
}

.bio-content ul, .bio-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.bio-content li {
  margin-bottom: 10px;
}

/* 研究主题部分 */
.research-topics h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 30px;
  color: #2d3748;
}

.topic-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.topic-item {
  background-color: #f9fafc;
  border-radius: 12px;
  padding: 25px;
  border-left: 4px solid #5c8dff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.topic-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.topic-item h3 {
  font-size: 20px;
  margin: 0 0 15px;
  color: #2d3748;
}

.topic-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #4a5568;
  margin: 0;
}

/* 研究机会部分 */
.opportunities-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 30px;
  color: #2d3748;
}

.opportunities-text {
  font-size: 16px;
  line-height: 1.8;
  color: #4a5568;
}

.opportunities-text h3 {
  font-size: 20px;
  color: #2d3748;
  margin: 25px 0 15px;
}

.opportunities-text p {
  margin-bottom: 15px;
}

.opportunities-text ul, .opportunities-text ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.opportunities-text li {
  margin-bottom: 10px;
}

.opportunities-text a {
  color: #5c8dff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.opportunities-text a:hover {
  color: #3366cc;
  text-decoration: underline;
}

/* 出版物列表 */
.publications-list h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 30px;
  color: #2d3748;
}

.publication-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.publication-item {
  padding: 20px 25px;
  border-radius: 8px;
  background-color: #f9fafc;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  border-left: 3px solid #5c8dff;
}

.publication-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transform: translateY(-3px);
}

.publication-item h3 {
  font-size: 18px;
  margin: 0 0 10px;
  line-height: 1.4;
}

.publication-item a {
  color: #2d3748;
  text-decoration: none;
  transition: color 0.3s ease;
}

.publication-item a:hover {
  color: #5c8dff;
}

.publication-authors {
  font-size: 15px;
  color: #4a5568;
  margin-bottom: 10px;
  font-style: italic;
}

.publication-meta {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: #718096;
}

.pub-date, .pub-journal {
  display: inline-flex;
  align-items: center;
}

.pub-date::before {
  content: '\f073';
  font-family: 'Font Awesome 5 Free';
  margin-right: 5px;
}

.pub-journal::before {
  content: '\f02d';
  font-family: 'Font Awesome 5 Free';
  margin-right: 5px;
  font-weight: 900;
}

/* 项目网格 */
.projects-grid h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 30px;
  color: #2d3748;
}

.project-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.project-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.project-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.project-link img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-link img {
  transform: scale(1.05);
}

.project-info {
  padding: 20px;
}

.project-info h3 {
  font-size: 18px;
  margin: 0 0 10px;
  color: #2d3748;
}

.project-info p {
  font-size: 14px;
  color: #718096;
  margin: 0;
  line-height: 1.6;
}

/* 其他团队成员部分 */
.other-team-members {
  padding: 60px 0;
  background-color: #f9fafc;
  border-top: 1px solid #eaeef3;
}

.other-team-members h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 30px;
  color: #2d3748;
  text-align: center;
}

.team-members-carousel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.member-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.member-image {
  height: 200px;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.member-card:hover .member-image img {
  transform: scale(1.05);
}

.member-info {
  padding: 20px;
  text-align: center;
}

.member-info h3 {
  font-size: 18px;
  margin: 0 0 5px;
  color: #2d3748;
}

.member-info p {
  font-size: 14px;
  color: #5c8dff;
  margin: 0;
}

/* 响应式调整 */
@media (max-width: 992px) {
  .team-member-profile {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  
  .team-member-image {
    margin: 0 auto;
  }
  
  .meta-item {
    justify-content: center;
  }
  
  .team-member-social {
    justify-content: center;
  }
  
  .team-member-buttons {
    text-align: center;
  }
  
  .team-members-carousel {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .team-member-top-spacer {
    height: 60px;
  }
  
  .team-member-hero {
    padding: 40px 0;
  }
  
  .team-member-name {
    font-size: 2rem;
  }
  
  .project-cards {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .tab-nav {
    flex-wrap: wrap;
  }
  
  .tab-item {
    padding: 10px 15px;
  }
}

@media (max-width: 576px) {
  .team-member-image {
    flex: 0 0 250px;
    height: 250px;
  }
  
  .team-members-carousel {
    grid-template-columns: 1fr;
  }
  
  .publication-meta {
    flex-direction: column;
    gap: 5px;
  }
} 