/* ==========================================================================
   重置样式和基础设置
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  font-family: "PingFang SC", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #F8F7F7;
  color: #2C2C2C;
  line-height: 1.6;
  min-width: 1280px;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   顶部导航
   ========================================================================== */

.main-header {
  background: url(bj20260720.png) center/cover no-repeat;
  height: 115px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(10px);
  transition: box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.main-header.is-fixed {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(20px);
}

.header-container {
  width: 100%;
  /* max-width: 1920px; */
  margin: 0 auto;
  padding: 0 320px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  width: 176px;
  height: 64px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  /* gap: 80px; */
  align-items: center;
  margin-top: 20px;
}

.nav-link {
  font-size: 22px;
  font-weight: 400;
  color: #FFFFFF;
  white-space: nowrap;
  position: relative;
  padding: 30px 35px;
}


.nav-link.active {
  color: #515151;
  background-color: rgba(255, 255, 255, 0.61);
}

.nav-link:hover {
  color: #4FAFE0;
}

/* 手机端导航按钮 */
.mobile-nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 99;
  border: 0;
}

.mobile-nav-toggle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mobile-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* 手机端导航遮罩层 */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   主内容区域
   ========================================================================== */

.header-spacer {
  height: 115px;
}

.main-content {
  min-height: calc(100vh - 470px);
  padding: 35px 0 88px;
}

.content-wrapper {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 290px;
  display: flex;
  gap: 193px;
}

/* ==========================================================================
   左侧边栏
   ========================================================================== */

.sidebar {
  width: 143px;
  flex-shrink: 0;
  position: relative;
}

.sidebar-header {
  margin-bottom: 48px;
  position: relative;
}

.sidebar-icon {
  width: 107px;
  height: 107px;
  margin-bottom: 5px;
}

.sidebar-title {
  font-size: 30px;
  font-weight: 500;
  color: #2C2C2C;
  margin-top: 21px;
}

.sidebar-indicators {
  display: flex;
  gap: 7px;
  margin-top: 6px;
}

.indicator {
  width: 54px;
  height: 6px;
  border-radius: 6px;
  background-color: #4784BB;
}

