.xio-expand {
    position: relative;
    width: 100%;
    height: 280vh;
}

.xio-expand__sticky {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
}

.xio-expand__image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.xio-expand__figure {
    position: relative;
    width: 30vw;
    height: 30vh;
    overflow: hidden;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.05s linear, height 0.05s linear;
    will-change: width, height;
}

.xio-expand__figure img {
    width: 100vw;
    height: 100vh;
    min-width: 100vw;
    min-height: 100vh;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center center;
    display: block;
    flex-shrink: 0;
}

.xio-expand__arrow {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: xio-expand-float 1s ease-in-out infinite alternate both;
    transition: opacity 0.3s ease-out;
    will-change: opacity;
}

.xio-expand__arrow svg {
    transform: rotate(90deg);
    stroke: var(--e-global-color-primary, #2d3436);
    width: 2rem;
    height: auto;
}

@keyframes xio-expand-float {
    from {
        transform: translateX(-50%) translateY(-30%);
    }
    to {
        transform: translateX(-50%) translateY(30%);
    }
}

@media (max-width: 768px) {
    .xio-expand {
        height: 250vh;
    }

    .xio-expand__figure {
        width: 60vw;
        height: 40vh;
    }
}
