.gardensun-faq {
  background: #fff;
  padding: 100px 0;
  display: none;
}

.gardensun-faq .faq-left {
  margin-bottom: 40px;
}

/* 基于 is-open 的纯 CSS 折叠：使用 max-height 控制 */
.gardensun-faq .faq-answer{
  height: auto; /* 避免被 height:0 限制 */
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.gardensun-faq .faq-item.is-open .faq-answer{
  max-height: 1200px; /* 预估上限，足够显示内容 */
}

.gardensun-faq .faq-image {
  position: relative;
  width: 100%;
  max-width: 608px;
  margin: 0 auto;
}

.gardensun-faq .faq-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.gardensun-faq .faq-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 400px;
  padding-left: 40px;
}

.gardensun-faq .faq-header {
  margin-bottom: 40px;
}

.gardensun-faq .faq-title {
  color: #221815;
  font-family: var(--font-family);
  font-size: 36px;
  font-style: normal;
  font-weight: 500;
  line-height: 70px;
  margin-bottom: 20px;
}

.gardensun-faq .faq-desc {
  color: #221815;
  font-family: var(--font-family);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 27px;
}

.gardensun-faq .faq-accordion {
  width: 100%;
}

.gardensun-faq .faq-item {
  margin-bottom: 0;
}

.gardensun-faq .faq-item:last-child {
  border-bottom: none;
}

.gardensun-faq .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: #f5f5f5;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.gardensun-faq .question-text {
  color: #221815;
  font-family: var(--font-family);
  font-size: 16px;
  text-align: center;
  font-style: normal;
  font-weight: 500;
  line-height: 40px;
  margin: 0;
  flex: 1;
}

.gardensun-faq .faq-answer {
  overflow: hidden;
  transition: all 0.3s ease;
}

.gardensun-faq .faq-answer.collapse {
  display: block;
  height: 0;
}

.gardensun-faq .faq-answer.collapse.show {
  height: auto;
}

.gardensun-faq .answer-content {
  color: #666666;
  font-family: var(--font-family);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 27px;
  padding: 0 40px 50px;
}

/* 响应式设计 */
@media (max-width: 991px) {
  .gardensun-faq {
    padding: 80px 0;
  }
  
  .gardensun-faq .faq-right {
    min-height: auto;
    margin-top: 40px;
    padding-left: 0;
  }
  
  .gardensun-faq .faq-header {
    margin-bottom: 30px;
    text-align: center;
  }
  
  .gardensun-faq .faq-title {
    font-size: 36px;
    line-height: 50px;
  }
  
  .gardensun-faq .faq-desc {
    font-size: 16px;
    line-height: 24px;
  }
  
  .gardensun-faq .question-text {
    font-size: 18px;
    line-height: 27px;
  }
}

@media (max-width: 767px) {
  .gardensun-faq {
    padding: 60px 0;
  }
  
  .gardensun-faq .faq-left {
    margin-bottom: 30px;
  }
  
  .gardensun-faq .faq-header {
    margin-bottom: 25px;
  }
  
  .gardensun-faq .faq-title {
    font-size: 28px;
    line-height: 40px;
  }
  
  .gardensun-faq .faq-desc {
    font-size: 14px;
    line-height: 21px;
  }
  
  .gardensun-faq .faq-question {
    padding: 20px 0;
  }
  
  .gardensun-faq .question-text {
    font-size: 16px;
    line-height: 24px;
    margin-right: 12px;
  }
  
  .gardensun-faq .answer-content {
    font-size: 14px;
    line-height: 21px;
    padding-bottom: 20px;
    padding-right: 32px;
  }
}

@media (max-width: 480px) {
  .gardensun-faq {
    padding: 40px 0;
  }
  
  .gardensun-faq .faq-title {
    font-size: 24px;
    line-height: 32px;
  }
  
  .gardensun-faq .faq-question {
    padding: 16px 20px;
  }
  
  .gardensun-faq .question-text {
    font-size: 14px;
    line-height: 21px;
    margin-right: 8px;
  }
  
  .gardensun-faq .answer-content {
    font-size: 13px;
    line-height: 19px;
    padding: 0px 20px 20px;
  }
} 