/* Accordion block styles (minimal, extend as needed) */
.acf-accordion-block {
    margin-bottom: 1rem;
}

.acf-accordion-block:not(.acf-accordion-gray) {
    .acf-accordion-toggle {
        border-bottom: 1px solid #ccc;
        margin-bottom: 0;

        &:first-child {
            border-top: 1px solid #ccc;
        }
    }

    .acf-accordion-toggle-trigger {
        cursor: pointer;
        margin: 0;
        padding: 1rem 0;
        background: #fff;
        font-size: 1.1em;
        font-weight: 500;
        display: flex;
        justify-content: start;
        align-items: center;
        flex-direction: row-reverse;
    }

    .acf-accordion-toggle-title {
        margin-left: 1rem;
    }

    .acf-accordion-toggle-icon {
        position: relative;
        height: 1.5rem;
        flex-shrink: 0;
        width: 1.5rem;
    }

    .acf-accordion-toggle-icon::after {
        content: "";
        width: 1.5rem;
        height: 1.5rem;
        background: url(../../../assets/images/svg/plus-black.svg) no-repeat center center;
        background-size: 1.5rem;
        position: absolute;
        top: 0;
        left: 0;
    }

    .acf-accordion-toggle.state-open .acf-accordion-toggle-icon::after {
        background: url(../../../assets/images/svg/minus-black.svg) no-repeat center center;
    }

    .acf-accordion-toggle-container {
        padding: 0;
        margin-bottom: 1rem;
    }
}

.acf-accordion-block.acf-accordion-gray {
    .acf-accordion-toggle {
        border-bottom: 1px solid #e0e0e0;
        margin-bottom: 0;
    }

    .acf-accordion-toggle-trigger {
        cursor: pointer;
        margin: 0;
        padding: 1em;
        background: #f7f7f7;
        font-size: 1.1em;
        font-weight: 500;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .acf-accordion-toggle-icon {
        position: relative;
        height: 2rem;
        flex-shrink: 0;
        width: 2rem;
    }

    .acf-accordion-toggle-icon::after {
        content: '+';
        padding: .3rem;
        border-radius: 100%;
        border: 1px solid #ccc;
        position: absolute;
        line-height: 1;
        top: 0;
        right: 0;
        height: 2rem;
        width: 2rem;
        display: grid;
        place-content: center;
    }

    .acf-accordion-toggle.state-open .acf-accordion-toggle-icon::after {
        content: '–';
    }

    .acf-accordion-toggle-container {
        padding: 1rem;
        margin-bottom: 1rem;
    }
}