Please test shrinking the container item or section with the settings from the Collapse the container when hiding child report items
KB article. Does not set the any dimension to 0 unit, it is better to use a conditional formatting rule
to hide the item/section.
Once hidden, the rest items.sections will be positioned based on the Design Considerations for Report Item Layout
I hope this helps you.