.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    display: none;
    background-color: rgba(56, 64, 71, 0.9);
    height: 100%;
    width: 100vw;
    max-height: 100dvh;
    max-width: 100vw;

    flex-direction: column;
    gap: 1rem;

    overflow-y: scroll;
    min-height: 400px;

    padding: 2rem;
}

.lightbox-active {
    display: flex;
}

/* ZOOM CLOSE BUTTON */
.lightbox-close {
    transition: all .25s ease;
    cursor: pointer;
    position: absolute;
    right: 2rem;
    top: 2rem;
    transform: translate(-50%, -50%);
    z-index: 10;
    tab-index: -1;

}

.lightbox-close::before {
    content: '';
    cursor: pointer;
    z-index: -1;
    position: absolute;
    left: -2rem;
    top: -2rem;
    right: -2rem;
    bottom: -2rem;
}

.lightbox .swiper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.lightbox .swiper-slide {
    display: flex;
    align-items: center;
}

.lightbox .swiper-wrapper {
    width: initial;
    flex: 1;
    min-width: 0;
    height: 100%;
}

.lightbox .swiper-slide {
}

.lightbox-item {
    width: 100%;
    display: flex;
    justify-content: center;
}

.lightbox-item-image {
    height: 100%;
    width: 100%;
    object-fit: contain;
    *height: 100%
}

.lightbox-item-texts {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
}
.lightbox-item-text {
    text-align: center;
    color: #fff;
    padding: 0 2rem;
    transform: translateY(-40px);
    opacity: 0;
    transition: all .4s ease-in-out;
    grid-area: 1 / 1;

}

.lightbox-item-text-active {
    transform: translateY(0);
    opacity: 1;
}

.lightbox-pagination.swiper-pagination-lock {
    display: block;
}
.lightbox-pagination .swiper-pagination-bullet:only-child {
    display: inline-block !important;
}

.lightbox-pagination {
    --swiper-pagination-color: #fff;
    --swiper-pagination-bullet-inactive-color: #fff;
    position: static;
    opacity: 1;
    text-align: center;
}

.lightbox .arrow-prev,
.lightbox .arrow-next {
    color: var(--color-yellow);
    position: absolute;
    opacity: 1;
    z-index: 10;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    cursor: pointer;
    transition: all .25s ease;
}
.lightbox .arrow-prev {
    left: 0;
}

.lightbox .arrow-next {
    right: 0;
}


@media (max-width: 991px) {

    .lightbox {
        padding: 1rem;
    }
    .lightbox .arrow-prev,
    .lightbox .arrow-next {
        opacity: 0;
    }
}

.generic-lightbox-wrap {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    line-height: 0;
    font-size: 0;

    &:after {
        content: '';
        position: absolute;
        inset: 0;
        background-color: rgb(82, 82, 82, 0.57);
        pointer-events: none;
    }

    &:hover {
        .lightbox-video-play-button {
            background-color: var(--color-blue) !important;
        }

        .lightbox-video-play-button::after {
            border-color: transparent transparent transparent #fff !important;
        }
    }
}

.lightbox-video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70px;
    height: 70px;
    background-color: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.lightbox-video-play-button::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 22px;
    border-color: transparent transparent transparent var(--color-blue);
    margin-left: 5px;
}