.slider-section{
    position: relative;

    width: 100%;
    min-height: 20vh;

    overflow: visible;
    
    padding-top: 35x;

    background:
    radial-gradient(circle at center,
    rgba(255,255,255,.08),
    transparent 40%),
    #050b16
}

.slider-header{
    position: relative;
    z-index: 100;

    text-align: center;
    margin-bottom: 60px;
}

.slider-heading-small{
    color: rgba(255, 255, 255, .55);

    letter-spacing: 4px;
    text-transform: uppercase;

    margin-bottom: 16px;
}

.slider-heading-main{
    margin: 0;

    color: #fff;

    font-size: 72px;
    line-height: 1;
}

.slider-stage{
    position: relative;

    width: 100%;
    height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;

    perspective: 2600px;
    perspective-origin: center center;

    overflow: visible;
}

.carousel{
    position:relative;

    width: 300px;
    height: 440px;

    transform-style: preserve-3d;

    transition: transform 1.2s cubic-bezier(.15, .8, .25, 1);

    cursor: grab;
    will-change: transform;
}

.carousel__cell{
    position: absolute;
    inset: 0;

    border-radius: 24px;
    overflow: hidden;

    background: #111;

    transform-style: preserve-3d;
    backface-visibility: hidden;

    transition: 
    opacity .8s ease,
    filter .8s ease;

    box-shadow: 
    0 24px 80px rgba(0, 0, 0, .45);

    will-change: transform;
}

.carousel__cell::after{
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: -100px;
    height: 100px;

    background: 
    linear-gradient(to bottom,
    rgba(255,255,255,.14),
    transparent);

    transform: scaleY(-1);
    filter: blur(18px);
    opacity: .15;
}

.cell__link{
    display: block;

    width: 100%;
    height: 100%;

    color: #fff;
    text-decoration: none;
}

.cell__image{
    position: absolute;
    inset: 0;

    background-size: cover;
    background-position: center;

    transform: scale(1.04);
}

.cell__overlay{
    position: absolute;
    inset: 0;

    background: 
    linear-gradient(to top,
    rgba(0,0,0,.94),
    rgba(0,0,0,.18));
}

.cell__content{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    z-index: 0;

    padding: 28px;
}

.cell__meta{
    margin-bottom: 10px;

    color: rgba(255,255,255,.6);
    letter-spacing: 2px;
}

.cell__title{
    font-size: 24px;
    font-weight: 700;

    line-height: 1.15;
    letter-spacing: -.02em;
    color: #fff;

    margin: 0;
    
    overflow-wrap: break-word;
    word-break: break-word;
    text-wrap: balance;
    transition: font-size .35s ease;
}

.slider-nav{
    position: absolute;
    top: 50%;

    transform: translateY(-50%);

    width: 64px;
    height: 64px;

    border: none;
    border-radius: 999px;

    background: rgba(255,255,255,.08);
    backdrop-filter: blur(20px);
    color: #fff;
    cursor: pointer;
    z-index: 200;
}

.slider-prev{
    left: 40px;
}

.slider-next{
    right: 40px;
}

@media(max-width:768px){
    .slider-heading-main{
        font-size: 42px;
    }

    .carousel{
        width: 220px;
        height: 340px;
    }

    .cell__title{
        font-size: 24px;
    }
}

/*
========================================
Apple Style Progress Indicators
========================================
*/

.slider-indicators{
    position: relative;

    z-index: 200;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    margin-top: 30px;
}

.slider-indicator{
    position: relative;

    width: 8px;
    height: 8px;

    border: none;
    border-radius: 999px;

    background: rgba(255,255,255,.28);

    overflow: hidden;

    cursor: pointer;

    padding: 0;
    transition: width .45s ease, opacity .35s ease, background .35s ease, transform .35s ease;
    flex-shrink: 0;
}

.slider-indicator.is-active{
    width: 38px;
    background: rgba(255,255,255,.18);
}

.slider-indicator:hover{
    transform: scale(1.15);
    background: rgba(255,255,255,.5);
}

/*
========================================
Progress Fill
========================================
*/

.slider-indicator::before{
    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 0%;

    border-radius: inherit;

    background: #fff;

    transition: width var(--duration, 5000ms) linear, opacity .45s ease;

    opacity: 0;
    will-change: width, opacity;
}

/*
========================================
Active Animation
========================================
*/

.slider-indicator.is-active::before{
    width: 100%;
    opacity: 1;
}