/*
 * Paragraph block
 */

.b-wp-core-paragraph {
  p {
    margin-bottom: 1.5rem;
    font-size: $font-size-body;

    @include media-breakpoint-up(md) {

      font-size: $font-size-body-md;
    }

    &:last-child {
      margin-bottom: 0;
    }
  }

  .is-style-small{
    @include media-breakpoint-up(md) {
      display: block;
      margin: 0 auto;
      max-width: 500px;
    }
  }

  .is-style-medium{
    @include media-breakpoint-up(md) {
      display: block;
      margin: 0 auto;
      max-width: 800px;
    }
  }
}
