/* FAQ */
.faq__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .faq__container {
    gap: 28px;
  }
}

.faq__list {
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

@media screen and (min-width: 768px) {
  .faq__list {
    gap: 20px;
    margin-top: 50px;
  }
}

.faq__item {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  text-align: left;
}

.faq__question {
  width: 100%;
  padding: 12px;
  background: var(--brand-blue);
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.5s ease;
  padding: 12px 16px;
  overflow: hidden;
  border-radius: 6px 6px 0 0;
}

.faq__item:not(.isOpen) .faq__question {
  border-radius: 6px;
}

.faq__questionText {
  margin-right: 12px;
  color: var(--base-white);
  display: flex;
  align-items: center;
}

.faq__questionText::before {
  flex-shrink: 0;
  content: 'Q.';
  font-family: Roboto, sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: 0.08em;
  margin-right: 12px;
}

@media screen and (min-width: 768px) {
  .faq__questionText::before {
    font-size: 28px;
  }
}

.faq__toggle {
  width: 16px;
  height: 2px;
  background: var(--base-white);
  position: relative;
  transition: transform 0.5s ease;
  flex-shrink: 0;
}

@media screen and (min-width: 768px) {
  .faq__toggle {
    width: 32px;
  }
}

.faq__toggle::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--base-white);
  transform: rotate(90deg);
  transition: transform 0.5s ease;
}

@media screen and (min-width: 768px) {
  .faq__toggle::after {
    width: 32px;
  }
}

.faq__item.isOpen .faq__toggle::after {
  transform: rotate(0deg);
}

.faq__answer {
  height: 0;
  overflow: hidden;
  background: var(--base-white);
  transition: height 0.5s ease;
  border-radius: 0 0 6px 6px;
}

.faq__answerContent {
  padding: 12px 16px;
  overflow: hidden;
}

.faq__answerText {
  color: var(--base-black);
  display: flex;
  align-items: center;
}

.faq__answerText::before {
  flex-shrink: 0;
  content: 'A.';
  color: var(--brand-blue);
  font-family: Roboto, sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: 0.08em;
  margin-right: 12px;
}

@media screen and (min-width: 768px) {
  .faq__answerText::before {
    font-size: 28px;
  }
}
