body {
  font-family: Arial;
  color: #000;
  background-color: white;
  text-align: justify;
  margin: 0 auto;
  padding: 10px 55px 30px;
  max-width: 960px;
  line-height: 1.5;
}
.profile-photo {
  width: 100%;
  max-width: 180px;
  border-radius: 10px;
  margin-top: 0.5cm;
}

.highlight-title {
  color: #006699;
}

/* /* 顶部导航栏样式 */
.top-nav {
  text-align: center;
  font-size: 28px;
  text-decoration: none; /* 不显示下划线 */
  padding: 10px 0;
  background-color: #ffffff; /* 或 #f9f9f9，背景色自选 */
  border-bottom: 1px solid #ddd; /* 可选：下边加一条线 */
}
.top-nav a {
  text-decoration: none; /* 不显示下划线 */
  font-weight: bold;
  margin-right: 15px;
  color: #006699;
  font-size: 25px;
}

.top-nav a:hover {
  text-decoration: underline; /* 鼠标悬停时仍不出现下划线 */
  color: #006699; /* 悬停时变色，可选 */
}

.main {
  display: flex;
  align-items: flex-start; /* 顶部对齐 */
  gap: 30px;
}

.sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 240px; 
}

.name-block {
  margin-top: 10px;
  text-align: center;
}

.name-en {
  font-size: 25px;
}

.name-cn {
  font-family: 'Microsoft YaHei';
  font-size: 25px;
}

.highlight-link {
  color: #006699;            /* 淡蓝色 */
  text-decoration: underline;
  font-weight: 500;
}

.sidebar img {
  width: 100%;
  max-width: 180px;
  border-radius: 10px;
}

.sidebar span {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  font-size: 18px;
}

.content {
  max-width: 800px;
  flex: 1;
}
.content a {
  text-decoration: underline;
  color: #006699;
  font-weight: normal;
}
html {
  background-color: #E0E0E0;
  scroll-behavior: smooth;
}

.projects-box {
  /* background-color: green; */
  height: 230px;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: all ease-in .1s;
  padding-left: 10px;
}
.projects-show {
  padding: 0;
  margin: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  text-align: center;
  height: 30px;
  line-height: 20px;
  width: 100%;
  font-size: 15px;
  color: #0067c8;
  cursor: pointer;
  background: linear-gradient(to bottom, transparent, #fff, #fff);
}
.projects-show-text {
  position: relative;
  text-align: left;
  top: 10px;
}

.hr-dotted {
    border: 0;
    border-top: 1px dotted #a2a9b6;
}


table{ background-color: #ffffff; }

/* 全局链接样式 */
a {
  text-decoration: underline;       
  color: #005999;               /* 淡蓝色 */
  transition: all 0.2s ease;
}
a.anchor {
  text-decoration: none;        /* 默认无下划线 */
  color: #005999;               /* 淡蓝色 */
  font-weight: bold;            /* 加粗 */
  transition: all 0.2s ease;
}
/* a:hover {
  text-decoration: underline;   /* 鼠标悬停时显示下划线 */
  color: #005999;               /* 深一点的蓝色（可选） */
} */

img { 
  border: 1; 
  width: fixed;
  height: fixed;
}

h1,h2,h3,h4,h5,h6,h7,h8{ font-family: Arial,Arial,Arial,Arial, Arial, Arial,Arial,Arial,Arial,Arial; }

p,li { font-size:18; font-family: Arial;}
p2 { font-size:18; font-weight:bold; font-family: Arial; align-content: justify;}
p3 { font-size:18; color: #A9A9A9;font-weight:normal; font-family:  Arial; align-content: justify;}
i {font-size:15; color: #0C8918; font-family: italic; align-content: justify}
i2 {font-size:15; color: #0C8918; font-family: Arial; align-content: justify}
p4 { font-size:18; font-weight:normal; font-family:  Arial; align-content: justify;}
p5 { font-size:15; font-weight:bold; font-family:  Arial; align-content: justify;}
h5 {font-size:25px; font-weight:normal;}
h6 {font-size:20px; font-weight:normal;}
h7 {font-size:18px; font-weight:normal;font-family: Arial;}
h8 {font-size:16px; font-weight:normal;font-family: Arial;}

.badge {
    font-family: Arial;
    padding-left: 1rem;
    padding-right: 1rem;
    position: absolute;
    margin-top: .5em;
    margin-left: -.5em;
    color: white;
    background-color: cornflowerblue;
    font-size: .8em
}


#navbar{
  font-size: 19px;
  padding: 10px 0;
}
#navbar a{
  text-decoration: none;
  padding: 5px 12px;
  margin-left: 5px;
  transition: all 0.3s ease;
  border-radius: 4px;
}
#navbar a:hover {
  background-color: #f0f0f0;
}
#NewsOL {
  color: #000;
  font-family: Arial;
  padding-left: 20px;
}
#NewsOL li {
  margin-bottom: 8px;
  line-height: 1.4;
}
#NewsOL b {
  display: inline-block;
  margin-bottom: 3px;
}
#TEACHINGOL{
  color: #000;
  font-family: Arial;
}
#ProjectsList{
  font-size:18;
  font-family: Arial;
}

