.ita-wrapper-1a3b2213 {
    display: flex;
    width: 100%;
    gap: 10px; /* Overridden by settings */
    overflow: hidden;
    box-sizing: border-box;
    font-family: inherit;
}

.ita-item-1a3b2213 {
    flex: 1;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 10px;
    transition: flex 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: row;
    background: #f9f9f9;
}

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

.ita-content-1a3b2213 {
    flex: 0;
    padding: 0;
    opacity: 0;
    transition: opacity 0.6s ease, flex 0.6s ease, padding 0.6s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    box-sizing: border-box;
    white-space: normal;
}

.ita-item-1a3b2213.active .ita-content-1a3b2213 {
    flex: 1;
    padding: 30px;
    opacity: 1;
}

.ita-image-wrap-1a3b2213 {
    flex: 1;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    transition: filter 0.6s ease;
    min-width: 80px;
}

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

.ita-name-1a3b2213 {
    margin: 0 0 5px 0;
    font-size: 1.5em;
    font-weight: bold;
}
.ita-job-1a3b2213 {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.ita-bio-1a3b2213 {
    margin: 0 0 15px 0;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .ita-wrapper-1a3b2213 {
        flex-direction: column;
        height: auto !important; /* Let content dictate height on mobile */
    }
    .ita-item-1a3b2213 {
        flex-direction: column-reverse;
        flex: none; /* Override flex basis to prevent gap calculation issues */
        width: 100%;
    }
    .ita-item-1a3b2213.active {
        flex: none; /* Let the expanded content dictate height */
    }
    
    .ita-image-wrap-1a3b2213 {
        width: 100%;
        min-width: unset;
        /* Default mobile height, overridden by control */
        min-height: 150px; 
        height: 150px;
        flex: none !important; /* Stop it from growing/shrinking automatically */
    }

    .ita-content-1a3b2213 {
        /* Height animates from 0 */
        max-height: 0;
        transition: max-height 0.6s ease, opacity 0.6s ease, padding 0.6s ease;
    }

    .ita-item-1a3b2213.active .ita-content-1a3b2213 {
        /* Expand fully when active */
        max-height: 500px; /* Arbitrary large max-height for animation */
    }
}