/* Keep the media layer inside this container and clip it to its rounded corners. */
.acbb-background-blur {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

/* Clone only the container's CSS background. No foreground pixels are sampled. */
.acbb-background-blur > .acbb-image-layer {
    /* Spectra applies layout styles to every child; exclude this decoration. */
    display: block !important;
    position: absolute !important;
    inset: calc(-3 * var(--acbb-radius, 1.5px)) !important;
    width: auto !important;
    height: auto !important;
    /* Spectra constrained layouts otherwise cap every child to the content width. */
    max-width: none !important;
    max-height: none !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: inherit;
    border-radius: inherit;
    z-index: -2 !important;
    pointer-events: none;
    filter: blur(var(--acbb-radius, 1.5px));
}

/* Native Cover exposes its image separately from its text and dim/gradient layer. */
.acbb-background-blur.acbb-type-core-cover > .wp-block-cover__image-background,
.acbb-background-blur.acbb-type-core-cover > picture > .wp-block-cover__image-background {
    position: absolute;
    inset: calc(-3 * var(--acbb-radius, 1.5px));
    width: calc(100% + 6 * var(--acbb-radius, 1.5px));
    height: calc(100% + 6 * var(--acbb-radius, 1.5px));
    max-width: none;
    filter: blur(var(--acbb-radius, 1.5px));
}
