.hp-faqs-heading {
  text-align: left;
  margin: 1rem 0 2rem;
  font-size: 2rem;
  font-weight: 700;
  color: var(--almost-black);
  position: relative;
  z-index: 1;
  line-height: 1.2;
}

.hp-faqs-wrapper {
  max-width: var(--content-max, 960px);
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
}

.hp-faq-item {
  border: 3px solid var(--stroke-color);
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.hp-faq-question {
  all: unset;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 1.25rem;
  cursor: pointer;
  background: none;
  color: var(--almost-black);
  gap: 1rem;
  box-sizing: border-box;
  border: 2px solid transparent;
  border-radius: 0.75rem;
}

.question-text {
  flex: 1;
  text-align: left;
}

.hp-faq-question:focus-visible {
  outline: 0px solid var(--pink);
  outline-offset: 4px;
}

.hp-faq-item:has(.hp-faq-question:focus-visible) {
  border-color: var(--pink);
}

.faq-icon {
  transition: transform 0.3s ease;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--almost-black);
  flex-shrink: 0;
  font-weight: 600;
}

/* .faq-icon i {
  transition: transform 0.3s ease;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--almost-black);
} */

.hp-faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.hp-faq-answer {
  padding: 0 1rem 1rem;
  font-size: 1rem;
  line-height: 1.6;
  background-color: transparent;
}

.hp-faq-answer ul {
  padding-left: 0;
  list-style: disc;
  margin-left: 0;
  list-style-position: inside;
}

.hp-faq-answer li {
  margin-bottom: 0.75rem;
  padding-left: 1.07rem;
  text-indent: -1rem;
}

.hp-faq-answer p {
  margin-bottom: 1rem;
}

@media (min-width: 37.5rem) and (max-width: 63.9375rem) {
  .hp-faqs-wrapper {
    padding: 0 6rem;
  }
}

@media (min-width: 64rem) {
  .hp-faqs-heading {
    margin: 4rem 0 3rem;
    font-size: 2.5rem;
    text-align: center;
  }

  .hp-faqs-wrapper {
    margin: 0 auto 5rem;
  }

  .hp-faq-question {
    font-size: 1.25rem;
    padding: 1.25rem 2rem;
  }

  .hp-faq-answer {
    padding: 0 2rem 1.5rem;
  }

  .hp-faq-answer ul {
    padding-left: 1.5rem;
  }
}
