.ita-container-47379764 {
    display: flex;
    flex-direction: row; /* Image on left, content on right */
    width: 100%;
    gap: 10px;
    box-sizing: border-box;
    overflow: hidden;
}

.ita-item-47379764 {
    flex: 1;
    display: flex;
    flex-direction: row; /* Image on left, content on right */
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: flex 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
}

.ita-item-47379764.active {
    flex: 6;
    cursor: default;
}

.ita-content-47379764 {
    width: 0;
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.ita-item-47379764.opened .ita-content-47379764 {
    opacity: 1;
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.25s ease, box-shadow 0.2s ease;
}

.ita-content-inner-47379764 {
    padding: 30px;
    min-width: 250px;
    word-break: break-word; /* Ensure text breaks to next line */
    overflow-wrap: break-word;
}

.ita-item-47379764.active .ita-content-47379764 {
    width: 50%;
}

.ita-image-wrapper-47379764 {
    flex: 1;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    justify-content: flex-start; /* Anchor image to the left */
}

.ita-item-47379764.active .ita-image-wrapper-47379764 {
    width: 50%;
    flex: none;
}

.ita-image-wrapper-47379764 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* object-position is now controlled by elementor settings inline */
    filter: grayscale(100%);
    transition: filter 0.4s ease;
    min-width: 100%;
}

.ita-item-47379764.active .ita-image-wrapper-47379764 img {
    filter: grayscale(0%);
}

.ita-name-47379764 {
    margin: 0;
    font-size: 24px;
}

.ita-job-47379764 {
    font-weight: bold;
    margin: 0;
    color: #666;
}

.ita-bio-47379764 {
    margin: 0;
    line-height: 1.6;
}

.ita-button-wrapper-47379764 {
    margin-top: 15px;
}

.ita-button-47379764 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.ita-button-47379764:hover {
    background-color: #555;
    color: #fff;
}

.ita-button-icon-47379764 {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
}


/* Media Queries for Stack Behavior mapped directly to prefix classes from Elementor */

/* Tablet Breakpoint (ita-stack-tablet applies up to 1024px) */
@media (max-width: 1024px) {
    .ita-stack-tablet .ita-container-47379764 {
        flex-direction: column;
        height: auto !important;
        gap: 10px;
    }
    
    .ita-stack-tablet .ita-item-47379764 {
        flex-direction: column;
        transition: height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        flex: none;
        height: 100px; /* Fallback if inline styles missing */
    }
    .ita-stack-tablet .ita-item-47379764.stacked-item {
        height: 100px;
    }
    
    .ita-stack-tablet .ita-item-47379764.active {
        height: auto !important;
        flex: none;
    }
    
    .ita-stack-tablet .ita-item-47379764 .ita-content-47379764 {
        width: 100%;
        height: 0;
        min-height: 0;
        transition: height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        flex: none;
    }
    
    .ita-stack-tablet .ita-item-47379764.active .ita-content-47379764 {
        height: auto;
        min-height: auto;
        width: 100%;
    }
    
    .ita-stack-tablet .ita-item-47379764.opened .ita-content-47379764 {
        opacity: 1;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    
    .ita-stack-tablet .ita-item-47379764 .ita-image-wrapper-47379764 {
        width: 100%;
        transition: height 0.4s cubic-bezier(0.25, 1, 0.5, 1), min-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        flex: none;
        height: 100px;
    }
    
    .ita-stack-tablet .ita-item-47379764.active .ita-image-wrapper-47379764 {
        width: 100%;
        height: 250px;
    }
}

/* Mobile Breakpoint (ita-stack-mobile applies up to 767px) */
@media (max-width: 767px) {
    .ita-stack-mobile .ita-container-47379764 {
        flex-direction: column;
        height: auto !important;
        gap: 10px;
    }
    
    .ita-stack-mobile .ita-item-47379764 {
        flex-direction: column;
        transition: height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        flex: none;
        height: 100px;
    }
    .ita-stack-mobile .ita-item-47379764.stacked-item {
        height: 100px;
    }
    
    .ita-stack-mobile .ita-item-47379764.active {
        height: auto !important;
        flex: none;
    }
    
    .ita-stack-mobile .ita-item-47379764 .ita-content-47379764 {
        width: 100%;
        height: 0;
        min-height: 0;
        transition: height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        flex: none;
    }
    
    .ita-stack-mobile .ita-item-47379764.active .ita-content-47379764 {
        height: auto;
        min-height: auto;
        width: 100%;
    }
    
    .ita-stack-mobile .ita-item-47379764.opened .ita-content-47379764 {
        opacity: 1;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    
    .ita-stack-mobile .ita-item-47379764 .ita-image-wrapper-47379764 {
        width: 100%;
        transition: height 0.4s cubic-bezier(0.25, 1, 0.5, 1), min-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        flex: none;
        height: 100px;
    }
    
    .ita-stack-mobile .ita-item-47379764.active .ita-image-wrapper-47379764 {
        width: 100%;
        height: 250px;
    }
}