.footer {
  height: 508px;
  background-color: #f5f5f6;
  overflow: hidden;
}

.copyright-out {
  height: 300px;
  border-bottom: 1.5px solid #d3d3d3;
}

.copyright {
  width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.copyright-left {
  margin-top: 13px;
  width: 446px;
}

.copyright-left .logo {
  width: 201px;
  height: 69px;
}

.left-ewm {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.left-ewm div:nth-child(1) {
  text-align: center;
  width: auto;
}

.left-ewm img {
  width: 112px;
  height: 113px;
}

.left-ewm .ewm-text {
  width: 150px;
  font-size: 14px;
  color: #333333;
}

.left-text {
  line-height: 30px;
  margin-bottom: 23px;
}

.left-ewm .left-text p {
  font-size: 16px;
  color: #333333;
  margin-bottom: 0px;
}

.left-ewm .left-text p:last-child {
  margin-bottom: 0px;
}

.copyright-right {
  margin-top: 60px;
}

.footer-nav {
  display: flex;
}

.footer-nav li a {
  display: flex;
  flex-direction: column;
  font-family: SourceHanSansCN-Regular;
  font-size: 16px;
  color: #333333;
  height: 40px;
  text-align: center;
  margin-bottom: 5px;
  margin-right: 65px;
  position: relative;
  font-weight: bold;
}

.footer-nav li a:hover::before {
  display: block;
  content: "";
  width: 156px;
  height: 40px;
  background: url("/template/images/top-light.png") center 0% no-repeat;
  background-size: 70%;
  position: absolute;
  bottom: -10px;
  left: -70%;
}

.footer-nav li:nth-child(2) a:hover::before {
  left: 16%;
}

.footer-nav-inner {
  display: flex;
  flex-direction: column;
}

.footer-nav-inner a {
  width: auto;
  font-size: 16px !important;
  margin-bottom: 0px !important;
  font-weight: normal !important;
}

.footer-nav-inner a:hover::before {
  display: none !important;
}

.copyright-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
}

.copyright-bottom span {
  font-size: 14px;
  color: #333333;
  margin-right: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.copyright-bottom span img {
  margin-right: 10px;
}

.copyright-bottom p span:last-child {
  margin-right: 0px;
}

.footer-nav li:last-child a {
  margin-right: 0px;
}

.footer-nav-inner a {
  margin-right: 65px !important;
}

.footer-nav li:last-child .footer-nav-inner li a {
  margin-right: 0px !important;
}

.footer-nav li a:first-child::before {
  display: none !important;
}

.footer-nav li a:first-child::after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 50%;
  /* 初始居中 */
  width: 0;
  /* 初始宽度0 */
  height: 2px;
  /* 下划线高度 */
  background-color: #00b46e;
  /* 下划线颜色 */
  transition: all 0.3s ease;
  /* 动画过渡（时长/缓动可调整） */
  transform: translateX(-50%);
  /* 配合left:50%实现真正居中 */
  border-radius: 2px;
}

.footer-nav li a:first-child:hover::after {
  width: 100%;
  /* 宽度铺满a标签 */
}

.footer-nav-inner a::after {
  display: none;
}

.bottom-nav-bg {
  background-color: #f5f5f6;
  width: 100%;
}

.bottom-nav-box {
  display: flex;
  justify-content: space-between;
  width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
  height: 152px;
  align-items: center;
}

.bottom-nav-item {
  width: 438px;
  height: 91px;
  border: solid 1px #e0e0e0;

  font-size: 26px;
  color: #00267d;
  text-align: center;
  line-height: 91px;
  box-sizing: border-box;
}

.bottom-nav-item:nth-child(1) {
  background: #ffffff url("/template/images/logo-cty-black.png") 50% 50% no-repeat;
}

.bottom-nav-item:nth-child(2) {
  background: #ffffff url("/template/images/zhfwmh-logo-black.png") 50% 50% no-repeat;
}

.bottom-nav-item:nth-child(3) {
  background: #ffffff url("/template/images/sqyypt-logo-black.png") 50% 50% no-repeat;
}

.bottom-nav-item a {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 1480px) and (min-width: 768px) {

  /* 尾部 */
  .copyright {
    width: 100%;
    padding: 0px 80px;
    box-sizing: border-box;
  }

  .bottom-nav-item {
    width: 32%;
  }

  .bottom-nav-box {
    padding: 0px 80px;
    width: 100%;
  }

  .footer-nav li a {
    margin-right: 56px;
  }

  .footer-nav-inner a {
    margin-right: 56px !important;
  }

  /* 尾部 */
}

@media (max-width: 1200px) {
  .footer {
    height: auto;
  }

  .copyright-out {
    height: auto;
  }

  .copyright {
    width: 100%;
    flex-direction: column;
    padding: 20px 20px;
    box-sizing: border-box;
    padding-top: 0px;
  }

  .copyright-left {
    margin-top: 0px;
    width: 100%;
  }

  .copyright-left img {
    width: 26% !important;
    height: auto !important;
  }

  .copyright-left .logo {
    width: 31% !important;
  }

  .left-ewm {
    margin-top: 0px;
    gap: 15px;
    align-items: flex-end;
    margin-top: -35px;
  }

  .left-text {
    margin-bottom: 0px !important;
  }

  .left-ewm .left-text p {
    font-size: 12px;
    margin-bottom: 0px;
  }

  .left-ewm img {
    width: 70%;
    height: auto;
  }

  .left-ewm .ewm-text {
    font-size: 12px;
  }

  .left-ewm div:nth-child(1) {
    width: 45%;
  }

  .copyright-right {
    display: none;
  }

  .footer-nav {
    display: none;
  }

  .copyright-bottom {
    padding: 0px 10px;
    justify-content: space-between;
  }

  .copyright-bottom span {
    margin-right: 0px;
    font-size: 9px;
  }

  .copyright-bottom span img {
    width: 12px;
    height: 12px;
    margin-right: 2px;
  }

  .bottom-nav-bg {
    margin-top: 20px;
    position: relative;
  }

  .bottom-nav-box {
    width: 100%;
    padding: 20px 20px;
    height: auto;
    padding-top: 0px;
  }

  .bottom-nav-item {
    width: 32%;
    margin-bottom: 0px;
    background-size: 90% auto !important;
    height: 40px;
  }

  .bottom-nav-item:last-child {
    margin-bottom: 0px;
  }

  .bottom-nav-item:nth-child(1) {
    background-size: 90% !important;
  }
}

@media (max-width: 768px) and (min-width: 480px) {
  .copyright-left img {
    max-width: 150px;
  }

  .left-ewm div:nth-child(1) {
    max-width: 150px;
  }
}