/* ============================================================
   公共企事业单位信息公开（custom/qsy_xxgk.ftl 同名样式）
   复刻西双版纳州 v3 原版样式：蓝横幅(#66a1eb) + logo + 大字标题、
   图片底分组标题条、卡片式入口。资源已本地化（本主题 static/images/qsy_xxgk/）。
   取数：render_navTree code="mlx-qsy-xxgk"（一级=行业分组，二级=入口卡，三级=文字子链）。
   ============================================================ */

/* ===== 蓝横幅 ===== */
.qsy-blue-wrap { background: #66a1eb; }
.qsy-logo-row { max-width: 1200px; margin: 60px auto 30px; }
.qsy-logo-row img { display: block; margin: 0 auto; }
.qsy-head-line {
  padding-bottom: 45px; padding-top: 0;
  font-size: clamp(24px, 4dvw, 72px);
  text-align: center; font-weight: bolder;
  letter-spacing: .5rem; background: #66a1eb; color: #fff;
}
@media screen and (max-width: 767px) {
  .qsy-logo-row { margin: 24px auto 18px; }
  .qsy-head-line { letter-spacing: .2rem; }
}

.container.fix, .container-fluid.fix,
.container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
  margin-right: auto !important;
  margin-left: auto !important;
}

/* 本页不依赖 BS gutter；原版负边距在窄屏会溢出，置零 */
.row { margin-left: 0 !important; margin-right: 0 !important; }
header, .floating-menu { display: none !important; }

/* ===== 行业分组 + 入口卡 ===== */
.wzdh_index li {
  background: #f5fcff;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin-top: 25px;
}
.wzdh_index li:hover { box-shadow: 0 10px 15px rgb(116 166 255 / 30%); }
.wzdh_index li > h3 {
  font-size: 32px;
  background: linear-gradient(135deg,rgba(230,242,255,.92),rgba(186,218,255,.82));
  padding: 15px;
  color: #31708f;
  font-weight: bold;
  letter-spacing: 2px;
  width: 100%;
  background-size: cover;
  border-radius: 10px 10px 0 0;
  line-height: 50px;
  margin-top: 0;
  cursor: default;
  font-family: "Microsoft YaHei", sans-serif;
}
.wzdh_index li > h3 img {
  max-height: 48px; max-width: 60px; object-fit: contain;
  vertical-align: middle; margin-right: 12px;
}
.zdly_li_div div { margin-bottom: 10px; color: #fff; }
.zdly_li_div a { font-size: 18px; white-space: nowrap; color: #fff; text-decoration: none; }
.zdly_li_div a:hover { opacity: .7; }
.zdly_box_div1 {
    overflow: hidden;
    position: relative;
    background: linear-gradient(160deg, #a0bfed 0%, #2c7ce3 100%);
    margin: 15px 30px;
    padding: 0 1rem;
    text-align: center;
    background-size: cover;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.zdly_box_div1::before {
    content: "";
    position: absolute;
    right: -24px;
    top: -24px;
    width: 30%;
    height: 70%;
    border-radius: 50%;
    background: rgb(16 87 175 / 10%);
}
.zdly_box_div1 h4 a {
  font-size: 23px;
  color: #fff !important;
  font-weight: bold;
  font-family: "Microsoft YaHei", sans-serif;
  letter-spacing: 2px;
  line-height: 3;
  display: block;
  text-shadow: 0 0 5px #31708f;
  text-decoration: none;
}
.zdly_box_div1 h4 a img { max-height: 55px; vertical-align: middle; margin-right: 8px; }

/* ===== 窄屏适配（钳制原版定宽，不改设计） ===== */
@media screen and (max-width: 767px) {
  body { overflow-x: clip; }
  .row.clearfix { margin-left: 0; margin-right: 0; }
  .qsy-blue-wrap img { max-width: 92%; height: auto; }
  .zdly_box_div1 { min-width: 0; width: 44%; margin: 10px 2%; }
  .zdly_box_div1 h4 a { font-size: 17px; line-height: 1.6; padding: 14px 4px; }
  .zdly_li_div a { font-size: 14px; }
  .wzdh_index li > h3 { font-size: 20px; line-height: 1.6; background-size: cover; }
}

/* ===== 空态（导航类无数据兜底） ===== */
.qsy-empty-li {
  float: left;
  width: 100%;
  padding: 40px 20px;
  text-align: center;
  color: #8b929c;
  background: #fff;
  border: 1px dashed #66a1eb;
  border-radius: 4px;
  list-style: none;
}

html, body { overflow-x: clip; }
