.pnp-work-photo {
    cursor: zoom-in;
}

.pnp-work-photo img {
    transition: opacity .18s ease, transform .18s ease;
}

.pnp-work-photo:hover img,
.pnp-work-photo:focus-within img {
    opacity: .9;
    transform: scale(1.01);
}

.pnp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .92);
    color: #fff;
}

.pnp-lightbox.is-open {
    display: flex;
}

.pnp-lightbox__stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 62px 88px 72px;
}

.pnp-lightbox__image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .45);
}

.pnp-lightbox__caption {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 20px;
    min-height: 24px;
    color: #fff;
    font-size: 15px;
    line-height: 1.35;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .75);
}

.pnp-lightbox__button {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0;
    background: rgba(255, 0, 0, .92);
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
}

.pnp-lightbox__button:hover,
.pnp-lightbox__button:focus {
    background: #fff;
    color: #f00;
    outline: 2px solid #f00;
    outline-offset: 2px;
}

.pnp-lightbox__close {
    top: 18px;
    right: 18px;
    width: 46px;
    height: 46px;
    font-size: 24px;
}

.pnp-lightbox__prev,
.pnp-lightbox__next {
    top: 50%;
    width: 54px;
    height: 72px;
    font-size: 42px;
    transform: translateY(-50%);
}

.pnp-lightbox__prev {
    left: 18px;
}

.pnp-lightbox__next {
    right: 18px;
}

.pnp-lightbox__count {
    position: absolute;
    top: 26px;
    left: 24px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
}

body.pnp-lightbox-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .pnp-lightbox__stage {
        padding: 64px 44px 74px;
    }

    .pnp-lightbox__close {
        top: 12px;
        right: 12px;
        width: 42px;
        height: 42px;
        font-size: 22px;
    }

    .pnp-lightbox__prev,
    .pnp-lightbox__next {
        width: 38px;
        height: 58px;
        font-size: 32px;
    }

    .pnp-lightbox__prev {
        left: 0;
    }

    .pnp-lightbox__next {
        right: 0;
    }

    .pnp-lightbox__caption {
        left: 12px;
        right: 12px;
        bottom: 16px;
        font-size: 13px;
    }
}
