.block {
    margin-bottom: $spacing-xxl;

    @include media-breakpoint-down(md) {
        margin-bottom: $spacing-lg;
    }

    &.is_child {
        margin-bottom: $spacing-md;

        .container {
            padding-left: 0;
            padding-right: 0;
        }

        &:last-child {
            margin-bottom: 0;
        }
    }

    &.block--scroll-link {
        scroll-margin: calc($nav-offset + $spacing-xxl);
    }

    &.wp-core {
        margin-bottom: $spacing-md;
    }
}

.block__title {
    font-size: $font-size-xl;
}
