.ita-container-eacc8c77 {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
}

.ita-item-eacc8c77 {
    flex: 1;
    display: flex;
    cursor: pointer;
    overflow: hidden;
    transition: flex 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    background: #f5f5f5;
    border-radius: 8px;
    position: relative;
}

.ita-item-eacc8c77.ita-active {
    flex: 4;
}

.ita-content-eacc8c77 {
    width: 0;
    opacity: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    transition: width 0.5s ease, opacity 0.5s ease, padding 0.5s ease;
    padding: 0;
    position: relative;
    z-index: 2;
    background: inherit;
}

.ita-item-eacc8c77.ita-active .ita-content-eacc8c77 {
    width: 50%;
    opacity: 1;
    padding: 20px;
}

.ita-content-inner-eacc8c77 {
    min-width: 250px;
    max-height: 100%;
    overflow-y: auto;
}

.ita-image-wrapper-eacc8c77 {
    flex-grow: 1;
    height: 100%;
    overflow: hidden;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.ita-img-eacc8c77 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

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

.ita-name-eacc8c77 {
    margin: 0 0 5px;
    font-size: 1.5rem;
}

.ita-job-eacc8c77 {
    display: block;
    color: #666;
    margin-bottom: 15px;
    font-weight: bold;
}

.ita-bio-eacc8c77 {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Mobile Disable Animation Styles - ONLY applied when toggle is active */
.ita-container-eacc8c77.ita-mobile-static {
    flex-direction: column;
    height: auto !important;
}

.ita-container-eacc8c77.ita-mobile-static .ita-item-eacc8c77 {
    flex-direction: column;
    min-height: auto;
    flex: none !important;
    margin-bottom: 20px;
}

.ita-container-eacc8c77.ita-mobile-static .ita-item-eacc8c77.ita-active {
    flex: none !important;
}

.ita-container-eacc8c77.ita-mobile-static .ita-content-eacc8c77 {
    width: 100% !important;
    opacity: 1 !important;
    height: auto !important;
    padding: 20px !important;
    order: 2;
}

.ita-container-eacc8c77.ita-mobile-static .ita-image-wrapper-eacc8c77 {
    height: 300px;
    width: 100% !important;
    order: 1;
}

.ita-container-eacc8c77.ita-mobile-static .ita-img-eacc8c77 {
    filter: grayscale(0%) !important;
}

.ita-container-eacc8c77.ita-mobile-static .ita-content-inner-eacc8c77 {
    min-width: 100%;
    overflow-y: visible;
}

/* Base Mobile Responsive Adjustments (when animation is ENABLED) */
@media (max-width: 767px) {
    .ita-container-eacc8c77:not(.ita-mobile-static) {
        flex-direction: column;
        height: 600px !important; /* Fixed height to allow flex expanding */
    }
    
    .ita-container-eacc8c77:not(.ita-mobile-static) .ita-item-eacc8c77 {
        flex-direction: column;
    }
    
    .ita-container-eacc8c77:not(.ita-mobile-static) .ita-content-eacc8c77 {
        width: 100%;
        height: 0;
        transition: height 0.5s ease, opacity 0.5s ease, padding 0.5s ease;
    }
    
    .ita-container-eacc8c77:not(.ita-mobile-static) .ita-item-eacc8c77.ita-active .ita-content-eacc8c77 {
        width: 100%;
        height: 50%;
    }
    
    .ita-container-eacc8c77:not(.ita-mobile-static) .ita-image-wrapper-eacc8c77 {
        height: 100%;
        width: 100%;
    }
    
    .ita-container-eacc8c77:not(.ita-mobile-static) .ita-content-inner-eacc8c77 {
        min-width: 100%;
    }
}
