.m-toggle {
    .m-toggle__titre {
        margin-top: 0;
        text-align: center;
        text-align: center;

        .m-toggle__titre--accent {
            color: var(--wp--preset--color--primary);
        }
    }

    .m-toggle__texte {
        text-align: center;
    }

    &.m-toggle-image {
        .col-image {
            height: auto;

            .m-toggle__image {
                height: 100%;

                img {
                    height: 100%;
                    object-fit: cover;
                }
            }

        }
    }
}

.toggle {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: var(--wp--preset--spacing--large);


    .toggle__item {
        background-color: var(--wp--preset--color--base);
        border: 1px solid transparent;
        border-radius: var(--wp--custom--radius--base);
        padding: 24px 24px 0 24px;
    }

    .toggle__item__title {
        font-size: 1.5em;
        font-weight: var(--wp--custom--font-weight--bold);
        line-height: 1.3;
        color: var(--wp--preset--color--main);
        padding: 0 56px 0 0;
        position: relative;
        margin: 0;
        transition: all 0.2s ease-in-out 0.1s;
        cursor: pointer;

        h3 {
            margin: 0;
            font-size: inherit;
            font-weight: inherit;
            color: inherit;
        }

        @media(width < 767px) {
            font-size: 1.25em;
            padding: 0 44px 0 0;
        }

        span {
            position: absolute;
            right: 0;
            top: 50%;
            transform: translate3d(0, -50%, 0);
            width: 32px;
            height: 32px;
            display: block;
            background: url("../../../assets/icons/faq-add-line.svg") no-repeat center / contain;
        }

        &.active {

            span {
                background-image: url("../../../assets/icons/faq-close-line.svg");
            }
        }
    }

    .toggle__item__content {
        color: #000;
        font-size: 1em;
        font-weight: var(--wp--custom--font-weight--regular);
        line-height: 26px;
        transition: var(--wp--custom--transition--fast);
        height: 0;
        overflow: hidden;
        margin-top: 2em;
        padding-right: 1%;
    }

    .js-deploy-wrapper {
        padding-bottom: 24px;
    }
}