* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: rgb(247, 250, 253);
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.container a img {
  width: 24%;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}

/* 添加移动端菜单按钮样式 */
.mobile-menu-btn {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  width: 48px;
  height: 48px;
  background: rgba(52, 92, 175, 0.9);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
}

.mobile-menu-btn:hover {
  background: rgba(52, 92, 175, 1);
  transform: scale(1.05);
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* 头部 */
.newyjs-header {
  width: 100%;
  position: relative;
}

.newyjs-header .header-bg {
  height: 500px;
  width: 100%;
  background: url(../images/newyjs_header_bg.png) no-repeat center center;
  background-size: 100% 100%;
  position: relative;
  overflow: hidden;
  background-repeat: no-repeat;
}

.newyjs-header .logo {
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 10;
}

.newyjs-header .logo a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
}

.newyjs-header .logo-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.newyjs-header .logo-text {
  font-size: 20px;
  font-weight: 600;
}

.header-title {
  text-align: center;
  color: white;
  font-size: 42px;
  font-weight: 700;
  margin-top: 40px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 主要内容 */
.newyjs-main {
  position: relative;
  z-index: 2;
  margin-top: -220px;
  width: 100%;
}

/* 导航 */
.newyjs-nav ul {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  list-style: none;
}

.newyjs-nav ul li {
  flex: 1;
  height: 61px;
}

.newyjs-nav ul li button {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background-color: rgba(52, 92, 175, 1);
  border-radius: 9px;
  font-size: 20px;
  font-weight: 400;
  color: rgba(255, 255, 255, 1);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.newyjs-nav ul li button:hover,
.newyjs-nav ul li button.active {
  background-color: rgb(255, 255, 255);
  color: rgba(52, 92, 175, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 预决算内容 */
.newyjs-content {
  margin-top: 49px;
  background-color: rgba(247, 250, 253, 1);
  min-height: 500px;
}

.newyjs-content .content-header {
  padding: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
}

.newyjs-content .content-header h3 {
  min-width: 320px;
  height: 48px;
  background: linear-gradient(90deg, rgba(58, 144, 228, 1) 0%, rgba(52, 92, 175, 1) 82.87%);
  font-size: 20px;
  font-weight: 700;
  color: rgba(255, 255, 255, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.newyjs-content .content-header .right-form {
  display: flex;
  align-items: center;
  gap: 18px;
}

.custom-select {
  position: relative;
  min-width: 200px;
}

.custom-select select {
  width: 100%;
  height: 44px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 400;
  color: rgba(52, 92, 175, 1);
  padding: 0 40px 0 22px;
  border: 1px solid rgba(52, 92, 175, 1);
  background-color: white;
  cursor: pointer;
  appearance: none;
  transition: all 0.3s;
}

.custom-select select:hover,
.custom-select select:focus {
  border-color: rgb(40, 98, 213);
  box-shadow: 0 0 4px 1px rgba(40, 98, 213, 0.5);
  outline: none;
}

.custom-select::after {
  content: "▼";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: rgba(52, 92, 175, 1);
  font-size: 12px;
}

.submit-btn {
  width: 86px;
  height: 44px;
  border-radius: 999px;
  font-size: 20px;
  font-weight: 400;
  color: rgba(255, 255, 255, 1);
  background-color: rgba(52, 92, 175, 1);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.submit-btn:hover {
  background-color: rgb(40, 98, 213);
  box-shadow: 0 2px 8px rgba(52, 92, 175, 0.4);
}

/* 内容主体 */
.newyjs-content .content-body {
  padding: 25px 40px;
  border: 0.5px solid rgba(204, 204, 204, 1);
  background: white;
  border-radius: 4px;
}

/* 部门列表 */
.dept-list ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 30px 0;
}

.dept-list ul li {
  width: calc(33.33% - 14px);
  display: flex;
  align-items: center;
}

.dept-list ul li a {
  font-size: 18px;
  font-weight: 400;
  color: rgba(51, 51, 51, 1);
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color 0.3s;
}

.dept-list ul li a:hover {
  color: rgb(66, 107, 188);
}

.dept-list ul li a::before {
  content: ">";
  display: inline-block;
  margin-right: 12px;
  color: black;
  font-size: 18px;
}

/* 文章列表 */
.art-list {
  display: none;
}

.art-list.active {
  display: block;
}

.bsj-pageList .top {
  display: flex;
  align-items: center;
  padding: 20px 0;
  gap: 20px;
}

.bsj-pageList .top h3 {
  font-size: 20px;
  color: rgba(52, 92, 175, 1);
  flex: 1;
}

.back-btn {
  background: rgba(52, 92, 175, 1);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
}

.back-btn:hover {
  background: rgb(40, 98, 213);
}

.bsj-pageList ul {
  list-style: none;
}

.bsj-pageList ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 47px;
  padding: 12px 25px;
  gap: 20px;
  transition: background 0.3s;
}

.bsj-pageList ul li:hover {
  background: rgba(247, 250, 253, 0.5);
}

.bsj-pageList ul li a {
  flex: 1;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.bsj-pageList ul li h5 {
  font-size: 18px;
  font-weight: 400;
  color: rgba(51, 51, 51, 1);
  transition: color 0.3s;
}

.bsj-pageList ul li a:hover h5 {
  color: rgb(66, 107, 188);
}

.bsj-pageList ul li a::before {
  content: ">";
  margin-right: 12px;
  color: black;
  font-size: 18px;
}

.bsj-pageList ul li .time {
  font-size: 18px;
  color: rgba(102, 102, 102, 1);
  flex-shrink: 0;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .newyjs-main {
    margin-top: -180px;
  }

  .dept-list ul li {
    width: calc(50% - 10px);
  }

  .newyjs-nav ul li button {
    font-size: 16px;
  }
}

/* 修改移动端响应式，添加菜单功能 */
@media (max-width: 768px) {
  .container a img {
    width: 45%;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .newyjs-main {
    margin-top: -150px;
  }

  .header-title {
    font-size: 28px;
  }

  .newyjs-header .header-bg {
    height: 400px;
    overflow: hidden;
    background-size: 150% 100%;
    background-repeat: no-repeat;
  }

  /* 移动端导航默认隐藏 */
  .newyjs-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(247, 250, 253, 0.98);
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
  }

  .newyjs-nav.show {
    max-height: 500px;
    display: block;
  }

  .newyjs-nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .newyjs-nav ul li {
    height: 56px;
  }

  .newyjs-content {
    margin-top: 20px;
  }

  .newyjs-content .content-header {
    padding: 20px;
  }

  .newyjs-content .content-header h3 {
    width: 100%;
    min-width: auto;
    font-size: 18px;
  }

  .newyjs-content .content-header .right-form {
    width: 100%;
    flex-wrap: wrap;
  }

  .custom-select {
    flex: 1;
    min-width: 150px;
  }

  .dept-list ul li {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .newyjs-header .header-bg {
    height: 250px;
    background-size: 120% 100%;
  }

  .newyjs-main {
    margin-top: -70px;
  }

  .header-title {
    font-size: 22px;
  }

  .newyjs-content .content-body {
    padding: 15px 20px;
  }

  .custom-select select {
    font-size: 16px;
  }

  .submit-btn {
    font-size: 18px;
  }
}
