article {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 43px);
    overflow: hidden;
}

.object_target {
    flex-grow: 1;
    height: 100%;
}

iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
    border-radius: 0 0 8px 8px;
    object-fit: contain;
}

.object_target img {
    width: 100%;
    max-height: calc(100% - 44px) !important;
    overflow: auto;
}


/* Chrome/Safari hack to try and force the internal image to shrink */
iframe {
    image-rendering: -webkit-optimize-contrast;
}

.object_target iframe img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.viewer {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 4px;
}

.image-viewer img {
    max-width: 100%;
    max-height: auto;
    border-radius: 4px;
}

.video-viewer,
.audio-viewer {
    text-align: center;
}

.video-viewer video,
.audio-viewer audio {
    max-width: 100%;
    border-radius: 4px;
}

/* --------------- checked --------------- */