// Utility class for adding a border-radius to the figure elements.
@for $i from 2 through 20 {

	.has-border-radius-#{ $i } {

		.coblocks-gallery--figure::after {
			border-radius: #{$i}px;
		}

		figcaption {
			border-bottom-left-radius: #{$i - 4}px !important;
			border-bottom-right-radius: #{$i - 4}px !important;
		}
	}
}
