/* Progressive Image Loading Styles */
.progressive_img_container {
    position: relative;
    width: auto;
    height: auto;
}

.progressive_img_container>img:first-child {
    display: block;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
}

.progressive_img_container>img:first-child.loaded {
    opacity: 1;
}

.thumbhash-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.progressive_img_container>img:first-child.loaded+.thumbhash-placeholder {
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
    visibility: hidden;
}