Complex responsive layout

How should I structure this layout?
In the desktop version, there are 3 sections within the right sidebar, separated by equal gaps, but in the mobile version, there is just one grid.
image.png
Was this page helpful?