/* Category FAQ Styles */
.category-faq-section {
  margin-top: 40px;
  padding: 30px 0;
}

.faq-loading {
  text-align: center;
  padding: 20px;
  color: #666;
}

.category-faq-section .faq-title {
  font-size: max(2rem, 1.5vw);
  font-weight: 700;
  margin-bottom: 50px;
  text-align: center;
}

.faq-list {
  margin: 0 auto;
}

.faq-item {
  border-style: solid;
  border-width: 1px 0 0 0;
  border-color: var(--color-content-border);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:last-of-type {
  border-bottom-width: 1px;
}

.faq-item:hover {
  background: rgba(0, 0, 0, 0.04);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
}

.faq-question h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  flex: 1;
  padding-right: 15px;
}

.faq-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  line-height: 1;
  min-width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.faq-toggle svg {
  display: block;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 25px 20px;
  color: #555;
  line-height: 1.6;
}

.faq-answer p {
  margin: 0 0 15px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* Responsive styles */
@media (max-width: 768px) {
  .category-faq-section {
    padding: 20px 0;
    margin-top: 30px;
  }

  .category-faq-section .faq-title {
    margin-bottom: 20px;
  }

  .faq-question {
    padding: 15px 20px;
  }

  .faq-answer {
    padding: 0 20px 15px;
    font-size: 14px;
  }
}
