.ita-container-ff2e8f6c {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 500px;
    gap: 15px;
    overflow: hidden;
}

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

.ita-item-ff2e8f6c.active {
    flex: 5;
    cursor: default;
}

.ita-content-ff2e8f6c {
    width: 0;
    opacity: 0;
    overflow: hidden;
    transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    background: #ffffff;
    color: #333333;
    flex-shrink: 0;
}

.ita-item-ff2e8f6c.active .ita-content-ff2e8f6c {
    width: 45%;
    opacity: 1;
    padding: 0 40px;
}

.ita-content-inner-ff2e8f6c {
    min-width: 250px; /* Prevent text wrapping issues during transition */
}

.ita-image-wrapper-ff2e8f6c {
    flex-grow: 1;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-width: 100px;
}

.ita-image-ff2e8f6c {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.6s ease;
}

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

.ita-name-ff2e8f6c {
    font-size: 28px;
    margin-bottom: 5px;
    font-weight: 700;
    margin-top: 0;
}

.ita-job-ff2e8f6c {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    font-weight: 500;
    margin-top: 0;
}

.ita-bio-ff2e8f6c {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.ita-socials-ff2e8f6c {
    display: flex;
    gap: 15px;
}

.ita-socials-ff2e8f6c a {
    color: #333;
    transition: opacity 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ita-socials-ff2e8f6c a:hover {
    opacity: 0.7;
}

.ita-socials-ff2e8f6c a svg {
    fill: currentColor;
}

/* Mobile Stacking */
@media (max-width: 767px) {
    .ita-container-ff2e8f6c {
        flex-direction: column;
        height: 700px;
    }
    
    .ita-item-ff2e8f6c {
        flex-direction: column;
    }
    
    .ita-item-ff2e8f6c.active {
        flex-direction: column-reverse;
    }
    
    .ita-content-ff2e8f6c {
        height: 0;
        width: 100%;
        transition: height 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease 0.2s;
    }
    
    .ita-item-ff2e8f6c.active .ita-content-ff2e8f6c {
        width: 100%;
        height: 55%;
        padding: 30px 20px;
    }
    
    .ita-image-wrapper-ff2e8f6c {
        min-height: 60px;
    }
}
