.article-figure img {
    cursor: zoom-in;
}

.blog-lightbox-open {
    overflow: hidden;
}

.blog-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 5vh 5vw;
    background: rgba(13, 13, 13, 0.92);
    overflow: auto;
}

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

.blog-lightbox__button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 7px;
    background: rgba(17, 17, 17, 0.72);
    color: #fff;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
}

.blog-lightbox__button:hover,
.blog-lightbox__button:focus-visible {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(230, 51, 41, 0.9);
    outline: none;
}

.blog-lightbox__content {
    margin: auto;
    width: max-content;
    max-width: none;
}

.blog-lightbox__image {
    display: block;
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    border-radius: 8px;
    background: #111;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.blog-lightbox__caption {
    max-width: var(--lightbox-natural-width, 100%);
    margin: 0.9rem auto 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
    line-height: 1.55;
    text-align: center;
}

@media (max-width: 640px) {
    .blog-lightbox {
        padding: 4.75rem 1rem 1.5rem;
    }

    .blog-lightbox__button {
        top: 0.85rem;
        right: 0.85rem;
    }
}
