/* /faq/assets/css/faq.css */
/* Styles only apply inside .faq-section to avoid affecting global layout */

.faq-section {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  font-family: inherit;
}

.faq-section h1 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 2em;
}

.faq-section p {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #444;
}

/* Search bar */
.faq-section .faq-search-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  gap: 10px;
}

.faq-section .faq-search-bar input[type="text"] {
  padding: 10px;
  width: 300px;
  font-size: 1em;
}

.faq-section .faq-search-bar button {
  padding: 10px 16px;
  font-size: 1em;
  cursor: pointer;
}

/* FAQ card */
.faq-section .faq-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px 20px;
  margin-bottom: 15px;
  background-color: #292727;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.faq-section .faq-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.faq-section .faq-question {
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-section .faq-toggle-icon {
  font-size: 1.5em;
  line-height: 1;
  user-select: none;
}

.faq-section .faq-answer {
  display: none;
  margin-top: 10px;
  font-size: 1em;
  color: #333;
}

.faq-section .faq-card.expanded .faq-answer {
  display: block;
}

.faq-section .faq-card.expanded .faq-toggle-icon {
  content: "−";
  transform: rotate(180deg);
}

/* /faq/assets/css/faq.css */
.faq-full-answer.hidden,
.faq-short-answer.hidden {
  display: none;
}