:is(#line-gallery, #promo-gallery, #png-gallery, #news-gallery) a{
    max-width: calc(25% - var(--gap));
}

#sprite-gallery{
    width: 80%;
}