/* =============================================================
   Jundo FAQ-Akkordeon
   Natives <details>/<summary> – funktioniert ohne JS, dieses CSS
   ist reine Optik/Interaktions-Politur (Plus-zu-Kreuz-Rotation).
   ============================================================= */

.jundo-faq {
    margin: var(--wp--preset--spacing--xx-large) 0 0;
}

.jundo-faq-heading {
    margin-bottom: var(--wp--preset--spacing--medium);
}

.jundo-faq-item {
    border: 1px solid var(--wp--preset--color--border);
    border-radius: 8px;
    margin-bottom: var(--wp--preset--spacing--small);
    overflow: hidden;
}

.jundo-faq-question {
    position: relative;
    padding: 16px 44px 16px 20px;
    font-family: var(--wp--preset--font-family--oswald);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.jundo-faq-question::-webkit-details-marker {
    display: none;
}

.jundo-faq-question::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    width: 14px;
    height: 14px;
    transform: translateY(-50%);
}

.jundo-faq-question::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    width: 14px;
    height: 2px;
    background: var(--wp--preset--color--primary);
    transform: translateY(-50%);
}

.jundo-faq-question::after {
    background: var(--wp--preset--color--primary);
    width: 2px;
    height: 14px;
    transform: translateY(-50%);
    transition: transform .25s ease;
}

.jundo-faq-item[open] .jundo-faq-question::after {
    transform: translateY(-50%) rotate(90deg);
}

.jundo-faq-answer {
    padding: 0 20px 18px;
    color: var(--wp--preset--color--foreground-light);
    line-height: 1.7;
}

.jundo-faq-answer p {
    margin: 0;
}