.indicator:last-child {
  width: 6px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* .sidebar-link {
  font-size: 22px;
  font-weight: 500;
  color: #2C2C2C;
  line-height: 66px;
  transition: color 0.3s ease;
} */

/* .sidebar-link.active {
  color: #4FAFE0;
  font-weight: 600;
}

.sidebar-link:hover {
  color: #4FAFE0;
} */

.sidebar-arrow {
  width: 40px;
  height: 40px;
  margin: 16px 0 10px 0;
}

/* ==========================================================================
   右侧内容区
   ========================================================================== */

.content-area {
  flex: 1;
  min-width: 0;
}

/* 面包屑导航 */
.breadcrumb {
  font-size: 18px;
  font-weight: 400;
  color: #979797;
  line-height: 66px;
  margin-bottom: 6px;
}

/* 新闻列表 */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-card {
  background-color: #FFFFFF;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.16);
  padding: 29px 39px;
  display: flex;
  gap: 105px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.news-date {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding-top: 13px;
}

.date-day {
  font-size: 24px;
  font-weight: 400;
  color: #4784BB;
  line-height: 1;
}

.date-year {
  font-size: 18px;
  font-weight: 400;
  color: #ACACAC;
  line-height: 1;
}

.news-content {
  flex: 1;
  min-width: 0;
}

.news-title {
  font-size: 24px;
  font-weight: 500;
  color: #050303;
  margin-bottom: 28px;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-excerpt {
  font-size: 18px;
  font-weight: 400;
  color: #ACACAC;
  line-height: 26px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 分页 */
 .pagination {
  display: flex;
  text-align: center;
  font-size: 12px;
  align-items: center;
  color: #555556;
  justify-content: center;
  padding: 40px 0;
  gap: 10px;
}
.pagination .page-current {
  color: #fff;
  background: red;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid red;
}
.pagination .page-input {
  color: #555556;
  font-size: 12px;
  background: #fff;
  padding: 5px 15px;
  border: 1px solid #dddada;
  border-radius: 8px;
}
.pagination .page-next {
  padding: 5px 10px;
  border: 1px solid #dddada;
  border-radius: 8px;
  font-size: 12px;
}
.pagination a {
  border: 1px solid #dddada;
  padding: 5px 10px;
  border-radius: 8px;
}
/* ==========================================================================
   页脚
   ========================================================================== */

.main-footer {
  background-color: #0F5391;
  padding: 20px 0 10px;
  color: #C8C8C8;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: flex;
  align-items: flex-start;
  gap: 74px;
  margin-bottom: 32px;
}

.footer-logo {
  flex-shrink: 0;
}

.footer-logo img {
  width: 176px;
  height: 64px;
  object-fit: contain;
}

.footer-nav {
  flex: 1;
  display: flex;
  gap: 50px;
  align-items: center;
  font-size: 20px;
  font-weight: 400;
  padding-top: 18px;
}

.footer-nav a {
  font-size: 20px;
  color: #C8C8C8;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #FFFFFF;
}

.footer-qr {
  display: flex;
  gap: 78px;
  flex-shrink: 0;
}

.qr-code {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.qr-code img {
  width: 139px;
  height: 139px;
  object-fit: contain;
}

.qr-code span {
  font-size: 16px;
  font-weight: 400;
  color: #C8C8C8;
  white-space: nowrap;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 200, 200, 0.3), transparent);
  margin-bottom: 22px;
}

.footer-copyright {
  text-align: center;
}

.footer-copyright p {
  font-size: 16px;
  font-weight: 400;
  color: #C8C8C8;
}
 .menu-category .category-header.activeL1  {
  color: #4FAFE0;
  font-weight: 600;
}
.menu-category:hover .category-header {
  color: #4FAFE0;
}


 .menu-category .category-header {
  display: flex;
  align-items: center;
  justify-content: start;
  padding: 10px;
  font-size: 22px;
  font-weight: 500;
  cursor: pointer;
  gap: 8px;
}
 .menu-category .category-header .title-frist {
  display: block;
}
 .menu-category .category-header .title-two {
  display: none;
}
 .menu-category .category-header .circle-icon {
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}
 .menu-category .category-header .circle-icons {
  font-size: 10px;
  display: none;
  margin-right: 5px;
}
 .menu-category .category-header .arrow-icon {
  font-size: 12px;
  width: 12px;
  height: 12px;
  margin-left: auto;
  transition: transform 0.3s;
}
 .menu-category .category-header .arrow-icon.rotated {
  transform: rotate(90deg);
}
 .menu-category .slide-enter-active,
 .menu-category .slide-leave-active {
  transition: max-height 0.3s ease-in-out;
  overflow: hidden;
  /* 必须加，否则子元素会溢出 */
}
 .menu-category .slide-enter,
 .menu-category .slide-leave-to {
  max-height: 0;
}
 .menu-category .slide-enter-to,
 .menu-category .slide-leave {
  max-height: 1000px;
  /* 设置一个大于内容高度的值 */
}
 .menu-category .category-items .menu-item {
  padding: 16px 30px;
  font-size: 15px;
  color: #333;
  text-align: center;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s;
}
.menu-category .category-items .menu-item .svg-icon {
  width: 12px;
  height: 12px;
}
 .menu-category .category-items .menu-item:last-child {
  border-bottom: none;
}
 .menu-category .category-items .menu-item:hover {
  background: #f8f8f8;
  color: #c8161d;
}
 .menu-category .category-items .menu-item.active {
  background: #c8161d;
  color: #fff;
}
.flex-j{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* ==========================================================================
   移动端适配
   ========================================================================== */
@media (min-width: 769px) {
  /* .pc-header{
    display: flex;
  } */
  .middle-header{
    display: none !important;
  }
}
@media (max-width: 768px) {
  .middle-header{
    display: none !important;
  }
  .pc-header{
    display: none !important;
  }
  body {
    min-width: 100%;
  }

  /* 顶部导航 */
  .main-header {
    height: 70px;
  }

  .header-spacer {
    height: 70px;
  }

  .header-container {
    padding: 0 20px;
    gap: 20px;
  }

  .logo img {
    width: 120px;
    height: 44px;
  }

  /* 手机端导航按钮显示 */
  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
  }

  /* 手机端导航抽屉样式 */
    .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    max-width: 280px;
    height: 100vh;
    background: rgba(15, 83, 145, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: stretch;
    padding: 45px 0 20px;
    margin-top: 0;
    gap: 0;
    z-index: 1001;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    display: flex;
  }

  .main-nav.active {
    right: 0;
    display: block !important;
  }

  .right-menu-overlay-two,
  .right-menu-overlay-three {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: rgba(15, 83, 145, 0.98);
    z-index: 9100;
    overflow-y: auto;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
  }

  .right-menu-overlay-two .sub-menu-header,
  .right-menu-overlay-three .sub-menu-header {
    padding: 18px 20px;
    border-bottom: 1px solid #eeeeee;
  }

  .right-menu-overlay-two .sub-menu-header .sub-back,
  .right-menu-overlay-three .sub-menu-header .sub-back {
    font-size: 16px;
    color: #ffffff;
    cursor: pointer;
  }

  .right-menu-overlay-two .nav-list,
  .right-menu-overlay-three .nav-list {
    padding: 20px 0;
  }

  .right-menu-overlay-two .nav-list a,
  .right-menu-overlay-three .nav-list a,
  .right-menu-overlay-two .nav-list div[id],
  .right-menu-overlay-three .nav-list div[id] {
    display: block;
    padding: 20px 30px;
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
  }

  .right-menu-overlay-three {
    z-index: 9200;
  }


  .nav-link {
    display: block;
    padding: 20px 30px;
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
  }

  .nav-link.active {
    background-color: transparent !important;
    color: #fff;
  }

  /* .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #4FAFE0;
  } */

  .mobile-nav-overlay {
    /* display: block !important; */
  }

  /* 主内容区域 */
  .main-content {
    padding: 20px 0 40px;
  }

  .content-wrapper {
    padding: 0 20px;
    gap: 20px;
    flex-direction: column;
  }

  /* 左侧边栏 - 手机端隐藏 */
  .sidebar {
    display: none;
  }

  /* 右侧内容区 */
  .content-area {
    width: 100%;
  }

  .breadcrumb {
    font-size: 14px;
    line-height: 50px;
    margin-bottom: 10px;
  }

  .news-list {
    gap: 15px;
  }

  .news-card {
    gap: 20px;
    padding: 20px;
  }

  .news-date {
    padding-top: 0;
    flex-direction: row;
    gap: 10px;
    align-items: baseline;
  }

  .date-day {
    font-size: 20px;
  }

  .date-year {
    font-size: 16px;
  }

  .news-title {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .news-excerpt {
    font-size: 14px;
    line-height: 22px;
  }

  .pagination {
    font-size: 6px !important;
    padding: 25px 0 !important;
    gap: 2px !important;
  }
  .pagination .page-next {
    font-size: 6px !important;
    padding: 4px 5px !important;
  }
  .pagination .page-input {
    padding: 4px 5px !important;
    font-size: 6px !important;
  }
  .pagination a {
    padding: 4px 5px !important;
  }
  .pagination .page-current {
    padding: 4px 5px !important;
  }

  /* 页脚 */
  .main-footer {
    padding: 20px 0 10px;
  }

  .footer-container {
    padding: 0 20px;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
  }

  .footer-logo img {
    width: 100px;
    height: 36px;
  }

  .footer-nav {
    padding-top: 0;
    font-size: 14px;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .footer-nav a {
    font-size: 14px;
    flex: 1 1 auto;
    text-align: center;
  }

  .footer-qr {
    gap: 30px;
    width: 100%;
    justify-content: center;
  }

  .qr-code img {
    width: 80px;
    height: 80px;
  }

  .qr-code span {
    font-size: 12px;
  }

  .footer-copyright p {
    font-size: 11px;
    line-height: 1.5;
    padding: 0 10px;
  }
}

