.single-media-cover.has-bg-img {
    height: 150vh;
    min-height: 600px;
    max-height:1080px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.single-media-cover.has-bg-img {
    background-position: center 0%;
    background-repeat: no-repeat;
    transition:all .5s linear;
}
.sm-cover {
    position: relative;
    z-index: 3;
}
.single-media-cover {
    position: relative;
    z-index: 1;
}

.all-sm-marquee {
    position: absolute;
    z-index: 9;
    mix-blend-mode: difference;
    user-select: none;
    pointer-events: none;
}

.all-sm-marquee.pos-top {
    top: 100px;
}

.all-sm-marquee.pos-bottom {
    bottom: 0px;
}

.all-sm-marquee {
    position: absolute;
    z-index: 9;
    mix-blend-mode: difference;
    user-select: none;
    pointer-events: none;
}


.sm-cover-column {
    position: relative;
    overflow-x: hidden;
    background-color:black;
}



.sm-marquee .sm-marquee-left, .sm-marquee .sm-marquee-right {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    justify-content: space-evenly
}

.sm-marquee .sm-marquee-item {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    will-change: transform;
    animation: marquee 30s linear infinite;
    -webkit-animation: marquee 30s linear infinite;
}


.sm-marquee .sm-marquee-right .sm-marquee-item {
    animation: marqueereverse 30s linear infinite;
    -webkit-animation: marqueereverse 30s linear infinite;
}

.main-cover-slider-subtitle {
    position: absolute;
    z-index: 5;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
}

.main-cover-slider-buttons {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%)!important;
    z-index: 5;
}

.main-cover-slider {
    position: relative;
    z-index: 1;
}
.main-cover-slider-buttons a {
    color: white!important;
}
.sm-marquee-item-inner {
    text-align: center;
    color: white;
}

.main-cover-text {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 50%;
    transform:translateX(-50%)!important;
    width: 100%;
    padding:0 30px;
    max-width:800px;
    height: 100%;
    text-align: center;
}

.inner-main-cover-text {
    display: flex;
    flex-direction: column;
    height: 100%;
    flex-wrap: nowrap;
}

.main-cover-text.main-cover-align-stretch .inner-main-cover-text {
    justify-content: space-between;
    padding-top: 80px;
    padding-bottom: 80px;
}

.main-cover-text.main-cover-align-center .inner-main-cover-text {
    justify-content: center;
}

.inner-main-cover-text .wp-block-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    margin-top: 0!important;
}

.title-cover.wp-block-heading.calligraphic-font {
    margin-top: 80px;
    color: black!important;
}

.sm-cover:has( .calligraphic-font) .wp-block-buttons .wp-block-button__link {
    color: black;
}

.main-cover-slider {
    position: absolute!important;
    z-index:3;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0, 0, 0, 0.35);
}

.main-cover-slider .slick-list, .main-cover-slider .slick-list .slick-track {
    height: 100%;
}
.main-cover-slider .main-cover-text {
    position: relative!important;
    left:0!important;
    transform:none!important;
    max-width:94vw!important;
}

.main-cover-slider .main-cover-text {
    opacity: 0.6;
    transition: all .5s linear;
}


.main-cover-slider .main-cover-text.slick-current.slick-center {
    opacity: 1;
}
.single-media-cover video {
  width: 100%;
  height: 100%;
  object-fit: cover;  
  object-position: center;  
}

.single-media-cover:has( video) {
   position: relative;
   width: 100%;
   aspect-ratio: 16 / 9; 
   overflow: hidden;
   height: 100vh;
   max-height: 1920px;
   min-height: 600px;
}

.sm-cover.has-view-360 .main-cover-text:has( .galleryview360), .sm-cover.has-view-360 .main-cover-text:has( .floor-plan) {
    height:auto;
    top:auto;
    bottom:0;
}

.sm-cover.has-view-360 .main-cover-text .inner-main-cover-text:has( .galleryview360), .sm-cover.has-view-360 .main-cover-text .inner-main-cover-text:has( .floor-plan) {
    justify-content: flex-end;
}


.cover-gallery-img {
    background-size: cover;
    background-position: center;
    position:relative;
    min-height:640px;
}
.cover-gallery-img a:after {
    content:"";
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

.cover-gallery-img img {
    visibility: hidden;
}

.off-canvas-content.has-transition-overlap .all-sm-marquee {
    z-index: 1;
}
@media screen and (max-width:1024px) {
    .single-media-cover.has-bg-img {
        height: 90vh!important;
        min-height: 500px!important;
    }
}


@media screen and (max-width:640px) {
    .main-cover-slider .slick-arrow:before {
        display: none;
    }
    
    .main-cover-slider .slick-arrow, .main-cover-slider .slick-arrow svg {
        width: 30px;
        height: 30px;
    }
    
    .main-cover-slider .slick-prev {
        left:15px;
    }
    
    .main-cover-slider .slick-next {
        right:15px;
    }
        .main-cover-slider .main-cover-text {
            width: 100vw!important;
            max-width: 100vw!important;
            padding-left:60px;
            padding-right:60px;
        }
        
    .single-media-cover:has( video) {
        height:640px;
    }
    
    .main-cover-text.main-cover-align-stretch .calligraphic-font {
        margin-top: 0px;
    }
    
    .main-cover-text.main-cover-align-stretch .inner-main-cover-text {
        padding-bottom: 50px;
    }
}

@keyframes marquee {
    0% {
        transform: translate(0,0)
    }

    100% {
        transform: translate(-100%,0)
    }
}
@-webkit-keyframes marquee {
    0% {
        transform: translate(0,0)
    }

    100% {
        transform: translate(-100%,0)
    }
}
@keyframes marqueereverse {
    0% {
        transform: translate(-100%,0)
    }

    100% {
        transform: translate(0,0)
    }
}

@-webkit-keyframes marqueereverse {
    0% {
        transform: translate(-100%,0)
    }

    100% {
        transform: translate(0,0)
    }
}