.tvsw-scroll-stack {
    position: relative;
    overflow: visible !important;
}

/* Every direct child card must cover the card behind it */
.tvsw-scroll-stack > .e-con,
.tvsw-scroll-stack > .e-con > .e-con {
    transform-origin: center top;
    will-change: transform, filter;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Ensure card covers previous card — set a background in Elementor Style tab */
    isolation: isolate;
}

/* ============================================
   STICKY SIDE - Two Column Layout
   ============================================ */

/* The sticky container itself */
.tvsw-sticky-side {
    position: sticky;
    align-self: flex-start;
    will-change: position;
}

/* Responsive sticky behavior - disable on tablet if not enabled */
@media (max-width: 1024px) {
    .tvsw-sticky-side:not([data-tvsw-sticky-config*="tablet"]) {
        position: relative !important;
        top: auto !important;
    }
}

/* Responsive sticky behavior - disable on mobile if not enabled */
@media (max-width: 767px) {
    .tvsw-sticky-side:not([data-tvsw-sticky-config*="mobile"]) {
        position: relative !important;
        top: auto !important;
    }
}

/* Ensure parent flex container aligns properly */
.tvsw-sticky-side-wrapper {
    display: flex;
    align-items: flex-start;
}
