.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) a, .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img { aspect-ratio: 4 / 3; } #logogallery.bricks-layout-wrapper .image { object-fit: contain; } #logogallery .bricks-layout-item { line-height: 1.6; position: relative; display: flex; justify-content: center; align-items: center; } .wpgb-facet button.wpgb-apply, .wpgb-facet button.wpgb-reset { margin: 0 !important; } .services-wrap .wpgb-facet .wpgb-inline-list { display: -ms-flexbox; display: flex; -ms-flex-pack: start; justify-content: flex-start; -ms-flex-wrap: wrap; flex-wrap: wrap; list-style: none; margin: 0 0 -8px 0; padding: 0; flex-direction: column; } .wpgb-facet .wpgb-inline-list { justify-content: center !important; } .wpgb-facet>fieldset:last-child { margin-bottom: 0 !important; } image { padding-top: inherit !important; } .bricks-layout-wrapper[data-layout=grid] .image { background-position: 0 0; } .wpgb-facet>fieldset:last-child { margin-bottom: 0 !important; } @media (max-width: 478px){ .brxe-nltqpr .brxe-txgdfs.brxe-block { width: 100%; padding-top: 0 !important; padding-bottom: 0 !important; } }