.block p:dir(rtl) {
  color: crimson;
  font-weight: bold;
}

.block p[dir='rtl'] {
  background-color: lemonchiffon;
}