.zfxxgk_container {
  padding: 36px;
  max-height: none;
  /* min-height: 1350px !important; */
}

.xxgk_live1 {
  position:
    relative;
  width: 280px;
}

.xxgk_live1 .icon_img {
  margin-right: 16px;
}

.zfxxgk_right {
  padding-bottom: 60px;
  width: 100%;
  height: auto;
}
.zfxxgk_right .pagination{
  margin-top: 20px;
}

.xxgk_live1 ul {
  display: none;
}

.xxgk_live1.on>ul {
  display: block;
  max-height: 400px;
  overflow-y: auto;
}

.xxgk_live1.on ul.children {
  max-height: 200px;
}

.xxgk_live1 ul.children li {
  padding-left: 15px;
}

.xxgk_live1>a::before {
  content: '';
  width: 18px;
  height: 18px;
  background: url(../images/icon_jia.png) no-repeat center;
  top: 50%;
  margin-top: -9px;
  position: absolute;
  right: 15px;
  cursor: pointer;
}

.zfxxgk>a::before,
.gfxwj>a::before {
  display: none;
}

.zfxxgk span,
.gfxwj span {
  width: 65%;
  line-height: 70px;
}

.nopic span {
  width: 100%;
  text-align: center;
}

.xxgk_live1.on>a::before {
  background: url(../images/icon_jian.png) no-repeat center;
}

.xxgk_live1.wjfl>a span {
  line-height: 65px;
}

.zc_search {
  margin-bottom: 30px;
  padding: 0;
  background-color: #fff;
  border: 1px solid #ddd;
}

.zc_search .toptitle {
  width: 100%;
  border-bottom: 1px solid #ddd;
}

.zc_search .toptitle span {
  display: inline-block;
  padding: 5px 15px;
  background: #2D66A5;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
}

.zc_search ul {
  padding: 20px;
}

/* 文件库搜索头 */
.zcwj_search {
  background: #f6f8fa;
  padding: 20px;
  margin-bottom: 20px;
}

.search_top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  background: #fff;
  padding: 15px 20px;
  border: 1px solid #e8e8e8;
}

.search_input_group {
  display: flex;
  align-items: center;
  flex: 1;
  position: relative;
}

.input_label {
  white-space: nowrap;
  color: #333;
  margin-right: 10px;
  font-size: 14px;
}

.input_item {
  flex: 1;
}

.input_item input {
  width: 100%;
  height: 32px;
  border: 1px solid #dcdee2;
  border-radius: 4px;
  padding: 0 12px;
  font-size: 14px;
  color: #333;
  transition: all 0.3s;
}

.input_item input:hover,
.input_item input:focus {
  border-color: #57a3f3;
  outline: none;
}

.input_item input::placeholder {
  color: #999;
}

.search_btns {
  display: flex;
  gap: 10px;
}

.search_btns button {
  height: 32px;
  padding: 0 20px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}

.search_btn {
  background: #2d66a5;
  color: #fff;
}

.search_btn:hover {
  background: #2d8cf0;
}

.collect_btn {
  background: #fff;
  border: 1px solid #dcdee2 !important;
  color: #515a6e;
}

.collect_btn:hover {
  color: #2d66a5;
  border-color: #2d66a5 !important;
}

.filter_section {
  margin-top: 20px;
}

.filter_title {
  color: #2d66a5;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 15px;
}

.cxzdbox {
  background: #fff;
  border: 1px solid #e8e8e8;
  padding: 20px;
  margin-bottom: 20px;
}

