Synchronise background position with padding

.box {
  padding: 1.5em 2em;
}
/* Manual */
.box:nth-of-type(1) {
  background-position: top 1.5em right 2em;
}
/* Automatic */
.box:nth-of-type(2) {
  background-position: top right;
  background-origin: content-box;
}