/* sectionClassName:bichun-faq */

.bichun-faq {
  padding-top: 7.5rem;
  padding-bottom: 7.5rem;
  /* background: linear-gradient(180deg, #f3f8fe 0%, #fff 100%); */
  background: #fff;
}

/* 标题区域 */
.bichun-faq-header {
  margin-bottom: 3.125rem;
}

.bichun-faq-header-content {
  /* removed - header now in left column */
}

.bichun-faq-title {
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.bichun-faq-subtitle {
  font-size: var(--font-size-md);
  font-family: var(--font-family);
  color: #666;
  margin: 0;
}

/* FAQ内容区域 - 左右布局 */
.bichun-faq-content {
  display: flex;
  gap: 5rem;
  align-items: center;
}

.bichun-faq-left {
  flex: 1;
  max-width: 60%;
}

.bichun-faq-list-wrap {
  width: 100%;
}

.bichun-faq-image-wrap {
  flex-shrink: 0;
  width: 48.125rem;
  aspect-ratio: 770 / 560;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f5f5;
}

.bichun-faq-image {
  position: relative;
  width: 100% !important;
  height: 100% !important;
}

.bichun-faq-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FAQ列表 */
.bichun-faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* FAQ项 */
.bichun-faq-item {
  background: #f3f8fe;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  transition: box-shadow 0.3s ease;
}

.bichun-faq-item.active {
  background: #fff;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
}

/* 问题区域 */
.bichun-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  cursor: pointer;
}

/* 问题标题 */
.bichun-faq-question-title {
  font-weight: 600;
  color: #333;
  margin: 0;
  flex: 1;
  transition: color 0.3s ease;
}

.bichun-faq-item.active .bichun-faq-question-title {
  color: var(--color-primary);
}

/* 箭头颜色 */
.toggle-arrow {
  transition: fill 0.3s ease;
}

.bichun-faq-item.active .toggle-arrow {
  fill: var(--color-primary);
}

/* 展开/收起按钮 */
.bichun-faq-toggle-btn {
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  transform: rotate(180deg);
  padding: 0;
}

.bichun-faq-item.active .bichun-faq-toggle-btn {
  transform: rotate(360deg);
}

/* 回答区域 */
.bichun-faq-answer {
  padding-top: 1.25rem;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
}

.bichun-faq-answer.hidden {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.bichun-faq-answer-content {
  font-size: var(--font-size-md);
  font-family: var(--font-family);
  color: #666;
  line-height: 1.875;
}

.bichun-faq-answer-text {
  margin: 0 0 0.75rem 0;
  position: relative;
  padding-left: 1rem;
}

.bichun-faq-answer-text::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 5px;
  height: 5px;
  background: var(--color-primary);
  border-radius: 50%;
}

.bichun-faq-answer-text:last-child {
  margin-bottom: 0;
}

/* 响应式 */
@media (max-width: 1024px) {
  .bichun-faq-content {
    flex-direction: column;
    gap: 2rem;
  }

  .bichun-faq-left {
    max-width: 100%;
  }

  .bichun-faq-image-wrap {
    width: 100%;
    max-width: 100%;
    order: -1;
  }
}

@media (max-width: 768px) {
  .bichun-faq {
    padding: 3rem 0;
  }

  .bichun-faq-header {
    margin-bottom: 2rem;
  }

  .bichun-faq-item {
    padding: 1rem 1.25rem;
  }

  .bichun-faq-question {
    gap: 1rem;
  }

  .bichun-faq-question-title {
    font-size: var(--font-size-md);
  }

  .bichun-faq-toggle-btn {
    width: 2rem;
    height: 2rem;
  }

  .bichun-faq-toggle-btn svg {
    width: 20px;
    height: 20px;
  }

  .bichun-faq-answer-text {
    padding-left: 0.75rem;
  }
}
