/**
 * 首页 FAQ — 静态 3×3 网格 + 轻量分页（不用 SuperSlide，避免 .bd 高度被压扁）
 */
body.page-home section.yksite-home-faq.dynamicbox {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  overflow: hidden;
  background-color: #f5f5f5;
  background-image: url(../../img/faqbg.png);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
  padding: 36px 0 48px;
  box-sizing: border-box;
}

body.page-home .yksite-home-faq__inner {
  width: var(--yksite-channel-width, 96%);
  max-width: var(--yksite-channel-max, 1200px);
  margin: 0 auto;
  box-sizing: border-box;
}

body.page-home .yksite-home-faq__head {
  margin-bottom: 8px;
}

body.page-home .yksite-home-faq__head .work2-des {
  color: #b9b9b9;
  margin-top: 8px;
}

body.page-home .yksite-home-faq__carousel {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

body.page-home .yksite-home-faq__pages {
  width: 100%;
}

body.page-home .yksite-home-faq__page {
  width: 100%;
}

body.page-home .yksite-home-faq__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 24px 0 0;
  padding: 0;
}

body.page-home .yksite-home-faq__card {
  min-height: 140px;
  padding: 28px 30px 26px;
  background: #fff;
  box-sizing: border-box;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

body.page-home .yksite-home-faq__q {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: #000;
}

body.page-home .yksite-home-faq__a {
  margin: 0;
  font-size: 14px;
  line-height: 24px;
  color: #888;
}

body.page-home .yksite-home-faq__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

body.page-home .yksite-home-faq__card:hover .yksite-home-faq__q {
  color: #c8011c;
}

body.page-home .yksite-home-faq__foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 18px;
  padding-bottom: 4px;
}

body.page-home .yksite-home-faq__more.dynamic_more {
  margin: 0;
  font-size: 18px;
  line-height: 1;
}

body.page-home .yksite-home-faq__more a {
  color: #1d1d1d;
}

body.page-home .yksite-home-faq__more a:hover {
  color: #e62022;
}

body.page-home .yksite-home-faq__nav {
  display: block;
  width: 39px;
  height: 12px;
  flex: 0 0 39px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

body.page-home .yksite-home-faq__nav.prev {
  background-image: url(../../img/left_23.png);
}

body.page-home .yksite-home-faq__nav.next {
  background-image: url(../../img/right_23.png);
}

@media screen and (max-width: 991px) {
  body.page-home section.yksite-home-faq.dynamicbox {
    background-size: 60% auto;
    background-position: right bottom;
    padding-bottom: 56px;
  }

  body.page-home .yksite-home-faq__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  body.page-home .yksite-home-faq__card {
    min-height: 120px;
    padding: 20px 18px;
  }
}

@media screen and (max-width: 575px) {
  body.page-home .yksite-home-faq__grid {
    grid-template-columns: 1fr;
  }
}
