/*

    Add styles specific to this block IN THE EDITOR

*/
.list-repeater {
    display: flex;
    margin-top: 2em;
    flex-direction: row;
    gap: 1em;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;

    .list-repeater__item {
        flex: 1 1 100%;
        position: relative;
        display: flex;
        flex-direction: column;
        margin-bottom: 2em;

        @media(min-width: 30rem) {
            flex: 1 1 48%;
            max-width: 48%;
        }

        @media(min-width: 40rem) {
            flex: 1 1 30%;
            max-width: 30%;
        }

        @media(min-width: 60rem) {
            flex: 1 1 18%;
            max-width: 18%;
        }

        .list-repeater__item-inner {
            display: flex;
            flex-direction: column;
            padding: 0.5rem;
            height: 100%;
        }

        span {
            font-size: 15px;
            font-weight: 300;
            display: inline-block;
            margin-bottom: 1em;

        }

        .expand-list-item {
            color: var(--color-green);
            text-decoration: none;
            text-align: left;
            padding-left: 0;
            margin-top: auto;
            line-height: 1em;
        }
    }

    .expand-content {
        height: 0;
        overflow: hidden;
        position: absolute;
        bottom: 40px;
        left: 0;
        right: 0;
        transition: all 0.3s ease-in-out;
        background: var(--color-white);
        top: 0;
        box-shadow: 0 0 10px rgba(34,42,38, 0.1);

        &.active {
            height: auto;
            overflow: scroll;

        }
    }
}

.btn-container {
    margin: 1em 0;
    text-align: center;

    button {
        border: 2px solid black;
        color: black;
    }
}

.overflow-repeater {
    margin: 0;
    height: 0;
    overflow: hidden;

    &.active {
        height: auto;
        overflow: visible;
    }
}