/* 联系页标题区：替代原 75+65 空 spacer */
body.page-contact .yksite-contact-title-wrap {
  padding: 40px 0 36px;
  box-sizing: border-box;
}

/* Subtitle with side rules – no white mask block */
.contact-subtitle-line {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96%;
  max-width: 1760px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 32px;
  background: none;
}

.contact-subtitle-line::before,
.contact-subtitle-line::after {
  content: '';
  flex: 1 1 0;
  height: 1px;
  min-width: 40px;
  background: url(../../img/albg.jpg) center repeat-x;
}

.contact-subtitle-line > span {
  flex: 0 0 auto;
  display: inline-block;
  background: transparent;
  padding: 0 28px;
  margin: 0;
  color: #333;
}

/* CTA on djwz divider line – no white wrapper */
.contact-cta-divider {
  width: 900px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  text-align: center;
  background: url(../../img/djwz.jpg) center repeat-x;
  line-height: 57px;
}

body.page-contact .contact-cta-divider .bottomlx {
  display: inline-block;
  width: 350px;
  max-width: 100%;
  margin: 0 !important;
  vertical-align: middle;
}

/* .abnav 锚点导航 — 图标左、文字右 */
body.page-contact .abnav.container {
  width: 96% !important;
  max-width: 1760px !important;
  margin: -50px auto 0 !important;
  box-sizing: border-box !important;
  overflow: hidden;
  position: relative;
  z-index: 100;
}

body.page-contact .abnav.container ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
  display: flex !important;
  width: 100% !important;
  flex-wrap: nowrap;
}

/* 项数可变：均分铺满整条，避免关闭菜单后右侧留白 */
body.page-contact .abnav.container li {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  height: 78px !important;
  line-height: normal !important;
  background: #f1f1f1 !important;
  text-align: center !important;
  float: none !important;
  margin: 0 !important;
}

body.page-contact .abnav.container li a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 78px !important;
  line-height: normal !important;
  margin: 0 !important;
  color: #171717 !important;
  font-size: 20px !important;
  transition: 0s !important;
  -webkit-transition: 0s !important;
}

body.page-contact .abnav.container li .alcenter {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  font-size: 20px !important;
  white-space: nowrap;
}

body.page-contact .abnav.container li .img {
  flex: 0 0 26px !important;
  width: 26px !important;
  height: 26px !important;
  margin: 0 12px 0 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  font-size: 0 !important;
  float: none !important;
  position: relative !important;
  display: block !important;
}

body.page-contact .abnav.container li .img img {
  width: 26px !important;
  height: 26px !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  border: none !important;
}

body.page-contact .abnav.container li .img img:last-child {
  display: none !important;
}

body.page-contact .abnav.container li.cur,
body.page-contact .abnav.container li:hover {
  background: #d70000 !important;
}

body.page-contact .abnav.container li.cur .img img:first-child,
body.page-contact .abnav.container li:hover .img img:first-child {
  display: none !important;
}

body.page-contact .abnav.container li.cur .img img:last-child,
body.page-contact .abnav.container li:hover .img img:last-child {
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
}

body.page-contact .abnav.container li.cur a,
body.page-contact .abnav.container li:hover a {
  color: #fff !important;
}

/* Contact card layout – undo wangzg margin:auto on floats */

/* Contact card — 原版 1200，勿拉到 1760（左联系+右二维码会中间留白） */
body.page-contact .lx2 {
  width: 1200px !important;
  max-width: 96% !important;
  margin: 0 auto !important;
  overflow: hidden;
  box-sizing: border-box !important;
}

body.page-contact .lx2l {
  float: left !important;
  margin: 40px 0 0 0 !important;
}

body.page-contact .lx2r {
  float: right !important;
  width: 350px !important;
  margin: 0 !important;
}

body.page-contact .lx2l ul li img {
  float: left !important;
  margin: -5px 10px 0 0 !important;
  background: transparent !important;
}

body.page-contact .koubei {
  display: inline-block !important;
  overflow: hidden !important;
  font-size: 16px !important;
  margin-top: 35px !important;
  width: 100% !important;
}

body.page-contact .koubei img {
  float: left !important;
  margin: 0 !important;
  background: transparent !important;
}

body.page-contact .koubei span {
  float: left !important;
  margin: 22px 0 0 10px !important;
}

/* QR slider – restore contact layout (wangzg trademark .slideBox2 overrides later in style.css) */
body.page-contact .lx2r .slideBox2 {
  width: 100% !important;
  height: 155px !important;
  position: relative !important;
  margin: 30px auto 0 !important;
  overflow: hidden !important;
}

body.page-contact .lx2r .slideBox2 .bd {
  position: relative !important;
  height: auto !important;
  overflow: hidden !important;
}

body.page-contact .lx2r .slideBox2 .bd ul {
  margin: 0 !important;
  padding: 0 !important;
}

body.page-contact .lx2r .slideBox2 .bd li {
  width: 100% !important;
  height: 155px !important;
  overflow: hidden !important;
  float: none !important;
  text-align: left !important;
  background: transparent !important;
  margin: 0 !important;
  transition: none !important;
}

