.jc-faq-builder-placeholder {
  padding: 16px;
  border: 1px dashed currentColor;
  opacity: 0.75;
}

.jc-faq-block {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
}

.jc-faq-block__title {
  margin: 0;
}

.jc-faq-block__items {
  display: flex;
  flex-direction: column;
  gap: var(--jcFaqItemGap, 0px);
}

.jc-faq-item {
  border-style: solid;
  border-color: var(--jcFaqBorderColor, #d9d9d9);
  border-width: var(--jcFaqBorderWidth, 1px);
  border-radius: var(--jcFaqBorderRadius, 0px);
  background: var(--jcFaqItemBackground, transparent);
  overflow: hidden;
}

.jc-faq-item.is-active {
  background: var(--jcFaqItemActiveBackground, var(--jcFaqItemBackground, transparent));
}

.jc-faq-item__heading {
  margin: 0;
}

.jc-faq-item__question {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: var(--jcFaqItemVerticalPadding, 16px) var(--jcFaqItemHorizontalPadding, 16px);
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
  font: inherit;
  transition:
    background-color var(--jcFaqTransitionDuration, 0.25s) ease,
    color var(--jcFaqTransitionDuration, 0.25s) ease;
}

.jc-faq-item__question-text {
  flex: 1 1 auto;
}

.jc-faq-item__icons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1em;
  height: 1em;
  font-size: var(--jcFaqIconSize, 1em);
  color: var(--jcFaqIconColor, currentColor);
}

.jc-faq-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
}

.jc-faq-item__icon svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: currentColor;
  stroke: currentColor;
}

.jc-faq-item__icon--active,
.jc-faq-item.is-active .jc-faq-item__icon--default {
  display: none;
}

.jc-faq-item.is-active .jc-faq-item__icon--active {
  display: inline-flex;
}

.jc-faq-item.is-active .jc-faq-item__icons {
  color: var(--jcFaqIconActiveColor, var(--jcFaqIconColor, currentColor));
}

.jc-faq-item__answer {
  display: none;
  padding:
    var(--jcFaqAnswerGap, 0px)
    var(--jcFaqItemHorizontalPadding, 16px)
    var(--jcFaqItemVerticalPadding, 16px);
  overflow: hidden;
  opacity: 1;
}

.jc-faq-item.is-active .jc-faq-item__answer {
  display: block;
}

.jc-faq-item.is-collapsing .jc-faq-item__answer {
  display: block;
}

.jc-faq-item__answer-content {
  min-height: 0;
}

.jc-faq-item__answer-content > :first-child {
  margin-top: 0;
}

.jc-faq-item__answer-content > :last-child {
  margin-bottom: 0;
}
