@charset "utf-8";

/* ========== 原有样式（完全保留，未做任何修改） ========== */
body {
  background: none;
}

.head_bg {
  width: 100%;
  height: 336px;
}

.cont {
  margin-top: 0px;
}

.description {
  color: #939393;
  padding: 24px;
  font-size: 16px;
  width: 900px;
  height: 100px;
  margin: 0 auto;
  border: 1px solid #3584eb;
}

.cont {
  width: 1200px;
  margin: 0 auto;
  background: #fff;
  margin-top: 50px;
  padding-top: 30px;
}

.glml {
  background: #ebf3fc;
  margin-top: 20px;
  padding: 60px 0 50px 0;
}

.bar1,
.bar2 {
  text-align: center;
}

.bar1 {
  margin-bottom: 73px;
}

.gkml_box {
  border: 1px solid #679ed3;
  border-radius: 10px;
}

.gkml_box + .gkml_box {
  margin-top: 60px;
}

.gkml_bar {
  background: url("../ebImgs/gkml_bar_bj.png") no-repeat center top;
  font: bold 24px/40px "";
  color: #fff;
  width: 191px;
  height: 40px;
  text-align: center;
  margin: -17px 0 0 -1px;
}

.dw_box {
  padding-bottom: 20px;
}

.dw_box li {
  float: left;
  width: 174px;
  height: 53px;
  border: 1px solid #2f77d3;
  text-align: center;
  font: 18px/53px "";
  border-radius: 10px;
  margin: 20px 0 0 20px;
}

.gkml_box a {
  color: #333;
}

.left {
  float: left;
}

.right {
  float: right;
}

.list_left {
  background: #e6f1f6;
}

.list_right {
  display: none;
}

.list_parenchannel {
  height: 52px;
  font-size: 24px;
  text-align: center;
  line-height: 52px;
  letter-spacing: 1px;
  background: none;
  color: #fff;
}

.list_r_c {
  width: 861px;
  border-bottom: 1px solid #ebebeb;
}

.list_r_c span {
  display: block;
  background: #f3f3f3;
  font: bold 18px/52px "";
  padding-left: 20px;
  color: #0258ab;
  height: 52px;
  line-height: 52px;
}

.list_ul a {
  display: block;
  width: 100%;
  background: none;
  color: #0f0f0f;
  font-size: 16px;
  text-align: left;
  text-indent: 20px;
  margin-bottom: 0px;
  height: 36px;
  line-height: 36px;
}

.list_ul_a {
  width: 861px;
  min-height: 345px;
}

.list_left {
  width: 288px;
}

.list_parenchannel {
  margin: 0 auto;
  border-bottom: 1px solid #0086cc;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.list_ul {
  padding: 20px 0px;
}

.list_ul_a {
  width: 861px;
  margin: 0 auto;
  padding-top: 10px;
  min-height: 350px;
  clear: both;
  background: none;
  color: #0f0f0f;
  font-size: 16px;
  text-align: left;
  text-indent: 66px;
  margin-bottom: 0px;
}

.list_ul_a li {
  height: 35px;
  line-height: 35px;
  text-indent: 15px;
}

.list_ul_a li a {
  float: left;
  color: #333;
}

.list_ul_a li span {
  float: right;
  color: #919191;
  font-size: 15px;
}

/*分页*/
.page_num {
  padding: 40px 20px 20px 20px;
  overflow: hidden;
  font-size: 12px;
}

#page_div {
  line-height: 25px;
  color: #000;
}

#pagination_input {
  width: 22px;
  height: 22px;
  line-height: 22px;
  margin: 0 8px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #ccc;
}

#page_div .pagination_index,
#page_div .pagination_index_num {
  background: #ffffff;
  border: 1px solid #d9d7d7;
  padding: 0 8px;
  margin-right: 5px;
  float: left;
  min-width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
}

#page_div .pagination_index a,
#page_div .pagination_index_num a {
  padding: 0px;
  margin: 0px;
  text-align: center;
  color: #000;
}

