/* footer */
.footer {
  color: var(--text-color);
  background: var(--sub-color);
  margin-bottom: 51px;
}

.footer .item-wrap {
  display: grid;
  row-gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid #465040;
}

.footer .logo {
  width: auto;
  height: 50px;
  margin-bottom: 20px;
}

.footer .tit {
  color: inherit;
  margin-bottom: 12px;
}

.footer .item-list>li {
  font-size: 14px;
}

.footer .item-list>li:not(:last-child) {
  margin-bottom: 12px;
}

.footer .btn {
  color: #E7EDDC;
  margin-top: 20px;
}

.footer .footer-bottom {
  font-size: 12px;
  padding: 12px 0;
}

.footer .footer-bottom p {
  text-align: center;
}

.footer .reback-top {
  width: fit-content;
  gap: 6px;
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.40);
  cursor: pointer;
}

.footer .reback-top i {
  font-size: 10px;
  transform: rotate(-90deg);
}

@media (min-width: 768px) {
  .footer {
    margin-bottom: 0;
  }

  .footer .item-wrap {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
  }

  .footer .item:nth-child(1) {
    width: 270px;
  }

  .footer .item:nth-child(2) {
    width: 140px;
  }

  .footer .item:nth-child(3) {
    width: 240px;
  }

  .footer .footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .footer .reback-top {
    margin-top: 0;
    margin-right: 0;
  }
}

@media (min-width: 992px) {
  .footer .item:nth-child(1) {
    width: 300px;
  }

  .footer .item:nth-child(3) {
    width: 270px;
  }
}

@media (min-width: 1200px) {
  .footer .item-wrap {
    padding: 60px 0 59px;
    column-gap: 150px;
    justify-content: flex-start;
  }

  .footer .logo {
    height: 60px;
    margin-bottom: 40px;
  }

  .footer .item ul>li a {
    transition: all .3s;
  }

  .footer .cont-list>li a:hover, .footer .item-list>li a:hover {
    color: #fff;
    text-decoration: underline;
  }

  .footer .cont-list li:not(:last-child) {
    margin-bottom: 30px;
  }

  .footer .tit {
    margin-bottom: 20px;
  }

  .footer .btn {
    margin-top: 30px;
  }

  .footer .footer-bottom {
    padding: 22px 0;
  }

  .footer .reback-top:hover {
    color: #fff;
  }
}

@media (min-width: 1440px) {
  .footer .item-wrap {
    column-gap: 250px;
  }
}


/* 手机端底部 */
.mobile-footer {
  width: 100%;
  color: #666;
  text-align: center;
  border-top: 1px solid #ccc;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 99;
}

.mobile-footer ul {
  background: #fff;
  padding: 0 15px;
  flex-wrap: nowrap;
  justify-content: space-around;
  display: flex;
}

.mobile-footer li a i, .mobile-footer li span i {
  width: 20px;
  height: 20px;
  margin: 5px auto 1px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .mobile-footer {
    display: none;
  }
}