/* WordPress block markup inside text elements. Bricks does not load the block library CSS, so the rules that production applies are here.
   Used by the result photos page (page 4699: a gallery block pasted into a text element).
   Caution: production does NOT make this gallery a flex row. The pasted markup has no layout class (is-layout-flex),
   so the gallery stays display:block and the nested figures stack at one third of the width. Keep it that way. */
.wp-block-gallery,.blocks-gallery-grid{margin:0}
figure.wp-block-gallery.has-nested-images{align-items:normal}
.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image){margin:0;width:calc(50% - var(--wp--style--unstable-gallery-gap,16px)/2)}
.wp-block-gallery.has-nested-images figure.wp-block-image{box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;justify-content:center;max-width:100%;position:relative}
.wp-block-gallery.has-nested-images figure.wp-block-image img{display:block;height:auto;max-width:100%!important;width:auto} /* !important: copied from the WordPress block library */
.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image){align-self:inherit}
.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{flex:1 0 0%;height:100%;object-fit:cover;width:100%}
@media (min-width:600px){.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image){width:calc(33.33% - var(--wp--style--unstable-gallery-gap,16px)*.66667)}}
.wp-block-image img{box-sizing:border-box;height:auto;max-width:100%;vertical-align:bottom}
.wp-block-image figure{margin:0}
