/*zwgk-search*/
.zwgk-search {
  margin-top: 20px;
  display: flex;
  opacity: 1;
  background: linear-gradient(270deg, rgba(184, 218, 249, 1) 0%, rgba(222, 239, 255, 1) 100%);
  justify-content: space-between;
}

.zwgk-search .index-focus {
  height: 80px;
  display: flex;
  align-items: center; /* 垂直居中对齐 */
  gap: 10px; /* 三个元素之间的间距 */
  padding: 10px 0;
}

.zwgk-search .index-focus .search-ipt {
  flex: 1; /* 关键：占满中间剩余空间，自适应宽度 */
  padding: 10px 15px;
  border: 1px solid #ccc;
  font-size: 16px;
}
.zwgk-search .index-focus .search-ipt::-webkit-input-placeholder {
  color: #ccc;
}
.zwgk-search .index-focus .search-btn {
  padding: 10px 25px;
  background-color: #0c63a8; /* 和你截图一致的蓝色 */
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
}
.zwgk-search .index-focus .search-btn:hover {
  background: #1981c9;
}

.zwgk-search .service-box {
  width: 640px;
  height: 120px;
  display: flex;
  align-items: center; /* 垂直居中对齐 */
  gap: 10px; /* 三个元素之间的间距 */
  padding: 10px 0;
}


/* * {
  margin: 0;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
  text-decoration: none;
} */
/* 外层全屏浅蓝色铺满整个页面 */
.policy-bg {
  width: 100%;
  background-color: #f5faff;
  padding: 40px 0;
  margin-top: 20px;
}
/* 内容居中容器 */
.policy-section {
  width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

/* 左侧白色卡片 */
.policy-card {
  width: 617px;
  height: 474px;
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid #e6f0fb;
}
.policy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #0c63a8;
  padding-bottom: 12px;
  margin-bottom: 15px;
  gap: 8px;
}
.policy-header img {
  width: 29px;      
  height: 35px; 
  vertical-align: middle;
  object-fit: contain;
}
.policy-title {
  color: #0c63a8;
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0px;
  line-height: 45px;
  color: rgba(12, 99, 168, 1);
  text-align: left;
  vertical-align: top;
}
.policy-more {
  color: #666;
  font-size: 16px;
  text-decoration: none;
}
.policy-more:hover {
  color: #0c63a8;
}
.policy-scroll-box {
  height: 370px;
  overflow: hidden;
}
.policy-item {
  display: flex;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px dashed #d9e8f8;
  transition: all 0.25s ease;
}
.policy-item:hover {
  background: #f7fbff;
  padding-left: 8px;
}
.date-box {
  width: 58px;
  height: 60px;
  text-align: center;
  border: 1px solid #0c63a8;
  border-radius: 6px;
  margin-right: 14px;
  flex-shrink: 0;
}
.date-day {
  background: #0c63a8;
  color: #fff;
  display: block;
  padding: 3px 0;
}
.date-year {
  color: #0c63a8;
  display: block;
  padding: 2px 0;
}
.policy-link {
  color: #333;
  font-size: 16px;
}
.policy-link:hover {
  color: #0c63a8;
}

/* 右侧 无卡片 宽度和左侧对等 行高完全对齐 */
.interpretation-box {
  width: 641px;
  padding-top: 25px;
}
.interpretation-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #0c63a8;
  padding-bottom: 12px;
  margin-bottom: 15px;
}
.interpretation-title {
color: #0c63a8;
height: 45px;
opacity: 1;
/** 文本1 */
font-size: 30px;
font-weight: 700;
letter-spacing: 0px;
line-height: 45px;
text-align: left;
vertical-align: top;
}

