.sa-container-ef53ecb8 {
    display: flex;
    width: 100%;
    height: 400px; /* Default, overridden by Elementor */
    gap: 0px;
}

.sa-item-ef53ecb8 {
    flex: 1;
    position: relative;
    overflow: hidden;
    transition: flex 0.5s ease-in-out;
    border-radius: 0;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.sa-overlay-ef53ecb8 {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%);
    z-index: 1;
}

.sa-title-ef53ecb8 {
    position: relative;
    z-index: 2;
    color: #fff;
    margin: 0;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Hover Interaction (Desktop & Tablet) */
@media (min-width: 768px) {
    .sa-container-ef53ecb8[data-interaction="hover"] .sa-item-ef53ecb8:hover {
        flex: 4;
    }
    .sa-container-ef53ecb8[data-interaction="hover"] .sa-item-ef53ecb8:hover .sa-title-ef53ecb8 {
        opacity: 1;
    }
    
    /* Click Interaction */
    .sa-item-ef53ecb8.is-active {
        flex: 4;
    }
    .sa-item-ef53ecb8.is-active .sa-title-ef53ecb8 {
        opacity: 1;
    }
}

/* Responsive - Mobile Only Vertical */
@media (max-width: 767px) {
    .sa-container-ef53ecb8 {
        flex-direction: column;
        height: auto !important; 
    }
    
    .sa-item-ef53ecb8 {
        min-height: 200px; /* Fixed height for each item on mobile */
        width: 100%;
        margin-bottom: 0;
        cursor: default; /* Disable interaction cursor on mobile */
    }

    .sa-title-ef53ecb8 {
        opacity: 1; /* Always show titles on mobile */
        white-space: normal; /* Allow text to wrap if needed */
    }
}