.faq {
    margin-bottom: 1rem;
    border-top: 1px solid #dee2e6;
}

/*
 * Consecutive FAQ blocks, e.g. one per topic, need a clear gap between them.
 * :where() keeps the specificity at zero, so the editor's frame spacing still wins.
 */
:where(.frame-type-djk_faq) + :where(.frame-type-djk_faq) {
    margin-top: 2.5rem;
}

.faq__item {
    border-bottom: 1px solid #dee2e6;
}

.faq__question {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__question::before {
    content: "+";
    flex: 0 0 1rem;
    color: var(--primary, #00802b);
    font-size: 1.25em;
    line-height: 1;
    text-align: center;
}

.faq__item[open] > .faq__question::before {
    content: "\2212";
}

.faq__question:hover,
.faq__question:focus-visible {
    color: var(--primary, #00802b);
}

.faq__question:focus-visible {
    outline: 2px solid var(--primary, #00802b);
    outline-offset: 2px;
}

.faq__answer {
    padding: 0 0 0.75rem 1.75rem;
}

.faq__answer > :last-child {
    margin-bottom: 0;
}
