.acana-faq {
    --acana-faq-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.acana-faq__item {
    width: 100%;
}

.acana-faq__question {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
    min-height: 52px;
    padding: 12px 20px 12px 14px;
    margin: 0;
    list-style: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--wp--preset--color--text);
    background: var(--wp--preset--color--subtle-2);
    border-radius: var(--acana-faq-radius);
}

.acana-faq__question::-webkit-details-marker {
    display: none;
}

.acana-faq__question::marker {
    content: "";
}

.acana-faq__icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--wp--preset--color--white-bg);
    position: relative;
}

.acana-faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    margin-top: -1px;
    border-right: 2px solid var(--wp--preset--color--text);
    border-bottom: 2px solid var(--wp--preset--color--text);
    transform: translate(-65%, -50%) rotate(-45deg);
}

.acana-faq__item[open] > .acana-faq__question {
    border-radius: var(--acana-faq-radius) var(--acana-faq-radius) 0 0;
}

.acana-faq__item[open] .acana-faq__icon::after {
    transform: translate(-50%, -35%) rotate(45deg);
}

.acana-faq__answer {
    width: 100%;
    box-sizing: border-box;
    padding: 18px 22px 22px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--wp--preset--color--text);
    background: var(--wp--preset--color--white-bg);
    border: 1px solid var(--wp--preset--color--subtle-2);
    border-top: 0;
    border-radius: 0 0 var(--acana-faq-radius) var(--acana-faq-radius);
}

.acana-faq__answer > :first-child {
    margin-top: 0;
}

.acana-faq__answer > :last-child {
    margin-bottom: 0;
}

.acana-faq__question:focus-visible {
    outline: 2px solid var(--wp--preset--color--brand-1);
    outline-offset: 2px;
}
