/* Admin
/* ------------------------------------------------------------- */

.faq.is-admin {
    position: relative;
    min-height: 60px;
    border: solid 1px #eee;
    padding: 10px;
}

.faq.is-admin:before {
    content: "Akkordeon";
    position: absolute;
    bottom: 100%;
    right: 10px;
    background-color: #eee;
    padding: 3px 7px;
    font-size: 10px;
}

.faq-item.is-admin {
    position: relative;
    min-height: 60px;
    border: solid 1px #eee;
    padding: 10px;
}

.faq-item.is-admin:before {
    content: "Akkordeon-Panel";
    position: absolute;
    bottom: 100%;
    right: 10px;
    background-color: #eee;
    padding: 3px 7px;
    font-size: 10px;
}

.faq-item.is-admin .faq-panel {
    max-height: initial;
}


/* Frontend
/* ------------------------------------------------------------- */

.faq {
    margin: 40px 0;
}

.faq .faq-heading,
.faq .faq-heading:active,
.faq .faq-heading:focus {
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    outline: none;
    border: none;
    background-color: var(--wp--preset--color--primary, #BD9E77);
    color: #fff;
    width: 100%;
    font-size: 22px;
    text-align: left;
    text-transform: uppercase;
    padding: 0.6em 1em;
    margin: 0 0 5px;
    transition: all 0.3s ease-out;
    cursor: pointer;
}

html.no-touch .faq-heading:hover {
    var(--wp--preset--color--secondary, #222222);
}

.faq .faq-heading h3 {
    color: inherit;
    font-size: inherit;
    padding: 0;
    margin: 0;
}

.faq .faq-heading svg {
    color: inherit;
    height: 1em;
    width: auto;
    transition: transform 0.3s ease-out;
}

.faq .faq-heading.is-active svg {
    transform: rotate(180deg);
}

.faq .faq-heading svg > * {
    fill: currentColor;
}

.faq .faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq .faq-content {
    text-align: left;
    padding: 20px;
}