.interpretation-header img {
  width: 29px;      
  height: 35px;      
  vertical-align: middle;
  object-fit: contain;
}
.interpretation-more {
  color: #666;
  font-size: 16px;
}
.interpretation-more:hover {
  color: #0c63a8;
}
.interpretation-scroll-box {
  height: 370px;
  overflow: hidden;
}
/* 行高、内边距 和左侧完全一致 实现精准对齐 */
.interpretation-item {
  display: flex;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px dashed #d9e8f8;
  transition: padding-left 0.25s ease;
}
/* 只左移 不加背景 绝不遮挡右侧日期 */
.interpretation-item:hover {
  padding-left: 8px;
}
.left-line {
  width: 4px;
  height: 38px;
  background: #0c63a8;
  margin-right: 14px;
  flex-shrink: 0;
}
.content-wrap {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.interpretation-link {
  color: #333;
  font-size: 16px;
  flex: 1;
}
.interpretation-link:hover {
  color: #0c63a8;
}
.interpretation-date {
  color: #0c63a8;
  font-size: 15px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* 自适应 */
@media (max-width:1220px) {
  .policy-section {
    width: 96%;
    flex-direction: column;
  }
  .policy-card,.interpretation-box {
    width: 100%;
  }
}

/*.zwgk-govOpen-* e*/
.zwgk-govOpen {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}
.zwgk-govOpen .section {
  width: 100%;
  background: #fff;
  box-sizing: border-box;
}

/* 标签栏整体：等间距排列 + 居中 + 不换行 */
.zwgk-govOpen .section .tab-header {
  display: flex;
  justify-content: space-between; /* 自动等间距 */
  align-items: center;
  flex-wrap: nowrap; /* 不换行 */
  gap: 20px; /* 间距统一，更美观 */
  width: 100%;
}

/* 单个按钮：固定大小 + 居中 */
.zwgk-govOpen .section .tab-header .tab-item {
  width: 198px;
  height: 130px;
  position: relative;
  z-index: 1;

  display: flex;
  align-items: center;
  justify-content: center;

  /* 浮动动画更顺滑 */
  transition: all 0.3s ease;
}

/* a 标签铺满整个按钮 */
.zwgk-govOpen .section .tab-header .tab-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
}

/* 图片：自适应 + 不变形 + 居中 */
.zwgk-govOpen .section .tab-header .tab-item img {
  position: absolute;
  /* max-width: 85%; */
  /* max-height: 100%; */
  object-fit: contain;
  transition: opacity 0.3s ease;
}

/* 图片切换逻辑 */
.zwgk-govOpen .tab-item .img-active {
  display: none;
}
.zwgk-govOpen .tab-item.active .img-active,
.zwgk-govOpen .tab-item:hover .img-active {
  display: block;
}
.zwgk-govOpen .tab-item.active .img-normal,
.zwgk-govOpen .tab-item:hover .img-normal {
  display: none;
}

/* —————————— 悬浮上浮浮动效果 —————————— */
.zwgk-govOpen .section .tab-header .tab-item:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

/* 选中状态保持浮动样式 */
.zwgk-govOpen .section .tab-header .tab-item.active {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 8px 20px rgba(12, 99, 168, 0.3);
  z-index: 10;
}

.notice-section {
  width: 100%;
  margin: 0 auto;
  padding: 20px 0;
  background: #f5faff;
  box-sizing: border-box;
  margin-top: 30px;
}

.notice-wrapper {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* 头部标题 */
.notice-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.notice-title {
  font-size: 32px;
  color: #0c63a8;
  position: relative;
  padding-bottom: 10px;
}

.notice-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #0c63a8 0%, #0c63a8 80%, transparent 80%, transparent 100%);
  border-radius: 2px;
}

.notice-more {
  font-size: 18px;
  color: #999;
  text-decoration: none;
}

/* 轮播容器 */
.notice-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* .notice-page {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
  min-width: 100%;
} */

.notice-page {
  display: none;
}
.notice-page.active {
   display: block;
}

.notice-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
  min-width: 100%;
}
/* 单个通知项 */
.notice-item {
  display: flex;
  align-items: flex-start;
  background: #fff;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: relative;
}

.notice-line {
  width: 6px;
  height: 40px;
  background: #0c63a8;
  margin-right: 12px;
  flex-shrink: 0;
}

/* 核心：标题在上，蓝线和日期在同一行 */
.notice-content {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.notice-text {
  font-size: 18px;
  color: #333;
  text-decoration: none;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}

/* 底部：蓝线左 + 日期右 平行 */
.notice-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 8px;
}

/* 蓝色横线 */
.end-line {
  width: 70%;
  height: 1px;
  background: #0c63a8;
}

/* 日期 */
.notice-date {
  font-size: 16px;
  color: #0c63a8;
  white-space: nowrap;
}

/* 底部轮播点 */
.notice-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.notice-dots .dot {
  width: 60px;
  height: 4px;
  background: #ccc;
  border-radius: 2px;
  cursor: pointer;
}
.notice-dots .dot.active {
  width: 120px;
  background: #0c63a8;
}
/*.zwgk-budget-* e*/
.zwgk-budget {
  margin-top: 34px;
  display: flex;
  justify-content: space-between;
}

