@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAUi-qNiXg7eU0.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAXC-qNiXg7Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_FQftx9897sxZ.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_Gwftx9897g.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjxAwXiWtFCfQ7A.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjx4wXiWtFCc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwaPGQ3q5d0N7w.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwiPGQ3q5d0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================
   2. 全局变量 (Variables)
   ========================================= */
:root {
  --primary-color: #1772d0; /* 链接主色调 */
  --text-color: #333;
  --bg-color: #fff;
  --highlight-bg: #ffffd0;  /* 论文高亮背景色 */
  --gray-text: #666;
}

/* =========================================
   3. 基础样式 (Global Reset & Base)
   ========================================= */
body {
  font-family: 'Inter', 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lato', sans-serif;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover, a:focus {
  text-decoration: underline;
  color: #0f5bb5;
}

/* 兼容旧代码的辅助类 */
heading {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: bold;
  display: block;
  margin-bottom: 20px;
}

strong {
  font-weight: 700;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 20px;
}

h2.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  margin-top: 60px;
  margin-bottom: 30px;
  color: #000;
}

/* =========================================
   4. 头部与名字 (Header & Name)
   ========================================= */
.main-header-container {
  display: flex;            
  justify-content: center;  
  align-items: baseline;    /* 基线对齐，修正中英文大小不一致的问题 */
  gap: 20px;                
  margin-bottom: 45px;      
  flex-wrap: wrap;          
}

.name-en-center {
  font-family: 'Lato', sans-serif;
  font-size: 3.2rem;        
  font-weight: 700;         
  color: #000;
  line-height: 1;
}

.name-cn-center {
  font-family: "Noto Serif SC", "KaiTi", "STKaiti", serif; /* 优先使用衬线宋体 */
  font-size: 3.2rem;        
  font-weight: 500;         
  color: #222;              
  line-height: 1;
}

/* =========================================
   5. 简介与头像 (Bio & Profile Photo)
   ========================================= */
.profile-body {
  display: flex;
  align-items: flex-start;
  gap: 50px;
  margin-bottom: 50px;
}

.profile-bio {
  flex: 1;
}

.bio-text {
  font-size: 1.05rem;
  margin-bottom: 15px;
  color: #444;
}

.profile-photo-box {
  width: 280px;
  flex-shrink: 0;
  text-align: center;
  background: #fff;
  padding: 12px;               /* 卡片外框内边距 */
  border: 1px solid #eee;      
  border-radius: 12px;         
  box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
  transition: transform 0.3s ease;
}

.profile-photo-box:hover {
  transform: translateY(-5px); /* 悬停上浮 */
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.avatar-img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.photo-caption {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--gray-text);
  font-style: italic;
  font-family: 'Lato', sans-serif;
}

/* =========================================
   6. 社交按钮 (Social Links - Pill Style)
   ========================================= */
.social-links-bar {
  margin-top: 25px;
  display: flex;
  justify-content: center;  /* 水平居中 */
  align-items: center;      /* 垂直居中（可选） */
  flex-wrap: wrap;
  gap: 10px;
}

.social-btn {
  display: inline-block;
  padding: 6px 16px;
  background-color: #f3f4f6;
  color: #444 !important;
  border-radius: 50px;       /* 胶囊形状 */
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid #e5e7eb;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.social-btn:hover {
  background-color: var(--primary-color);
  color: #fff !important;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(23, 114, 208, 0.2);
}

/* =========================================
   7. 愿景与地图 (Vision & Research Map)
   ========================================= */
