/* 常见问题FAQ页面专属样式 */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
  padding: 40px 0;
}

/* FAQ折叠列表样式 */
.faq-list .article-card {
  flex-direction: column;
  margin-bottom: 12px;
  gap: 0;
  box-shadow: none;
}
.faq-list .article-card:hover {
  transform: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.faq-list .article-card .card-thumb {
  display: none;
}
.faq-list .article-card .card-body {
  padding: 0;
}
.faq-list .article-card .card-body h3 {
  margin-bottom: 0;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s ease;
}
.faq-list .article-card .card-body h3::after {
  content: '+';
  font-size: 20px;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-list .article-card.open .card-body h3::after {
  transform: rotate(45deg);
}
.faq-list .article-card .card-body h3:hover {
  background: var(--secondary-color);
}
.faq-list .article-card .card-body h3 a {
  color: var(--text-primary);
  pointer-events: none;
}
.faq-list .article-card .card-body p {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  margin: 0;
  transition: all 0.3s ease;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 15px;
}
.faq-list .article-card.open .card-body p {
  max-height: 800px;
  padding: 0 20px 20px;
}
.faq-list .article-card .card-body .date {
  display: none;
}

/* 咨询入口区域 */
.consult-entry {
  background: var(--secondary-color);
  border-radius: var(--border-radius);
  padding: 36px 24px;
  text-align: center;
  margin-top: 40px;
}
.consult-entry h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.consult-entry p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 15px;
}
.consult-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 侧边栏表单 */
.faq-sidebar .sidebar-form {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border: 1px solid var(--border-color);
  position: sticky;
  top: 90px;
}
.sidebar-form .form-title {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 8px;
  color: var(--primary-color);
}
.sidebar-form .form-desc {
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 24px;
}

/* 响应式适配 */
@media (max-width: 992px) {
  .faq-layout {
    grid-template-columns: 1fr;
  }
  .faq-sidebar .sidebar-form {
    position: static;
    max-width: 400px;
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .faq-layout {
    padding: 20px 0;
  }
  .consult-entry {
    padding: 28px 20px;
    margin-top: 30px;
  }
  .consult-btns {
    flex-direction: column;
  }
  .consult-btns .btn {
    width: 100%;
  }
}