/*!
 * contact.css —— 联系我们
 * 依赖 common.css（头部、页脚、友情链接、基础变量）
 * 结构：Banner（整图）→ 虚线分隔 → 二维码 + 蓝色信息卡 → 友情链接
 */

/* ============================================================
   1. Banner
   ============================================================ */
.ct-hero {
  background: #EAF3FD;
}

/* Banner 整图：宽度铺满，按图片自身比例显示（2.4:1） */
.ct-banner {
  display: block;
  width: 100%;
  height: auto;
}
/* ============================================================
   2. 虚线分隔
   ============================================================ */
.ct-divider {
  max-width: 1240px;
  height: 1px;
  margin: 34px auto 0;
  padding: 0 20px;
  background-image: linear-gradient(90deg, #b7cdf2 50%, transparent 0);
  background-size: 12px 1px;
  background-repeat: repeat-x;
}

/* ============================================================
   3. 联系方式
   ============================================================ */
.ct-main {
  padding: 62px 0 96px;
  background: #fff;
}

/* ---------- 左右结构：左红块 + 右蓝块 ----------
   蓝块高度比红块多 2 * --ri，红块上下各让出 --ri，视觉上红块垂直居中 */
.ct-panel {
  position: relative;
  --rw: 100px;
  --ri: 50px;
}

.ct-red {
  position: absolute;
  left: 0;
  top: var(--ri);
  bottom: var(--ri);
  width: var(--rw);
  background: var(--red);
}

.ct-card {
  position: relative;
  margin-left: var(--rw);
  min-height: 440px;
  padding: 0 64px 0 56px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 50px;
  background: var(--blue);
  color: #fff;
}

/* ---------- 二维码 ---------- */
.ct-qr {
  flex: none;
}

.qr-box {
  position: relative;
  width: 347px;
  padding: 14px 14px 0;
  /*background: #fff;*/
  /*box-shadow: 0 12px 34px rgba(10, 30, 80, .18);*/
  margin-top: 38px;
  margin-left: -157px;
}

.qr-box img {
  display: block;
  width: 100%;
  height: auto;
}

.qr-tip {
  margin: 10px -14px 0;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  /*background: var(--blue-deep);*/
  color: #fff;
  font-size: 13px;
  letter-spacing: 1px;
}

/* ---------- 蓝色信息卡 ---------- */
.ct-card h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: .5px;
}

.ct-list {
  margin-top: 26px;
}

.ct-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.75;
}

.ct-list li:first-child { margin-top: 0; }

.ct-ic {
  flex: none;
  width: 18px;
  height: 20px;
  margin-top: 3px;
  object-fit: contain;
}

.ct-list span {
  flex: none;
  color: rgba(255, 255, 255, .86);
}

.ct-list b {
  font-weight: 600;
  letter-spacing: .3px;
  color: #fff;
}

/* 复制按钮：白描边胶囊 */
.ct-copy {
  flex: none;
  align-self: center;
  margin-left: 6px;
  padding: 2px 8px;
  font-size: 12px;
  line-height: 1.6;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 3px;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}

.ct-copy:hover {
  background: rgba(255, 255, 255, .16);
  border-color: #fff;
}
/* ============================================================
   4. 响应式
   ============================================================ */
@media (max-width: 1200px) {
  .ct-panel { --rw: 84px; --ri: 42px; }
  .ct-card { min-height: 600px; padding: 0 46px 0 42px; gap: 52px; }
  .ct-card h2 { font-size: 22px; }
  .qr-box { margin-left: 0; }
}

@media (max-width: 992px) {
  .ct-divider { padding: 0 20px; }

  .ct-main { padding: 48px 0 64px; }

  .ct-panel { --rw: 56px; --ri: 28px; }

  .ct-card {
    min-height: 0;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 40px;
    padding: 46px 32px;
  }

  .ct-info { width: 100%; }

  /* 窄屏收起二维码的左侧外挂，避免压到红块或溢出屏幕 */
  .qr-box { margin-left: 0; margin-top: 0; }

  .ct-card h2 { font-size: 20px; }
}

@media (max-width: 640px) {
  /* 手机端 Banner 不锁高度，按图片原始比例自适应缩放 */
  .ct-banner {
    height: auto;
  }

  .ct-main { padding-top: 44px; }

  .ct-panel { --rw: 30px; --ri: 16px; }

  .ct-card { padding: 32px 18px; gap: 30px; }

  .qr-box { width: 250px; }

  .ct-card h2 { font-size: 17px; line-height: 1.6; }
  .ct-list { margin-top: 20px; }
  .ct-list li { font-size: 14px; line-height: 1.9; }
  .ct-ic { width: 16px; height: 18px; margin-top: 4px; }
}
/* 栏目内容补充区（后台栏目 content 非空时输出） */
.ct-extra { max-width: 1000px; margin: 48px auto 0; font-size: 17px; line-height: 2; color: #333; }
.ct-extra img { max-width: 100%; height: auto; }

