.faq__container {
  max-width: 660px;
  margin: 80px auto 0;
  display: flex;
  flex-direction: column;
}

.faq__item {
  overflow: hidden;
}

.faq__question {
  display: flex;
  padding: 16px 8px;
  cursor: pointer;
  user-select: none;
}

.q-icon {
  width: 14px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  color: var(--accent-color);
  flex-shrink: 0;
  font-size: 24px;
  line-height: 40px;
  font-family: "Oswald", sans-serif;
  margin-right: 19.5px;
}

.question-text {
  font-size: 14px;
  line-height: 20px;
  color: #000;
  width: calc(100% - 82px);
  flex-shrink: 0;
}

.toggle-icon {
  width: 33.5px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  margin-left: auto;
}

.faq {
  padding: 40px clamp(20px, calc(27.5px + 50vw - 187.5px), 27.5px) 80px;
}

.faq__container {
  margin: 40px auto 0;
}

.faq__item {
  border-top: 1px solid #c0c0c0;
}

.faq__item.active .toggle-icon {
  transform: rotate(0deg);
}

.faq__item.active .toggle-icon::before {
  transform: scaleY(-1);
}

.toggle-icon::before {
  content: "";
  display: block;
  width: 33.5px;
  height: 32px;
  background-image: url(../images/common/faq-arrow.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.3s;
}

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

.faq-answer-content {
  background: white;
  padding: 0px 8px 16px 8px;
  display: flex;
  align-items: flex-start;
  border-top: none;
}

.a-icon {
  width: 13px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 24px;
  line-height: 40px;
  color: #75cfc3;
  flex-shrink: 0;
  margin-right: 19.5px;
  font-family: "Oswald", sans-serif;
}

.answer-text {
  line-height: 20px;
  font-size: 14px;
  width: calc(100% - 82px);
}

@media (min-width: 768px) {
  .faq {
    padding: 120px 27.5px;
  }
  .faq__container {
    max-width: 1032px;
    margin: 56px auto 0;
  }

  .faq__question {
    display: flex;
    padding: 24px 24px 32px 24px;
    cursor: pointer;
    user-select: none;
    align-items: center;
  }

  .q-icon {
    width: 24px;
    font-size: 40px;
    margin-right: 40px;
  }

  .question-text {
    font-size: 16px;
    line-height: 2;
    width: calc(100% - 128px);
    padding-right: 48px;
  }

  .faq-answer-content {
    background: white;
    padding: 0px 24px 32px;
    display: flex;
    align-items: center;
    border-top: none;
  }
  .a-icon {
    width: 22px;
    font-size: 40px;
    margin-right: 42px;
  }

  .answer-text {
    line-height: 2;
    font-size: 16px;
    width: 100%;
    padding-right: 48px;
  }

  .faq-answer {
    display: flex;
    align-items: center;
  }
}
