.ita-398e9b74-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    overflow: hidden;
    gap: 10px;
}

.ita-398e9b74-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: flex-grow 0.6s cubic-bezier(0.25, 1, 0.5, 1), flex-shrink 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(100%);
}

.ita-398e9b74-item.ita-active {
    flex-grow: 3;
    filter: grayscale(0%);
}

.ita-398e9b74-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%);
    z-index: 1;
    pointer-events: none;
}

.ita-398e9b74-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    padding: 20px;
    min-height: 80px;
    justify-content: flex-end;
    opacity: 0.5;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.ita-398e9b74-item.ita-active .ita-398e9b74-content {
    opacity: 1;
    transform: translateY(0);
}

.ita-398e9b74-name {
    margin: 0 0 3px 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.ita-398e9b74-role {
    font-size: 0.9rem;
}

@media (max-width: 767px) {
    .ita-398e9b74-container {
        flex-direction: column;
        height: auto !important;
    }
    
    .ita-398e9b74-item {
        flex-direction: column;
        height: 150px;
        transition: height 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .ita-398e9b74-item.ita-active {
        height: 250px;
    }

    .ita-398e9b74-content {
        padding: 15px;
        min-height: auto;
    }
}
