// core/gallery
//
// @version  2.0.1

@import '../_tools/_index';
@import '../_setup/_index';

.wp-block-gallery {

	&.alignfull {

		.wp-block-image img {
			border-radius: 0;
		}
	}

	&.has-nested-images figure.wp-block-image {

		&.has-custom-border,
		&.is-style-rounded {

			figcaption {
				padding: $ratio_maj + em;
				font-size: var(--wp--preset--font-size--s);
			}
		}
	}
}
