/* FAQ på ydelsessiderne: samme streger og farver som kompetencelisten. */

.faq-list {
    max-width: 56rem;
    border-top: 1px solid rgba(11, 50, 40, .12);
}

.faq-item {
    border-bottom: 1px solid rgba(11, 50, 40, .12);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.1rem 0;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.45;
    color: #0b3228;
    cursor: pointer;
    list-style: none;
}

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

.faq-question::after {
    content: "+";
    flex-shrink: 0;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
    color: #58c7a5;
    transition: transform .2s ease;
}

.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}

.faq-question:hover {
    color: #1f6b5a;
}

.faq-question:focus-visible {
    outline: 2px solid #58c7a5;
    outline-offset: 4px;
}

.faq-answer {
    max-width: 48rem;
    padding: 0 0 1.25rem;
    font-size: 1rem;
    line-height: 1.65;
    color: #0b3228;
    text-align: left;
}
