
.hh-faq {
  --hh-faq-text-color: #111111;
  width: 100%;
  margin: 0 auto;
  padding: 8px 0 24px;
}

.hh-faq-intro {
  margin-bottom: 18px;
}

.hh-faq-intro h2 {
  font-size: 34px !important;
  line-height: 1.15 !important;
  font-weight: 300 !important;
  color: var(--hh-faq-text-color) !important;
  margin: 0 0 12px !important;
  letter-spacing: -0.01em !important;
}

.hh-faq-intro p {
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: var(--hh-faq-text-color) !important;
  margin: 0 !important;
  max-width: 1100px !important;
}

.hh-faq-list {
  border-top: 1px solid #dedede;
}

.hh-faq-item {
  border-bottom: 1px solid #dedede;
  position: relative;
}

.hh-faq-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hh-faq-question {
  width: 100%;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 18px 0 !important;
  margin: 0;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  text-align: left !important;
  cursor: pointer !important;
  color: var(--hh-faq-text-color) !important;
  border-radius: 0 !important;
  min-height: 0 !important;
}

.hh-faq-question span:first-child {
  flex: 1 1 auto !important;
  font-size: 18px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
  color: var(--hh-faq-text-color) !important;
  margin: 0 !important;
}

.hh-faq-icon {
  flex: 0 0 22px !important;
  width: 22px !important;
  min-width: 22px !important;
  height: 22px !important;
  position: relative !important;
  display: inline-block !important;
}

.hh-faq-icon::before,
.hh-faq-icon::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  width: 10px !important;
  height: 2px !important;
  background: var(--hh-faq-text-color) !important;
  transition: transform .2s ease !important;
}

.hh-faq-icon::before {
  left: 2px !important;
  transform: translateY(-50%) rotate(45deg) !important;
}

.hh-faq-icon::after {
  right: 2px !important;
  transform: translateY(-50%) rotate(-45deg) !important;
}

.hh-faq-toggle:checked + .hh-faq-question .hh-faq-icon::before {
  transform: translateY(-50%) rotate(-45deg) !important;
}

.hh-faq-toggle:checked + .hh-faq-question .hh-faq-icon::after {
  transform: translateY(-50%) rotate(45deg) !important;
}

.hh-faq-answer {
  display: none;
  max-width: 1000px;
  padding: 0 0 14px !important;
}

.hh-faq-toggle:checked + .hh-faq-question + .hh-faq-answer {
  display: block;
}

.hh-faq-answer p,
.hh-faq-answer ul,
.hh-faq-answer ol {
  font-size: 15px !important;
  line-height: 1.65 !important;
  color: var(--hh-faq-text-color) !important;
  margin: 0 0 12px !important;
}

.hh-faq-answer ul,
.hh-faq-answer ol {
  padding-left: 20px;
}

/* Compact mode */
.hh-faq--compact .hh-faq-intro {
  margin-bottom: 12px;
}

.hh-faq--compact .hh-faq-intro h2 {
  font-size: 28px !important;
  line-height: 1.18 !important;
  margin: 0 0 10px !important;
}

.hh-faq--compact .hh-faq-intro p {
  font-size: 15px !important;
  line-height: 1.55 !important;
}

.hh-faq--compact .hh-faq-question {
  padding: 14px 0 !important;
  gap: 16px !important;
}

.hh-faq--compact .hh-faq-question span:first-child {
  font-size: 16px !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
}

.hh-faq--compact .hh-faq-icon {
  flex: 0 0 20px !important;
  width: 20px !important;
  min-width: 20px !important;
  height: 20px !important;
}

.hh-faq--compact .hh-faq-icon::before,
.hh-faq--compact .hh-faq-icon::after {
  width: 9px !important;
}

.hh-faq--compact .hh-faq-answer {
  max-width: 920px;
  padding: 0 0 12px !important;
}

.hh-faq--compact .hh-faq-answer p,
.hh-faq--compact .hh-faq-answer ul,
.hh-faq--compact .hh-faq-answer ol {
  font-size: 14px !important;
  line-height: 1.6 !important;
  margin: 0 0 10px !important;
}

@media (max-width: 767px) {
  .hh-faq {
    padding: 0 0 18px;
  }

  .hh-faq-intro h2 {
    font-size: 28px !important;
    margin-bottom: 10px !important;
  }

  .hh-faq-intro p,
  .hh-faq-answer p,
  .hh-faq-answer ul,
  .hh-faq-answer ol {
    font-size: 15px !important;
  }

  .hh-faq-question {
    padding: 16px 0 !important;
    gap: 12px !important;
  }

  .hh-faq-question span:first-child {
    font-size: 17px !important;
    line-height: 1.4 !important;
  }

  .hh-faq-icon {
    flex-basis: 20px !important;
    width: 20px !important;
    min-width: 20px !important;
    height: 20px !important;
  }

  .hh-faq-icon::before,
  .hh-faq-icon::after {
    width: 9px !important;
  }

  .hh-faq-answer {
    padding: 0 0 12px !important;
  }

  .hh-faq--compact .hh-faq-intro h2 {
    font-size: 24px !important;
  }

  .hh-faq--compact .hh-faq-question span:first-child {
    font-size: 15px !important;
  }

  .hh-faq--compact .hh-faq-answer p,
  .hh-faq--compact .hh-faq-answer ul,
  .hh-faq--compact .hh-faq-answer ol {
    font-size: 13px !important;
  }
}
