The area that contains the large image should be fixed, and not change with the size of the image.
The large image should not auto-zoom, but should be displayed to fit the fix-sized area.
The area that contains a thumbnail image should also be fixed in size, and the images should be displayed to fit the fix-sized area (and should be centered).
Please note that we, for our part, use functions exclusively from WordPress: How to customize the image sizes - HivePress Help Center. If you need to change the layout itself, advanced customization will be required. If customizations are required for your site, please try customizing it using the collection of code snippets Search · user:hivepress · GitHub and other developer resources, or consider hiring someone for custom work https://fvrr.co/32e7LvY