.hm-faq,
.hm-faq * {
    box-sizing: border-box;
}

.hm-faq {
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    margin: 0;
    padding: 0;
}

.hm-faq-item {
    border-top: 1px solid currentColor;
    margin: 0;
    padding: 0;
}

.hm-faq-item:last-child {
    border-bottom: 1px solid currentColor;
}

.hm-faq-question {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: 0.75em;
    list-style: none;
    margin: 0;
    padding: 1em 0;
}

.hm-faq-question::-webkit-details-marker {
    display: none;
}

.hm-faq-question::before {
    border-right: 0.16em solid currentColor;
    border-top: 0.16em solid currentColor;
    content: "";
    display: inline-block;
    flex: 0 0 auto;
    height: 0.52em;
    transform: rotate(45deg);
    transition: transform 180ms ease;
    width: 0.52em;
}

.hm-faq-item[open] > .hm-faq-question::before {
    transform: rotate(135deg);
}

.hm-faq-question-text {
    flex: 1 1 auto;
    font: inherit;
    font-weight: 700;
}

.hm-faq-answer {
    margin: 0;
    padding: 0 0 1.25em;
}

.hm-faq-answer > :first-child {
    margin-top: 0;
}

.hm-faq-answer > :last-child {
    margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
    .hm-faq-question::before {
        transition: none;
    }
}
