.hfaq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.hfaq-filter {
  appearance: none;
  border-radius: 30px;
  border: 1px solid var(--theme-palette-color-1);
  background: var(--theme-palette-color-5);
  color: var(--theme-palette-color-1);
  padding: 10px 18px;
  cursor: pointer;
  font: inherit;
  line-height: 1.2;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.hfaq-filter:hover,
.hfaq-filter:focus-visible {
  border-color: var(--theme-palette-color-1);
  outline: none;
}

.hfaq-filter.is-active {
  background: var(--theme-palette-color-1);
  border-color: var(--theme-palette-color-1);
  color: #fff;
}

.hfaq-list {
  display: block;
}

.hfaq-item {
  border-bottom: 0 !important;
  border: 1px solid var(--theme-palette-color-7) !important;
  border-radius: 6px !important;
  margin-bottom: 16px !important;
  padding-bottom: 5px !important;
  padding-top: 5px !important;
  background: var(--theme-palette-color-8) !important;
}

.hfaq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 14px 16px;
  cursor: pointer;
  font: inherit;
}

.hfaq-question-text {
  flex: 1;
  font-weight: 700;
  font-size: 20px !important;
  line-height: 1.35;
}

.hfaq-icon {
  flex: 0 0 auto;
  width: 24px;
  min-width: 24px;
  text-align: center;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  color: #0D0D0D;
}

.hfaq-answer {
  box-sizing: border-box;
  padding: 0 16px;
}

.hfaq-answer[hidden] {
  display: none !important;
}

.hfaq-answer.is-open {
  display: block;
}

.hfaq-answer-inner {
  padding: 0 0 14px;
}

.hfaq-answer,
.hfaq-answer-inner,
.hfaq-answer-inner p,
.hfaq-answer-inner li {
  font-size: 16px;
  font-weight: 400;
  color: inherit;
}

.hfaq-answer-inner > *:first-child {
  margin-top: 0;
}

.hfaq-answer-inner > *:last-child {
  margin-bottom: 0;
}

.hfaq-term-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 10px;
}

.hfaq-term-label {
  display: inline-flex;
  border-radius: 999px;
  background: #f3f4f6;
  padding: 4px 10px;
  font-size: 12px;
  line-height: 1.3;
}

.hfaq-empty {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .hfaq-filter {
    transition: none !important;
  }
}