.zwgk-budget .left {
  width: 620px;
  height: 285px;
}
.zwgk-budget .left .hd {
  display: flex;
  justify-content: space-between;
  margin-bottom: 21px;
}
.zwgk-budget .left .hd .tab-nav {
  display: flex;
}
.zwgk-budget .left .hd .tab-nav .item a {
  padding: 0 16px;
  font-size: 22px;
  color: #333;
 
}
.zwgk-budget .left .hd .tab-nav .item.active a {
  font-weight: 700;
  border-bottom: none; /* 去掉原来的线 */
  padding-bottom: 10px;
  background-image: url("../img/img-05.png");
  background-repeat: no-repeat;
  background-position: center bottom; /* 放在正下方居中 */
}
.zwgk-budget .left .hd .more-box {
  flex: 1;
  padding-left: 10px;
  text-align: right;
}
.zwgk-budget .left .hd .more-box .more-btn {
  font-size: 16px;
  color: #999;
}
.zwgk-budget .left .tab-swiper .swiper-slide .list .it {
  padding: 7px 0;
}
.zwgk-budget .left .tab-swiper .swiper-slide .list .it a {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 16px;
}
.zwgk-budget .left .tab-swiper .swiper-slide .list .it a:before {
  content: "";
  width: 8px;
  height: 8px;
  background: #ddd;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
}
.zwgk-budget .left .tab-swiper .swiper-slide .list .it a .tl {
  flex: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  word-break: break-all;
  overflow: hidden;
}
.zwgk-budget .left .tab-swiper .swiper-slide .list .it a .date {
  width: 110px;
  text-align: right;
  color: #ccc;
}
.zwgk-budget .left .tab-swiper .swiper-slide .list .it a:hover:before {
  background: #0c63a8;
}
.zwgk-budget .left .tab-swiper .swiper-slide .list .it a:hover .tl {
  color: #0c63a8;
}
.zwgk-budget .left .tab-swiper .swiper-slide .list .it a:hover .date {
  color: #0c63a8;
}
.zwgk-budget .right {
  width: 620px;
  height: 285px;
}
.zwgk-budget .right .hd {
  display: flex;
  justify-content: space-between;
  margin-bottom: 21px;
}
.zwgk-budget .right .hd .tab-nav {
  display: flex;
}
.zwgk-budget .right .hd .tab-nav .item a {
  padding: 0 16px;
  font-size: 22px;
  color: #333;
 
}
.zwgk-budget .right .hd .tab-nav .item.active a {
  font-weight: 700;
  border-bottom: none; /* 去掉原来的线 */
  padding-bottom: 10px;
  background-image: url("../img/img-05.png");
  background-repeat: no-repeat;
  background-position: center bottom; /* 放在正下方居中 */
}
.zwgk-budget .right .hd .more-box {
  flex: 1;
  padding-left: 10px;
  text-align: right;
}
.zwgk-budget .right .hd .more-box .more-btn {
  font-size: 16px;
  color: #999;
}
.zwgk-budget .right .tab-swiper .swiper-slide .list .it {
  padding: 7px 0;
}
.zwgk-budget .right .tab-swiper .swiper-slide .list .it a {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 16px;
}
.zwgk-budget .right .tab-swiper .swiper-slide .list .it a:before {
  content: "";
  width: 8px;
  height: 8px;
  background: #ddd;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
}
.zwgk-budget .right .tab-swiper .swiper-slide .list .it a .tl {
  flex: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  word-break: break-all;
  overflow: hidden;
}
.zwgk-budget .right .tab-swiper .swiper-slide .list .it a .date {
  width: 110px;
  text-align: right;
  color: #ccc;
}
.zwgk-budget .right .tab-swiper .swiper-slide .list .it a:hover:before {
  background: #0c63a8;
}
.zwgk-budget .right .tab-swiper .swiper-slide .list .it a:hover .tl {
  color: #0c63a8;
}
.zwgk-budget .right .tab-swiper .swiper-slide .list .it a:hover .date {
  color: #0c63a8;
}

/* punishment */
.zwgk-punishment {
  width: 1280px;
  margin: 40px 0;
  margin-left: auto;
  margin-right: auto;
}

/* 标签栏：横向排列 + 等间距 + 居中 */
.zwgk-punishment .tab-header {
  display: flex;
  justify-content: center;  /* 整体居中 */
  align-items: center;
  gap: 30px;               /* 按钮之间间距 */
  flex-wrap: nowrap;       /* 不换行 */
}

/* 按钮样式：固定大小 + 居中 */
.zwgk-punishment .tab-item {
  width: 307px;
  height: 140px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #deebff;
}

