﻿/* .flex_layout.service_carousel .content_wrapper{
    grid-column: 9 / span 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
} */

/* .flex_layout.service_carousel .content_wrapper a,
.flex_layout.service_carousel .content_wrapper .heading_wrapper{ */

/* .flex_layout.service_carousel .indicator{

} */

.flex_layout.vertical_carousel .indicator_container{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

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

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

.flex_layout.vertical_carousel .service_wrapper{
    grid-column: 1 / -1;
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* .flex_layout.vertical_carousel .next_services {
    grid-column: 9 / span 4;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    position: relative;
    height: 70vh;
    overflow: hidden;
}

.flex_layout.vertical_carousel .next_services > div{
    position: relative;
}
.flex_layout.vertical_carousel .next_services > div:nth-child(1){
    grid-column-end: span 3;
}

.flex_layout.vertical_carousel .next_services > div:nth-child(2){
    grid-column-end: span 1;
} */

.flex_layout.vertical_carousel .service{
    position: absolute;
    inset: 0;
    isolation: isolate;
    cursor: grab;
}

.flex_layout.vertical_carousel .service:active{
    cursor: grabbing;
}

.flex_layout.vertical_carousel .service__outer{
    position: relative;
}
.flex_layout.vertical_carousel .service__outer,
.flex_layout.vertical_carousel .service__inner{
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.flex_layout.vertical_carousel .service__inner img{
    position: absolute;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    z-index: -2;
}

.flex_layout.vertical_carousel .service *{
    color: inherit;
}

.flex_layout.vertical_carousel .service__inner{
    display: flex;
    align-items: center;
}

.flex_layout.vertical_carousel .service .content_wrapper{
    position: relative;
    z-index: 1;
    /* background-color: rgba(255,255,255,0.7); */
    background-color: #fff;
    /* backdrop-filter: blur(4px); */
    /* -webkit-backdrop-filter: blur(4px); */
    padding: calc(2 * var(--grid-margin));
    margin: var(--grid-margin);
    max-width: 50%;
    display: flex;
    gap: 1.5rem;
    height: fit-content;
    flex-direction: column;
}

/* .flex_layout.vertical_carousel .service a{
    margin-top: auto;
} */
.flex_layout.vertical_carousel .mouse_follower {
    /* flex-direction: column; */
    aspect-ratio: 1;
    height: fit-content;
    width: auto;
}

.flex_layout.vertical_carousel .mouse_follower span{
    flex-direction: column;
}

.flex_layout.vertical_carousel .mouse_follower span::before,
.flex_layout.vertical_carousel .mouse_follower span::after{
    /* transform: rotate(90deg); */
    rotate: 90deg;
}


@media only screen and (max-width: 992px){

    .flex_layout.vertical_carousel .heading_wrapper{
        grid-column: 1 / span 4;
        grid-row: 1 / span 1;
    }

    .flex_layout.vertical_carousel .service_wrapper{
        height: 70vh;
        grid-column: 1 / span 4;
        grid-row: 2 / span 1;
    }

    .flex_layout.vertical_carousel .service--inner{
        /* margin-top: auto; */
    }
    .flex_layout.vertical_carousel .service .content_wrapper{
        /* margin-top: auto; */
        max-width: unset;
        /* background-color: rgba(255,255,255,0.35);
        backdrop-filter: blur(.5rem); */
    }

    .flex_layout.vertical_carousel .service a{
        margin-left: auto;
    }

    .flex_layout.vertical_carousel .pk-button{
        grid-column: 1 / span 4;
        grid-row: 3 / span 1;
    }

    .flex_layout.vertical_carousel .next_services{
        display: none;
    }

}