body.page-contact .lx2r .slideBox2 .bd li img {
  float: left !important;
  width: 150px !important;
  height: 150px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #e7e7e7 !important;
  box-sizing: border-box !important;
  transform: none !important;
}

body.page-contact .lx2r .slideBox2 .bd li .cont {
  float: left !important;
  margin: 0 0 0 20px !important;
  text-align: left !important;
  width: auto !important;
}

body.page-contact .lx2r .slideBox2 .bd li .cont h3,
body.page-contact .lx2r .slideBox2 .bd li .cont p {
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}

body.page-contact .lx2r .slideBox2 .bd li h3 {
  font-size: 22px !important;
  font-weight: normal !important;
  line-height: 22px !important;
  margin: 25px 0 15px !important;
  color: #333 !important;
}

body.page-contact .lx2r .slideBox2 .bd li p {
  font-size: 16px !important;
  margin: 5px 0 0 !important;
  color: #a0a0a0 !important;
  line-height: 1.4 !important;
}

body.page-contact .lx2r .slideBox2 .prev {
  width: 30px !important;
  height: 10px !important;
  display: block !important;
  background: url(../../img/left_23.png) no-repeat !important;
  background-size: 100% 100% !important;
  position: absolute !important;
  bottom: 8px !important;
  left: 172px !important;
  margin: 0 !important;
}

body.page-contact .lx2r .slideBox2 .next {
  width: 30px !important;
  height: 10px !important;
  display: block !important;
  background: url(../../img/right_23.png) no-repeat !important;
  background-size: 100% 100% !important;
  position: absolute !important;
  bottom: 8px !important;
  left: 220px !important;
  margin: 0 !important;
}

body.page-contact .lx2r .slideBox2 .bd li:hover img {
  transform: none !important;
}

body.page-contact .lx3 {
  width: 96% !important;
  max-width: 1760px !important;
  margin: 20px auto 30px !important;
  overflow: hidden;
  box-sizing: border-box !important;
}

body.page-contact .lx3 ul li {
  float: left !important;
  margin: 30px 0 0 0 !important;
  width: calc(50% - 12px) !important;
  height: auto !important;
  min-height: 200px;
  box-sizing: border-box !important;
}

body.page-contact .lx3 ul li img {
  float: left !important;
  margin: 0 !important;
  background: transparent !important;
}

body.page-contact .my-map,
body.page-contact #wrap.my-map {
  width: 96% !important;
  max-width: 1760px !important;
  margin: 0 auto !important;
  height: 440px !important;
  box-sizing: border-box !important;
}

body.page-contact #mapContainer {
  width: 100% !important;
  height: 440px !important;
}

body.page-contact .partone,
body.page-contact .dibuby {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ---------- 响应式 ---------- */
@media screen and (max-width: 991px) {
  body.page-contact .lx2 {
    width: 100% !important;
    max-width: calc(100% - 32px) !important;
    padding: 0 16px;
    box-sizing: border-box;
  }

  body.page-contact .lx2l,
  body.page-contact .lx2r {
    float: none !important;
    width: 100% !important;
    margin: 0 0 24px !important;
  }

  body.page-contact .lx2l_tel {
    font-size: 18px !important;
    line-height: 1.5;
  }

  body.page-contact .lx2l_tel span {
    display: block;
    font-size: 24px;
  }

  body.page-contact .lx2r .slideBox2 {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.page-contact .lx3 {
    width: 100% !important;
    max-width: calc(100% - 32px) !important;
    padding: 0 16px;
    box-sizing: border-box;
  }

  body.page-contact .lx3 ul li {
    float: none !important;
    width: 100% !important;
    margin: 20px 0 0 !important;
    overflow: hidden;
  }

  body.page-contact .lx3 ul li img {
    max-width: 80px;
    height: auto;
  }

  body.page-contact .my-map,
  body.page-contact #wrap.my-map {
    width: 100% !important;
    max-width: calc(100% - 32px) !important;
    margin: 0 auto !important;
    height: 320px !important;
  }

  body.page-contact #mapContainer {
    width: 100% !important;
    height: 320px !important;
  }

  body.page-contact .contact-subtitle-line {
    font-size: 14px;
    padding: 0 12px;
  }

  body.page-contact .contact-subtitle-line > span {
    padding: 0 12px;
  }

  body.page-contact div[style*="font-size:36px"][style*="font-weight:bold"] {
    font-size: 26px !important;
    line-height: 1.35 !important;
    height: auto !important;
    padding: 0 16px;
  }

  body.page-contact .dibuby p {
    width: 50% !important;
    box-sizing: border-box;
  }
}

@media screen and (max-width: 767px) {
  body.page-contact .lx2l ul li {
    line-height: 1.6 !important;
    margin-bottom: 12px;
  }

  body.page-contact .lx2l ul li span {
    display: block;
    margin-top: 4px;
  }

  body.page-contact .dibuby p {
    width: 100% !important;
    float: none !important;
  }

  body.page-contact .my-map,
  body.page-contact #mapContainer {
    height: 260px !important;
  }
}
