.wp-block-quot {
  :where(p) {
    margin-block-start: 0;
    margin-block-end: calc(var(--wp--preset--spacing--small) + 0.5rem);
  }

  :where(:last-child) {
    margin-block-end: 0;
  }
}

.wp-block-quote.has-text-align-right.is-style-plain,
.rtl .is-style-plain.wp-block-quote:not(.has-text-align-center):not(.has-text-align-left) {
  border-width: 0 2px 0 0;
  padding-left: calc(var(--wp--preset--spacing--small) + 0.5rem);
  padding-right: calc(var(--wp--preset--spacing--small) + 0.5rem);
}

.wp-block-quote.has-text-align-left.is-style-plain,
body:not(.rtl) .is-style-plain.wp-block-quote:not(.has-text-align-center):not(.has-text-align-right) {
  border-width: 0 0 0 2px;
  padding-left: calc(var(--wp--preset--spacing--medium) + 0.5rem);
  padding-right: calc(var(--wp--preset--spacing--medium) + 0.5rem)
}
