Gallery images overlap in responsive mode

Hello, I created an image gallery with caption text on my Accommodation page. If in responsive mode the text and images overlap. Can somebody help and fix that, please?

Thank you
Reinhard