#page_div .pagination_index a:hover,
#page_div .pagination_index_num a:hover {
  padding: 0px;
  margin: 0px;
  text-align: center;
  color: #000;
}

#page_div .pagination_index_last {
  width: 260px;
  float: right;
  text-align: right;
}

#page_div .pagination_index_num {
  margin-right: 2px;
  padding: 0px;
  width: 22px;
}

#page_div .currentIndex {
  background: #1b51a0;
  width: 22px;
  line-height: 22px;
  height: 22px;
  color: #fff;
  text-align: center;
  font-weight: bold;
}

.flixbox {
  margin-top: 10px;
  overflow: auto;
}

.gklybar {
  height: 36px;
}

.gklybar span {
  display: inline-block;
  padding: 0px 15px;
  font: bold 18px/36px "";
  color: #fff;
  float: left;
}

.gklybar i {
  display: inline-block;
  width: 33px;
  height: 36px;
  float: left;
}

.gklybar_content {
  margin: 10px 0;
}

.gklybar_content a:hover,
.gklybar_content a.active {
  color: #0258aa;
  font-weight: bold;
}

.gklybar_content a {
  display: inline-block;
  font: 16px/24px "";
  width: 22%;
  height: 48px;
  float: left;
  padding: 0 16px;
  margin: 8px 0;
}

.gklybar_content.second span,
.gklybar_content.second {
  display: none;
}

.gklybar_content.second.active {
  display: block;
}

.gkly {
  background: #ebf3fc;
  padding-top: 52px;
}

.gkly_view {
  width: 1200px;
  margin: 0 auto;
  padding-bottom: 40px;
}

.gkly_view li {
  float: left;
  width: 194px;
  height: 120px;
  background: #fff;
  text-align: center;
  margin: 40px 0 0 85px;
  border-radius: 10px;
  margin-top: 15px;
}

.gkly_view li a {
  display: block;
  margin-top: 15px;
}

.gkly_view li span {
  font: bold 16px/24px "";
  display: block;
}

.gkly_view i {
  margin: 7px auto 7px auto;
  width: 50px;
  height: 50px;
  display: block;
  background-size: 100% 100% !important;
}

.gkly_view li:nth-child(1) i {
  background: url(../ebImgs/images/zdjsxm.png);
}

.gkly_view li:nth-child(2) i {
  background: url(../ebImgs/images/ywjy.png);
}

.gkly_view li:nth-child(3) i {
  background: url(../ebImgs/images/hjgl.png);
}

.gkly_view li:nth-child(4) i {
  background: url(../ebImgs/images/shjz.png);
}

.gkly_view li:nth-child(5) i {
  background: url(../ebImgs/images/ylfw.png);
}

.gkly_view li:nth-child(6) i {
  background: url(../ebImgs/images/ggflfw.png);
}

.gkly_view li:nth-child(7) i {
  background: url(../ebImgs/images/czyjs.png);
}

.gkly_view li:nth-child(8) i {
  background: url(../ebImgs/images/jy.png);
}

.gkly_view li:nth-child(9) i {
  background: url(../ebImgs/images/shbx.png);
}

.gkly_view li:nth-child(10) i {
  background: url(../ebImgs/images/cxgh.png);
}

.gkly_view li:nth-child(11) i {
  background: url(../ebImgs/images/ncjt.png);
}

.gkly_view li:nth-child(12) i {
  background: url(../ebImgs/images/sthj.png);
}

.gkly_view li:nth-child(13) i {
  background: url(../ebImgs/images/bzxzf.png);
}

.gkly_view li:nth-child(14) i {
  background: url(../ebImgs/images/gytd.png);
}

.gkly_view li:nth-child(15) i {
  background: url(../ebImgs/images/ncwf.png);
}

.gkly_view li:nth-child(16) i {
  background: url(../ebImgs/images/snbt.png);
}

.gkly_view li:nth-child(17) i {
  background: url(../ebImgs/images/ggwhfw.png);
}

.gkly_view li:nth-child(18) i {
  background: url(../ebImgs/images/wsjk.png);
}