.responsive-navbar {
  overflow: hidden;
  text-align: right;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
  body {
    padding-left: 25px;
    padding-right: 25px;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  
  #navbar {
    text-align: center;
  }
  
  #navbar a {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px 10px;
    background-color: #f8f8f8;
    border-radius: 4px;
  }
  
  .responsive-table td {
    display: block;
    width: 100% !important;
    padding: 5px 0;
  }
  
  table#tbInformation td {
    text-align: center;
  }
  
  .profile-img-cell {
    display: block;
    width: 100%;
    text-align: center;
    padding-bottom: 20px;
  }
  
  .info-cell {
    text-align: center !important;
  }
  
  .info-cell h7 {
    display: block;
    margin-bottom: 5px;
  }
  
  .pub-img-cell {
    text-align: center;
    margin-bottom: 15px;
    padding-right: 0;
  }
  
  .pub-img {
    max-width: 200px;
    margin: 0 auto;
    display: block;
  }
  
  .pub-info-cell {
    text-align: center !important;
  }
  
  .badge {
    position: relative;
    margin: 5px auto;
    display: inline-block;
    left: 0;
    top: 0;
    margin-bottom: 10px;
  }
  
  h5, h6, h7, h8 {
    text-align: center;
  }
  
  .responsive-navbar {
    text-align: center;
    padding: 5px 0 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
  }
  
  .responsive-navbar a {
  color: #006699;
  font-weight: bold;
  font-size: 18px;
  text-decoration: none;
}
  
  .projects-box {
    height: 280px;
  }
  
  #NewsOL {
    padding-left: 45px;
  }
  
  #NewsOL li {
    margin-bottom: 12px;
    text-align: left;
  }
  
  hr {
    margin: 15px 0;
  }
  

  
  table#SERVICEOL h8 {
    display: inline-block;
    margin-bottom: 8px;
    line-height: 1.4;
  }
}

@media screen and (max-width: 480px) {
  body {
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 15px;
    margin-bottom: 15px;
  }
  
  #navbar a {
    font-size: 16px;
    padding: 3px 8px;
  }
  
  h5 {font-size: 22px;}
  h6 {font-size: 18px;}
  h7 {font-size: 16px;}
  h8 {font-size: 14px;}
  
  p, p2, p3, p4 {font-size: 16;}
  i, i2 {font-size: 16;}
  
  .profile-img {
    max-width: 180px;
    border-width: 1px;
  }
  
  .projects-box {
    height: 320px;
  }
  
  #NewsOL {
    padding-left: 10px;
  }
  
  hr {
    margin: 12px 0;
  }

h3 {
  font-size: 28px;
  font-weight: bold;
  color: #006699;
  border-bottom: 2px solid #ddd;
  padding-bottom: 5px;
  margin-top: 0;
}
h3 > a {
  color: #006699;  /* ← 你想要的颜色，可自定义 */
  font-size: 28px;
  text-decoration: none; /* 保持标题无下划线 */
}


}

/* 响应式表格样式 */
.responsive-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;

}

table#SERVICEOL {
  width: 100%;
}

table#SERVICEOL td {
  padding: 5px 0;
}

.profile-img {
  max-width: 100%;
  height: auto;
  border: 2px solid #000;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.profile-img:hover {
  transform: scale(1.02);
}

.info-cell h5 {
  margin-bottom: 10px;
}

.info-cell h7 {
  line-height: 1.5;
}

.pub-img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.email-container {
  display: inline-block;
}

@media screen and (max-width: 480px) {
  .email-container {
    display: block;
    word-break: break-all;
  }
  
  .email-spacer {
    display: none;
  }
  
  body {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* 发布物样式优化 */
.pub-img-cell {
  vertical-align: top;
  padding-right: 15px;
  position: relative;
}

.pub-info-cell {
  vertical-align: top;
}

hr {
  margin: 20px 0;
  border: 0;
  border-top: 1px solid #eee;
}

/* 交互效果 */
.responsive-navbar a {
  position: relative;
  overflow: hidden;
}

.responsive-navbar a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #1f82a9;
  transition: all 0.3s ease;
}

.responsive-navbar a:hover::after {
  width: 80%;
  left: 10%;
}

@media (hover: hover) {
  .pub-img-cell:hover .pub-img {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  .badge {
    transition: background-color 0.3s ease;
  }
  
  .pub-img-cell:hover .badge {
    background-color: #5f8dd3;
  }
}

@media screen and (max-width: 768px) {
  .responsive-navbar a:active {
    transform: scale(0.98);
  }
}


