/* 广东中特检测 — 首页复刻 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  background: #fff;
}

a {
  color: #666;
  text-decoration: none;
}

a:hover {
  color: #f60;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wrapper {
  width: 1200px;
  max-width: calc(100% - 24px);
  margin: 0 auto;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* Header */
.head {
  background: #fff;
}

.head-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 120px;
  padding: 0;
}

.logo img {
  display: block;
  width: 450px;
  height: auto;
}

.search-box {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.search-box input {
  width: 270px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #ccc;
  font-size: 14px;
  outline: none;
  color: #333;
}

.search-box button {
  width: 65px;
  height: 36px;
  padding: 0;
  border: 1px solid #ccc;
  background: #055ca0;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.search-box button:hover {
  background: #0092d5;
}

.head-nav {
  height: 45px;
  background: #055ca0;
}

.head-nav .wrapper {
  position: relative;
  padding: 0;
}

.menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.menu > li {
  position: relative;
}

.menu > li > a {
  display: block;
  padding: 0 45px;
  line-height: 45px;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
}

.menu > li > a:hover {
  color: #fff;
  background: #0092d5;
}

.menu > li.active > a {
  color: #fff;
  background: transparent;
}

.menu > li.has-sub > a {
  background-image: url("../assets/images/menu_down.gif");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.menu > li.has-sub > a:hover {
  background-color: #0092d5;
  background-image: url("../assets/images/menu_down.gif");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.menu > li.has-sub.active > a {
  background-color: transparent;
  background-image: url("../assets/images/menu_down.gif");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.menu dl {
  display: none;
  position: absolute;
  left: 0;
  top: 45px;
  width: 100%;
  margin: 0;
  padding: 10px 0;
  background: #fff;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 666;
}

.menu > li.has-sub:hover dl {
  display: block;
}

.menu dd {
  margin: 0 10px;
  line-height: 30px;
  border-bottom: 1px dotted #ddd;
  text-align: center;
}

.menu dd a {
  display: block;
  padding: 0;
  color: #666;
  font-size: 14px;
  font-weight: normal;
  border: none;
}

.menu dd a:hover {
  background: none;
  color: #005ca1;
}

.menu-toggle {
  display: none;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  padding: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  margin: 5px 0;
  background: #fff;
  border-radius: 2px;
}

/* Hero */
.hero-swiper {
  width: 100%;
}

.hero-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-pagination .swiper-pagination-bullet {
  width: 16px;
  height: 16px;
  background: #666;
  opacity: 1;
}

.hero-pagination .swiper-pagination-bullet-active {
  background: #f60;
}

/* Section titles */
.section {
  padding: 30px 0;
}

.section-title {
  margin: 0;
  text-align: center;
  font-size: 22px;
  color: #333;
  font-weight: bold;
  background: url("../assets/images/title2.png") center 10px no-repeat;
}

.section-title strong {
  display: inline-block;
  padding: 8px 28px 0;
  line-height: 22px;
  font-size: 22px;
  font-weight: bold;
  color: #333;
  background: #fff;
  letter-spacing: 1px;
  vertical-align: top;
}

.section-title i {
  display: block;
  margin: 0;
  padding: 10px 0;
  font-style: normal;
  font-size: 12px;
  font-weight: normal;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #ccc;
}

.title-deco {
  display: none;
}

.more-link {
  display: block;
  width: 97px;
  height: 26px;
  margin: 0 auto;
  padding: 0;
  border: 1px solid #ccc;
  color: #666;
  font-size: 12px;
  font-weight: normal;
  line-height: 26px;
  text-align: center;
}

.more-link:hover {
  color: #f60;
  border-color: #f60;
}

/* Business scope */
.scope-section {
  background: #fff;
}

.scope-tabs {
  margin-top: 20px;
}

.scope-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.scope-tabs__nav li button {
  display: block;
  height: 40px;
  margin: 0 5px 0 0;
  padding: 0 6px;
  border: 1px solid #ccc;
  background: #fff;
  color: #333;
  font-size: 16px;
  font-family: inherit;
  line-height: 40px;
  cursor: pointer;
}

.scope-tabs__nav li.active button,
.scope-tabs__nav li button:hover {
  background: #055ca0;
  border-color: #055ca0;
  color: #fff;
}

.scope-panel {
  display: none;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}

.scope-panel.active {
  display: flex;
}

.scope-panel > li {
  width: 280px;
  margin: 15px 25px 0 0;
  text-align: center;
}

.scope-panel > li img {
  display: block;
  width: 280px;
  height: 230px;
  object-fit: cover;
  background: #f4f4f4;
}

.scope-panel > li span {
  display: block;
  line-height: 30px;
}

.scope-panel > li span a {
  color: #666;
  font-size: 14px;
}

.scope-panel > li:hover span a {
  color: #f00;
}

/* CTA banner */
.cta-banner {
  height: 166px;
  background: #01a4ed url("../assets/upload/img/20210907164224.png") center center no-repeat;
}

/* About */
.about-section {
  background: #fff;
  color: #666;
}

.about-section .section-title {
  margin-bottom: 0;
}

.about-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 20px;
}

.about-text {
  width: 620px;
  padding: 5px 15px;
  font-size: 14px;
  line-height: 25px;
  color: #666;
}

.about-text p {
  margin: 0;
  padding: 5px 0;
  text-indent: 2em;
  line-height: 25px;
}

.about-image img {
  display: block;
  width: 520px;
  height: 320px;
  object-fit: cover;
}

/* Gallery */
.gallery-section {
  background: #f8f8f8;
}

.gallery-section .section-title strong {
  background: #f8f8f8;
}

.gallery-marquee {
  margin-top: 20px;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  justify-content: space-between;
}

.gallery-track li {
  width: 220px;
  margin: 0 10px;
  text-align: center;
}

.gallery-card {
  height: 151px;
  padding: 2px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #f4f4f4;
}

.gallery-card:hover {
  background: #f4f4f4;
}

.gallery-card img {
  display: block;
  width: 214px;
  height: 151px;
  object-fit: cover;
}

.gallery-track li span {
  display: block;
  height: 30px;
  font-size: 14px;
  line-height: 30px;
}

.gallery-track li span a:hover {
  color: #005ca1;
}

/* News & contact */
.news-contact-section {
  padding: 30px 0;
}

.news-contact-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.news-block {
  width: 760px;
}

.contact-block {
  width: 400px;
}

.news-title,
.contact-title {
  display: block;
  height: 35px;
  margin: 0;
  padding: 0;
  border-bottom: 2px solid #eaeaea;
  line-height: 35px;
  overflow: hidden;
}

.news-title strong,
.contact-title strong {
  float: left;
  width: 90px;
  border-bottom: 2px solid #005ca1;
  color: #505050;
  font-size: 20px;
  line-height: 33px;
}

.news-title a {
  float: right;
  color: #666;
  font-size: 12px;
  font-weight: normal;
}

.news-title a:hover {
  color: #f60;
}

.news-list li {
  display: flex;
  justify-content: space-between;
  height: 130px;
  margin-top: 20px;
}

.news-list li:hover .news-date {
  background: #0aa4eb;
}

.news-date {
  flex-shrink: 0;
  width: 130px;
  height: 130px;
  padding-top: 18px;
  background: #005ca1;
  color: #fff;
  text-align: center;
}

.news-date strong {
  display: block;
  color: #fff;
  font-size: 50px;
  line-height: 1;
}

.news-date span {
  display: block;
  width: 85px;
  height: 26px;
  margin: 10px auto 0;
  border: 1px solid #fff;
  color: #fff;
  font-size: 12px;
  line-height: 26px;
}

.news-body {
  width: 590px;
  height: 130px;
  padding: 10px 20px;
  background: #eaeaea;
  box-sizing: border-box;
}

.news-body h3 {
  margin: 0;
  color: #434343;
  font-size: 18px;
  font-weight: normal;
}

.news-body h3 a {
  color: #434343;
}

.news-body h3 a:hover {
  color: #0aa4eb;
}

.contact-inner {
  padding: 10px 0;
  text-align: center;
}

.contact-deco {
  display: block;
  width: 400px;
  height: 116px;
  object-fit: cover;
}

.contact-inner ul {
  margin-top: 6px;
}

.contact-inner ul li {
  padding-left: 10px;
  color: #666;
  font-size: 16px;
  line-height: 40px;
  text-align: left;
}

/* Footer */
.foot {
  background: #005ca1;
  color: #fff;
  padding: 10px 0;
  font-size: 14px;
  text-align: left;
}

.foot-links a,
.foot-copy,
.foot-meta a {
  color: #fff;
}

.foot-links a {
  margin-right: 8px;
}

.foot-copy {
  margin: 4px 0;
}

.foot-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.foot-meta a:hover,
.foot-links a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1240px) {
  .menu > li > a {
    padding: 0 22px;
    font-size: 15px;
  }

  .logo img {
    width: 320px;
  }
}

@media (max-width: 992px) {
  .about-grid,
  .news-contact-grid,
  .gallery-track {
    display: block;
  }

  .about-text,
  .about-image img,
  .news-block,
  .contact-block,
  .news-body,
  .contact-deco,
  .gallery-track li {
    width: 100%;
    height: auto;
    margin: 12px 0;
  }

  .scope-panel > li,
  .scope-panel > li img {
    width: calc(50% - 16px);
    height: auto;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #0068b3;
    z-index: 200;
  }

  .menu.open {
    display: flex;
  }

  .menu > li > a {
    padding: 0 20px;
    line-height: 44px;
  }

  .menu dl {
    position: static;
    width: auto;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.15);
  }

  .menu dd {
    margin: 0;
    text-align: left;
    border-bottom-color: rgba(255, 255, 255, 0.15);
  }

  .menu dd a {
    color: #fff;
    padding-left: 28px;
  }

  .menu dd a:hover {
    color: #fff;
    background: rgba(0, 0, 0, 0.15);
  }

  .head-top {
    flex-wrap: wrap;
  }

  .search-box {
    width: 100%;
  }

  .search-box input {
    flex: 1;
    width: auto;
  }

  .scope-tabs__nav li button {
    padding: 10px 10px;
    font-size: 12px;
  }

  .logo img {
    width: min(280px, 70vw);
  }

  .head-top {
    height: auto;
    padding: 12px 0;
    gap: 12px;
  }

  .scope-panel > li,
  .scope-panel > li img {
    width: 100%;
    height: auto;
  }
}

/* 报告查询页保持电脑版，不随手机宽度改版 */
body.query-page {
  min-width: 1200px;
}

body.query-page .wrapper {
  width: 1200px;
  max-width: none;
}

body.query-page .logo img {
  width: 450px;
}

body.query-page .head-top {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  height: 120px;
  padding: 0;
  gap: 0;
}

body.query-page .search-box {
  width: auto;
}

body.query-page .search-box input {
  flex: none;
  width: 270px;
}

body.query-page .menu-toggle {
  display: none;
}

body.query-page .menu {
  display: flex;
  flex-direction: row;
  position: static;
  background: transparent;
}

body.query-page .menu > li > a {
  padding: 0 45px;
  font-size: 16px;
  line-height: 45px;
}

body.query-page .menu dl {
  position: absolute;
  top: 45px;
  width: 100%;
  background: #fff;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

body.query-page .menu dd {
  margin: 0 10px;
  text-align: center;
  border-bottom: 1px dotted #ddd;
}

body.query-page .menu dd a {
  padding: 0;
  color: #666;
}
