Issue with flexbox on iPhones/iPads

On the site, there is a layout based on Flexbox which gets broken in iPhone/iPad Safari browser and I have no idea how to fix it.