.ita-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.ita-item {
    position: relative;
    flex: 1;
    overflow: hidden;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    align-items: flex-end;
    cursor: pointer;
    min-width: 80px;
    background-color: #1a1a1a;
}

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

.ita-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    transition: filter 0.6s ease, transform 0.6s ease;
    z-index: 1;
}

.ita-item.active .ita-image-bg {
    filter: grayscale(0%);
    transform: scale(1.03);
}

/* Grayscale and dark overlay combined */
.ita-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.85) 100%);
    z-index: 2;
    transition: opacity 0.6s ease;
    opacity: 0.8;
}

.ita-item.active::after {
    opacity: 0.95;
    background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0) 100%);
}

.ita-content-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 30px;
    box-sizing: border-box;
    pointer-events: none;
    transform: translateY(10px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.ita-item.active .ita-content-wrapper {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    width: 60%; /* Left-aligned content reveal */
}

.ita-content-inner {
    max-width: 100%;
}

.ita-logo-wrapper {
    margin-bottom: 20px;
    text-align: left;
}

.ita-site-logo {
    max-height: 45px;
    width: auto;
    display: block;
}

.ita-member-name {
    margin: 0 0 4px 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.ita-member-title {
    margin: 0 0 12px 0;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ita-member-bio {
    margin: 0 0 20px 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

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

.ita-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #000055;
    border-radius: 50%;
    background-color: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
}

.ita-social-link svg {
    fill: #000055;
    transition: fill 0.3s ease;
}

/* Mobile responsive layout */
@media (max-width: 767px) {
    .ita-container {
        flex-direction: column !important;
        height: auto !important;
    }
    
    .ita-item {
        min-height: 120px;
        width: 100%;
        flex: none;
        transition: min-height 0.6s ease;
    }
    
    .ita-item.active {
        min-height: 350px;
        flex: none;
    }

    .ita-item.active::after {
        background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.9) 80%);
    }

    .ita-item.active .ita-content-wrapper {
        width: 100%;
        padding: 20px;
    }
}
