.flex_layout.story_carousel .heading_wrapper,
.flex_layout.story_carousel .navigation_container{
    grid-column: 1 / 4;
    padding-left: var(--grid-margin);
}

.flex_layout.story_carousel .content_wrapper a{
    margin-top: auto;
}

.flex_layout.story_carousel .swiper{
    grid-column: 5 / -1;
    grid-row: 1 / 3;
    min-width: 0;
    width: 100%;
    position: relative;
    cursor: grab;
}

.flex_layout.story_carousel .swiper:active{
    cursor: grabbing;
}

.flex_layout.story_carousel .swiper-wrapper{
    min-width: 0;
}

.flex_layout.story_carousel .swiper-slide .image{
    background-color: lightgray;
    aspect-ratio: 3 / 2;
    margin-bottom: 2rem;
    display: flex; flex-direction: column;
    position: relative;
    isolation: isolate;
}

.flex_layout.story_carousel .swiper-slide .image::before{
    content: '';
    inset: 0;
    position: absolute;
    background-image: linear-gradient(90deg, rgba(0,0,0,0.5), rgba(0,0,0,0));
    z-index: -1;
    pointer-events: none;
}

.flex_layout.story_carousel .swiper-slide .image img{
    position: absolute;
    z-index: -2;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
}

.flex_layout.story_carousel .navigation_container{
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-top: auto;
}

.flex_layout.story_carousel .indicator{
    display: flex; flex-direction: row;
    align-items: center;
    gap: .25rem;
}

.flex_layout.story_carousel .indicator .spacer{
    width: .25rem;
    aspect-ratio: 1;
    background-color: currentColor;
}

.flex_layout.story_carousel .indicator .total{
    opacity: .35;
}

.flex_layout.story_carousel .image a{
    margin-top: auto;
    padding: var(--grid-margin);
    color: #fff;
}

.flex_layout.story_carousel .swiper-slide .title{
    font-size: clamp(18px, 1.59vw, 24px);
    font-weight: 500;
}

@media only screen and (max-width: 992px){
    .flex_layout.story_carousel .heading_wrapper{
        order: 1;
        margin-bottom: var(--grid-margin);
    }
    .flex_layout.story_carousel .swiper{
        grid-column: 1/-1;
        grid-row: unset;
        order: 2;
    }

    .flex_layout.story_carousel .navigation_container{
        order: 3;
    }

    .flex_layout.story_carousel .navigation_container{
        margin-top: var(--grid-margin);
    }

    .flex_layout.story_carousel .swiper-slide .image{
        margin-bottom: 0;
    }

    .flex_layout.story_carousel .swiper-slide .title{
        padding: var(--grid-margin);
    }

}