Here is a visual example illustrating the difference: https://ibb.co/k6dJqyp
I'm encountering an issue with the overlay on the image, specifically why the overlay appears longer than the image on iPhone devices.
After testing on various devices, I have been unable to replicate the issue experienced on the iPhone. I also attempted to simulate it using browser dev tools for phone resizing, but without success.
UPDATE: The problem has been resolved, thanks to safwan's suggestion below. By utilizing the CSS Safari hack targeting the specific element, the necessary changes were successfully implemented on Safari :)