/*
 * Steiner_Faq widget - FAQ style as specified (SHOP-67), plus Bereich title and "Alle anzeigen" button.
 * Own class names (steiner-faq*) and every rule scoped under .steiner-faq: styles in CMS content or category
 * descriptions (e.g. an old hand-made FAQ with ".faq details { … }") must not change this widget.
 */
.steiner-faq {
    margin: 0 0 40px;
}

.steiner-faq .steiner-faq__section + .steiner-faq__section {
    margin-top: 28px;
}

/* steiner-global.css sets "h3 { overflow: auto; }" - with the font Outfit (SHOP-12) the heading overflows by
   1px and shows a scrollbar */
.steiner-faq .steiner-faq__title,
.steiner-faq .steiner-faq__section-title {
    overflow: visible;
}

.steiner-faq .steiner-faq__section-title {
    margin: 0 0 14px;
}

.steiner-faq .steiner-faq__item {
    margin: 0 0 12px;
    padding: 0;
    background: white;
    border: 1px solid #e5e5e5;
    border-left: 4px solid transparent;
    border-radius: 0;
    transition: border-color 0.2s ease;
}

.steiner-faq .steiner-faq__item[hidden] {
    display: none;
}

.steiner-faq .steiner-faq__item[open] {
    border-left-color: #e30613;
}

.steiner-faq .steiner-faq__question {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
    color: #333;
}

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

.steiner-faq .steiner-faq__question::after {
    content: "+";
    flex: 0 0 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 999px;
    background: #e30613;
    color: white;
    font-size: 20px;
    font-weight: 400;
    transition: transform 0.2s ease;
}

.steiner-faq .steiner-faq__item[open] .steiner-faq__question::after {
    transform: rotate(45deg);
}

.steiner-faq .steiner-faq__question:hover {
    color: #e30613;
}

.steiner-faq .steiner-faq__answer {
    padding: 0 22px 18px;
}

.steiner-faq .steiner-faq__answer p {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
}

.steiner-faq .steiner-faq__answer p + p,
.steiner-faq .steiner-faq__answer ul,
.steiner-faq .steiner-faq__answer ol {
    margin-top: 10px;
}

.steiner-faq .steiner-faq__show-all {
    display: inline-block;
    margin: 4px 0 0;
    padding: 10px 22px;
    border: 1px solid #e30613;
    border-radius: 0;
    background: white;
    color: #e30613;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    cursor: pointer;
    box-shadow: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.steiner-faq .steiner-faq__show-all:hover,
.steiner-faq .steiner-faq__show-all:focus {
    background: #e30613;
    border-color: #e30613;
    color: white;
}

@media (max-width: 900px) {
    .steiner-faq .steiner-faq__question {
        padding: 14px 16px;
        font-size: 15px;
    }

    .steiner-faq .steiner-faq__answer {
        padding: 0 16px 16px;
    }
}
