ul.mw-gallery-nolines.ts-gallerystyle-gray,ul.mw-gallery-packed.ts-gallerystyle-gray{background:#eaecf0;display:flex;justify-content:space-around;/* паддинг снизу есть у .gallerytext */padding-top:1em;flex-wrap:wrap;}.ts-gallerystyle-gray.gallerycaption{flex:11100%;}