.icon-current {
    fill: currentColor;
}
/* Natural-ratio fallback also works before JavaScript loads. */
.gallery-justified {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
}
.gallery-justified > [data-gallery-page-item] {
    position: relative;
    flex: none;
    width: calc((100% - 12px) / 2);
    min-width: 0;
    margin: 0;
}
.gallery-justified > [data-gallery-page-item][hidden] { display: none; }
.gallery-justified > [data-gallery-page-item] > a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}
.gallery-justified img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}
.gallery-justified.is-justified-ready img { height: 100%; }
.justified-caption {
    position: absolute;
    inset: auto 0 0;
    padding: 24px 12px 10px;
    color: #fff;
    background: linear-gradient(transparent, rgb(0 0 0 / 80%));
    overflow-wrap: anywhere;
    max-height: 100%;
    overflow: auto;
}