.gkly_view li:nth-child(19) i {
  background: url(../ebImgs/images/aqsc.png);
}

.gkly_view li:nth-child(20) i {
  background: url(../ebImgs/images/jzsc.png);
}

.gkly_view li:nth-child(21) i {
  background: url(../ebImgs/images/spyp.png);
}

.gkly_view li:nth-child(22) i {
  background: url(../ebImgs/images/ssgl.png);
}

.gkly_view li:nth-child(23) i {
  background: url(../ebImgs/images/gggl.png);
}

.gkly_view li:nth-child(24) i {
  background: url(../ebImgs/images/spyp.png);
}

.gkly_view li:nth-child(25) i {
  background: url(../ebImgs/images/ssgl.png);
}

.gkly_view li:nth-child(26) i {
  background: url(../ebImgs/images/gggl.png);
}

/* ========== 响应式适配（移动端，不影响桌面版原有布局） ========== */

/* 通用图片自适应 */
@media screen and (max-width: 992px) {
  img {
    max-width: 100%;
    height: auto;
  }
}

/* 平板及手机 (≤1200px) 调整主容器宽度 */
@media screen and (max-width: 1200px) {
  .cont {
    width: 95% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0;
  }
  .description {
    width: 90% !important;
    height: auto !important;
    box-sizing: border-box;
  }
  .gkly_view {
    width: 100% !important;
    padding: 0 15px;
    box-sizing: border-box;
  }
}

/* 主要断点 (≤992px) 全面重构为单列布局 */
@media screen and (max-width: 992px) {
  /* 目录区域部门/乡镇按钮 */
  .gkml_box {
    margin: 0 15px 30px;
  }
  .dw_box li {
    width: calc(33.33% - 20px) !important;
    margin-left: 10px !important;
    margin-right: 10px !important;
    box-sizing: border-box;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .gkml_bar {
    font-size: 18px;
    width: 160px;
    background-size: contain;
  }

  /* 左右栏布局改为上下布局 */
  .list_left,
  .list_r_c {
    width: 100% !important;
    float: none !important;
  }
  .list_ul_a {
    width: 100% !important;
    text-indent: 0 !important;
    padding: 0 15px;
    box-sizing: border-box;
  }
  .list_ul_a li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    height: auto;
    padding: 8px 0;
  }
  .list_ul_a li a {
    float: none;
    max-width: 70%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .list_ul_a li span {
    float: none;
    font-size: 12px;
  }

  /* 公开领域图标区域改为弹性换行 */
  .gkly_view li {
    width: calc(25% - 20px) !important;
    margin-left: 10px !important;
    margin-right: 10px !important;
    height: auto;
    padding: 10px 0;
  }
  .gkly_view li span {
    font-size: 12px;
  }
  .gkly_view i {
    width: 40px;
    height: 40px;
  }
}

/* 手机小屏 (≤768px) */
@media screen and (max-width: 768px) {
  .dw_box li {
    width: calc(50% - 20px) !important;
    font-size: 12px;
  }
  .gkml_bar {
    font-size: 16px;
    width: 140px;
  }
  .glml {
    margin-top: 0;
  }
  .list_ul_a li {
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid #eee;
  }
  .list_ul_a li a {
    max-width: 100%;
    white-space: normal;
    line-height: 1.4;
  }
  .list_ul_a li span {
    margin-top: 5px;
  }
  .gkly_view li {
    width: calc(33.33% - 20px) !important;
  }
  .description {
    font-size: 14px;
    padding: 15px;
  }
  .gkly {
    padding-top: 0;
  }
}

/* 超小屏 (≤480px) */
@media screen and (max-width: 480px) {
  .dw_box {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .dw_box li {
    width: calc(100% - 20px) !important;
  }
  .gkly_view li {
    width: calc(50% - 20px) !important;
  }
  .gklybar_content a {
    width: 100% !important;
    text-align: center;
  }
  .list_ul_a {
    padding: 0 10px;
  }
}
