Nested blocks are the solution, and since you created your question the block editor has improved enough that your design can be created with group and cover blocks, with spacing rules via global styles. No code is necessary.
Tom J Nowell ♦
- 60.6k
- 7
- 77
- 147