.faq-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.faq-header {
  text-align: center;
  margin-bottom: 40px;
}

.faq-header h1 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 10px;
}

.faq-section {
  margin-bottom: 30px;
}

.faq-category-title {
  font-size: 1.3rem;
  color: #333;
  padding: 15px 0;
  border-bottom: 1px solid #333;
  margin-bottom: 0;
  cursor: pointer;
  position: relative;
  user-select: none;
  transition: color 0.2s;
  font-weight: normal;
}

.faq-category-title:hover {
  color: #666;
}

.faq-category-title::after {
  content: "+";
  position: absolute;
  right: 0;
  color: #666;
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-category-title.active::after {
  transform: rotate(45deg);
}

.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}

.faq-content.active {
  grid-template-rows: 1fr;
}

.faq-content-inner {
  overflow: hidden;
  padding-top: 0;
  transition: padding-top 0.4s ease;
}

.faq-content.active .faq-content-inner {
  padding-top: 20px;
}

.faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 15px;
}

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

.faq-question {
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.5;
}

.faq-question.no-number {
  font-weight: normal;
}

.faq-number {
  display: inline-block;
  min-width: 20px;
}

.faq-answer {
  color: #666;
  line-height: 1.6;
  padding-left: 20px;
  white-space: pre-line;
}

/* 響應式設計 */
@media (max-width: 768px) {
  .faq-header {
    margin-top: 10px;
  }

  .faq-header h1 {
    font-size: 1.5rem;
  }

  .faq-category-title {
    font-size: 1.1rem;
  }

  .faq-answer {
    padding-left: 15px;
    font-size: 0.95rem;
  }
}
