.slider-container {
    position: relative;
    width:100vw;
	margin-top: 100px;
    margin-left:calc(-50vw + 50%);
	margin-bottom: 50px;
    overflow: hidden;
    user-select: none;
    touch-action: pan-y;
}

.slider-track {
    position: relative;
	left: 25%;
    display: flex;
	gap: 4px;
    will-change: transform;
}

.slide {
    position: relative;
    flex: 0 0 calc(50% - 2px);
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.slide-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.slide picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
    padding: 12% 4% 7%;
    box-sizing: border-box;
}

.slide-text h2,
.slide-text p {
    margin: 0;
	padding: 0;
	line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.7);
	text-align: center;
}
.slide-text h2 {
    font-size: clamp(1.4rem, 3.5vw, 2.3rem);
    font-weight: 600;
}

/* ARROWS */
.arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    font-size:2em;
    color:#fff;
    background:rgba(0,0,0,.5);
    padding:10px;
    cursor:pointer;
    user-select:none;
    z-index:2;
    transition:background-color .5s,opacity 1s;
}

.arrow:hover{
    background:rgba(0,0,0,.8);
}

.arrow.prev{
    left:10%;
}

.arrow.next{
    right:10%;
}

/* DOTS */
.slider-dots {
    position: absolute;
    left: 50%;
    bottom: 15px;
    transform: translateX(-50%);

    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 40px;
    height: 10px;
    border-radius: 5px;

    background: rgba(255,255,255,.5);
    cursor: pointer;
    transition: all .3s ease;
}

.slider-dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* MOBILE */
@media (max-width: 900px) {
    .slider-container {
	    margin-top: 0;
    }
    .slider-track {
	    left:0;
    }
    .slide {
        flex: 0 0 100%;
        aspect-ratio: 1 / 1;
    }

    .slide-text {
        padding: 50px 12px;
    }

    .arrow.prev { left: 0; }
    .arrow.next { right: 0; }
}