body {
  padding-top: var(--header-height);
  font-family: calibri;
}

/* 头部样式 */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  height: 68px;
  background-color: rgba(255, 255, 255, 1);
}

.logo {
  display: flex;
  align-items: center;
}

.logo .img {
  height: 32px;
  margin-right: 16px;
}

.header h1 {
  font-size: 26px;
  color: var(--color-black);
  font-weight: normal;
  margin: 0;
}

.header-nav {
  display: block;
  /* overflow: hidden; */
  transition: height 0.3s;
  margin-left: auto;
}

.header-nav .top-nav {
  display: flex;
  height: 50px;
  overflow: hidden;
}

.header-nav .top-nav > li .mb-sub-nav {
  display: none;
}

.header-nav .top-nav > li:last-child {
  display: none;
}

.header-nav .top-nav > li > a {
  color: #101010;
  font-size: 16px;
  position: relative;
  transition: color 0.3s;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 25px;
}

.header-nav .top-nav > li > a::after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 0;
  height: 2px;
  background-color: var(--color-blue-1);
  transform: translateX(-50%);
}

.header-nav .top-nav > li > a.active {
  color: var(--color-blue-1);
}

.header-nav .top-nav > li > a:hover {
  color: var(--color-blue-1);
}

.header-nav .top-nav > li > a:hover::after {
  width: 50%;
  transition: width 0.3s;
}

.header-nav .top-nav > li > a > .iconfont {
  font-size: 12px;
  margin-left: 4px;
  transform: rotate(0deg);
  transition: transform .2s;
}

.header-nav .top-nav > li > a:hover .iconfont  {
  transform: rotate(180deg);
}

.header-nav .sub-menu-wrapper {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background-color: var(--color-white);
  border-bottom: 2px solid var(--color-blue-1);
}

.header-nav .sub-nav {
  display: none;
  justify-content: center;
  padding: 20px 0;
  gap: 20px;
}

.header-nav .sub-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #101010;
  gap: 20px;
  padding: 10px;
}

.header-nav .sub-nav a img {
  height: 100px;
  width: 140px;
  object-fit: contain;
}

.header-nav .sub-nav a:hover {
  border-radius: 4px;
  color: var(--color-blue-1);
  box-shadow: 0px 0px 6px rgba(0, 0, 0, .26);
}

.header-menu {
  display: none;
}

.header .language {
  cursor: pointer;
}

.header .language .select {
  transition: background-color 0.3s;
  padding: 10px;
  user-select: none;
  width: 162px;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.header .language .select:hover {
  background-color: rgba(0, 0, 0, 0.12);
}

.header .language .select .text {
  display: flex;
  align-items: center;
  font-size: 14px;
}

.header .language .select .text img {
  height: 24px;
}

.header .language .select .icon-global {
  color: #545f5b;
  font-size: 26px;
  margin-right: 5px;
}

.header .language .iconfont::before {
  transition: transform 0.3s;
  display: inline-block;
}

.header .language .active .icon-down::before {
  transform: rotate(180deg);
}

.header .language .option {
  display: none;
  position: absolute;
  right: 5vw;
  top: 100%;
  width: 140px;
  background-color: var(--color-white);
  padding: 10px 10px;
}

.header .language .option li {
  font-size: 14px;
  margin: 5px 0;
  line-height: 2em;
  position: relative;
  display: flex;
  align-items: center;
}

.header .language .option li img {
  height: 24px;
  margin-right: 10px;
}

.header .language .option li::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  height: 1px;
  background-color: var(--color-black);
  width: 0;
  transform: translateX(-50%);
  transition: width 0.3s;
}

.header .language .option li:hover::after {
  width: 100%;
}

/* 底部样式 */
.footer {
  display: flex;
  background-color: #1c1c25;
}

.footer .map {
  flex-basis: 50%;
  height: 35vh;
}

.footer .contact h3 {
  color: var(--color-white);
  font-size: 26px;
}

.footer .contact {
  margin-left: 50px;
}

.footer .contact ul {
  margin-top: 40px;
}

