.opac-global-template-image-item{
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: max(1.5vw, 1.5vh);
}

.opac-global-template-image-item-rank-wrapper {
    position: absolute;
    bottom: min(-1.5vw, -1.5vh);;
    width: max(3vw, 3vh);
    height: max(3vw, 3vh);
    max-width: 40px;
    max-height: 40px;
}
.opac-global-template-image-item-rank-wrapper > *{
    position: absolute;
}
