.native-lightbox {
    width: 100vw;
    max-width: none;
    height: 100vh;
    max-height: none;
    margin: 0;
    padding: 48px 64px;
    border: 0;
    background: transparent;
    color: #fff;
}

.native-lightbox::backdrop {
    background: rgba(0, 0, 0, 0.9);
}

.native-lightbox__figure {
    display: flex;
    height: 100%;
    margin: 0;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.native-lightbox__image {
    max-width: 100%;
    max-height: calc(100vh - 130px);
    object-fit: contain;
}

.native-lightbox__caption {
    min-height: 24px;
    padding-top: 12px;
    text-align: center;
}

.native-lightbox__close,
.native-lightbox__previous,
.native-lightbox__next {
    position: fixed;
    border: 0;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    cursor: pointer;
    font-size: 36px;
    line-height: 1;
}

.native-lightbox__close {
    top: 16px;
    right: 20px;
    padding: 6px 12px;
}

.native-lightbox__previous,
.native-lightbox__next {
    top: 50%;
    padding: 14px 10px;
    transform: translateY(-50%);
}

.native-lightbox__previous {
    left: 16px;
}

.native-lightbox__next {
    right: 16px;
}

@media screen and (max-width: 768px) {
    .native-lightbox {
        padding: 52px 16px 24px;
    }

    .native-lightbox__previous {
        left: 4px;
    }

    .native-lightbox__next {
        right: 4px;
    }
}
