/* ── Interactive Team Accordion bc44312f ── */

.ita-bc44312f-wrap {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 550px;
    gap: 6px;
    overflow: hidden;
}

/* ── Individual Strip ── */
.ita-bc44312f-item {
    position: relative;
    flex: 1 1 0%;
    min-width: 0;
    overflow: hidden;
    cursor: pointer;
    transition: flex-grow 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.ita-bc44312f-item.ita-bc44312f-active {
    flex-grow: 5;
    cursor: default;
}

/* ── Background Image ── */
.ita-bc44312f-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(100%);
    transition: filter 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.ita-bc44312f-item.ita-bc44312f-active .ita-bc44312f-bg {
    filter: grayscale(0%);
}

/* ── Collapsed Label ── */
.ita-bc44312f-collapsed-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px 8px;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    z-index: 2;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.ita-bc44312f-item.ita-bc44312f-active .ita-bc44312f-collapsed-label {
    opacity: 0;
    pointer-events: none;
}

.ita-bc44312f-collapsed-name {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    padding-bottom: 10px;
}

/* When strip is wide enough, show name horizontally */
.ita-bc44312f-item:not(.ita-bc44312f-active) .ita-bc44312f-collapsed-name {
    writing-mode: vertical-rl;
}

/* ── Expanded Content Overlay ── */
.ita-bc44312f-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 40px 30px;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.65) 0%, transparent 100%);
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease 0.15s;
}

.ita-bc44312f-item.ita-bc44312f-active .ita-bc44312f-content {
    opacity: 1;
    pointer-events: auto;
}

.ita-bc44312f-content-inner {
    max-width: 380px;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s ease 0.25s, opacity 0.5s ease 0.25s;
}

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

/* ── Content Elements ── */
.ita-bc44312f-name {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px 0;
    line-height: 1.2;
}

.ita-bc44312f-job {
    font-size: 14px;
    font-weight: 500;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 16px 0;
}

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

/* ── Social Icons ── */
.ita-bc44312f-socials {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}

.ita-bc44312f-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    font-size: 18px;
}

.ita-bc44312f-social-link svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
    transition: fill 0.3s ease;
}

.ita-bc44312f-social-link:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

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

    .ita-bc44312f-item {
        min-height: 80px;
        flex: 0 0 80px;
        transition: flex 0.6s cubic-bezier(0.4, 0, 0.2, 1), min-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .ita-bc44312f-item.ita-bc44312f-active {
        flex: 0 0 420px;
        min-height: 420px;
    }

    .ita-bc44312f-collapsed-name {
        writing-mode: horizontal-tb;
        transform: none;
        padding-bottom: 0;
    }

    .ita-bc44312f-collapsed-label {
        align-items: center;
        justify-content: flex-start;
        padding: 15px 20px;
        background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
    }

    .ita-bc44312f-content {
        background: linear-gradient(0deg, rgba(15, 23, 42, 0.8) 0%, transparent 100%);
        padding: 25px 20px;
    }
}
