/* 联系我们页主体：1130 双列，地图与右侧拉开间距 */
.cts-contact-wrap {
  width: 100%;
  padding: 40px 0 60px;
  box-sizing: border-box;
}

.cts-contact {
  width: 1130px;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  box-sizing: border-box;
}

.cts-contact-map {
  width: 600px;
  flex: 0 0 600px;
  min-height: 410px;
  height: auto;
  align-self: stretch;
  border: 1px solid #e5e5e5;
  box-sizing: border-box;
  overflow: hidden;
  background: #f5f5f5;
}

.cts-contact-map #map,
.cts-contact-map #cts-contact-map {
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
}
.cts-contact-map #map:active {
  cursor: grabbing;
}

.cts-contact-aside {
  flex: 0 0 398px;
  width: 398px;
  min-width: 0;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.cts-contact-hd {
  margin-bottom: 14px;
}

.cts-contact-hd h2 {
  margin: 0;
  padding: 0;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
  color: #1a1a1a;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}

.cts-contact-hd p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #888;
}

.cts-contact-cards {
  display: flex;
  gap: 30px;
  align-items: stretch;
  flex: 0 0 auto;
  min-height: 0;
}

.cts-contact-card {
  min-width: 0;
  border: 1px solid #000;
  border-radius: 6px;
  background: #fff;
  box-sizing: border-box;
  padding: 10px 10px 8px;
  display: flex;
  flex-direction: column;
  height: auto;
}
.cts-contact-card--form {
  flex: 0 0 210px;
  width: 210px;
}
.cts-contact-card--mgr {
  flex: 0 0 158px;
  width: 158px;
}

.cts-contact-card--form,
.cts-contact-card--mgr {
  border-color: #000;
}

.cts-contact-card h3 {
  margin: 0 0 8px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: #222;
  line-height: 1.3;
}

/* 在线留言表单 */
.cts-cf-row {
  display: flex;
  align-items: center;
  margin-bottom: 7px;
}

.cts-cf-row label {
  flex: 0 0 68px;
  width: 68px;
  font-size: 13px;
  color: #333;
  line-height: 1.2;
  margin: 0;
  padding: 0;
  font-weight: 400;
  white-space: nowrap;
}

.cts-cf-row label .req {
  display: none;
}

.cts-cf-row .cts-cf-ctrl {
  flex: 1 1 auto;
  min-width: 0;
}

.cts-cf-row input,
.cts-cf-row select,
.cts-cf-row textarea {
  width: 100%;
  height: 28px;
  border: none;
  border-radius: 4px;
  background: #f0f0f0;
  padding: 0 10px;
  font-size: 13px;
  color: #333;
  box-sizing: border-box;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
}

.cts-cf-row--msg {
  align-items: flex-start;
}

.cts-cf-row--msg label {
  padding-top: 8px;
}

.cts-cf-row textarea {
  height: auto;
  min-height: 64px;
  padding: 8px 10px;
  resize: vertical;
  line-height: 1.4;
}

.cts-cf-row select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23666' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 24px;
  cursor: pointer;
}

.cts-cf-row input:focus,
.cts-cf-row select:focus,
.cts-cf-row textarea:focus {
  background: #eaeaea;
}

.cts-cf-submit {
  display: block;
  width: 112px;
  margin: 10px auto 2px;
  padding: 5px 0;
  border: 1px solid #e60012;
  border-radius: 4px;
  background: #fff;
  color: #e60012;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.3;
}

.cts-cf-submit:hover {
  background: #fff5f5;
}

/* 商务经理：与表单卡同黑边、同高（二维码收紧以贴齐表单内容高度） */
.cts-contact-card--mgr {
  align-items: center;
  text-align: center;
}

.cts-contact-card--mgr .cts-qr-block {
  width: 100%;
  text-align: center;
  margin-bottom: 6px;
}
.cts-contact-card--mgr .cts-qr-name {
  font-size: 13px;
  font-weight: 700;
  color: #222;
  line-height: 1.3;
  margin: 0 0 4px;
}
.cts-contact-card--mgr .cts-mgr-qr {
  width: 100px;
  height: 100px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.cts-contact-card--mgr .cts-mgr-tip {
  margin: 4px 0 0;
  font-size: 12px;
  color: #888;
  line-height: 1.4;
}

/* 底部联系信息 */
.cts-contact-foot {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-top: 12px;
  padding-top: 4px;
}

.cts-contact-foot-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.cts-contact-tel,
.cts-contact-mail {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #222;
  font-size: 13px;
  line-height: 1.35;
  min-width: 0;
}

.cts-contact-tel .cts-tel-ico,
.cts-contact-mail .cts-mail-ico {
  width: 30px;
  height: 32px;
  flex: 0 0 30px;
  display: block;
  object-fit: contain;
  object-position: top center;
}

.cts-contact-tel .cts-tel-txt,
.cts-contact-mail .cts-mail-txt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  min-width: 0;
}

.cts-contact-tel .cts-tel-label,
.cts-contact-mail .cts-mail-label {
  font-size: 13px;
  line-height: 1.35;
  color: #222;
}

.cts-contact-tel .cts-tel-num {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: inherit;
  text-decoration: none;
  line-height: 1.35;
}

.cts-contact-mail .cts-mail-addr {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: inherit;
  text-decoration: none;
  line-height: 1.35;
  white-space: nowrap;
}

.cts-contact-addr {
  display: block;
  width: 100%;
  text-align: left;
  font-size: 16px;
  line-height: 1.35;
  color: #333;
}

.cts-contact-addr .cts-addr-name {
  font-weight: 700;
  color: #111;
  font-size: 16px;
  line-height: 1.35;
}

.cts-contact-addr .cts-addr-line {
  color: #333;
  margin-top: 2px;
  font-size: 16px;
  line-height: 1.35;
}

/* 隐藏系统作者字段等 */
.cts-contact-card--form .cts-cf-sys-hide {
  display: none !important;
}

@media only screen and (max-width: 1160px) {
  .cts-contact {
    width: 100%;
    padding: 0 16px;
    flex-direction: column;
    gap: 20px;
  }
  .cts-contact-map {
    width: 100%;
    flex: none;
    height: 280px;
  }
  .cts-contact-aside {
    padding: 24px 0 0;
    width: 100%;
  }
  .cts-contact-card--form,
  .cts-contact-card--mgr {
    flex: none;
    width: 100%;
  }
}

@media only screen and (max-width: 640px) {
  .cts-contact-cards {
    flex-direction: column;
  }
  .cts-contact-card--form,
  .cts-contact-card--mgr {
    flex: none;
    width: 100%;
  }
  .cts-contact-foot-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .cts-contact-hd h2 {
    font-size: 18px;
  }
}
