/**
 * FAQ styles
 */

.faq-container {
  width: 100%;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
}

.faq-btns {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 0;
  border-top: 1px solid var(--red-a80);
}

#faq-1 {
  border-top: none;
}

.faq-question-btn {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--black);
  text-align: left;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}

.faq-question-btn > .icon {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
}

.faq-item.open .icon {
  transform: rotate(180deg);
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  padding-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow: hidden;
}

/* 400px */
@media (min-width: 25rem) {
  .faq-btns {
    flex-direction: row;
  }
}

/* 640px */
@media (min-width: 40rem) {
}

/* 768px */
@media (min-width: 48rem) {
  .faq-container {
    width: 40rem;
  }
}

/* 1024px */
@media (min-width: 64rem) {
  .faq-container {
    width: 56rem;
    margin-top: 1.5rem;
  }
}

/* 1280px */
@media (min-width: 80rem) {
  .faq-container {
    width: 60rem;
  }
}

/* 1536px */
@media (min-width: 96rem) {
}

/* 1920px */
@media (min-width: 120rem) {
}
