.app-faq-item {
  display: block;
  width: 100%;
  min-width: 0;
  border-block-end: 1px solid rgba(0, 0, 0, 0.08);
}

.app-faq-item details {
  width: 100%;
  margin: 0;
}

.app-faq-item summary {
  display: flex;
  align-items: center;
  padding: 24px 12px 24px 24px;
  cursor: pointer;
  list-style: none;
}

.app-faq-item summary::-webkit-details-marker {
  display: none;
}

.app-faq-item summary::marker {
  display: none;
}

.app-faq-item__question {
  flex: 1;
  min-width: 0;
  word-break: break-word;
}

.app-faq-item__question > * {
  margin: 0;
}

.app-faq-item__question,
.app-faq-item__question * {
  font-size: 20px;
  font-weight: 600;
}

.app-faq-item__toggle {
  display: block;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-inline-start: 8px;
  background-image: var(--faq-fold-open);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

details[open] > summary .app-faq-item__toggle {
  background-image: var(--faq-fold-close);
}

.app-faq-item__collapse {
  display: none;
}

details[open] + .app-faq-item__collapse {
  display: block;
}

.app-faq-item__answer {
  padding: 0 24px 24px 24px;
  overflow-x: auto;
  word-break: break-word;
  font-size: 16px;
}

.app-faq-item__answer > *:first-child {
  margin-block-start: 0;
}

.app-faq-item__answer > *:last-child {
  margin-block-end: 0;
}

@media (max-width: 991px) {
  .app-faq-item summary {
    padding: 12px;
  }

  .app-faq-item__answer {
    padding: 0 12px 12px 12px;
    font-size: 14px;
  }

  .app-faq-item__question,
  .app-faq-item__question * {
    font-size: 16px;
  }

  .app-faq-item__toggle {
    width: 16px;
    height: 16px;
  }
}
