.wp-block-gallery{max-width:initial}.wp-block-gallery.alignleft,.wp-block-gallery.alignright{width:100%}.wp-block-gallery.aligncenter figure.wp-block-image{justify-content:center}.wp-block-gallery:not(.is-cropped) figure.wp-block-image{margin-top:0;margin-bottom:auto}.wp-block-gallery.is-cropped figure.wp-block-image>a{display:flex}.wp-block-gallery.is-cropped figure.wp-block-image :where(a,img,svg){flex:1 0 0%;width:100%;height:100%;object-fit:cover}.wp-block-gallery figure.wp-block-image.is-style-rounded figcaption{position:relative;background:none;color:inherit;margin:0}.wp-block-gallery figure.wp-block-image{position:relative;display:flex;justify-content:center;flex-direction:column;flex-grow:1;margin:0;max-width:100%}.wp-block-gallery figure.wp-block-image>a{flex-direction:column;margin:0}.wp-block-gallery figure.wp-block-image img{display:block;max-width:100%}.wp-block-gallery figure.wp-block-image .wp-element-caption{position:absolute;width:100%;bottom:0;max-height:100%;overflow:auto;padding:1rem;color:var(--wp--preset--color--white);text-align:center;border-radius:inherit;background:linear-gradient(0deg,rgba(0,0,0,0.7) 0,rgba(0,0,0,0.3) 70%,transparent)}.wp-block-gallery>figcaption{grid-column:auto/span var(--wp--columns);text-align:center}