.curved-image-widget{
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #ffffff;
    border-radius: 0 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.curved-image-widget img{
    width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 0 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Desktop Curve */
.curved-image-widget::before{
    content: "";
    position: absolute;
    top: -105px;
    left: -20%;
    width: 140%;
    height: 160px;
    background: #ffffff;
    border-radius: 0 0 50% 50%;
    z-index: 5;
    pointer-events: none;
}

.curved-image-widget::after{
    content: "";
    position: absolute;
    bottom: -105px;
    left: -20%;
    width: 140%;
    height: 160px;
    background: #ffffff;
    border-radius: 50% 50% 0 0;
    z-index: 5;
    pointer-events: none;
}

.curved-image-widget,
.curved-image-widget *,
.curved-image-widget::before,
.curved-image-widget::after{
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Tablet */
@media (max-width: 1024px){
    .curved-image-widget::before{
        top: -70px;
        left: -25%;
        width: 150%;
        height: 115px;
    }

    .curved-image-widget::after{
        bottom: -70px;
        left: -25%;
        width: 150%;
        height: 115px;
    }
}

/* Mobile */
@media (max-width: 767px){
    .curved-image-widget::before{
        top: -42px;
        left: -30%;
        width: 160%;
        height: 75px;
    }

    .curved-image-widget::after{
        bottom: -42px;
        left: -30%;
        width: 160%;
        height: 75px;
    }
}