.faq {
  background-color: transparent; /* 背景透明 */
  padding: 20px;
  font-family: Arial, sans-serif;
}

.title {
  text-align: center;
  color: white;
  margin-bottom: 20px;
}

.faq-item {
  margin-bottom: 10px;
}

.faq-question {
  width: 100%;
  background: none;
  color: white;
  text-align: left;
  border: 2px solid white;
  padding: 15px;
  font-size: 18px;
  border-radius: 15px;
  cursor: pointer;
  transition: background 0.3s;
}

.faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  color: white;
  font-size: 16px;
  border-left: 2px solid white;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  border-radius: 0 0 15px 15px;
  background-color: rgba(255, 255, 255, 0.05);
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-question.active {
  border-radius: 15px 15px 0 0;
}

.faq-answer.show {
  max-height: 200px; /* 控制展开高度 */
  padding: 15px;
}