.wjfl {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.wjfl:last-child {
  margin-bottom: 0;
}

.filter_label {
  width: 90px;
  color: #000;
  font-size: 14px;
  line-height: 32px;
  font-weight: 700;
}

.filter_options {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  /* 间距改用 span 的 margin 实现：flex 的 gap 需 Chromium 84+ 内核，
     国产 UOS 等旧内核不支持，会导致 span 左右无间隙 */
  margin: -10px 0 0 -10px; /* 抵消 span 首行/首列的 margin，整体位置与原 gap 版本一致 */
  position: relative;
  max-height: 44px; /* 原 34px：span 顶部 margin 10px + 高约 32px + 2px 余量 */
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.filter_options.expanded {
  max-height: 500px;
}

.filter_options .dropdown-btn {
  position: absolute;
  right: 0;
  top: 16px; /* span 顶部有 10px margin，按钮随之下移保持垂直居中 */
  padding: 0 15px;
  color: #2d66a5;
  cursor: pointer;
  font-size: 14px;
  display: none;
}

.filter_options .dropdown-btn::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  vertical-align: middle;
  border-top: 5px solid;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  transition: transform 0.3s;
}

.filter_options.expanded .dropdown-btn::after {
  transform: rotate(180deg);
}

.filter_options.has-more .dropdown-btn {
  display: block;
  background: #fff;
}

.filter_options.has-more {
  padding-right: 80px;
}

.filter_options span {
  margin: 10px 0 0 10px; /* 列间距/行间距（替代 flex gap，兼容旧内核） */
  padding: 6px 15px;
  background: #f6f8fa;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  color: #666;
  transition: all 0.3s;
}

.filter_options span:hover {
  background: #e6f3ff;
  color: #2d66a5;
}

.filter_options span.on {
  background: #e6f3ff;
  color: #2d66a5;
}

.date_section {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #e8e8e8;
  padding: 15px 20px;
}

.date_inputs {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.date_input {
  width: 160px;
  height: 32px;
  border: 1px solid #dcdee2;
  border-radius: 4px;
  padding: 0 12px;
  font-size: 14px;
}

.date_separator {
  color: #666;
  font-size: 14px;
}

.confirm_btn,
.reset_btn {
  height: 32px;
  padding: 0 20px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}

.confirm_btn {
  background: #2d66a5;
  color: #fff;
  border: none;
}

.confirm_btn:hover {
  background: #2d8cf0;
}

.reset_btn {
  background: #fff;
  border: 1px solid #dcdee2;
  color: #515a6e;
}

.reset_btn:hover {
  color: #2d66a5;
  border-color: #2d66a5;
}

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

.schbtnbox .schbtn,
.schbtnbox .reset {
  padding: 8px 30px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.schbtnbox .schbtn {
  background: #2d66a5;
  color: #fff;
}

.schbtnbox .schbtn:hover {
  background: #2d8cf0;
}

.schbtnbox .reset {
  background: #fff;
  border: 1px solid #dcdee2;
  color: #515a6e;
}

.schbtnbox .reset:hover {
  color: #2d66a5;
  border-color: #2d66a5;
}

.xxgk_live2 a {
  position: relative;
  padding-left: 30px;
  font-weight: normal;
}

.xxgk_live2 a:before,
.xxgk_live2:before,
.xxgk_live3:before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  left: 10px;
  top: 50%;
  margin-top: -6px;
  z-index: 2;
  background: #fff url(../images/zclist_ico.png) no-repeat;
}

.xxgk_live2:before,
.xxgk_live3:before {
  width: 1px;
  height: 140%;
  left: 15px;
  top: 0;
  background: #ddd;
  z-index: 1;
}

.xxgk_live3:before {
  left: 30px;
}

.gfxwj .xxgk_live2:before,
.gfxwj .xxgk_live2>a:before {
  display: none;
}

.xxgk_live2:hover:before,
.xxgk_live2.on:before {
  background: #ddd !important;
}

.xxgk_live2:first-child:before,
.xxgk_live3:first-child:before {
  top: 50%;
}

.xxgk_live2:last-child:before,
.xxgk_live3:last-child:before {
  top: unset;
  bottom: 50%;
}

.xxgk_live2 a i {
  font-style: normal;
}

/* 搜索输入框清空按钮样式 */
.clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #999;
  font-size: 16px;
  display: none;
  width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  border-radius: 50%;
}

.clear-btn:hover {
  background: #f0f0f0;
  color: #666;
}

/* 无数据和加载失败样式 */
.text-center {
  text-align: center;
  padding: 20px 0;
  color: #999;
}
@media (max-width: 992px) {
    .xxgk_header{width:100%;}
    .zfxxgk_container{width:100%;}
    .schbtnbox {padding-bottom: 20px;}
    .zcwj_search {margin-bottom: 0px;}
}
/* 响应式调整 */
@media (max-width: 768px) {
  .search_top {
    flex-direction: column;
    gap: 10px;
  }
  
  .search_input_group {
    width: 100%;
  }
  
  .search_btns {
    width: 100%;
    justify-content: space-between;
  }
  
  .search_btns button {
    flex: 1;
    margin: 0 5px;
  }
  
  .filter_section {
    margin-top: 10px;
  }
  
  .wjfl {
    flex-direction: column;
  }
  
  .filter_label {
    width: 100%;
    margin-bottom: 5px;
  }
  
  .filter_options {
    width: 100%;
  }
}

@media (max-width: 1200px) {
  .xxgk_header a img {
    /*width: 65% !important;*/
  }

  .xxgk_header h1 {
    font-size: 36px;
  }

  .zfxxgk_container {
    padding: 0;
  }

  .zfxxgk_right {
    width: 100%;
  }

  .xxgk_live1.wjfl>a span {
    line-height: 50px;
    padding: 0;
  }

  .xxgk_live1.on ul {
    position: relative;
    width: 100%;
    background: #fff;
  }

  .xxgk_live1.on ul.ztfl {
    left: -100%;
  }

  .zcwj_search {
    padding: 10px 10px 0;
  }

  .schbox>div {
    width: 100%;
  }

  .xxgk_live2 a {
    font-size: 14px;
    text-align: left;
  }
}

/* ===== 兼容不支持 flex gap 的国产浏览器内核（UOS 等） =====
   以下选择器原布局使用 gap，旧内核下 gap 失效会导致元素贴在一起；
   现代浏览器支持 gap，本块（@supports）不生效，保持原间距。 */
@supports not (gap: 10px) {
  .search_top {
    margin-left: -20px;
  }
  .search_top > * {
    margin-left: 20px;
  }

  .search_btns {
    margin-left: -10px;
  }
  .search_btns > * {
    margin-left: 10px;
  }

  .date_inputs {
    margin-left: -10px;
  }
  .date_inputs > * {
    margin-left: 10px;
  }

  /* 居中行：左右对称 margin */
  .schbtnbox > * {
    margin: 0 10px;
  }

  @media (max-width: 768px) {
    .search_top {
      flex-direction: column;
      margin-left: 0;
      margin-top: -10px;
    }
    .search_top > * {
      margin-left: 0;
      margin-top: 10px;
    }
  }
}