.modular-carousel{
    position: relative;
}
.modular-carousel .swiper-slide-wrapper{
    min-height: 200px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--gutter-w);

    width: var(--wrapper-width);
    max-width: var(--wrapper-max-width);
    margin-left: auto;
    margin-right: auto;
}
.modular-carousel .cover-link {
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.modular-carousel .swiper-slide-wrapper > * {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.modular-carousel .swiper-slide{
    min-height: 100%;
}
.modular-carousel .swiper-slide-wrapper .background{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: 1;
}
.modular-carousel .swiper-slide-wrapper .background video{
    width: 100%;
    height: 100%;
   object-fit: cover;
}
.modular-carousel .swiper-slide-wrapper .content{
    position: relative;
    z-index: 10;
}
.modular-carousel .swiper-slide-wrapper .content.type-text{
    padding: var(--gutter);
    max-width: 50%;
}
.modular-carousel .swiper-slide-wrapper .content img{
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.modular-carousel .swiper-slide-wrapper .content.align-center{
    margin: auto;
}
.modular-carousel .swiper-slide-wrapper .content.align-left{
    margin-right: auto;
}
.modular-carousel .swiper-slide-wrapper .content.align-right{
    margin-left: auto;
}
