:root {
  --brand-accent: #6f64ff;
  --header-bg: #2b303b;
  --text-primary: #2f323a;
  --text-muted: #868686;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.fangzheng,
.logo,
.title,
.title1,
.title2,
.top,
.bottom {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif !important;
}

.header .header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, 10vw);
}

.header .logo {
  flex: 0 0 auto;
  margin-left: 0;
  white-space: nowrap;
}

.header .main_nav {
  float: none;
  margin-right: 0;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.site-footer {
  padding: 24px;
  background: var(--header-bg);
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  font-size: 14px;
}

.site-footer p {
  margin: 4px 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
}

.adg_eng {
  color: #64646b !important;
}

.home-page #mainnav > ul > li > a[aria-current="page"] {
  color: #a69eff !important;
  border-bottom-color: #a69eff !important;
}

.qualification-placeholder {
  width: min(760px, calc(100% - 40px));
  margin: 56px auto 112px;
  padding: 48px 32px;
  border: 1px solid #e7e7ed;
  background: #fafafa;
  color: #666;
  text-align: center;
  line-height: 1.8;
}

.qualification-placeholder strong {
  display: block;
  margin-bottom: 8px;
  color: #2f323a;
  font-size: 20px;
}

@media (max-width: 900px) {
  body {
    min-width: 0 !important;
  }

  .header .header-wrap {
    height: 64px;
    line-height: 64px;
    padding: 0 20px;
  }

  .header .logo {
    font-size: 20px;
  }

  .nav-toggle {
    display: block;
  }

  .header .main_nav {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    display: none;
    padding: 8px 20px 18px;
    background: var(--header-bg);
  }

  .header.nav-open .main_nav {
    display: block;
  }

  #mainnav > ul > li {
    display: block;
  }

  #mainnav > ul > li > a,
  .home-page #mainnav > ul > li > a {
    margin: 0;
    padding: 0 4px;
    line-height: 44px;
    font-size: 16px;
    letter-spacing: 0;
  }

  .banner {
    margin-top: 64px !important;
  }

  .banner.flex-c-f-s-c {
    padding-right: 20px;
    padding-left: 20px !important;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .adg_title {
    padding: 0 20px;
    font-size: 28px !important;
    text-align: center;
  }

  .adg_eng {
    padding: 0 20px;
    font-size: 16px !important;
    text-align: center;
  }

  .flex-r-c-c {
    max-width: 100%;
    flex-wrap: wrap;
    gap: 20px;
  }

  .flex-r-c-c > * {
    margin-left: 0 !important;
  }

  .adg_bg,
  .ql_bg,
  .fun_bg,
  .content_bg {
    max-width: calc(100vw - 40px) !important;
  }

  .ql_bg {
    width: min(785px, calc(100vw - 40px)) !important;
  }

  .row {
    margin-right: 0;
    margin-left: 0;
  }

  .abus_div {
    width: min(368px, calc(100vw - 40px)) !important;
  }

  .abus_title2 {
    padding: 0 20px;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 600px) {
  .title {
    margin-top: 48px !important;
    padding: 0 20px;
    font-size: clamp(38px, 12vw, 58px) !important;
    line-height: 1.05;
  }

  .title1 {
    margin-top: 84px !important;
    font-size: 40px !important;
  }

  .title2 {
    font-size: 22px !important;
  }

  .content {
    max-width: calc(100vw - 40px) !important;
    font-size: 16px !important;
  }

  .banner.flex-c-c-c .top {
    font-size: clamp(50px, 18vw, 90px) !important;
  }

  .banner.flex-c-c-c .bottom {
    font-size: clamp(24px, 8vw, 42px) !important;
  }
}
