.ita-container-5a19020f {
    display: flex;
    width: 100%;
    height: 500px; /* Overridden by control */
    gap: 10px; /* Overridden by control */
    overflow: hidden;
    position: relative;
}

.ita-container-5a19020f .ita-item {
    flex: 1;
    display: flex;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    background: #111;
    border-radius: 8px; /* Overridden by control */
}

.ita-container-5a19020f .ita-item.is-active {
    flex: 4;
}

.ita-container-5a19020f .ita-item-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 0;
}

.ita-container-5a19020f .ita-item-image::after {
    content: '';
    position: absolute;
    inset: 0;
    transition: background-color 0.4s ease;
    z-index: 1;
}

.ita-container-5a19020f .ita-item.is-active .ita-item-image::after {
    background-color: transparent !important;
}

.ita-container-5a19020f .ita-item.is-active .ita-item-image {
    width: 60%;
    left: 40%;
}

.ita-container-5a19020f .ita-item-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    padding: 30px; /* Overridden by control */
    background: rgba(20, 20, 20, 0.9); /* Overridden by control */
    color: #fff;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

.ita-container-5a19020f .ita-item-content h3 {
    margin: 0 0 5px 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.ita-container-5a19020f .ita-item-content h4 {
    margin: 0 0 15px 0;
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.8;
}

.ita-container-5a19020f .ita-item-content p {
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.ita-container-5a19020f .ita-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.ita-container-5a19020f .ita-social-link:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.ita-container-5a19020f .ita-social-link svg,
.ita-container-5a19020f .ita-social-link i {
    width: 18px;
    height: 18px;
    font-size: 18px;
    fill: currentColor;
}

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .ita-container-5a19020f .ita-item.is-active {
        flex: 3;
    }
    .ita-container-5a19020f .ita-item.is-active .ita-item-image {
        width: 50%;
        left: 50%;
    }
    .ita-container-5a19020f .ita-item-content {
        width: 50%;
        padding: 20px;
    }
}

/* Mobile Layout - Default (Accordion) */
@media (max-width: 767px) {
    .ita-container-5a19020f {
        flex-direction: column;
        height: auto !important; /* Managed by items */
    }
    
    .ita-container-5a19020f .ita-item {
        flex: none;
        width: 100%;
        transition: min-height 0.5s ease;
    }

    .ita-container-5a19020f .ita-item-image {
        width: 100%;
        height: 100%;
        left: 0;
    }

    .ita-container-5a19020f .ita-item.is-active .ita-item-image {
        width: 100%;
        height: 50%;
        left: 0;
        top: 0;
    }

    .ita-container-5a19020f .ita-item-content {
        width: 100%;
        height: 50%;
        top: 50%;
        left: 0;
        transform: translateY(20px);
        padding: 20px;
        align-items: center;
        text-align: center;
    }

    .ita-container-5a19020f .ita-item.is-active .ita-item-content {
        transform: translateY(0);
    }
}

/* Mobile Layout - Expandable Cards */
@media (max-width: 767px) {
    .ita-mobile-layout-expandable_cards .ita-container-5a19020f {
        flex-direction: column;
        height: auto !important;
    }
    
    .ita-mobile-layout-expandable_cards .ita-container-5a19020f .ita-item {
        flex: none;
        width: 100%;
        transition: height 0.5s ease;
        margin-bottom: 10px;
    }
    
    .ita-mobile-layout-expandable_cards .ita-container-5a19020f .ita-item:last-child {
        margin-bottom: 0;
    }

    .ita-mobile-layout-expandable_cards .ita-container-5a19020f .ita-item-image {
        width: 100%;
        height: 100%;
        left: 0;
    }

    .ita-mobile-layout-expandable_cards .ita-container-5a19020f .ita-item.is-active .ita-item-image {
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
    }

    .ita-mobile-layout-expandable_cards .ita-container-5a19020f .ita-item-content {
        width: 100%;
        height: auto;
        top: auto;
        bottom: 0;
        left: 0;
        transform: translateY(100%);
        padding: 20px;
        background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 100%);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .ita-mobile-layout-expandable_cards .ita-container-5a19020f .ita-item.is-active .ita-item-content {
        transform: translateY(0);
    }
}