// Utility class for adding a border-radius to the figure elements.
@for $i from 2 through 20 {
  &.has-border-radius-#{ $i } {
    .responsive-block-editor-addons-gallery--item img {
      border-radius: #{$i}px;
    }

    .responsive-block-editor-addons-gallery--item figcaption {
      border-radius: 0 0 #{$i}px #{$i}px;
    }
  }
}
