/* 基础样式 */
body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #333;
  font-family: 'Noto Serif SC', serif;
  margin: 0 auto; /* 居中显示 */
}

/* 顶部横幅 */
header {
  color: rgb(255, 0, 0);
  padding: 10px;
  text-align: left;
  border-bottom: 5px solid rgb(0, 115, 255);
  display: flex;
  align-items: center;
}

/* 优化图片样式 */
.logo {
  height: 120px;
  margin-right: 15px;
  transition: transform 0.3s ease; /* 添加过渡效果 */
}

@media (max-width: 600px) {
  .logo {
    display:none
  }
  .text{
    display: flex;
    justify-content: center;  /* 水平居中 */
    align-items: center; 
  }
}

/* 图片悬停效果 */
.header img:hover {
  transform: scale(1.05); /* 放大效果 */
}


/* 导航栏 */
nav {
  background-color: #f1f1f1;
  padding: 10px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

nav a {
  color: #012e61;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 5px;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 25px;
  transition: background-color 0.3s, color 0.3s;
}

nav a:hover {
  background-color: #012e61;
  color: white;
}

/* 主体部分 */
.container {
  display: flex;
  flex-wrap: wrap;
  margin: 20px auto;
  padding: 20px;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 1000px; /* 设置最大宽度 */
}

/* 左侧内容 */
.main-content {
  flex: 3;
  padding-right: 20px;
}

.main-content h2 {
  color: #012e61;
  border-bottom: 3px solid #fed136;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.content-block {
  background-color: #f9fafc;
  margin-bottom: 20px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  transition: transform 0.3s;
}

.content-block:hover {
  transform: translateY(-5px);
}

.content-block p {
  margin: 0;
}

/* 右侧边栏 */
.sidebar {
  flex: 1;
  padding-left: 20px;
}

.sidebar h3 {
  color: #012e61;
  border-bottom: 3px solid #fed136;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.sidebar .block {
  background-color: #f9fafc;
  margin-bottom: 20px;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
}

.sidebar .block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar .block ul li {
  margin: 10px 0;
}

.sidebar .block ul li a {
  color: #012e61;
  text-decoration: none;
  font-weight: 600;
}

.sidebar .block ul li a:hover {
  color: #fed136;
}

/* 底部 */
footer {
  background-color: #012e61;
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: 20px;
}

footer p {
  margin: 0;
  font-size: 1rem;
}

/* 优化宣传照片样式 */
.featured-image {
  width: 100%; /* 自适应容器宽度 */
  max-width: 1000px; /* 限制最大宽度 */
  margin: 20px auto; /* 居中显示 */
  display: block; /* 使图片块级元素居中 */
  border-radius: 15px; /* 添加圆角 */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 添加阴影效果 */
  transition: opacity 1s ease-in-out;
}

/* 悬停时图片放大效果 */
.featured-image:hover {
  transform: scale(1.02); /* 图片悬停时放大 */
}

.leader {
  display: flex;
  align-items: flex-start; /* 确保图片与文字顶部对齐 */
  gap: 20px;
  margin-bottom: 40px;
}
figure {
  margin: 0;
  flex-shrink: 0; /* 防止图片被压缩 */
  width: 50%;
}
.description {
  flex-grow: 1; /* 文字区域扩展填满剩余空间 */
  width: 50%; /* 确保文字部分占一半宽度 */
}
.description p {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.link-color {
  color: #ffb514; /* Replace with your desired color */
}