/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

a {
  color: #1772d0;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

a:hover, a:focus {
  color: #f09228 !important;
  text-decoration: none !important;
}

/* 红色高亮文字 */
font[color="red"],
font[color="red"] b,
font[color="red"] strong,
font[color="red"] * {
  color: #c00 !important;
}

/* 深红色强调文字 */
span[style*="color: #800000"],
span[style*="color:#800000"] {
  color: #800000 !important;
}

span[style*="color: #800000"] b,
span[style*="color:#800000"] b {
  color: #800000 !important;
}

/* 名字样式 */
.name {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #111;
}

/* 头像样式 */
.hoverZoomLink {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hoverZoomLink:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* 标题样式 */
h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
  margin-top: 10px;
  color: #111;
}

/* 论文标题 */
.papertitle {
  font-size: 17px;
  font-weight: 600;
  color: #111;
  line-height: 1.4;
  transition: color 0.2s ease;
}

a:hover .papertitle,
a:focus .papertitle {
  color: #f09228 !important;
}

/* 论文图片容器 */
.one {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.one:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.one img {
  width: 100%;
  height: auto;
  display: block;
}

/* 列表样式 */
ul {
  margin-top: 10px;
  line-height: 1.9;
  list-style-position: outside;
  padding-left: 20px;
}

li {
  margin-bottom: 12px;
}

strong, b {
  font-weight: 600;
}

/* 页脚样式 */
footer {
  background: #1a1a1a;
  color: #fff;
  padding: 60px 20px 40px;
  margin-top: 80px;
  text-align: center;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
}

.visitors-section {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.visitors-section h3 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 30px;
  color: #fff;
  text-align: center;
}

/* 限制地球大小并居中 */
.globe-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ClustrMaps 地球容器居中 */
.globe-container > div,
.globe-container > script + div,
#clustrmaps_container,
.clstr_container {
  margin: 0 auto !important;
}

/* ClustrMaps 地球容器样式覆盖 */
#clustrmaps_container,
.clstr_container,
#clstr_globe_container {
  width: 300px !important;
  height: 300px !important;
  margin: 0 auto !important;
}

.footer-bottom {
  font-size: 14px;
  color: #999;
  padding-top: 20px;
  border-top: 1px solid #333;
}

/* 高亮强调文本 */
em {
  font-style: normal;
  color: #666;
}

/* 论文条目间距 */
table tbody tr {
  margin-bottom: 15px;
}

/* 优化段落间距 */
p {
  margin-bottom: 12px;
  line-height: 1.7;
}

/* 研究兴趣列表 */
ul li {
  color: #444;
}

/* 响应式设计 */
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .name {
    font-size: 32px;
  }
  
  h2 {
    font-size: 22px;
  }

  table {
    width: 100% !important;
  }
  
  td {
    display: block !important;
    width: 100% !important;
    padding: 10px !important;
  }
  
  .one {
    max-width: 100%;
    margin-bottom: 15px;
  }

  footer {
    padding: 40px 15px 30px;
  }

  .visitors-section h3 {
    font-size: 24px;
  }
}
