/* Interactive Team Accordion – 5e6d445f */

.ita-5e6d445f-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 550px;
    overflow: hidden;
    border-radius: 12px;
}

/* ── Individual Item ── */
.ita-5e6d445f-item {
    position: relative;
    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: 0;
    min-width: 60px;
    overflow: hidden;
    cursor: pointer;
    filter: grayscale(100%);
    transition: flex-grow 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
}

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

/* ── Background Image ── */
.ita-5e6d445f-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* ── Content Overlay (left side) ── */
.ita-5e6d445f-content {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 55%;
    background: rgba(15, 23, 42, 0.88);
    z-index: 2;
    display: flex;
    align-items: flex-end;
    padding: 32px;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s;
    pointer-events: none;
}

.ita-5e6d445f-active .ita-5e6d445f-content {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.ita-5e6d445f-content-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 100%;
}

/* ── Name ── */
.ita-5e6d445f-name {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

/* ── Job Title ── */
.ita-5e6d445f-job {
    font-size: 14px;
    font-weight: 600;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ── Social Icons ── */
.ita-5e6d445f-socials {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.ita-5e6d445f-social-link {
    color: #94a3b8;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
    display: inline-flex;
    align-items: center;
}

.ita-5e6d445f-social-link svg {
    width: 18px;
    height: 18px;
    fill: #94a3b8;
    transition: fill 0.25s ease, transform 0.25s ease;
}

.ita-5e6d445f-social-link:hover {
    color: #38bdf8;
    transform: translateY(-2px);
}

.ita-5e6d445f-social-link:hover svg {
    fill: #38bdf8;
}

/* ── Bio ── */
.ita-5e6d445f-bio {
    font-size: 14px;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 4px 0 0;
}

/* ── Collapsed Vertical Label ── */
.ita-5e6d445f-collapsed-label {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) rotate(-90deg);
    white-space: nowrap;
    z-index: 3;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.ita-5e6d445f-active .ita-5e6d445f-collapsed-label {
    opacity: 0;
}

.ita-5e6d445f-collapsed-name {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* ── Mobile: Stack Vertically ── */
@media (max-width: 767px) {
    .ita-5e6d445f-container {
        flex-direction: column;
        height: auto;
    }

    .ita-5e6d445f-item {
        min-height: 80px;
        flex-grow: 0;
        flex-basis: 80px;
        filter: grayscale(100%);
        transition: flex-basis 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
    }

    .ita-5e6d445f-item.ita-5e6d445f-active {
        flex-basis: 400px;
        flex-grow: 0;
        filter: grayscale(0%);
    }

    .ita-5e6d445f-content {
        width: 100%;
        padding: 20px;
    }

    .ita-5e6d445f-collapsed-label {
        transform: translateX(-50%) rotate(0deg);
        bottom: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .ita-5e6d445f-name {
        font-size: 20px;
    }

    .ita-5e6d445f-bio {
        font-size: 13px;
    }
}
