.image_frame {
    display: flex;
    justify-content: left;
    position: relative;
    height: 556px; /* Set the height of the container to 516px */
    width: 360px; /* Width of the container */
    /* background-color: lightgreen; */
}

.image_frame:before,
.image_frame:after {
    position: absolute;
    bottom: 0;
    left: 0;
    content: '';
    width: 50px;
    height: 50px;
    background: rgb(255, 93, 33);
    z-index: 1;
}

.image_frame:after {
    bottom: 0;
    left: 50px;
    background: rgb(253, 253, 253);
}

.offer_image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 556px; /* Set the height of the container to 516px */
    width: 360px; /* Width of the container */
    /*border: 1px solid #ccc; /* For visual reference */
    overflow: hidden; /* Ensure any overflow is hidden */
    position: relative;
    margin-left: 50px;
    background: rgb(253, 253, 253);
}

.offer_image .img-wrapper {
    position: relative;
    height: 100%;
}

.offer_image img {
    /*max-height: 160%;  To allow tall but thin images fill out the space */
    max-height: 100%;
    max-width: none; /* Allow width to exceed container */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-height: 556px;
}

@media (max-width: 1024px) {
    .image_frame {
        height: 400px;
        width: 280px;
        margin-bottom: 50px;
    }

    /*.image_frame:before {     // if image frame inside is centered
        left: 50%;
        transform: translateX(-165px);
    }

    .image_frame:after {
        left: 50%;
        transform: translateX(-115px);
    }*/

    .offer_image {
        height: 400px;
        width: 280px;
    }
}

@media (max-width: 450px) {
    .image_frame {
        height: 330px;
        width: 230px;
        margin-bottom: 30px;
    }

    /*.image_frame:before {
        left: 50%;
        transform: translateX(-140px);
    }

    .image_frame:after {
        left: 50%;
        transform: translateX(-90px);
    }*/
    .offer_image {
        height: 330px;
        width: 230px;
    }
}