/* 页面问答组件样式 */
.faq-list {
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.faq-item + .faq-item { border-top: 1px solid var(--border); }
.faq-q { margin: 0; }
.faq-q-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: var(--transition);
}
.faq-q-btn:hover { color: var(--blue); background: var(--bg-alt); }
.faq-item.active .faq-q-btn { color: var(--blue); background: var(--blue-light); }
.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-light);
  transition: var(--transition);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--blue);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: var(--transition);
}
.faq-icon::before { width: 12px; height: 2px; }
.faq-icon::after { width: 2px; height: 12px; }
.faq-item.active .faq-icon { background: var(--blue); transform: rotate(180deg); }
.faq-item.active .faq-icon::before { background: var(--white); }
.faq-item.active .faq-icon::after {
  background: var(--white);
  transform: translate(-50%, -50%) scaleY(0);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a > .faq-a-text {
  padding: 18px 24px 22px;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.9;
  border-top: 1px dashed var(--border);
}
.faq-item.active .faq-a { max-height: 1000px; }

@media (max-width: 480px) {
  .faq-q-btn {
    padding: 16px 18px;
    font-size: 15px;
  }
  .faq-a > .faq-a-text {
    padding: 14px 18px 18px;
  }
}
