.faq-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.faq-item {
  max-width: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 20px;
  padding-right: 20px;
  padding-bottom: 20px;
  padding-left: 24px;
  background-color: var(--bg);
  border: 1px solid var(--text-light);
  border-radius: 6px;
  box-shadow: var(--box-shadow-light);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--box-shadow-medium);
}

.faq-item .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height, margin-top 0.3s ease;
}

.faq-item.open .faq-answer {
  margin-top: 16px;
  max-height: 500px;
}

.faq-header {
  display: flex;
  justify-content: space-between;
}

.faq-header h3 {
  max-width: 85%;
}

.faq-header button {
  background: none;
  border: none;
  transition: transform 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item.open button {
  transform: rotate(45deg);
}

.faq-header button:hover {
  cursor: pointer;
}