* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding-top: 145px; /* 给页面内容留出空间，避免被固定的导航条和新内容区域遮挡 */
}

/* 固定的导航条 */
.navbar-background {
  background-color: white;
  width: 100%;
  position: fixed; /* 固定导航条 */
  top: 0;
  left: 0;
  z-index: 100; /* 确保导航条在最前面 */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 添加底部阴影 */
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 45px; /* 设置导航条高度 */
  max-width: 700px; /* 限制导航条宽度为 700px */
  margin: 0 auto; /* 使内容居中 */
  padding: 0 10px;
  background-color: white;
}

/* LOGO区域 */
.logo img {
  height: 30px;
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center; /* 垂直居中 */
}


.nav-links a {
  text-decoration: none;
  color: green; /* 绿色字体 */
  font-size: 16px;
  font-weight: bold; /* 加粗 */
}


.nav-links a:hover {
  color: red; /* 悬停时链接变为红色 */
}

/* 添加图标 */
.search-icon {
  width: 32px; /* 图标宽度 */
  height: 24px; /* 图标高度 */
  margin-left: 10px; /* 图标与文字之间的间距 */
  align-items: center; /* 垂直居中对齐 */
}

/* 固定的新内容区域 */
.fixed-content {
  width: 700px; /* 设置宽度为 700px */
  margin: 0 auto; /* 水平方向居中 */
  padding: 0px;
  background-color: #f4f4f4;
  position: fixed; /* 固定在导航条下方 */
  top: 45px; /* 紧接在导航条下方 */
  left: 0;
  right: 0;
  z-index: 99; /* 确保它位于其他内容上面 */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); /* 增加阴影效果 */
}

.fixed-content p {
  margin: 0;
  font-size: 16px;
  text-align: center;
}

/* 页面内容 */
.content-area {
  width: 700px; /* 设置宽度为 700px */
  margin: 0 auto; /* 水平方向居中 */
  padding: 10px;
  background-color: #fff; /* 背景色 */
  z-index: 1; /* 确保它在其他内容下面 */
  text-align: left; /* 内容左对齐 */
}
/* 大标题 */
.content-area h1 {
  font-size: 24px; /* 设置标题的大小 */
  text-align: left; /* 标题左对齐 */
  margin-bottom: 15px;
}
/* 小标题 */
.content-area h2 {
  font-size: 16px; /* 设置小标题的字体大小 */
  text-align: left; /* 小标题左对齐 */
  margin-bottom: 10px; /* 小标题和下面内容之间的间距 */
  line-height: 1.0; /* 设置小标题的行距 */
  display: flex; /* 使用flexbox布局 */
  align-items: center; /* 垂直居中对齐 */
  color: #888; /* 设置小标题颜色为灰色 */
}
.content-area h3 {
  font-size: 20px; /* 设置标题的大小 */
  text-align: left; /* 标题左对齐 */
  margin-bottom: 15px;
}
/* 小图标样式 */
.subtitle-icon {
  width: 32px; /* 设置图标的宽度 */
  height: 16px; /* 设置图标的高度 */
  margin-right: 8px; /* 图标和文字之间的间距 */
  align-items: center; /* 垂直居中对齐 */
}

.content-area p {
  font-size: 16px;
  color: #333;
  text-align: left; /* 正文左对齐 */
}

/* 页面其他内容的链接样式 */
.content-area a {
  color: green; /* 链接默认颜色为绿色 */
  text-decoration: none; /* 去掉下划线 */
}

/* 鼠标经过时链接变为红色 */
.content-area a:hover {
  color: red; /* 鼠标悬停时变为红色 */
}

/* 点击时链接变为红色 */
.content-area a:active {
  color: red; /* 点击时链接变为红色 */
}
/* 图片盒子 */
.image-box {
  width: 700px; /* 强制宽度为700px */
  margin: 0 auto; /* 水平居中 */
  justify-content: center; /* 水平居中 */
  padding: 0px; /* 可选：设置内边距 */
  border: 0px solid #ddd; /* 可选：设置边框 */
}

