.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 250px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%; /* Position above the tooltip */
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: visibility 0s 0.5s, opacity 0.5s;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s; /* Reset delay on hover */
}

/* 延迟显示 */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.5s;
}
.styled-link {
  color: rgba(179, 29, 216, 0.895);
  font-weight: bold;
}

.italic {
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: bold; /* 加粗 */
  font-size: 20px; /* 加大字号，调整为你需要的大小 */
}

.italic_school {
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: bold; /* 加粗 */
  font-size: 20px; /* 加大字号，调整为你需要的大小 */
}

.education_logo_cell {
  width: 170px;
  padding: 12px 18px;
  text-align: center;
  vertical-align: middle;
}

.education_logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
}

.project_entry {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(34, 75, 141, 0.18);
}

.project_entry:last-child {
  border-bottom: none;
}

.project_entry_layout {
  display: grid;
  grid-template-columns: minmax(260px, 34%) 1fr;
  align-items: center;
  gap: 22px;
  margin-top: 12px;
}

.project_visual {
  display: block;
  width: 100%;
  height: 80%;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.project_header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
}

.project_title {
  margin: 0;
  color: #224b8d;
  font-family: "Times New Roman", Times, serif;
  font-size: 20px;
}

.project_meta {
  flex-shrink: 0;
  font-weight: bold;
  color: #555;
}

.project_entry ul {
  margin: 10px 0 0;
  padding-left: 10px;
}

.project_entry li {
  line-height: 1.6;
}

.project_entry li::before {
  content: none;
}

@media (max-width: 720px) {
  .project_entry_layout {
    grid-template-columns: 1fr;
  }

  .project_header {
    display: block;
  }

  .project_meta {
    display: block;
    margin-top: 6px;
  }
}

.introduction {
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: bold; /* 加粗 */
  font-size: medium;
}

.introduction_highlight {
  color: rgba(179, 29, 216, 0.895);
}

.introduction_link,
.introduction_link:visited {
  color: #0066cc;
}

.introduction_link:hover,
.introduction_link:focus {
  color: #004999;
}

.biography_photo_cell {
  width: 20%;
  padding: 6px;
  vertical-align: middle;
}

.biography_photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}
.table_background {
  width: 100%;
  border-collapse: collapse;
  background-color: rgba(19, 160, 207, 0.1);
}

.note_background {
  width: 100%;
  border-collapse: collapse;
  background-color: rgba(218, 210, 53, 0.1);
}

.table_background_x {
  width: 100%;
  border-collapse: collapse;
  background-color: rgba(19, 160, 207, 0.1);
  /* height: 120px; */
  overflow-x: auto; /* 允许水平滚动 */
  white-space: nowrap; /* 防止换行，保持内容在一行 */
}

.h2_background {
  width: 100%;
  border-collapse: collapse;
  background-color: rgba(76, 91, 206, 0.15);
  padding-top: 8px;
}
.button_container {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* 创建 5 列 */
  gap: 10px; /* 列之间的间距 */
  width: 65%;
  /* 居中 */
  margin: 0 auto;
  z-index: 2; /* 确保在 navbar 上层 */
  height: 100%;
}
.button {
  /* background-color: rgba(249, 253, 245, 0.913);
  padding: 0px;
  color: #527bbd; 
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: bold; 
  font-size: 18px; 
  transition: box-shadow 0.3s, transform 0.2s; 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
  z-index: 3;
  height: 100%; */
  display: inline-block;
  /* padding: 15px 25px; */
  font-size: 24px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  outline: none;
  color:#fff;
  background-color: rgba(11, 62, 171, 0.865);
  border: none;
  border-radius: 15px;
  box-shadow: 0 9px #999;
  z-index: 3;
  height: 80%;
  text-align: center;
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: bold; 
  font-size: 18px; 
  transition: box-shadow 0.3s, transform 0.2s; 
}

.button:focus {
  outline: none; /* 去掉焦点样式 */
}
.clicked {
  transform: scale(0.95);
  background-color: #0056b3; 
  transition: transform 0.1s, background-color 0.3s;
}
.button:hover {
  /* box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(76, 91, 206, 0.5);  */
  background-color: rgba(229, 236, 235, 0.939);
  color: #280802b8; /* 鼠标悬停时文本变为金色 */
  transform: scale(1.02);
  /* box-shadow: 0 0 20px rgba(76, 91, 206, 0.5); */
}

.button:active{
  background-color: #2755B4;
  box-shadow: 0 5px #666;
  transform:translateY(4px);
}

ul {
  list-style-type: none; /* 去掉默认样式 */
  padding: 0; /* 去掉内边距 */
}
li::before {
  content: '➔'; /* 使用箭头符号 */
  color: black; /* 箭头颜色 */
  margin-right: 5px; /* 箭头与文本之间的间距 */
}


.body_awards {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 220px;
  margin: 10px;
  background-color: #f0f0f0;
  overflow: hidden; /* 隐藏溢出内容 */
}
.carousel-container {
  overflow: hidden; /* 隐藏溢出部分 */
  width: 80%; /* 设置容器宽度 */
  position: relative;
}
.carousel {
  display: flex; /* 使用弹性布局 */
  animation: scroll 24s linear infinite; /* 启动滚动动画 */
}
.carousel img {
  flex: 0 0 auto;
  width: 240px;
  height: 200px;
  object-fit: contain;
  margin: 0 8px; /* 添加一些外边距 */
  background-color: white;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16);
  border-radius: 8px; /* 可选：添加圆角 */
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.pub_container {
  position: relative;
  display: inline-block;
}
.pub_image {
  width: 250px;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5);
  border: 5px solid transparent;
  border-radius: 5px;
}
.pub_text-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  color: white;
  background-color: #00369f;
  padding: 5px;
  border-radius: 3px;
  font-size: 12px;
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: bold; /* 加粗 */
}

.gray-line {
  position: relative;
  margin: 50px 0; /* 设置上下的间距 */
}
.gray-line::before,
.gray-line::after {
  content: "";
  display: inline-block;
  width: 48%; /* 左右线段的宽度 */
  height: 2px; /* 横线的粗细 */
  background-color: rgba(128, 128, 128, 0.5); /* 设置透明的灰色 */
  position: absolute;
  top: 50%; /* 横线垂直居中 */
}
.gray-line::before {
  left: 0; /* 左侧线段 */
}
.gray-line::after {
  right: 0; /* 右侧线段 */
}
.star {
  position: absolute;
  top: 50%; /* 星星垂直居中 */
  left: 50%; /* 星星水平居中 */
  transform: translate(-50%, -50%); /* 精确居中 */
  font-size: 24px; /* 星星大小 */
  color: gray; /* 星星颜色 */
}

.spacer {
    margin-top: 10px; /* 设置空行的高度 */
}
/* 期刊样式 */
.pub{
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: bold; /* 加粗 */
  font-size: 18px; /* 加大字号，调整为你需要的大小 */
}

.navbar {
  position: fixed; /* 使横栏固定在页面顶部 */
  top: 0;
  left: 0;
  width: 100%; /* 横栏宽度 */
  height: 65px; /* 设置横栏高度 */
  background-color: #DAECF2; /* 背景颜色 */
  padding: 0px; /* 内边距 */
  text-align: center; /* 文本居中 */
  z-index: 1; /* 确保横栏在最顶部 */
  align-items: center; /* 垂直居中 */
  padding-top: 0px;
  padding-bottom: 0px;
  /* 添加下边框 */
  border-bottom: 6px double #2755B4; /* 边框宽度和颜色 */
}
.content {
  padding-top: 0px; /* 为了让内容不被横栏遮挡，增加上边距 */
}
