/* Mirror original text clipping layout formulas */
.fs-block-slideshow h1 > span {
    clip-path: polygon(0 0, 101% 0, 100% 100%, 0% 100%);
    will-change: transform;
}

.fs-block-slideshow h1 > span div {
    display: inline;
    padding: 0 30px;
    margin: 0 -30px;
}

.fs-block-slideshow h1 em {
    color: var(--wp--preset--color--green-light);
}

.fs-block-slideshow .fs-block-cta__clip {
    --clip: ellipse(60% 100% at 50% 100%);
    clip-path: var(--clip);
}

/* Force layout height limits all the way through the Glide tracking blocks */
.fs-slideshow-engine,
.fs-slideshow-engine .glide__track,
.fs-slideshow-engine .glide__slides {
    height: 100% !important;
}

.fs-slideshow-engine .glide__slides {
    transform: none !important;
    width: 100% !important;
    display: block !important; /* Shuts down horizontal row compression bugs */
}

/* Stacking opacity positioning transition handling configuration */
.fs-slideshow-engine .glide__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 800ms ease-in-out, visibility 800ms ease-in-out;
}

.fs-slideshow-engine .glide__slide--active {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 2;
}