.split-showcase-5cf6944d {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
}

.split-showcase-5cf6944d .ss-left,
.split-showcase-5cf6944d .ss-right {
    flex: 1;
    min-width: 300px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.split-showcase-5cf6944d .ss-left {
    height: 400px; /* Adjust as needed */
    overflow: hidden; /* clip anything that overflows the box */
}

.split-showcase-5cf6944d .ss-image-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.6s ease-in-out;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.split-showcase-5cf6944d .ss-image-item.active {
    opacity: 1;
    z-index: 2;
}

.split-showcase-5cf6944d .ss-button-item {
    position: relative;
    padding: 20px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    cursor: pointer;
    overflow: hidden;
    border-radius: 4px;
    background: #fff;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.split-showcase-5cf6944d .ss-btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.split-showcase-5cf6944d .ss-filler {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: #0073aa; /* Default color, overridable by Elementor */
    z-index: 1;
    transition: width linear; /* Transition handled by JS, but this ensures smooth hover fill */
}

.split-showcase-5cf6944d .ss-button-item.active .ss-filler {
    /* Opacity transition is handled by JS for the loop */
}

.split-showcase-5cf6944d .ss-num {
    font-weight: bold;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.split-showcase-5cf6944d .ss-title {
    flex-grow: 1;
    font-weight: 600;
    transition: color 0.3s ease;
}

.split-showcase-5cf6944d .ss-icon {
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.split-showcase-5cf6944d .ss-icon svg {
    transition: fill 0.3s ease, stroke 0.3s ease;
}

@media (max-width: 768px) {
    .split-showcase-5cf6944d {
        flex-direction: column; /* Key change: stack left (images) above right (text) */
    }
    
    .split-showcase-5cf6944d .ss-left {
        width: 100%;
        height: 250px; /* Default mobile height */
    }
}
