.rh-footer-wrap {
    display: block;
    position: relative;
}

.rh-footer-wrap>h3 {
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    background-color: var(--color-info);
    padding: 7px 12px;
    z-index: 999;
    margin: 0;
}

.rh-footer {
    position: relative;
    width: 100%;
    height: 280px;
    /* Adjust height as needed */
    overflow: hidden;
}

.rh-footer-fader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Removed background-image properties from fader itself */
}

.fader-image {
    position: absolute;
    /* Overlap them */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    /* Initially hidden */
    transition: opacity 1s ease-in-out;
    /* Fading transition for opacity */
}

.fader-image.active {
    opacity: 1;
    /* Make visible */
}

/* Hide the original image elements */
.footer-bg-image {
    display: none;
}