/*  Split Layout  

--slide-nav-height
--content-slider-height

height: calc( 100svh - var(--navbar-height) );
    min-height: calc( var(--slide-nav-height) + var(--content-slider-height) - var(--navbar-height) );

*/

.split-layout{
    --space-sides: 16px;       
 }
@media (min-width: 992px) {
    .split-layout{
        --space-sides: 48px;  
    }
}

.split-layout {
    position: relative;
    overflow: hidden;
    
    padding:0 !important;
    background: #092340;
} 

.split-layout > .container,
.split-layout > .container-fluid { 
    width: 100%;
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}

/*  Left: Image slider  */
.split-image {
    position: relative;
    background: #e9ecef;
}

.split-image .slide-img {
    width: 100%; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.split-image .slide-img span {
    color: rgba(255, 255, 255, .6);
    font-size: .875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/*  Right: flex column  */
.split-content {
    color: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/*  Slide Nav  */
.slide-nav {
    flex-shrink: 0;
    padding: 0 var(--space-sides);
} 

.slide-nav .nav-link {
    color: rgba(255, 255, 255, .55);
    padding: 34px 50px 34px 0;
    font-weight: 400;
    font-size: 18px;
    border: none;
    background: none;
    cursor: pointer;
    white-space: nowrap;
    text-align: left;
    transition: color .2s;
}
@media (max-width: 575.98px) {
    .slide-nav .nav-link {
        padding: 34px 30px 34px 0;
        font-size: 12px;
    }
}

.slide-nav .nav-link:hover {
    color: rgba(255, 255, 255, .85);
}

.slide-nav .nav-link.active {
    color: #fff;
}

.slide-nav ul.nav {
    position: relative;
}

.slide-nav .nav-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: #3FB4E4;
    transition: left .35s ease, width .35s ease;
    pointer-events: none;
}

/*  Content slider  */
.content-wrap {
    flex: 1;
    overflow: hidden;
}

.slide-content {
    padding: 48px var(--space-sides);
    overflow-y: auto;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.slide-content .subtitle {
    color: #3FB4E4;
    font-size: 16px; 
    font-weight: 400;
    margin-bottom: 1rem;
}

.slide-content h2 {
    font-size: 42px;
    font-weight: 400;
    margin-bottom: 60px!important;
} 

.slide-content .block-text {
    color: rgba(255, 255, 255, .7);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.slide-content .tags-label {
    font-size: 16px;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 1rem;
}

.slide-content .badge {
    font-weight: 400;
    font-size: 14px;
    display: flex;
    padding: 16px;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    border: 1px solid rgba(129, 142, 157, 0.40);
    background-color: transparent;
}


.split-layout .image-slider.swiper:not(.swiper-initialized) .swiper-slide{
    display: none;
}
.split-layout .swiper:not(.swiper-initialized) .swiper-slide {
    flex: 0 0 100%;
    width: 100%;
  }
.split-layout .swiper.swiper-initialized {
    overflow: hidden;
  }

  /*
  calc( var(--slide-nav-height) + var(--content-slider-height) - var(--navbar-height) );
  */
.split-layout .image-slider.swiper .slide-img{
    height: calc( 100svh  - var(--navbar-height) );
    min-height: 100%;
}
.split-layout .content-slider.swiper .slide-content{
    height: calc( 100svh  - var(--navbar-height) - var(--slide-nav-height)  );
    min-height: min-content;
}

.split-layout-diff{
    height: 100%;
    margin-left: calc( var(--container-dif) * -1 );
}

/*  Content entrance animation  */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.split-layout .swiper-slide-active .slide-content > div > * {
    animation: fadeUp .5s ease both;
}
.swiper-slide-active .slide-content > div:first-child > *:nth-child(1) { animation-delay: .05s; }
.swiper-slide-active .slide-content > div:first-child > *:nth-child(2) { animation-delay: .15s; }
.swiper-slide-active .slide-content > div:first-child > *:nth-child(3) { animation-delay: .25s; }
.swiper-slide-active .slide-content > div:first-child > *:nth-child(4) { animation-delay: .35s; }
.swiper-slide-active .slide-content > div:first-child > *:nth-child(5) { animation-delay: .45s; }
.swiper-slide-active .slide-content > div:first-child > *:nth-child(6) { animation-delay: .55s; }
.swiper-slide-active .slide-content > div:last-child > *:nth-child(1) { animation-delay: .65s; }
.swiper-slide-active .slide-content > div:last-child > *:nth-child(2) { animation-delay: .75s; }
.swiper-slide-active .slide-content > div:last-child > *:nth-child(3) { animation-delay: .85s; }
  
@media (max-width: 991.98px) {
    .split-image {
        position: absolute;
        inset: 0;
        z-index: 0;
    }

    .split-image::after {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, .45);
        z-index: 1;
    }

    .split-image .swiper {
        z-index: 0;
    }

    .split-image .slide-img span {
        display: none;
    }

    .split-content {
        position: relative;
        z-index: 2;
    }

    .slide-nav {
        overflow-x: auto;
    }
}
