@import url('../common/global_crumb.css');
@import url('../common/about_picture.css');

.consultation-method {
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.consultation-method__items {
  display: flex;
  flex-wrap: wrap;
  width: 11.4rem;
  margin: 0 auto;
  border-top: 1px solid #CED4D9;
  border-left: 1px solid #CED4D9;
}

.consultation-method__item {
  width: calc((11.40rem - 3px) / 3);
  height: 3.1rem;
  padding-top: 0.7rem;
  border-right: 1px solid #CED4D9;
  border-bottom: 1px solid #CED4D9;
  color: #333;
  text-align: center;
}

.consultation-method__icon {
  display: inline-flex;
  width: 0.5rem;
  height: 0.5rem;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: contain;
  margin-bottom: 0.4rem;
}

.consultation-method__icon.phone {
  background-image: url('https://static01-m.QIANXIN.COM/qaxweb/cab93109970512532623aff49d609f0a.svg');
}

.consultation-method__icon.forum {
  background-image: url('https://static01-m.QIANXIN.COM/qaxweb/b988af3d3b475204190d3decfa281c03.svg');
}

.consultation-method__icon.online {
  background-image: url('https://static01-m.QIANXIN.COM/qaxweb/65bfeb12ccf3415240baab8551660a25.svg');
}

.consultation-method__icon.email {
  background-image: url('https://static01-m.QIANXIN.COM/qaxweb/f4b4f1cc8214433bdec8e9e866c68da2.svg');
}

.consultation-method__icon.weixin {
  background-image: url('https://static01-m.QIANXIN.COM/qaxweb/290cc7e2b7af88ad15895aad01982560.svg');
}

.consultation-method__icon.weibo {
  background-image: url('https://static01-m.QIANXIN.COM/qaxweb/37816a9732f7d6f439adeaa900b63063.svg');
}

.consultation-method__title {
  margin-bottom: 0.1rem;
  font-size: 0.24rem;
  font-weight: 600;
  line-height: 0.33rem;
}

.consultation-method__desc {
  margin-bottom: 0.1rem;
  font-size: 0.18rem;
  line-height: 0.25rem;
}

.consultation-method__tips {
  color: #999;
  font-size: 0.18rem;
  line-height: 0.25rem;
}

.gutter-l {
  margin-top: 0.46rem;
}

.gutter-s {
  margin-top: 0.16rem;
}

.consultation-method__text {
  font-size: 0.2rem;
  line-height: 0.28rem;
  font-weight: 600;
}

.consultation-method__text span {
  display: block;
  font-weight: 600;
}

.consultation-method__btn {
  display: inline-flex;
  justify-content: center;
  width: 1.6rem;
  height: 0.46rem;
  margin-top: 0.35rem;
  border: 1px solid #CED4D9;
  color: #333;
  font-size: 0.16rem;
  line-height: 0.46rem;
}

.consultation-method__btn:hover,
.consultation-method__btn:active {
  border-color: #0032B4;
  background-color: #0032B4;
  color: #fff;
}

@media screen and (max-width: 768px) {
  .consultation-method {
    padding: 0.6rem 0.32rem 1.2rem;
  }

  .consultation-method__items {
    display: block;
    width: 100%;
    border: 1px solid #CED4D9;
  }

  .consultation-method__item {
    width: 100%;
    height: 3.88rem;
    padding-top: 0.4rem;
    border-right: 0;
  }

  .consultation-method__item:last-child {
    border: none;
  }

  .consultation-method__icon {
    width: 0.8rem;
    height: 0.8rem;
    margin-bottom: 0.2rem;
  }

  .consultation-method__title {
    margin-bottom: 0.28rem;
    font-size: 0.32rem;
    line-height: 0.45rem;
  }

  .consultation-method__desc,
  .consultation-method__tips,
  .consultation-method__text {
    font-size: 0.28rem;
    line-height: 0.4rem;
  }

  .gutter-l {
    margin-top: 0.4rem;
  }

  .gutter-s {
    margin-top: 0.2rem;
  }

  .consultation-method__text span:not(.consultation-method__text-stack) {
    display: inline;
  }

  .consultation-method__btn {
    width: 3.93rem;
    height: 0.94rem;
    margin-top: 0.13rem;
    font-size: 0.32rem;
    line-height: 0.94rem;
  }
}
