/* Interactive Team Accordion – 02c8af56 */

.ita-02c8af56-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 550px;
    overflow: hidden;
    border-radius: 12px;
}

.ita-02c8af56-item {
    position: relative;
    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: 0;
    overflow: hidden;
    cursor: pointer;
    filter: grayscale(100%);
    transition: flex-grow 600ms cubic-bezier(0.4, 0, 0.2, 1), filter 600ms ease;
    min-width: 0;
}

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

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

/* Collapsed vertical label */
.ita-02c8af56-collapsed-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px 8px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    height: 100%;
    opacity: 1;
    transition: opacity 300ms ease;
    pointer-events: none;
}

.ita-02c8af56-active .ita-02c8af56-collapsed-label {
    opacity: 0;
}

.ita-02c8af56-collapsed-name {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Expanded content overlay */
.ita-02c8af56-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.85) 60%, transparent 100%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 600ms ease 600ms;
}

.ita-02c8af56-active .ita-02c8af56-content {
    opacity: 1;
    pointer-events: auto;
}

.ita-02c8af56-content-inner {
    max-width: 55%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ita-02c8af56-name {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.ita-02c8af56-job-title {
    font-size: 15px;
    font-weight: 500;
    color: #38bdf8;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.ita-02c8af56-social {
    display: flex;
    gap: 12px;
    margin: 8px 0;
}

.ita-02c8af56-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    transition: background 300ms ease, color 300ms ease;
    font-size: 18px;
}

.ita-02c8af56-social-link svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
    transition: fill 300ms ease;
}

.ita-02c8af56-social-link:hover {
    background: rgba(56, 189, 248, 0.25);
    color: #38bdf8;
}

.ita-02c8af56-social-link:hover svg {
    fill: #38bdf8;
}

.ita-02c8af56-bio {
    font-size: 14px;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0;
}

/* Mobile: stack vertically */
@media (max-width: 767px) {
    .ita-02c8af56-wrapper {
        flex-direction: column;
        height: auto !important;
    }

    .ita-02c8af56-item {
        flex-grow: 0;
        flex-basis: auto;
        min-height: 80px;
        filter: grayscale(100%);
        transition: min-height 600ms cubic-bezier(0.4, 0, 0.2, 1), filter 600ms ease;
    }

    .ita-02c8af56-item.ita-02c8af56-active {
        min-height: 450px;
        flex-grow: 0;
        filter: grayscale(0%);
    }

    .ita-02c8af56-collapsed-label {
        writing-mode: horizontal-tb;
        transform: none;
        align-items: center;
        justify-content: flex-start;
        padding: 16px 20px;
        background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
    }

    .ita-02c8af56-content {
        background: linear-gradient(0deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.85) 60%, transparent 100%);
        align-items: flex-end;
        padding: 24px;
    }

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

    .ita-02c8af56-name {
        font-size: 22px;
        margin-top: 24px !important;
    }

    .ita-02c8af56-bio {
        font-size: 13px;
    }
}
