
@PixelAmbacht
You could use CSS grid and grid-auto-flow: dense; but it could run into trouble when the wide cell would be at the end of a line (dense auto-flow will break the wide cell to a new line and change the cell order to put a narrower cell in its place)