.spo-enc-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 1rem;
    width: 100%;
    margin: 1.2rem 0;
}
.spo-enc-gallery > figure {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    max-width: none;
    margin: 0 !important;
}
.spo-enc-gallery > figure > a { display: block; }
.spo-enc-gallery > figure img,
.spo-encyclopedia .spo-enc-gallery > figure img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
}
.spo-enc-gallery figcaption { overflow-wrap: anywhere; }
@media (max-width: 600px) {
    .spo-enc-gallery { grid-template-columns: minmax(0, 1fr); }
    .spo-enc-gallery > figure img, .spo-encyclopedia .spo-enc-gallery > figure img { aspect-ratio: auto; }
}
