/* General Accordion Container */
.ita-accordion-eee74fb8 {
    display: flex;
    flex-direction: row;
    width: 100%;
    overflow: hidden;
    gap: 12px;
}

/* Individual Accordion Item */
.ita-item-eee74fb8 {
    flex: 1;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.4s ease;
    cursor: pointer;
    box-sizing: border-box;
}

/* Collapsed vs Active State Flex Behavior */
.ita-item-eee74fb8.is-active {
    flex: 4;
    cursor: default;
}

/* Content Side (Left) Styling */
.ita-item-eee74fb8 .ita-content-side {
    width: 0;
    opacity: 0;
    overflow: hidden;
    transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease, padding 0.6s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    padding: 0;
}

.ita-item-eee74fb8.is-active .ita-content-side {
    width: 50%;
    opacity: 1;
    padding: 40px;
}

.ita-content-inner {
    min-width: 250px;
}

.ita-name {
    margin: 0 0 8px 0;
    font-size: 28px;
    font-weight: 700;
}

.ita-title {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ita-bio {
    margin: 0 0 24px 0;
    font-size: 14px;
    line-height: 1.6;
}

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

.ita-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.3s ease, transform 0.3s ease;
}

.ita-social-icon:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.ita-social-icon i,
.ita-social-icon svg {
    font-size: 16px;
}

/* Image Side (Right) Styling */
.ita-item-eee74fb8 .ita-image-side {
    flex: 1;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: filter 0.6s ease;
    filter: grayscale(100%);
    min-height: 100%;
}

.ita-item-eee74fb8.is-active .ita-image-side {
    filter: grayscale(0%);
}

/* Vertical Text Name Badge when collapsed */
.ita-vertical-badge {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) rotate(-90deg);
    transform-origin: center;
    white-space: nowrap;
    opacity: 1;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.ita-badge-name {
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: rgba(0, 0, 0, 0.6);
    padding: 6px 16px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

/* Hide vertical badge on active item */
.ita-item-eee74fb8.is-active .ita-vertical-badge {
    opacity: 0;
}

/* Mobile Responsive Adjustments */
@media screen and (max-width: 767px) {
    .ita-accordion-eee74fb8 {
        flex-direction: column;
        height: auto !important;
        gap: 15px;
    }

    .ita-item-eee74fb8 {
        flex-direction: column-reverse;
        height: 120px;
        transition: height 0.6s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.4s ease;
    }

    .ita-item-eee74fb8.is-active {
        height: auto;
    }

    .ita-item-eee74fb8 .ita-content-side {
        width: 100%;
        height: 0;
        transition: height 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease, padding 0.6s ease;
    }

    .ita-item-eee74fb8.is-active .ita-content-side {
        width: 100%;
        height: auto;
        padding: 24px;
    }

    .ita-item-eee74fb8 .ita-image-side {
        height: 120px;
        flex: none;
    }

    .ita-item-eee74fb8.is-active .ita-image-side {
        height: 250px;
    }

    .ita-vertical-badge {
        bottom: auto;
        top: 50%;
        left: 30px;
        transform: translateY(-50%);
        transform-origin: unset;
    }
}
