/* Fixing the activity section BG */

.features-split-bg{
    left: 65%;
    top: 17%;
    height: 220vh;
    width: 220vh;
    position: absolute;
    display: block;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transform: translate(-50%, calc(-50% + var(--features-split-parallax-y, 0px))) rotate(-70deg);
    opacity: var(--features-split-bg-opacity, 1);
    transition: opacity 0.28s ease;
    animation: bgFloat 20s ease-in-out infinite;
    will-change: transform;

}


.features-split-section{
    overflow-x: hidden;
    overflow-y: visible;
}


@keyframes bgFloat {
    0% {
        transform: translate(-50%, calc(-50% + var(--features-split-parallax-y, 0px))) rotate(-70deg) scale(1);
    }
    18% {
        transform: translate(-49%, calc(-51% + var(--features-split-parallax-y, 0px))) rotate(-63deg) scale(1.04);
    }
    37% {
        transform: translate(-51%, calc(-50% + var(--features-split-parallax-y, 0px))) rotate(-58deg) scale(1.1);
    }
    56% {
        transform: translate(-50.5%, calc(-49.5% + var(--features-split-parallax-y, 0px))) rotate(-61deg) scale(1.06);
    }
    74% {
        transform: translate(-49%, calc(-50.5% + var(--features-split-parallax-y, 0px))) rotate(-55deg) scale(1.12);
    }
    100% {
        transform: translate(-50%, calc(-50% + var(--features-split-parallax-y, 0px))) rotate(-70deg) scale(1);
    }
}

@media (min-width: 1025px) {
    .features-split-section[data-features-controller="part"] {
        overflow: visible;
    }

    .features-split-section[data-features-controller="part"] .features-split-bg {
        z-index: 0;
        pointer-events: none;
    }

    .features-split-section[data-features-controller="part"].features-split--in-view .features-split-bg {
        position: fixed;
        top: 17%;
        left: 65%;
    }

    .features-split-section.features-split--scrolly .features-split-scroll-wrap,
    .features-split-section[data-features-controller="part"] .features-split-scroll-wrap {
        --features-split-steps: 4;
        min-height: calc(var(--features-split-steps) * 100vh);
        position: relative;
    }

    .features-split-section.features-split--scrolly .features-split-grid,
    .features-split-section[data-features-controller="part"] .features-split-grid {
        position: sticky;
        top: 130px;
    }

    .features-split-section.features-split--scrolly .features-item:not(.active):hover,
    .features-split-section[data-features-controller="part"] .features-item:not(.active):hover {
        background-color: transparent;
    }

    .features-split-section.features-split--scrolly .features-item:not(.active):hover .features-item-strip,
    .features-split-section[data-features-controller="part"] .features-item:not(.active):hover .features-item-strip {
        background-color: transparent;
    }

    .features-split-section.features-split--scrolly .features-item.active,
    .features-split-section[data-features-controller="part"] .features-item.active {
        background-color: #FFFFFF;
    }

    .features-split-section.features-split--scrolly .features-item.active .features-item-strip,
    .features-split-section[data-features-controller="part"] .features-item.active .features-item-strip {
        background-color: #EE4500;
    }
}

.features-split-section .features-img-box {
    position: relative;
    height: 100%;
    background: none;
    box-shadow: none;
    overflow: hidden;
}

.features-split-section .features-img-box::after {
    content: "";
    display: block;
    padding-bottom: 62%;
}

.features-split-section .features-split-right {
    height: 100%;
}

.features-split-section .features-main-img {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    opacity: 0;
    pointer-events: none;
    transition: 0.5s ease-in-out !important;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.features-split-section .features-main-img.active {
    opacity: 1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

@media only screen and (max-width: 1200px) {
    .features-split-section {
        padding-bottom: 50px;
    }

    .features-split-section .features-main-img {
        top: 0;
        transform: none;
        box-shadow: none !important;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }

    .features-split-section .features-img-box {
        height: auto;
    }

    .features-split-section .features-img-box::after {
        padding-bottom: 80%;
    }
}

.features-split-section[data-features-controller="part"].features-split--in-view .features-split-bg{
    top: calc( 17% + 480px );
}

/* ── Video media types ─────────────────────────────────── */

/* YouTube embed */
.features-youtube-wrap {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.features-youtube-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Only the active image slot should receive pointer events —
   prevents the last (topmost in DOM) invisible item from
   intercepting clicks meant for the active card */
.features-main-img:not(.active) {
    pointer-events: none;
}

.features-main-img.active {
    pointer-events: auto;
}