/* Variante Ohne SEO Optimierung / Zusammenfassung: <details> */
/* Variante Rank Math */

/* Hide the default disclosure triangle in WebKit/Blink browsers */
details > summary::-webkit-details-marker {
    display: none;
}

/* Hide the default marker in Firefox and other browsers that support ::marker */
details > summary::marker {
    display: none;
}

/* (Optional) If you need to remove any left padding */
details > summary {
    list-style: none;
    padding-left: 0;
}

.wp-block-details,
#rank-math-faq .rank-math-list-item {
    padding-top: 25px;
    border-top: 1px solid var(--darkblue);
    border-bottom: 1px solid var(--darkblue);
    margin-left: auto;
    margin-right: auto;
    max-width: 1280px;
    width: calc(100% - 40px);
}

.wp-block-details + .wp-block-details,
#rank-math-faq .rank-math-list-item + .rank-math-list-item {
    border-top: 0;
}
.wp-block-details > summary,
#rank-math-faq .rank-math-question {
    font-size: initial;
    margin: 0 0 25px 0;
    cursor: pointer;
    font-weight: 500;
    font-size: 22px;
    line-height: 120%;
    color: var(--darkblue);
    background: url('../images/arrow-darkblue-down.svg') no-repeat right center;
    background-size: 25px;
}

.wp-block-details > summary:hover,
#rank-math-faq .rank-math-question:hover {
    color: var(--blue);
}

.wp-block-details[open] > summary,
#rank-math-faq .open .rank-math-question {
    background: url('../images/arrow-darkblue-up.svg') no-repeat right center;
    background-size: 25px;
}

.wp-block-details > summary + p,
#rank-math-faq .rank-math-answer {
    display: block !important;
    padding: 0;
    font-size: initial;
    max-height: 0px;
    transition: 0.3s;
    opacity: 0;
    overflow: hidden;
    margin-bottom: 0;
}

.wp-block-details[open] > summary + p,
#rank-math-faq .open .rank-math-answer {
    max-height: 500px;
    opacity: 1;
    margin-bottom: 25px;
}

#rank-math-faq .rank-math-answer p {
    margin: 0;
}

.rank-math-block {
    margin-bottom: 100px;
}

@media (max-width: 768px) {
    .rank-math-block {
        margin-bottom: 30px;
    }
}