.img-wrapper {
    position: relative;
    display: inline-block;
}

/* Expand button */
.img-expand-btn {
    position: absolute;
    bottom: calc(var(--std-padding)/2);
    right: calc(var(--std-padding)/2);
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--clr-really-dark);
    border: none;
    cursor: pointer;
    font-size: 20px;
    border-radius: calc(var(--bord-rad)/3);
}

.img-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.50);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.img-overlay img {
    max-width: 80vw;
    max-height: 80vh;
    object-fit: contain;
}

.view .img-wrapper {
    position: relative;
    display: block;
    width: 100%;
    line-height: 0;
}

.view .img-wrapper>img {
    display: block;
    width: 100%;
    height: auto;
}
