/* ================================
   PIXELVAGRANT ARCHIVE CAROUSEL
================================ */

.carousel {
    position: relative;
    overflow: hidden;
}

/* Slides */

.archive-slide {

    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0;
    pointer-events: none;

    transition: opacity .35s ease;
}

.archive-slide.active {

    opacity: 1;
    pointer-events: auto;
}

/* Navigation */

.carousel-btn {

    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    width: 38px;
    height: 38px;

    border: none;
    border-radius: 50%;

    background: rgba(20, 20, 20, .65);
    backdrop-filter: blur(8px);

    color: #fff;

    font-size: 18px;
    font-weight: 700;

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

    cursor: pointer;

    opacity: 0;

    transition: .25s;

    z-index: 20;
}

.carousel:hover .carousel-btn {

    opacity: 1;
}

.carousel-btn:hover {

    background: #6C63FF;
    transform: translateY(-50%) scale(1.08);
}

.prev {

    left: 12px;
}

.next {

    right: 12px;
}

/* Dots */

.carousel-dots {

    position: absolute;

    left: 50%;
    bottom: 12px;

    transform: translateX(-50%);

    display: flex;
    gap: 7px;

    opacity: 0;

    transition: .25s;

    z-index: 20;
}

.carousel:hover .carousel-dots {

    opacity: 1;
}

.carousel-dot {

    width: 8px;
    height: 8px;

    border-radius: 50%;

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

    transition: .25s;
}

.carousel-dot.active {

    background: #6C63FF;

    transform: scale(1.4);

    box-shadow: 0 0 8px rgba(108, 99, 255, .8);
}

/* Hide arrows/dots if only one image */

.carousel.single .carousel-btn,
.carousel.single .carousel-dots {

    display: none;
}