.image_rotator_wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 250px;
    overflow: hidden;
}

.image_rotator_slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.image_rotator_slide.active {
    opacity: 1;
    z-index: 1;
}

.image_rotator_slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
