/* Current site targets: Home page 4, Gallery page 652, shop template 3056.
 * Only the existing empty image-banner sections are resized.
 * Images stay controlled by Elementor; navigation and page content are outside these selectors.
 */
body.home #main > .elementor-4 > .elementor-element-c83dbd2,
body.page-id-652 #main > .elementor-652 > .elementor-element-4e3a88b4,
body.woocommerce-shop #main .elementor-3056 > .elementor-element-fbb5029 {
    box-sizing: border-box;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    width: min(1100px, calc(100% - 40px)) !important;
    max-width: 1100px !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 3 / 1;
    margin: 20px auto 28px !important;
    padding: 0 !important;
    border: 1px solid #ffffff29 !important;
    border-radius: 16px !important;
    overflow: hidden;
    background-color: #202226;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

/* Remove the old viewport-based minimum height from the inner Elementor row. */
body.home #main > .elementor-4 > .elementor-element-c83dbd2 > .elementor-container,
body.page-id-652 #main > .elementor-652 > .elementor-element-4e3a88b4 > .elementor-container,
body.woocommerce-shop #main .elementor-3056 > .elementor-element-fbb5029 > .elementor-container {
    box-sizing: border-box;
    width: 100%;
    max-width: none !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 760px) {
    body.home #main > .elementor-4 > .elementor-element-c83dbd2,
    body.page-id-652 #main > .elementor-652 > .elementor-element-4e3a88b4,
    body.woocommerce-shop #main .elementor-3056 > .elementor-element-fbb5029 {
        width: calc(100% - 28px) !important;
        margin: 12px auto 20px !important;
    }
}
