/* 基础样式 */
body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  font-size: 18px;
}
a,a:hover{cursor:pointer; text-decoration:none; color:#022957;}
/* **********长者版组件样式********** */
.elderly-version-bar {
  /* position: fixed; */
  top: 0;
  left: 0;
  width: 100%;
  background-color: #f0f0f0;
  padding: 10px;
  z-index: 10000;
  display: flex;
  justify-content: center;
  gap: 10px;
  white-space: nowrap; 
  overflow-x: auto; 
  overflow-y: hidden; 
}

.elderly-version-bar button {
  padding: 12px 24px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 14px;
  white-space: nowrap; 
  flex-shrink: 0; 
}

.elderly-version-bar button:hover {
  background-color: #0056b3;
}

/* 主容器 */
.main-container {
  background-image: linear-gradient(to bottom, #b3caec, #ffffff);
  background-attachment: fixed;
}

/* 固定图片 */
.fixed-image {
  position: fixed;
  left: 20px;
  bottom: 50px;
  width: 120px;
  height: auto;
  z-index: 9999;
  pointer-events: none;
}

/* **********头部样式********** */
.header {
  position: relative;
  height: 100px;
  background-color: white;
  overflow: hidden;
}

.header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.header-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.header-logo {
  position: relative;
  z-index: 2;
  width: auto;
  margin-top: 5px;
}

/* **********导航栏样式********** */
.nav {
  background: linear-gradient(90deg, #4577c2, #4a90e2);
  color: white;
  max-width: 1160px;
  margin: 0 auto;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


.nav-wrapper {
  width: 100%;
  margin: 0 auto;
}

.nav-container {
  text-align: center;
}

.nav {
  background: linear-gradient(90deg, #4577c2, #4a90e2);
  color: white;
  max-width: 1160px;
  margin: 0 auto;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 10px 0;
  flex-wrap: wrap;
}

.nav ul li a {
  color: white;
  padding: 8px 12px;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.search-box {
  position: relative;
  padding: 30px 0;
  text-align: center;
  overflow: hidden;
}

.search-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.search-content {
  position: relative;
  z-index: 2;
}

.search-box input {
  padding: 12px;
  width: 80%;
  height: 50px;
  box-sizing: border-box;
  border: 2px solid #007bff;
  border-radius: 5px 0 0 5px;
  vertical-align: top;
  font-size: 16px;
}

.search-box button {
  padding: 12px 20px;
  background: linear-gradient(45deg, #007bff, #00a8ff);
  height: 50px;
  box-sizing: border-box;
  color: white;
  border: none;
  border-radius: 0 5px 5px 0;
  vertical-align: top;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-size: 16px;
}

.custom-dropdown {
  position: relative;
}

.dropdown-link {
  cursor: pointer;
  color: white;
  padding: 8px 12px;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.dropdown-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  z-index: 1000;
  min-width: 145px;
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
}

.dropdown-item {
  color: #333;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 14px;
  line-height: 1.4;
  padding: 10px 12px;
  margin-bottom: 8px;
}

.dropdown-item:hover {
  background-color: #f5f5f5;
}

/* **********轮播图样式********** */
.banner {
  margin: 0px 0;
  text-align: center;
}
.el-carousel {
  height: 200px;
  max-width: 1160px;
  margin: 0 auto;
}
.banner img {
  height: 200px;
  width: 481px;
  /* max-width: 800px; */
  display: block;
  margin: 0 auto;
}
.banner-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.carousel {
  position: relative;
  overflow: hidden;
  height: 300px;
  max-width: 1160px;
  margin: 0 auto;
}
.carousel-inner {
  display: flex;
  transition: transform 0.5s ease;
}
.carousel-item {
  flex: 0 0 100%;
  width: 100%;
}
.carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
}
.carousel-control {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.carousel-control:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* **********主体内容********** */
.main-content {
  width: 100%;
  margin: 0 auto;
  font-size: 16px;
}

/* 板块样式 */
.section {
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  background-color: white;
  padding: 20px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  max-width: 1160px;
  
}
.section .tab-titles {
  display: flex;
  gap: 20px;
  /* padding-bottom: 15px; */
  border-bottom:
    2px solid #bbbfc2;

  height: 40px;
  overflow: visible;
  box-sizing: border-box;
  /* margin-top: -10px; */
}
.section .tab-titles h3 {
  cursor: pointer;
  color: #5a5c5e;
  height: 40px;
  font-size: 18px;
  margin-top: -2px;
  /* 增加标签标题字体大小 */
}
.section .tab-titles h3.active {
  /* text-decoration: underline; */
  border-bottom: 2px solid #007bff;
  color: #007bff;
}
.section .tab-content {
  display: none;
}
.section .tab-content.active {
  display: block;
}

/* **********列表样式********** */

.section ul {
  list-style: none;
}

.section ul li {
  margin: 10px 0;
  margin-left: -30px;
  color: #333;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  font-size: 16px;
}
.section ul li span:first-of-type {
  max-width: calc(100% - 80px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: auto;
}

.section ul li span {
  max-width: calc(100% - 80px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.section ul li::before {
  content: "●";
  margin-right: 10px;
  color: #3467b4;
  font-size: 1.1em;
}
.section .more-btn {
  text-align: center;
  margin-top: 15px;
}
.section .more-btn a {
  background-color: #007bff;
  color: white;
  padding: 10px 30px;
  text-decoration: none;
  border-radius: 19px;
  cursor: pointer;
  font-size: 16px;
  /* 增加按钮字体大小 */
}

/* 更多按钮 */
.more-btn {
  text-align: center;
  margin-top: 15px;
}

.more-btn a {
  background-color: #007bff;
  color: white;
  padding: 10px 30px;
  text-decoration: none;
  border-radius: 19px;
  cursor: pointer;
  font-size: 16px;
}

/* **********底部图片********** */
.bottom-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 15px;
}
.bottom-images img {
  width: 100%;
  max-width: 300px;
  border-radius: 5px;
  margin: 0 auto;
}

.image-container {
  position: relative;
  max-width: 300px;
  margin: 0 auto;
}

.image-container img {
  width: 100%;
  border-radius: 5px;
}

/* **********页脚********** */
.footer {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9em;
  color: #666;
  margin-bottom: 30px;
}
/* **********面包屑********** */
.breadcrumb {
  padding: 15px 20px;
  background: #f8f9fa;
  margin-bottom: 20px;
  max-width: 1160px;
  margin: 20px auto;
  font-size: 14px;
  color: #666;
}
.breadcrumb a {
  color: #666;
  /* 首页链接颜色改为灰色 */
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb .current {
  color: #007bff;
  /* 仅 categoryPath 对应的文字显示蓝色 */
  font-weight: bold;
}
/* 文章主体样式 */
.article-context {
  max-width: 1160px;
  margin: 20px auto;
  padding: 20px;
  background-color: white;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
.article-context h3 {
  font-size: 24px;
  color: #333;
  text-align: center;
  margin-bottom: 20px;
}
.article-context h5 {
  font-size: 14px;
  color: #666;
  text-align: center;
  margin-bottom: 30px;
}
.article-body {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}
.article-body p {
  margin-bottom: 20px;
  text-indent: 2em;
}
.weill {
  font-size: 14px;
  color: #999;
  text-align: right;
  margin-top: 30px;
}
/* 页码样式 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 0;
  gap: 5px;
  font-size: 20px;
}
.pagination span {
  color: #666;
  margin: 0 5px;
}
.pagination button {
  padding: 8px 15px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 16px;
}
.pagination button:hover {
  background-color: #0056b3;
}
#jumpPage {
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
  margin: 0 5px;
}

/* PC端样式 */
@media (min-width: 1024px) {

  .el-carousel {
    max-width: 1160px;
  }

  .pc-only {
    display: inline;
  }

  .mobile-only {
    display: none;
  }

  .header-logo {
    height: 80px;
  }

  .nav {
    width: 1160px;
  }

  /* 导航栏调整 */
  .nav ul {
    gap: 30px;
    padding: 20px 0;
  }

  .nav ul li a {
    color: white;
    /* 确保字体颜色为白色 */
    padding: 8px 12px;
    font-size: 22px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    /* 去掉下划线 */
  }

  /* 搜索框样式 */
  .search-box {
    position: relative;
    padding: 50px 0;
    text-align: center;
    overflow: hidden;
    max-width: 1160px;
    /* 设置最大宽度小于1200px */
    margin: 0 auto;
    /* 居中显示 */
  }

  .search-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    /* 宽度改为100% */
    height: 100%;
    object-fit: cover;
    z-index: 1;
  }

  .search-content {
    position: relative;
    z-index: 2;
  }

  .search-box input {
    padding: 8px;
    width: 80%;
    height: 60px;
    box-sizing: border-box;
    border: 2px solid #007bff;
    border-radius: 5px 0 0 5px;
  }

  .search-box button {
    height: 60px;
    /* PC端增加更多高度 */
    font-size: 18px;
    /* PC端增加更多字体大小 */
  }

  .banner {
    margin: 0px 0;
    text-align: center;
  }

  .el-carousel {
    max-width: 1160px;
    height: auto;
    margin: 0 auto;
  }


  .banner img {
    width: 100%;
    /* max-width: 800px; */
    display: block;
    margin: 0 auto;
  }

  .banner img {
    margin-top: 20px;
    max-width: 1160px;
    /* 限制最大宽度 */
    height: auto;
    /* 高度自适应 */
  }

  /* 主体内容调整 */
  .main-content {
    max-width: 1160px;
    padding: 0 20px;
    font-size: 20px;
  }

  .section {
    margin: 20px 0;
    padding: 25px;
    max-width: 1160px;
  }

  .section .tab-titles h3 {
    padding: auto;
    font-size: 25px;
    /* PC端增加更多标签标题字体大小 */
  }
  
  .section ul li {
    font-size: 21px;
    /* PC端增加更多列表项字体大小 */
  }

  .section .more-btn a {
    font-size: 18px;
    /* PC端增加更多按钮字体大小 */
  }


  /* 底部图片区域调整 */
  .bottom-images {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* 五张图片放在一行 */
    gap: 30px;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 15px;
  }
  .bottom-images .image-container:last-child {
    justify-self: center;
    /* 居中 */
  }

  /* 页脚调整 */
  .footer {
    margin-top: 50px;
    margin-bottom: 50px;
  }

  /* 固定在左下角的图片样式 */
  .fixed-image {
    position: fixed;
    left: 20px;
    bottom: 50px;
    width: 200px;
    /* 根据图片大小调整 */
    height: auto;
    z-index: 9999;
    pointer-events: none;
    /* 防止图片干扰点击事件 */
  }

  /* 长者版按钮样式 */
  .elderly-version-btn {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 200px;
    /* 与图片宽度一致 */
    padding: 8px 0;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    /* 改为较小的圆角 */
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 9999;
    text-align: center;
    /* 文字居中 */
  }

  .el-dropdown-link {
    cursor: pointer;
    color: white;
    padding: 8px 12px;
    /* 与首页按钮的 padding 一致 */
    font-size: 18px;
    /* 与首页按钮的字体大小一致 */
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
  }

  .el-dropdown-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
  }

  .el-dropdown1 {
    font-size: 17px;
  }

  .el-dropdown-menu {
    margin-top: 8px !important;
    transform-origin: top center !important;
  }

  .el-popper {
    transform: scale(1) !important;
    position: absolute !important;
    will-change: transform;
  }

  .custom-dropdown {
    position: relative;
  }

  .dropdown-link {
    cursor: pointer;
    color: white;
    padding: 8px 12px;
    font-size: 22px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
  }

  .dropdown-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
  }

  .dropdown-menu {
    font-size: 0px;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    z-index: 1000;
    min-width: 145px;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .dropdown-item {
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 17px;
    line-height: 1.4;
    /* 设置行高 */
    padding: 10px 12px;
    /* 增加内边距 */
    margin-bottom: 8px;
    /* 增加下边距 */
  }

  .dropdown-item:hover {
    background-color: #f5f5f5;

  }
  /* 面包屑样式 */
  .breadcrumb {
    padding: 15px 0;
    font-size: 16px;
  }
  /* 文章主体样式 */
  .article-context {
    padding: 40px;
  }
  .article-context h3 {
    font-size: 28px;
  }
  .article-context h5 {
    font-size: 16px;
  }
  .article-body {
    font-size: 18px;
  }
}

.nav-container {
  background: linear-gradient(90deg, #4577c2, #4a90e2);
  color: white;
  max-width: 1160px;
  margin: 0 auto;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }
        
        .nav-menu {
            display: flex;
            list-style: none;
            position: relative;
            gap: 30px;
            padding: 17px;			
        }
        
        .nav-item {
            position: relative;
        }
        
        .nav-item > a {
    cursor: pointer;
    color: white;
    padding: 8px 12px;
    font-size: 22px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
        }
        
        .nav-item > a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
        }
        
        .submenu {
            position: absolute;
            top: 100%;
            left: 0;
            width: 200px;
            background-color: #fff;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            list-style: none;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            transform: translateY(10px);
            z-index: 100;
			padding-left: 0px;
        }
        
        .nav-item:hover .submenu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        
        .submenu-item a {
            display: block;
            padding: 12px 20px;
            color: #333;
            text-decoration: none;
            border-bottom: 1px solid #eee;
            transition: all 0.2s ease;
        }
        
        .submenu-item a:hover {
            background-color: #f5f5f5;
            color: #ff6b6b;
            padding-left: 25px;
        }