.ita-container {
    display: flex;
    width: 100%;
    height: 400px;
    gap: 10px;
    overflow: hidden;
}

.ita-item {
    flex: 1;
    display: flex;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease;
    filter: grayscale(100%);
    background: #f5f5f5;
}

.ita-item.active {
    flex: 5;
    filter: grayscale(0%);
    cursor: default;
}

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

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

.ita-content-inner {
    padding: 30px;
    white-space: normal;
}

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

.ita-role {
    margin: 0 0 15px;
    font-size: 16px;
    color: #666;
    text-transform: uppercase;
}

.ita-bio {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.ita-image-wrap {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.ita-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

@media (max-width: 767px) {
    .ita-container {
        flex-direction: column;
        height: 600px;
    }
    
    .ita-item {
        transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease;
    }
    
    .ita-content {
        width: 100%;
        height: 0;
        transition: opacity 0.4s ease, height 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    }
    
    .ita-item.active .ita-content {
        width: 100%;
        height: 50%;
    }
}
