Bricks template CSS reproduction
Prepared on 2026-11-11

Start here:
https://bricksbug20261111.dev.neo-wp.com/repro-guide/

The test uses one saved section template containing four native Bricks elements:
Block (Display: Flex; Direction: Row; Column gap: 8px; Width: fit-content)
    Icon (Font Awesome solid star; Size: 18px; Color: #dba617)
    Icon (same settings)
    Button (Display: None)

The test page contains this structure, plus headings explaining the two cases:
Section
    Block (Query loop: Posts; Post type: Post; Posts per page: 1)
        Template (saved star template)
    Block (no query loop)
        Template (same saved star template)

Both Template elements use their normal wrapper. No wrapper setting, dynamic data, custom script, custom CSS or third-party plugin is needed to reproduce the issue.

Import into another Bricks site:

1. Enable Bricks for Pages and use CSS loading: Inline styles. Deactivate plugins for the test and make sure at least one published Post exists.
2. Import 01-star-template.json through Bricks > Templates > Import templates. It is the shared section template.
3. Import 02-loop-then-standalone.json as a separate layout template.
4. Create a Page, edit it with Bricks and insert the imported layout using the template library. Insert the layout as editable elements, so the page contains the Loop Block and the outside Block directly.
5. In BOTH nested Template elements, select the star template you imported in step 2. The exports contain the source site's template ID (4); another site may assign a different ID. Do not leave the references pointing at an unrelated template.
6. Save the page and open its public frontend.

Expected: both instances have two gold 18px stars in a row and hide their button.
Observed: the loop instance is correct. The standalone instance has dark 60px stars in a column and shows the button.

Optional controls:
03-standalone-only.json: same template used without a loop. This works.
04-standalone-then-loop.json: standalone instance first, loop second. The standalone instance still fails.
Select the imported star template in the nested Template elements of these layouts too.

Existing test site:
Template 4: Repro: two gold stars
Page 5: /loop-then-standalone/
Page 6: /standalone-only/
Page 7: /standalone-then-loop/

The JSON files are native exports created with Bricks' own Templates::export_template() method. They contain template data, not a modified Bricks theme or a plugin. No code snippets need to be installed.

Tested configuration: Bricks 2.4.5, WordPress 7.1.4, PHP 8.5.12 (verified in Bricks System information), inline CSS, zero active plugins. External CSS file mode and other Bricks versions have not been tested.
