
/* ================================
   FAQ PAGE CONTAINER
   ================================ */

/* 强制清除全局任何可能导致左右拉动的溢出宽度 */
html, body {
  max-width: 100% !important;
  width: 100% !important;
  overflow-x: hidden !important;
}

.sonfa-faq-page-container {
  width: 100% !important;
  max-width: 1200px !important; /* 控制在 1200px，在电脑上排版极其工整舒适 */
  margin: 0 auto !important;
  padding: 60px 24px 90px !important;
  font-family: Arial, Helvetica, sans-serif !important;
  color: #1a1a1a !important;
  background: #ffffff !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.sonfa-faq-page-container *,
.sonfa-faq-page-container *::before,
.sonfa-faq-page-container *::after {
  box-sizing: border-box !important;
}


/* ================================
   PAGE TITLE (FAQs)
   ================================ */

.sonfa-faq-page-header {
  text-align: center;
  margin-bottom: 60px;
}

.sonfa-faq-main-title {
  margin: 0;
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -1px;
}


/* ================================
   CATEGORY SECTION
   ================================ */

.sonfa-faq-category {
  margin-bottom: 65px;
}

/* 板块大标题：下方有标志性的纯黑分割粗线 */
.sonfa-category-title {
  margin: 0 0 30px;
  padding-bottom: 14px;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 700;
  color: #1a1a1a;
  border-bottom: 2px solid #000000; /* 与对标网站呼应的黑色粗下划线 */
  letter-spacing: -0.3px;
}


/* ================================
   ACCORDION ROW (折叠手风琴条目)
   ================================ */

.sonfa-faq-list {
  display: flex;
  flex-direction: column;
}

.sonfa-faq-item {
  border-bottom: 1px solid #e5e5e5; /* 细灰分割线 */
}

/* 问题点击区域 */
.sonfa-faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  cursor: pointer;
  user-select: none;
}

.sonfa-faq-question {
  font-size: clamp(19px, 1.2vw, 22px);
  font-weight: 700;
  color: #1a1a1a;
  padding-right: 30px;
  line-height: 1.4;
  
  transition: color 0.3s ease;
}

/* 右侧 + / × 展开图标 */
.sonfa-faq-icon {
  font-size: 26px;
  font-weight: 300;
  color: #1a1a1a;
  line-height: 1;
  display: inline-block;
  
  /* 旋转和变色过渡 */
  transition: 
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.3s ease;
}

/* 悬停变色为 Sonfa 品牌蓝 */
.sonfa-faq-header:hover .sonfa-faq-question {
  color: #6DB8BD;
}

.sonfa-faq-header:hover .sonfa-faq-icon {
  color: #6DB8BD;
}


/* ================================
   折叠动画核心：利用 max-height 平滑滑入滑出
   ================================ */

.sonfa-faq-body {
  max-height: 0; /* 默认收起隐藏 */
  overflow: hidden;
  
  /* 高度及可见度过渡动画 */
  transition: 
    max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.4s ease;
  opacity: 0;
}

.sonfa-faq-content {
  padding-bottom: 24px;
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.75;
  color: #555555;
  font-weight: 400;
}


/* ================================
   ACTIVE STATE (当展开时激活的样式)
   ================================ */

/* 展开时：问题文字变为品牌蓝 */
.sonfa-faq-item.active .sonfa-faq-question {
  color: #6DB8BD;
}

/* 展开时：右侧图标旋转 45 度（让 + 号平滑旋转变为 × 号）并变为品牌蓝 */
.sonfa-faq-item.active .sonfa-faq-icon {
  transform: rotate(45deg);
  color: #6DB8BD;
}

/* 展开时：内容盒展开并淡入显示 */
.sonfa-faq-item.active .sonfa-faq-body {
  opacity: 1;
}
