.block-section {
    margin-top: 128px;
    margin-bottom: 128px;

    --custom-theme-arrow-height: 40px;
}
.block-section.has-background + .block-section.has-background {
    margin-top: -128px;
}
.block-section:not(.alignfull) {
    border-radius: 4px;
    padding-left: 64px;
    padding-right: 64px;
}
.block-section.has-background::before,
.block-section.has-background::after {
    content: '';
    display: block;
    height: 1px;
}

.block-section.has-background::before {
    margin-bottom: 128px;
}
.block-section.has-background::after {
    margin-top: 128px;
}
.block-section:not(.alignfull).has-background::before {
    margin-bottom: 96px;
}
.block-section:not(.alignfull).block-section.has-background::after {
    margin-top: 96px;
}
.is-style-limited-width .block-section__content {
    max-width: 640px!important;
}
.is-style-arrow-down {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--custom-theme-arrow-height)), 50% 100%, 0 calc(100% - var(--custom-theme-arrow-height)));
}

.is-style-arrow-up {
    clip-path: polygon(0 var(--custom-theme-arrow-height), 50% 0, 100% var(--custom-theme-arrow-height), 100% 100%, 0 100%);
}

.block-section__content .block-columns {
    width: auto;
    max-width: none;
    padding: 0!important;
    margin: 0 0 96px;
}

@media screen and (max-width: 991px) {
    .block-section {
        margin-top: 64px;
        margin-bottom: 64px;
        --custom-theme-arrow-height: 24px;
    }
    .block-section.has-background + .block-section.has-background {
        margin-top: -64px;
    }

    .block-section.has-background::before {
        margin-bottom: 64px;
    }
    .block-section.has-background::after {
        margin-top: 64px;
    }
    .block-section:not(.alignfull).has-background::before {
        margin-bottom: 64px;
    }
    .block-section:not(.alignfull).block-section.has-background::after {
        margin-top: 64px;
    }
    .block-section__content .block-columns {
        margin-bottom: 64px;
    }

    .block-section:not(.alignfull) {
        margin-left: calc(-1 * var(--wp--style--root--padding-left)) !important;
        margin-right: calc(-1 * var(--wp--style--root--padding-right)) !important;
        border-radius: 0;
        padding-left: var(--wp--style--root--padding-left);
        padding-right: var(--wp--style--root--padding-right);
    }


    .is-style-arrow-down.has-background::after {
        margin-top: 96px;
    }
    .is-style-arrow-up.has-background::before {
        margin-bottom: 96px;
    }

    .is-style-limited-width .block-section__content {
        margin-left: 0;
    }

}

@media screen and (max-width: 991px) {
    .block-section {
        margin-top: 40px;
        margin-bottom: 40px;
        --custom-theme-arrow-height: 12px;
    }

    .block-section.has-background + .block-section.has-background {
        margin-top: -40px;
    }

    .block-section.has-background::before {
        margin-bottom: 40px;
    }

    .block-section.has-background::after {
        margin-top: 40px;
    }

    .block-section:not(.alignfull).has-background::before {
        margin-bottom: 40px;
    }

    .block-section:not(.alignfull).block-section.has-background::after {
        margin-top: 40px;
    }

    .block-section__content .block-columns {
        margin-bottom: 40px;
    }

    .is-style-arrow-down.has-background::after {
        margin-top: 56px;
    }
    .is-style-arrow-up.has-background::before {
        margin-bottom: 56px;
    }
}
