.single-post .article-body-content .article-image-zoom-wrap {
    position: relative;
    display: inline-block;
    max-width: 100%;
    line-height: 0;
}

.single-post .article-body-content .article-image-zoom-wrap.is-block {
    display: block;
    width: fit-content;
}

.single-post .article-body-content .article-image-zoom-wrap > a,
.single-post .article-body-content .article-image-zoom-wrap > img {
    display: block;
    max-width: 100%;
}

.single-post .article-body-content .article-image-zoom-wrap.is-clickable {
    cursor: zoom-in;
}

.single-post .article-body-content .article-image-zoom-trigger {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #141414;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.single-post .article-body-content .article-image-zoom-trigger:hover {
    background: #ffffff;
}

.single-post .article-body-content .article-image-zoom-wrap:hover .article-image-zoom-trigger,
.single-post .article-body-content .article-image-zoom-wrap:focus-within .article-image-zoom-trigger {
    opacity: 1;
    transform: scale(1);
}

@media (hover: none), (pointer: coarse) {
    .single-post .article-body-content .article-image-zoom-trigger {
        opacity: 1;
        transform: scale(1);
    }
}

.article-image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.92);
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.26s ease, visibility 0s linear 0.26s;
}

.article-image-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.26s ease;
}

.article-image-lightbox__image {
    display: block;
    max-width: min(95vw, 1800px);
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    transform: scale(0.96);
    transition: transform 0.26s ease;
}

.article-image-lightbox.is-open .article-image-lightbox__image {
    transform: scale(1);
}

.article-image-lightbox__close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.article-image-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.35);
}

body.article-image-lightbox-open {
    overflow: hidden;
}
