.faq {
  background-color: rgb(var(--background-color));
}
.faq_descrption p {
  margin: 0;
}

.faq_descrption {
  padding-top: 20px;
  padding-bottom: 20px;
}
.fqa__accordion-item {
  border-style: solid;
  border-width: 1px;
  border-color: rgb(224, 224, 224);
  border-radius: 8px;
  overflow: hidden;
  /* padding: 20px; */
}
.faq_content {
  flex: 1;
  overflow: auto;
}
::-webkit-scrollbar {
  width: 6px; /* 滚动条的宽度 */
}
/* 滚动条轨道 */
::-webkit-scrollbar-track {
  background: #f0f0f0; /* 滚动条轨道的背景色 */
}

/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
  background: #888; /* 滚动条滑块的背景色 */
  border-radius: 6px; /* 滚动条滑块的圆角 */
}

::-webkit-scrollbar-button:single-button:down::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #888; /* 箭头颜色 */
  margin: 5px; /* 间距调整 */
}
.faq_content_main {
  display: flex;
  max-height: 128px;
  width: 100%;
  padding: 12px 50px 12px 20px;
}
.faq_content p {
  margin: 0 8px 0 0;
}

accordion-item {
  display: block;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: var(--item-radius);
}

.faq__container {
  display: flex;
}

.faq__content {
  flex: 1;
}

.faq_picture {
  flex: 1;
}

.faq_col {
  width: 60px;
}

.faq_picture-info {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}

.faq_picture-icon {
  max-width: 120px;
}

.faq_picture-image {
  overflow: hidden;
}

.faq_container_maxWidth {
  max-width: var(--max-width);
  margin: 0 auto;
}
.faq .active {
  background-color: rgb(var(--background-color));
}
.accordion-container {
  display: flex;
  gap: 30px;
}

.accordion-container-m {
  display: none;
}
.faq_image {
  width: 50%;
  padding-top: 50%;
  position: relative;
  margin-right: 2%;
  flex: none;
}
.faq_image img {
  border-radius: 16px;
  width: 100%;
  object-fit: cover;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
.fap-main {
  display: flex;
  gap: 30px;
}
.fap-main .faq-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: var(--faq-width);
  padding: 0px 0 20px;
}
.faq .slideshow__slider {
  display: flex;
  width: 100%;
  overflow: hidden;
  position: relative;
}
slider-component .swiper_button_switch_opacity {
  opacity: 0.2;
}
.swiper_button_switch {
  opacity: 1;
  background-color: #84644d;
}
.faq .slideshow__slider-item {
  padding: 0 20px;
}
.faq__container .splide__pagination {
  bottom: 10px;
}
.faq__container .splide__pagination .is-active {
  background-color: #84644d;
}
accordion-container {
  position: relative;
  z-index: 5;
}
.faq_sub_title {
  color: #999;
}
.faq__container .splide__slide {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq .fap-main .splide__track {
  height: 100%;
}
.faq .fap-main .splide__pagination {
  position: absolute;
  display: flex;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  bottom: 20px;
  gap: 12px;
}
.faq .fap-main .splide__pagination button {
  border: 1px solid rgb(var(--color-theme-background));
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.6, 0, 0.4, 1);
  width: 12px;
  height: 12px;
  border-radius: 6px;
  background-color: #fff;
}
.faq .fap-main .splide__pagination .is-active {
  background-color: rgb(var(--color-theme-background));
}

@media screen and (max-width: 959px) {
  .accordion-container {
    display: none !important;
    gap: 30px;
  }
  .faq .slideshow__slider {
    padding-bottom: 50px;
  }
  .accordion-container-m {
    display: flex !important;
  }
  .fap-main {
    gap: 20px;
    flex-direction: column;
  }
  .faq_image {
    width: 100%;
    padding-top:100%;
    margin-right: 0px;
  }
  .fap-main .faq-right {
    width: 100%;
    padding: 0;
  }
  .faq .slideshow__slider-item {
    padding: 0;
  }
  .faq_content_main {
    padding: 20px;
  }
  .page-width-right {
    padding: 0;
  }
  .faq__container {
    width: 100%;
  }
  .faq__content {
    padding-top: 30px;
    max-width: 100%;
    width: 100%;
  }
}
@media screen and (max-width: 1500px) {
  .page-width-right {
    padding-right: 100px;
  }
}
