/* Scoped to: history-template-history-faq */
[data-component-slug="history-template-history-faq"].faq-wrapper, [data-component-slug="history-template-history-faq"] .faq-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

[data-component-slug="history-template-history-faq"].faq-title, [data-component-slug="history-template-history-faq"] .faq-title {
  font-family: "Orbitron";
  font-size: 56px;
  line-height: 80px;
  text-align: center;
  margin-bottom: 24px;
  color: #000;
  text-transform: capitalize;
  max-width: 720px;
}

[data-component-slug="history-template-history-faq"].faq-desc, [data-component-slug="history-template-history-faq"] .faq-desc {
  font-family: "Albert Sans";
  font-size: 24px;
  line-height: 100%;
  text-align: center;
  color: #666;
  max-width: 860px;
  margin-bottom: 64px;
}

[data-component-slug="history-template-history-faq"].faq-list, [data-component-slug="history-template-history-faq"] .faq-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

[data-component-slug="history-template-history-faq"].faq-item, [data-component-slug="history-template-history-faq"] .faq-item {
  border: 1px solid #e0e0e0;
  background: #fff;
  padding: 24px 32px;
  cursor: pointer;
  transition: all 0.3s ease;
}

[data-component-slug="history-template-history-faq"].faq-item.active, [data-component-slug="history-template-history-faq"] .faq-item.active {
  background: #000;
  border-color: #fff;
}

[data-component-slug="history-template-history-faq"].faq-question, [data-component-slug="history-template-history-faq"] .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

[data-component-slug="history-template-history-faq"].faq-question h4, [data-component-slug="history-template-history-faq"] .faq-question h4 {
  font-family: "Albert Sans";
  font-size: 32px;
  line-height: 100%;
  color: #000;
  transition: color 0.3s ease;
}

[data-component-slug="history-template-history-faq"].faq-item.active .faq-question h4, [data-component-slug="history-template-history-faq"] .faq-item.active .faq-question h4 {
  color: #fff;
}

[data-component-slug="history-template-history-faq"].faq-icon, [data-component-slug="history-template-history-faq"] .faq-icon {
  width: 32px;
  height: 32px;
  border: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

[data-component-slug="history-template-history-faq"].faq-item.active .faq-icon, [data-component-slug="history-template-history-faq"] .faq-item.active .faq-icon {
  border-color: #fff;
}

[data-component-slug="history-template-history-faq"].faq-icon img, [data-component-slug="history-template-history-faq"] .faq-icon img {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

[data-component-slug="history-template-history-faq"].faq-item.active .faq-icon img, [data-component-slug="history-template-history-faq"] .faq-item.active .faq-icon img {
  filter: invert(1);
  transform: rotate(180deg);
}

[data-component-slug="history-template-history-faq"].faq-answer, [data-component-slug="history-template-history-faq"] .faq-answer {
  margin-top: 16px;
  font-family: "Albert Sans";
  font-size: 24px;
  line-height: 100%;
  color: #acacac;
  display: none;
  max-width: 900px;
}

[data-component-slug="history-template-history-faq"].faq-item.active .faq-answer, [data-component-slug="history-template-history-faq"] .faq-item.active .faq-answer {
  display: block;
}

@media (max-width: 768px) {
  [data-component-slug="history-template-history-faq"].faq-title, [data-component-slug="history-template-history-faq"] .faq-title {
    font-size: 28px;
    line-height: 120%;
  }
  [data-component-slug="history-template-history-faq"].faq-desc, [data-component-slug="history-template-history-faq"] .faq-desc {
    font-size: 18px;
  }
  [data-component-slug="history-template-history-faq"].faq-question h4, [data-component-slug="history-template-history-faq"] .faq-question h4 {
    font-size: 20px;
  }
  [data-component-slug="history-template-history-faq"].faq-answer, [data-component-slug="history-template-history-faq"] .faq-answer {
    font-size: 16px;
  }
  [data-component-slug="history-template-history-faq"].faq-wrapper, [data-component-slug="history-template-history-faq"] .faq-wrapper {
    padding: 0px 24px 60px;
  }
  [data-component-slug="history-template-history-faq"].faq-desc, [data-component-slug="history-template-history-faq"] .faq-desc {
    margin-bottom: 24px;
  }
}