.footer .contact ul li {
  color: var(--color-gray-2);
  margin-bottom: 20px;
}

.footer .contact ul li a {
  color: var(--color-gray-2);
  display: flex;
  align-items: center;
}

.footer .contact ul li a i {
  margin-right: 10px;
}

.footer .map img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.footer .qrcode {
  margin-top: 40px;
  margin-left: 40px;
  text-align: center;
}

.footer .qrcode span {
  font-size: 14px;
  color: var(--color-white);
}

.footer .qrcode-img {
  height: 129px;
  margin: 0 auto 10px;
  border-radius: 10px;
}

/* 备案 */
.footer-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0;
  font-size: 12px;
}

.footer-panel a {
  text-decoration: underline;
}

.footer-panel .address {
  margin-left: 40px;
}

.footer-panel .icp {
  color: #27506e;
}

.footer-panel .icp:hover {
  color: #ff5150;
}

.footer-panel .jgwab {
  display: inline-flex;
  align-items: center;
}

.footer-panel .jgwab > p {
  margin: 0 20px 0 5px;
}

@media screen and (max-width: 1440px) {
  .header {
    padding: 0 2vw;
  }

  .footer .contact {
    margin-left: 20px;
  }

  .footer .qrcode {
    margin-left: 20px;
  }

  .footer .contact h3 {
    font-size: 22px;
  }

  .footer .contact ul {
    margin-top: 20px;
  }

  .footer .contact ul li {
    margin-bottom: 10px;
  }

  .footer .qrcode {
    width: 100px;
  }

  .footer .qrcode-img {
    height: 86px;
  }
}

@media screen and (max-width: 1024px) {
  .header-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    border-top: 1px solid var(--color-gray-4);
    box-shadow: 0px 12px 12px rgba(0, 0, 0, 0.12);
  }

  .header-nav .top-nav {
    display: block;
    background-color: var(--color-white);
    height: initial;
  }

  .header-nav .top-nav > li {
    margin-right: 0;
    text-align: center;
    line-height: 40px;
  }

  .header-nav .top-nav > li:last-child {
    display: flex;
    border-top: 1px solid;
    line-height: 60px;
    justify-content: center;
  }

  .header-nav .top-nav > li:last-child a {
    margin: 0 10px;
    display: flex;
    align-items: center;
  }

  .header-nav .top-nav > li:last-child > a img {
    height: 24px;
    margin-right: 10px;
  }

  .header-nav .top-nav > li > a{
    justify-content: center;
  }

  .header-nav .top-nav > li > a:hover::after {
    width: 0;
    transition: none;
  }

  .header-nav .top-nav > li > a:hover .iconfont  {
    transform: rotate(0deg);
  }

  .header-nav .top-nav > li .mb-sub-nav {
    background-color: #ececec;
  }

  .header-nav .top-nav > li .mb-sub-nav > li > a {
    display: flex;
    justify-content: center;
    color: #101010;
  }

  .header-menu {
    display: block;
  }

  .header-menu .iconfont {
    font-size: 26px;
  }

  .header .language {
    display: none;
  }

  .footer {
    flex-wrap: wrap;
    position: relative;
  }

  .footer .contact {
    text-align: center;
    margin-left: 20px;
    margin-right: 20px;
    flex: 1;
  }

  .footer .contact ul {
    font-size: 14px;
  }

  .footer .qrcode {
    position: absolute;
    right: 20px;
    bottom: 0;
    width: initial;
  }
}

@media screen and (max-width: 768px) {
  .header h1 {
    font-size: 18px;
  }

  .footer .qrcode {
    position: static;
    width: 100%;
    margin-left: 0;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .footer .map {
    flex-basis: 100%;
  }

  .footer .contact {
    flex: auto;
  }

  .footer .contact ul li a {
    justify-content: center;
  }

  .footer-panel {
    flex-direction: column;
  }

  .footer-panel .icp {
    margin-bottom: 5px;
  }

  .footer-panel .address {
    margin-left: 0;
  }
}