.vision-box {
  background-color: #f8f9fa;
  border-left: 4px solid var(--primary-color);
  padding: 20px 25px;
  margin: 25px 0;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.vision-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vision-box li {
  margin-bottom: 12px;
}

.vision-title {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.05em;
  display: block;
  margin-bottom: 4px;
}

/* 宽屏版愿景卡片 */
.vision-section-full {
  margin: 40px 0;
}
.vision-intro {
  margin-bottom: 20px;
  color: #444;
}
.vision-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.v-card {
  background: #f8f9fa;
  border-top: 3px solid var(--primary-color);
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}
.v-card:hover {
  transform: translateY(-3px);
}
.v-title {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 1.05em;
  display: block;
}
.v-desc {
  font-size: 0.9em;
  color: #555;
  line-height: 1.5;
}

/* 地图 */
.map-section-full {
  text-align: center;
  margin-bottom: 60px;
  background: #fff;
  padding: 10px;
}
.research-map-img {
  max-width: 95%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border: 1px solid #eee;
}
.map-caption {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #666;
}

/* =========================================
   8. 新闻列表 (News)
   ========================================= */
.news-list {
  list-style: none;
  padding: 0;
}

.news-list li {
  margin-bottom: 14px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.news-date {
  font-weight: 700;
  min-width: 85px;
  color: var(--text-color);
  font-size: 0.95em;
  font-family: 'Lato', sans-serif;
}

.news-content {
  font-size: 0.95em;
}

.news-content img {
  vertical-align: middle;
  margin-left: 5px;
  height: 18px;
}

.hidden-news {
  display: none;
}

.btn-show-more {
  background: #fff;
  border: 1px solid #ccc;
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #555;
  transition: all 0.2s;
  margin-top: 10px;
  display: block;
}

.btn-show-more:hover {
  background-color: #f4f4f4;
  color: #000;
  border-color: #999;
}


/* =========================================
   9. 经历与教育 (Experience & Education)
   ========================================= */
.experience-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 25px;
  margin-bottom: 30px;
  width: 100%;
}

.logo-box {
  width: 100px;        /* 固定Logo宽度 */
  min-width: 100px;
  display: flex;
  justify-content: center;
}

.logo-box img {
  width: 100%;         /* 强制宽度占满盒子 */
  height: auto;
  max-height: 60px;
  object-fit: contain;
  display: block;
}

.experience-details {
  flex: 1;
  text-align: left;
}

.experience-details strong {
  font-size: 1.2rem;
  color: #000;
  display: block;
  margin-bottom: 2px;
}

.experience-details span {
  font-size: 1rem;
  color: #333;
}

.experience-details em {
  color: var(--gray-text);
  font-style: normal;
  display: block;
  margin-top: 2px;
}

/* =========================================
   10. 论文列表 (Publications)
   ========================================= */
.paper-item {
  display: flex;
  gap: 30px;
  margin-bottom: 35px;
  padding: 20px;
  border-radius: 10px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid transparent;
}

.paper-item:hover {
  background-color: var(--highlight-bg); 
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.paper-img {
  width: 220px;
  flex-shrink: 0;
}

.paper-img img {
  width: 100%;
  border-radius: 4px;
  border: 1px solid #eee;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.paper-text {
  flex: 1;
}

.paper-title {
  font-size: 1.15rem;
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
  color: #000;
  line-height: 1.4;
}

.paper-authors {
  color: #444;
  margin-bottom: 6px;
  display: block;
  line-height: 1.5;
}

.paper-authors a {
  color: #444;
}
.paper-authors a:hover {
  text-decoration: underline;
}
.paper-authors strong {
  color: #000;
}

.paper-venue {
  display: block;
  margin-bottom: 8px;
  font-style: italic;
  color: var(--gray-text);
}

.highlight-venue {
  color: #000;
  font-weight: 600;
  font-style: normal;
}

.paper-links {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.paper-links a {
  font-weight: 600;
  font-size: 0.9rem;
}

.paper-links img {
  vertical-align: middle;
  height: 20px;
}

.paper-desc {
  font-size: 0.9rem;
  color: #555;
  margin-top: 10px;
  text-align: justify;
}

/* =========================================
   11. 通用列表与组件 (Lists & Misc)
   ========================================= */
.custom-list {
  line-height: 1.8;
  padding-left: 20px;
}

.custom-list li {
  margin-bottom: 10px;
}

.tag-label {
  font-weight: 700;
  color: #444;
  font-size: 0.95rem;
}

/* 旧代码保留 - 淡入淡出图片效果 (如未使用可删除) */
.one { width: 160px; height: 160px; position: relative; }
.two { width: 160px; height: 160px; position: absolute; transition: opacity .2s ease-in-out; }
.fade { transition: opacity .2s ease-in-out; }

/* =========================================
   12. 页脚 (Footer)
   ========================================= */
.footer {
  margin-top: 80px;
  border-top: 1px solid #eee;
  padding-top: 40px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray-text);
  padding-bottom: 40px;
}

.map-container {
  width: 100%;
  max-width: 400px;
  margin: 0 auto 20px auto;
}

/* =========================================
   13. 移动端适配 (Mobile Responsiveness)
   ========================================= */
/* 手机端适配 */
@media (max-width: 768px) {
    .interests-container {
        flex-direction: column-reverse; /* 手机上图片在上面，文字在下面，或者 column 也可以 */
        padding: 15px;
        text-align: left;
    }
    .interests-photo {
        width: 100%; /* 手机上图片全宽 */
    }
}
@media (max-width: 768px) {
  /* 头部与名字 */
  .main-header-container {
    gap: 10px;
    margin-bottom: 30px;
  }
  .name-en-center { font-size: 2.4rem; }
  .name-cn-center { font-size: 1.8rem; }
  
  /* 简介布局 */
  .profile-body {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }
  .profile-photo-box { 
    width: 200px; 
    margin-bottom: 20px; 
  }
  .social-links-bar { 
    justify-content: center; 
    gap: 10px; 
  }

  /* 论文与经历 */
  .paper-item { 
    flex-direction: column; 
    gap: 15px; 
  }
  .paper-img { 
    width: 100%; 
    max-width: 300px; 
    margin: 0 auto; 
  }
  .experience-item { 
    gap: 15px; 
  }
  .logo-box { 
    width: 70px; 
    min-width: 70px; 
  }
  .experience-details strong { 
    font-size: 1.1rem; 
  }
}

/* =========================================
14. Bilibili 视频与讲座
========================================= */
.video-container {
position: relative;
width: 95%;
padding-bottom: 56.25%; /* 16:9 aspect ratio */
height: 0;
background: #000;
border-radius: 8px;
overflow: hidden;
margin-top: 15px;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

.custom-list { line-height: 1.8; padding-left: 20px; }
.custom-list li { margin-bottom: 8px; }
.tag-label { font-weight: 700; color: #444; font-size: 0.95rem; }

    .interests-container {
    display: flex;
    align-items: center; /* 垂直居中 */
    gap: 40px;           /* 间距 */
    background: #fcfcfc; /* 极淡的背景色，区分层次 */
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
}

.interests-text {
    flex: 1; /* 文字占据剩余空间 */
}

.interests-photo {
    width: 320px;        /* 固定图片区域宽度 */
    flex-shrink: 0;
}

.life-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08); /* 柔和阴影 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

/* 悬停时图片轻微浮起，增加精致感 */
.life-img:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}



