.maidly-faq {
  display: grid;
  gap: 12px;
}

.maidly-faq__item {
  overflow: clip;
  border: 1px solid var(--maidly-color-line, #dce9e7);
  border-radius: 20px;
  background: var(--maidly-color-white, #fff);
  box-shadow: var(--maidly-shadow-sm, 0 8px 25px rgb(6 58 68 / 8%));
}

.maidly-faq__heading {
  margin: 0;
}

.maidly-faq__button {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border: 0;
  color: var(--maidly-color-ink, #15323a);
  background: transparent;
  font: inherit;
  font-weight: 700;
  text-align: start;
  white-space: normal;
  cursor: pointer;
}

.maidly-faq__button > :first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.maidly-faq__icon {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--maidly-color-teal-950, #052f37);
  background: var(--maidly-color-gold, #f4c247);
  transition: transform 220ms var(--maidly-motion-ease, ease);
}

.maidly-faq__icon :where(svg, i) {
  width: 0.85em;
  height: 0.85em;
}

.maidly-faq__button[aria-expanded="true"] .maidly-faq__icon {
  transform: rotate(45deg);
}

.maidly-faq__answer {
  padding: 0 22px 22px;
  color: var(--maidly-color-muted, #63757a);
}

.maidly-faq__answer[hidden] {
  display: none;
}

.maidly-faq__answer > :first-child {
  margin-block-start: 0;
}

.maidly-faq__answer > :last-child {
  margin-block-end: 0;
}

.maidly-highlights {
  display: grid;
  grid-template-columns: repeat(var(--maidly-highlights-columns, 1), minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.maidly-highlights__item {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 12px;
}

.maidly-highlights__icon {
  display: inline-flex;
  flex: 0 0 auto;
  margin-block-start: 0.18em;
  color: var(--maidly-color-teal-800, #0b4f5c);
  font-size: 20px;
}

.maidly-highlights__icon :where(svg, i) {
  width: 1em;
  height: 1em;
}

.maidly-highlights__text {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  .maidly-faq__button {
    padding: 17px 18px;
  }

  .maidly-faq__answer {
    padding: 0 18px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .maidly-faq__icon {
    transition: none;
  }
}