/* 图片样式 */
.image-box img {
  max-width: 100%; /* 图片宽度自适应 */
  height: auto; /* 图片高度自动调整 */
  display: block; /* 去除图片下方的空隙 */
}

/* 移动设备上的响应式调整 */

.footer {
  background-color: #fff;
  padding: 20px;
  text-align: center;
  font-size: 12px; /* 设置字体大小为12px */
}

.footer a.footer-link {
  color: #000; /* 设置链接颜色为灰色 */
  text-decoration: none; /* 去掉下划线 */
}

.footer a.footer-link:hover {
  color: green; /* 鼠标悬停时变为绿色 */
}

.footer p {
  margin-top: 10px;
  color: #333; /* 设置版权文字颜色 */
}
/* 表格样式 */
table {

  border-collapse: collapse; /* 合并表格边框 */
}

/* 去除表格边框 */
table, th, td {
  border: none; /* 去除边框 */
}

/* 表格单元格样式 */
th, td {
  padding: 8px 12px; /* 内边距 */
  text-align: auto; /* 左对齐 */
}
  /* 轮播样式 */
    .carousel-wrap {
      max-width: 700px;   /* 最大 700px */
      width: 100%;        /* 小屏幕自适应 */
      margin: 10px auto;
      position: relative;
    }
    .carousel {
      overflow: hidden;
      border-radius: 0;       /* 去掉圆角 */
      box-shadow: none !important;   /* 去掉阴影 */
      background: none !important;   /* 去掉背景色 */
    }
    .carousel-track {
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      scroll-behavior: smooth;
    }
    .carousel-track::-webkit-scrollbar { display: none; }

    .carousel-slide {
      flex: 0 0 100%;        /* 一屏显示一张 */
      scroll-snap-align: center;
      text-align: center;
      background: none !important;    /* 去掉 slide 背景色 */
    }

    .carousel-slide img {
      width: 100%;       /* 铺满整个 slide */
      max-width: 700px;  /* 最大 700px */
      height: auto;
      display: block;
      margin: 0;
    }

    /* 圆点 */
    .carousel-dots {
      position: absolute;
      bottom: -20px; /* 圆点在图片下方10px */
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 8px;
    }
    .carousel-dots button {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      border: none;
      background: #888888; /* 默认灰色 */
      cursor: pointer;
      padding: 0;
    }
    .carousel-dots button[aria-current="true"] {
      background: #555555; /* 当前圆点深灰色 */
      transform: scale(1.25);
    }


@media (max-width: 768px) {
  .navbar {
    width: 100%;
    padding: 0 5px;
  }

  .logo img {
    height: 30px;
  }

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center; /* 垂直居中 */
}


.nav-links a {
  text-decoration: none;
  color: 00b600; /* 绿色字体 */
  font-size: 16px;
  font-weight: bold; /* 加粗 */
}

  /* 新的固定内容区域在手机上的自适应调整 */
  .fixed-content {
    width: 100%;
    padding: 0px;
  }

  /* 页面其他内容在手机上的自适应调整 */
  .content-area {
    width: 100%;
    padding: 15px;
  }
  
  .content-area h1 {
    font-size: 20px; /* 设置标题的大小 */
    text-align: left; /* 标题左对齐 */
    margin-bottom: 15px;
  }
  .content-area h3 {
    font-size: 18px; /* 设置标题的大小 */
    text-align: left; /* 标题左对齐 */
    margin-bottom: 15px;
  }
   .image-box {
     width: 100%; /* 在移动端设置宽度为100% */
     padding: 10px; /* 可选：增加内边距 */
   }
 }
 
  /* 移动设备上的响应式调整 */
  
  .footer {
    background-color: #fff;
    padding: 20px;
    text-align: center;
    font-size: 12px; /* 设置字体大小为12px */
  }
  
  .footer a.footer-link {
    color: #000; /* 设置链接颜色为灰色 */
    text-decoration: none; /* 去掉下划线 */
  }
  
  .footer a.footer-link:hover {
    color: green; /* 鼠标悬停时变为绿色 */
  }
  
  .footer p {
    margin-top: 10px;
    color: #333; /* 设置版权文字颜色 */
  }
 

