Please use this code below and put it on the Additional Style :
1. You can have same gallery like that by using Gallery – Masonry Layout with Photoswipe Page that we include on the Import Dummy Data.
2. Did you have tried to achieve that by using Customizer Style?
3. What do you mean about foldable submenu? It’s dropdown? Anyway, do you use normally menu or mega main menu?