/* =====================================================
   qing-footer  —  站点页脚（品牌列 + 导航列 + 二维码 + 版权条）
   前缀: qft-
   对应源码 footer.site-footer
   ===================================================== */

.qft-wrap {
  background: #0c1730;
  /* 深蓝底 + 中部偏亮的微弱径向光晕（与设计稿一致） */
  background-image: radial-gradient(
    120% 180% at 50% 40%,
    #1b2c52 0%,
    #132241 45%,
    #0c1730 100%
  );
}

/* 关闭光晕（由「显示径向光晕」开关加类） */
.qft-no-glow {
  background-image: none;
}

.qft-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 56px 50px 44px;
  box-sizing: border-box;
  display: flex;
  gap: 48px;
}

/* ---------- 品牌列 ---------- */
.qft-brand {
  flex: 0 0 auto;
  width: 260px;
}

.qft-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.qft-logo img {
  height: 30px;
  width: auto;
  display: block;
}

.qft-logo-text {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
}

.qft-cn {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}

.qft-en {
  font-size: 13px;
  color: #9aa8c4;
  letter-spacing: 0.5px;
  margin: 0;
}

/* ---------- 导航列区 ---------- */
.qft-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 56px;
}

.qft-col {
  min-width: 0;
}

.qft-col-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin: 0 0 20px;
}

.qft-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.qft-col li + li {
  margin-top: 13px;
}

.qft-col a {
  font-size: 13.5px;
  line-height: 1.6;
  color: #a7b4cd;
  text-decoration: none;
  transition: color 0.2s ease;
}

.qft-col a:hover {
  color: #fff;
}

/* ---------- 二维码列 ----------
   用 flex 列布局，使「二维码列对齐」控件的 align-items
   能同时作用于二维码图片与说明文字。 */
.qft-qr {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qft-qr-img {
  width: 104px;
  height: 104px;
  object-fit: contain;
  background: #fff;
  padding: 5px;
  border-radius: 0 !important;
  box-sizing: border-box;
  display: block;
}

/* 无二维码占位 */
.qft-qr-img--empty {
  width: 104px;
  height: 104px;
  border-radius: 0;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.qft-qr-text {
  margin: 12px 0 0;
  font-size: 13px;
  color: #a7b4cd;
}

/* ---------- 底部版权条 ---------- */
.qft-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.qft-bottom-inner {
  --qft-divider-gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 20px 50px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 24px;
  font-size: 13px;
  color: #8593b0;
  text-align: center;
}

/* 项间竖线分隔符（纯 CSS，不改 HTML） */
.qft-bottom-inner > * + *::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 12px;
  margin-right: var(--qft-divider-gap);
  background: rgba(255, 255, 255, 0.18);
  vertical-align: -1px;
  pointer-events: none;
}

.qft-bottom-inner a {
  color: #8593b0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.qft-bottom-inner a:hover {
  color: #fff;
}

/* =====================================================
   响应式
   说明：内边距、列间距、导航列数、品牌列宽度、二维码尺寸等，
   均由 Elementor 响应式控件按断点输出内联 CSS；同一属性不在
   此重复声明，否则桌面默认值会压掉媒体查询。
   此处仅保留没有控件默认值的属性（换行/堆叠方向、分隔线显隐）。
   ===================================================== */

@media (max-width: 1080px) {
  .qft-inner {
    flex-wrap: wrap;
  }
}

@media (max-width: 860px) {
  .qft-inner {
    flex-direction: column;
  }

  /* 窄屏版权条会折行，竖线出现在行首不美观，隐藏 */
  .qft-bottom-inner > * + *::before {
    display: none;
  }
}
