.wp-block[data-align=center]>.wp-block-query-pagination{
  justify-content:center;
}

.editor-styles-wrapper .wp-block-query-pagination{
  max-width:100%;
}
.editor-styles-wrapper .wp-block-query-pagination.block-editor-block-list__layout{
  margin:0;
}

.wp-block-query-pagination>.wp-block-query-pagination-next,.wp-block-query-pagination>.wp-block-query-pagination-numbers,.wp-block-query-pagination>.wp-block-query-pagination-previous{
  margin:.5em .5em .5em 0;
}
.wp-block-query-pagination>.wp-block-query-pagination-next:last-child,.wp-block-query-pagination>.wp-block-query-pagination-numbers:last-child,.wp-block-query-pagination>.wp-block-query-pagination-previous:last-child{
  margin-right:0;
}