/* 选中/悬浮时：显示蓝色边框，紧贴图片 */
.zwgk-punishment .tab-item:hover,
.zwgk-punishment .tab-item.active {
  border-color: #0c63a8; /* 蓝色边框紧贴图片 */
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

/* a 标签铺满 */
.zwgk-punishment .tab-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

/* 图片居中、不变形 */
.zwgk-punishment .tab-item img {
  /* max-width: 100%; */
  max-height: 100%;
  object-fit: contain;
}

/* 图片切换逻辑 */
.zwgk-punishment .tab-item .img-active {
  display: none;
}
.zwgk-punishment .tab-item.active .img-active,
.zwgk-punishment .tab-item:hover .img-active {
  display: block;
}
.zwgk-punishment .tab-item.active .img-normal,
.zwgk-punishment .tab-item:hover .img-normal {
  display: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Microsoft Yahei", sans-serif;
  background: #fff;
}

/* 整体容器：左右无缝相连 */
.gov-container {
  width: 100%;
  max-width: 1280px;
  margin: 20px auto;
  display: flex;
  position: relative; /* 作为左侧定位参考 */
  padding: 0 10px;
}

/* ========== 左侧：领导之窗（加深渐变 + 蓝色边框 + 更大） ========== */
.leader-card {
  width: 449px;
  height: 497px;
  /* 浮层核心：层级+阴影+轻微偏移 */
  position: relative;
  z-index: 10;
  margin-right: -1px; /* 覆盖右侧边框 */
  box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
  /* 原图浅蓝色渐变 */
  background: linear-gradient(180deg, #f0f8ff, #e6f4ff);
  border: 1px solid #4a90e2; /* 原图蓝色边框 */
  border-radius: 4px 0 0 4px;
  padding: 15px;
}

.leader-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #0c63a8;
  padding-bottom: 12px;
  margin-bottom: 22px;
}

.leader-title {
  font-size: 24px;
  color: #0c63a8;
}

.leader-more {
  color: #666;
  text-decoration: none;
  font-size: 16px;
}

.leader-tag {
  display: inline-block;
  background: linear-gradient(90deg, #3b88f5, #0c63a8);
  color: #fff;
  padding: 5px 18px;
  border-radius: 4px;
  font-size: 16px;
  margin-bottom: 18px;
}

.leader-info {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}

.leader-img img {
  width: 100px;
  height: 130px;
  border-radius: 4px;
  object-fit: cover;
}

.leader-text h3 {
  font-size: 20px;
  color: #222;
  border-bottom: 1px solid #333;
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.leader-text p {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 30px;
}

.leader-btns {
  display: flex;
  gap: 18px;
    justify-content: right;
}

.leader-btns img {
  width: 24px;       /* 图标大小，可自己调 */
  height: 24px;      /* 图标大小，和文字匹配 */
  vertical-align: middle;
  object-fit: contain;
}

.btn-duty, .btn-resume {
  text-decoration: none;
  color: #0c63a8;
  font-size: 18px;
  font-weight: bold;
}

.leader-list {
  border-top: 1px solid #bbd6f7;
  padding-top: 18px;
}

.leader-item {
   display: flex;
  gap: 20px; /* 左右两个盒子之间，空出 45px 距离 */
  font-size: 16px;
  color: #333;
  margin-bottom: 30px;
}

.leader-item span {
  color: #0c63a8;
  font-weight: bold;
}

.leader-item a {
  text-decoration: none;
}

/* ========== 右侧：机构导航 ========== */
.org-wrapper {
  margin-top: 20px;
  flex: 1;
  background: #f5faff;
  height: 448px;
  padding: 25px;
  border: 1px solid #cce0f5;
  border-left: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.org-tabs {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid #ccc;
  margin-bottom: 20px;
}

.tab-btn {
  border: none;
  background: none;
  font-size: 28px;
  color: #333;
  padding: 10px 0;
  position: relative;
  cursor: pointer;
}

.tab-btn.active {
  color: #0c63a8;
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 4px;
  background: #0c63a8;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.org-slider {
  overflow: hidden;
  position: relative;
}


.org-page {

  display: none; /* 默认隐藏 */
}
.org-page.active {
  display: block; /* active 显示 */
}

.org-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 15px;
  min-width: 100%;
}

/* 文字垂直 + 水平居中 */
.org-item {
  background: #fff;
  border: 1px solid #ddd;
/* 
  padding: 15px 10px; */
  font-size: 18px;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 70px;
}

.org-item:hover, .org-item.active {
  background: linear-gradient(180deg, #80bfff, #3b88f5);
  color: #fff;
  border-color: #3b88f5;
}

.org-dots {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.org-dots .org-dot {
  width: 80px;
  height: 6px;
  background: #ccc;
  border-radius: 3px;
  cursor: pointer;
}

.org-dots .org-dot.active {
  background: #0c63a8;
}

/* ========== 机构职能 ========== */
.function-content {
  background: #fff;
  padding: 20px;
  border-radius: 4px;
  line-height: 1.8;
  font-size: 16px;
  color: #333;
}

.function-desc {
  margin-bottom: 15px;
}

.function-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.function-list {
  list-style: none;
  margin-bottom: 15px;
}

.function-list li {
  margin-bottom: 10px;
}

.function-more {
  display: block;
  text-align: right;
  color: #0c63a8;
  text-decoration: none;
}

/* 移动端 */
@media (max-width: 992px) {
  .gov-container {
    flex-direction: column;
  }
  .leader-card, .org-wrapper {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #cce0f5;
    margin-bottom: 20px;
  }
  .org-page {
    grid-template-columns: repeat(3, 1fr);
  }
}