/* ========== 页面通用设置 ========== */
body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: auto;
}

/* ========== 顶部导航栏 ========== */
.top-bar {
  background-color: #fff;
  padding: 10px 0;
  border-bottom: 0px solid #ccc;
}

.top-inner {
  width: 60%; /* 与 text-column 对齐 */
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 90px;
}

nav {
  display: flex;
  gap: 40px;
  align-items: center;
  position: relative;
}

nav a {
  color: black;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  position: relative;
}

nav a:hover {
    color: blue;  /* Changes the text color to blue on hover */
}


.icn-description {
  width: 85%;
  margin: 60px auto;
  font-size: 18px;
  line-height: 1.8;
  text-align: justify;
  color: #003366;
}


.icn-projects {
  width: 85%;
  margin: 40px auto 60px auto;
  font-size: 17px;
  line-height: 1.6;
  color: #003366;
}

.icn-projects h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.icn-projects ul {
  list-style-type: disc;
  padding-left: 20px;
}

.icn-projects li {
  margin-bottom: 12px;
}

/*=========照片===================*/
/*=========照片===================*/
.faculty-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);  /* 每行固定三列 */
  gap: 30px;
  width: 80%;
  margin: 10px auto;
  justify-items: center;
}

.faculty-title {
  width: 85%;
  margin: 40px auto 0 auto;
  text-align: center;
}

.faculty-title h2 {
  font-size: 28px;
  color: #003366;
  margin-bottom: 20px;
}

.faculty-card {
  background-color: #5a6d94;
  color: white;
  text-align: center;
  border-radius: 2px;
  padding: 10px 10px;
  width: 170px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid white; /* 修改这里的边框宽度 */
}

.faculty-card p {
  font-size: 14px;
  margin: 4px 0;
  line-height: 1.1;
}

.faculty-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  object-position: top;  /* 让头像靠上显示 */
  border-radius: 50%;
  margin-bottom: 10px;
  border: 4px solid white;
}

.faculty-card h3 {
  margin: 0;
  font-size: 20px;
}


.faculty-card a {
  display: inline-block;
  background-color: #e7e7e7;
  color: #000;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
}

.faculty-card a:hover {
  background-color: #d4d4d4;
}

@media (max-width: 600px) {
  .faculty-wrapper {
    grid-template-columns: repeat(4, 1fr);  /* 手机也用4列 */
    gap: 10px;
    width: 100%;
  }

  .faculty-card {
    width: 100%;
    font-size: 12px;
  }

  .faculty-card img {
    width: 100%;
    height: auto;
  }
}


@media (max-width: 768px) {
  .faculty-wrapper {
    grid-template-columns: 1fr;
    width: 95%;
    gap: 20px;
    padding: 0 10px;
  }

  .faculty-card {
    width: 100%;
    max-width: 95vw;
    box-sizing: border-box;
  }

  .faculty-card img {
    width: 100%;
    height: auto;
  }

  .top-inner {
    width: 95%;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  nav {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  nav a {
    font-size: 16px;
    padding: 6px 12px;
  }

  .logo {
    height: 60px;
  }
}





/*=====publications*/

.about-section {
  width: 70%;
  margin: 1px auto;
  font-family: 'Times New Roman', Times, serif;
  font-size: 20px;
  line-height: 1.6;
  /*border-bottom: 1px solid grey; /* 蓝色粗线 */
}

.about-section h2 {
  font-size: 24px;
  font-weight: bold;
  border-bottom: 4px solid darkblue; /* 只在标题下加线 */
  display: inline-block; /* 让下划线宽度跟文字匹配 */
  margin-top: 5px;
  margin-bottom: 0px;
}

/*publication*/
ol.publication-list {
    padding-left: 20px;
  }

  ol.publication-list li {
    margin-bottom: 11px; /* spacing between articles */
    margin-left: 10px;
  }

ol.publication-list li::marker {
    font-size: 20px; /* 控制编号大小 */
    font-weight: bold; /* 可选：加粗编号 */
    margin-left: 5px;
  }

  .paper-block p {
    margin-left: 5px;
    margin: 2px 0;
    line-height: 1.2;
    font-size: 20px;
  }
  .line1, .line3 {
    color: black;
  }

  .line2 {
    color: darkblue;
  }


/* ========== 页脚样式 ========== */
.site-footer {
  background-color: #1a2230;
  color: white;
  padding: 40px 0;
  margin-top: 60px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 80%;
  margin: 0 auto;
  gap: 40px;
}

.footer-section h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.footer-section p {
  margin: 0;
  font-size: 15px;
}