diff --git a/modules/blox/layouts/_partials/functions/parse_block_v3.html b/modules/blox/layouts/_partials/functions/parse_block_v3.html index 9d53f186..200799f1 100644 --- a/modules/blox/layouts/_partials/functions/parse_block_v3.html +++ b/modules/blox/layouts/_partials/functions/parse_block_v3.html @@ -318,7 +318,10 @@ {{/* Route to appropriate handler */}} {{ if $is_preact }} {{/* Render Preact block with styling wrapper */}} -
+ {{/* `isolate` forces a stacking context on the section so the home-section-bg + (z-index:-1) and gradient mesh (z-index:-10) layers stay contained — without + it, negative-z descendants escape the section and paint behind the page root. */}} +
{{/* Gradient Mesh Background */}} {{ if $has_gradient_mesh }}{{ $gradient_mesh_html }}{{ end }}
@@ -348,7 +351,10 @@ {{ $widget_args := dict "wcPage" $page "wcBlock" $block "wcIdentifier" $hash_id }} {{/* Render traditional block with wrapper */}} -
+ {{/* `isolate` forces a stacking context on the section so the home-section-bg + (z-index:-1) and gradient mesh (z-index:-10) layers stay contained — without + it, negative-z descendants escape the section and paint behind the page root. */}} +
{{/* Gradient Mesh Background */}} {{ if $has_gradient_mesh }}{{ $gradient_mesh_html }}{{ end }}