.sa-74eb18c8-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    overflow: hidden;
    gap: 10px;
}

.sa-74eb18c8-item {
    flex: 1;
    display: flex;
    flex-direction: row;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    background: #f4f4f4;
}

.sa-74eb18c8-item.active {
    flex: 4;
    cursor: default;
}

.sa-74eb18c8-content-wrap {
    width: 0;
    opacity: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, width 0.6s ease;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
    position: relative;
    z-index: 2;
    box-sizing: border-box; /* Ensure padding/margin are calculated properly */
}

.sa-74eb18c8-item.active .sa-74eb18c8-content-wrap {
    /* default width is 50% but will be overridden by active_content_width setting */
    width: 50%;
    opacity: 1;
    padding: 30px;
}

.sa-74eb18c8-content {
    min-width: 0; /* Allow flex children to shrink below content size if necessary */
    width: 100%;
    text-align: left;
    position: relative;
    z-index: 3;
}

.sa-74eb18c8-title,
.sa-74eb18c8-desc {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.sa-74eb18c8-image-wrap {
    flex: 1;
    background-position: center;
    background-repeat: no-repeat;
    /* background-size: cover; is default, overridden by settings */
    filter: grayscale(100%);
    transition: filter 0.6s ease;
    height: 100%;
    position: relative;
    z-index: 1;
}

.sa-74eb18c8-item.active .sa-74eb18c8-image-wrap {
    filter: grayscale(0%);
}

.sa-74eb18c8-icon svg {
    width: 30px;
    height: 30px;
    margin-bottom: 15px;
}
.sa-74eb18c8-icon i {
    font-size: 30px;
    margin-bottom: 15px;
}

.sa-74eb18c8-title {
    margin: 0 0 10px;
    font-size: 24px;
}

.sa-74eb18c8-desc {
    margin: 0 0 20px;
    font-size: 15px;
    color: #666;
}

.sa-74eb18c8-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.sa-74eb18c8-btn:hover {
    background: #555;
}

@media (max-width: 767px) {
    .sa-74eb18c8-container {
        flex-direction: column;
    }
    .sa-74eb18c8-item.active .sa-74eb18c8-content-wrap {
        width: 100% !important; /* Force 100% width on mobile */
        padding: 20px;
    }
    .sa-74eb18c8-item {
        flex-direction: column-reverse;
    }
    .sa-74eb18c8-image-wrap {
        min-height: 150px;
    }
}