.ita-container-98b86f9c {
    display: flex;
    flex-direction: row;
    height: 500px;
    gap: 10px;
    width: 100%;
}

.ita-item-98b86f9c {
    flex: 1 1 0;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
    background: #f5f5f5;
    transition: flex-grow 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.ita-item-98b86f9c.active {
    flex-grow: 5;
    cursor: default;
}

.ita-content-98b86f9c {
    flex: 0 0 0;
    opacity: 0;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: flex 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s ease 0.1s;
    order: 1; /* Content on left */
}

.ita-content-inner-98b86f9c {
    padding: 30px;
    min-width: 250px;
}

.ita-item-98b86f9c.active .ita-content-98b86f9c {
    flex: 0 0 50%;
    opacity: 1;
}

.ita-image-wrapper-98b86f9c {
    flex: 1 0 auto;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2; /* Image on right */
}

/* Ensure the image container doesn't grow too large when active */
.ita-item-98b86f9c.active .ita-image-wrapper-98b86f9c {
    flex: 0 0 50%;
    max-width: 50%;
}

.ita-image-wrapper-98b86f9c img {
    object-fit: cover;
    object-position: center top;
    transition: filter 0.5s ease;
    width: 100%;
    height: 100%;
}

.ita-name-98b86f9c { margin: 0 0 5px 0; font-size: 24px; font-weight: bold; }
.ita-job-98b86f9c { margin: 0 0 15px 0; font-size: 16px; color: #666; }
.ita-bio-98b86f9c { margin: 0 0 20px 0; font-size: 14px; line-height: 1.5; }

.ita-socials-98b86f9c {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.ita-social-link-98b86f9c {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-size: 20px;
}

.ita-social-link-98b86f9c svg {
    width: 20px;
    height: 20px;
    fill: #333;
}

.ita-social-link-98b86f9c:hover {
    opacity: 0.7;
}

@media (max-width: 767px) {
    /* Keep horizontal layout on mobile */
    .ita-container-98b86f9c {
        flex-direction: row;
        height: 350px;
    }
    
    .ita-item-98b86f9c {
        flex-direction: row;
    }
    
    .ita-content-inner-98b86f9c {
        padding: 15px;
        min-width: 200px;
    }
    
    .ita-name-98b86f9c { font-size: 18px; }
    .ita-job-98b86f9c { font-size: 14px; margin-bottom: 10px; }
    .ita-bio-98b86f9c { font-size: 12px; margin-bottom: 15px; }
    
    .ita-item-98b86f9c.active .ita-content-98b86f9c {
        flex: 0 0 55%;
    }
    
    .ita-item-98b86f9c.active .ita-image-wrapper-98b86f9c {
        flex: 0 0 45%;
        max-width: 45%;
    }
}
