@media (max-width: 767px) {
    .Custom-mySwiper .second-block {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
@media (min-width: 768px) {
    .block-hover {
        cursor: default;
    }
    .block-hover.active {
        z-index: 2;
    }
    .block-hover.active .second-block > div.elementor-element {
        z-index: 5;
    }
    .Custom-mySwiper .block-hover .first-block {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        gap: 28px;
    }
    .Custom-mySwiper .block-hover .first-block .slider__content-title {
        font-family: "dharma-gothic-e", Sans-serif;
        font-size: 70px;
        line-height: 120%;
        font-weight: 500;
        text-transform: uppercase;
        flex-shrink: 0;
        flex-grow: 1;
    }
    .Custom-mySwiper .block-hover .first-block .slider__content-title,
    div:not(.elementor-editor-wrapper) .block-hover .first-block .elementor-heading-title {
        transition: all .35s ease;
        color: transparent;

        -webkit-text-stroke-width: 1px;
        stroke-width: 1px;
        -webkit-text-stroke-color: rgba(255, 255, 255, .5);
        stroke: rgba(255, 255, 255, .5);
    }
    .Custom-mySwiper .block-hover.active .first-block .slider__content-title,
    div:not(.elementor-editor-wrapper) .block-hover.active .first-block .elementor-heading-title {
        color: rgba(255, 0, 17, 1);

        -webkit-text-stroke-width: 1px;
        stroke-width: 1px;
        -webkit-text-stroke-color: rgba(255, 255, 255, 0);
        stroke: rgba(255, 255, 255, 0);
    }

    .Custom-mySwiper .second-block {
        width: 445px;
        position: absolute;
        top: 70px;
        right: 0;
    }
    .block-hover .second-block {
        opacity: 0;
        transform: translatey(50%);
        transition: all .15s ease-in-out;
        will-change: opacity, transform;
    }
    .block-hover.active .second-block {
        opacity: 1;
        transform: translatey(0);
    }
    .block-hover .elementor-widget-call-to-action {
        overflow: hidden;
        max-width: 100%;
        width: 85%;
        position: relative;
    }
    .block-hover .elementor-widget-call-to-action:after {
        content: '';
        display: block;
        width: 100%;
        height: 10px;
        background-color: rgba(255, 0, 17, 1);
        transition: all .4s cubic-bezier(.25,0,.25,1);
        position: absolute;
        top: calc(50% - 5px);
        transform: translatey(-50%) translatex(-100%);
        will-change: transform;
    }
    .block-hover.active .elementor-widget-call-to-action:after {
        transform: translatey(-50%) translatex(0%);
        transition: transform .4s cubic-bezier(.25,0,.25,1);
    }


    .block-hover .elementor-cta__description {
        max-width: 445px;
    }
    .block-hover .elementor-cta__content {
        display: flex;
        justify-content: flex-end;
    }
}
@media (min-width: 1025px) {
    .Custom-mySwiper .block-hover .first-block .slider__content-title {
        font-size: 110px;
        line-height: 120%;
    }
    .Custom-mySwiper .second-block {
        top: 85px;
    }
    .Custom-mySwiper .block-hover.slide-1 .second-block {
        width: 365px;
    }
}
@media (min-width: 1025px) and (max-width: 1099px) {
    .Custom-mySwiper .block-hover.slide-1 .second-block {
        width: 365px;
    }
}
@media (min-width: 1100px) {
    .Custom-mySwiper .block-hover.slide-1 .second-block {
        width: 40%;
        max-width: 445px;
    }
}



.Custom-Images {
    height: 100%;
    min-height: 100vh;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}
.Custom-Images:after {
	content: "";
	height: 100%;
	width: 100%;
	background: rgba(0,0,0, .25);
	position: absolute;
	inset: 0;
}
.Custom-Images .image {
    z-index: 0;
    opacity: 0;
    transition: opacity .4s ease-in-out;
}
.Custom-Images img {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.Custom-Images .image.active {
    z-index: 1;
    opacity: 1;
}
@media (max-width: 767px) {
    .Custom-Images::before {
        content: "";
        position: absolute;
        z-index: 1;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, .3);
    }
}



@media (min-width: 768px) and (max-height: 991px) {
    .block-hover-wrapper {
        padding-top: 50px;
        padding-bottom: 100px;
    }
}
@media (min-height: 992px) {
    .block-hover-wrapper {
        height: 100vh;
    }
}
.block-hover-wrapper .elementor-widget-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.Custom-mySwiper2 {
    overflow: hidden;
    width: 78vw;
    /* height: 80vh; */
}
@media (min-width: 768px) {
    .Custom-mySwiper2 {
        height: 50vh;
    }    
}
.Custom-mySwiper2 .Custom-mySwiper2-wrapper > div {
    margin-bottom: 0 !important;
    transform: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;

    /* height: 45px !important; */
}
@media (min-width: 768px) {
    .Custom-mySwiper2 .Custom-mySwiper2-wrapper > div {
        padding: 8px 0;
    }
}
.Custom-mySwiper2 .swiper-slide-active span {
    color: rgba(255, 0, 17, 1);
    -webkit-text-stroke-width: 1px;
    stroke-width: 1px;
    -webkit-text-stroke-color: rgba(255, 255, 255, 0);
    stroke: rgba(255, 255, 255, 0);
}
.Custom-mySwiper2 span {
    transition: all .35s ease;

    text-align: center;
    margin-bottom: 0;
    color: #fff;
    
    color: transparent;
    -webkit-text-stroke-width: 1px;
    stroke-width: 1px;
    -webkit-text-stroke-color: rgba(255, 255, 255, .25);
    stroke: rgba(255, 255, 255, .25);
    
    font-family: "dharma-gothic-e", Sans-serif !important;
    font-size: 50px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1;
}
.Custom-mySwiper2 .swiper-slide-prev span,
.Custom-mySwiper2 .swiper-slide-next span {
    -webkit-text-stroke-color: rgba(255, 255, 255, .5);
    stroke: rgba(255, 255, 255, .5);
}






.Custom-mySwiper {
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
}




.Custom-mySwiper span.slider__content-text {
    font-family: "Helvetica Neue LT Pro", Sans-serif;
    font-size: 14px;
    line-height: 120%;
    font-weight: 500;
    color: #fff;
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 20px;
}
@media (min-width: 768px) {
    .Custom-mySwiper {
        padding-left: 30px !important;
        padding-right: 30px !important;
        overflow: visible !important;
    }
    .Custom-mySwiper .Custom-mySwiper-wrapper {
        overflow: visible !important;
        flex-direction: column !important;
        display: flex;
        gap: 15px;
        height: auto;
    }
    .Custom-mySwiper .Custom-mySwiper-wrapper > div {
        transform: none !important;
    }
    .Custom-mySwiper .Custom-mySwiper-wrapper .block-hover {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        position: relative;
        overflow: visible !important;
    }
    .Custom-mySwiper span.slider__content-text {
        text-align: right;
        font-size: 18px;
        padding: 0;
        margin-bottom: 13px;
        display: flex;
    }
    .Custom-mySwiper div.slider-button__wrapper .slider-button {
        text-align: right;
    }
}
@media (min-width: 768px) and (max-height: 991px) {
    .swiper.Custom-mySwiper {
        padding-top: 85px !important;
        padding-bottom: 100px !important;
    }
}
@media (min-width: 768px) and (min-height: 992px) {
    .swiper.Custom-mySwiper {
        padding-top: 80px !important;
    }
}



@media (min-width: 1025px) {
    .Custom-mySwiper .Custom-mySwiper-wrapper {
        gap: 0;
    }
}

.Custom-mySwiper a.button-1 {
    padding: 20px 30px;
}
.Custom-mySwiper a.button-1:hover,
.Custom-mySwiper a.button-1:focus {
    background: rgba(255, 0, 17, 1);
    color: #fff;
}
.Custom-mySwiper a.button-1 .elementor-button-content-wrapper {
    gap: 30px;
}


@media (max-width: 767px) {
    .Custom-mySwiper .block-hover .first-block {
        display: none !important;
    }
}
@media (min-width: 768px) {
    .Custom-mySwiper2 {
        display: none !important;
    }
}





@media (max-width: 767px) {
    #mobileSection {
        transition: none !important;
    }
    .slider-vertical {
        position: relative;
        /* display: grid; */
        /* grid-template-rows: 1fr auto; */
        /* height: 100%; */
        height: 100svh;
    }
    .Custom-mySwiper {
        /* position: sticky; */
        position: absolute;
        bottom: 80px;
        z-index: 2;
    }
    /* .Custom-mySwiper.is-sticky {
        position: absolute;
        bottom: 0;
        z-index: 2;
    } */
    .Custom-mySwiper .Custom-mySwiper-wrapper {
        transform: translate3d(0px, 0, 0);
        position: relative;
        width: 100%;
        height: 100%;
        z-index: 1;
        display: flex;
        transition-property: transform;
        box-sizing: content-box;
    }
    .Custom-mySwiper .Custom-mySwiper-wrapper .block-hover {
        flex-shrink: 0;
        width: 100%;
        height: 100%;
        position: absolute;
        transition-property: transform;
        display: flex;
        align-items: flex-end;

        opacity: 0;
        transition: opacity .25s ease;
    }
    .Custom-mySwiper .Custom-mySwiper-wrapper .block-hover.active {
        opacity: 1;
    }
    .Custom-mySwiper2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;

/* 		margin: 23vh auto 30px; */
		margin: 220px auto 30px;
/* 		margin: 23dvh auto 30px; */
    }
    .Custom-mySwiper2 .Custom-mySwiper2-wrapper {
        position: relative;
        height: calc(5 * 50px);
        margin-top: 100px;
        overflow: visible;
    }
    .Custom-mySwiper2 .Custom-mySwiper2-wrapper > div.slide {
        height: 50px;
        overflow: hidden;
        text-overflow: ellipsis;
        opacity: 1;
    }
    
    .Custom-mySwiper2 .Custom-mySwiper2-wrapper > div.slide:not(.slide.swiper-slide-next, .slide.swiper-slide-active, .slide.swiper-slide-prev, .slide.swiper-slide-after-next) {
        /*opacity: 0;*/
    }
    /*.Custom-mySwiper2 .Custom-mySwiper2-wrapper > div.slide:nth-child(-n+4):not(.slide.swiper-slide-active, .slide.swiper-slide-prev) span {
        -webkit-text-stroke-color: rgba(255, 255, 255, .25);
        stroke: rgba(255, 255, 255, .25);
    }*/
    .Custom-mySwiper2 .Custom-mySwiper2-wrapper .swiper-slide-prev span,
    .Custom-mySwiper2 .Custom-mySwiper2-wrapper .swiper-slide-next span {
        -webkit-text-stroke-color: rgba(255, 255, 255, 0.5);
        stroke: rgba(255, 255, 255, .5);
    }
    /*.Custom-mySwiper2 .Custom-mySwiper2-wrapper > div.slide:nth-child(2):not(.slide.swiper-slide-active, .slide.swiper-slide-prev) span {
        -webkit-text-stroke-color: rgba(255, 255, 255, .5);
        stroke: rgba(255, 255, 255, .5);
    }*/
    .Custom-mySwiper2 .Custom-mySwiper2-wrapper > div.slide:nth-child(-n+4) {
        opacity: 1;
    }

    .Custom-Images {
        overflow: hidden;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: -1;
    }


}
@media (min-width: 768px) {
    .slider-vertical {   
        display: flex;
        align-items: center;
    }
}

/** my code*/
@media (max-width: 767px) {
  .Custom-mySwiper2 .Custom-mySwiper2-wrapper > .slide {
    opacity: 0;
    visibility: hidden;           /* keeps height, hides visually */
  }
  .Custom-mySwiper2 .Custom-mySwiper2-wrapper > .slide.in-range {
    opacity: 1;
    visibility: visible;
  }
  /* Keep 5-slot window height (active ±2) */
  .Custom-mySwiper2 .Custom-mySwiper2-wrapper { height: calc(5 * 50px); }
}
