:where(.material-paper, .material-paint, .material-ink, .material-wash) {
  position: relative;
  isolation: isolate;
}

.material-paper::before,
.material-paint::before,
.material-ink::before,
.material-wash::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  background-image: var(--material-texture);
  background-size: var(--material-size, 240px);
  background-repeat: repeat;
  opacity: var(--material-opacity, 0.14);
  mix-blend-mode: var(--material-blend, multiply);
}

.material-paper {
  --material-texture: url("/vi/services/website-development/styles/item/accounting-ledger-brass-tally/preview/assets/paper-grain.webp");
  --material-size: 256px;
  --material-opacity: 0.13;
  --material-blend: multiply;
}

.material-paint {
  --material-texture: url("/vi/services/website-development/styles/item/accounting-ledger-brass-tally/preview/assets/paint-dropout.webp");
  --material-size: 230px;
  --material-opacity: 0.17;
  --material-blend: screen;
}

.material-ink {
  --material-texture: url("/vi/services/website-development/styles/item/accounting-ledger-brass-tally/preview/assets/paint-dropout.webp");
  --material-size: 170px;
  --material-opacity: 0.09;
  --material-blend: screen;
}

.material-wash {
  --material-texture: url("/vi/services/website-development/styles/item/accounting-ledger-brass-tally/preview/assets/wash-grain.webp");
  --material-size: 320px;
  --material-opacity: 0.16;
  --material-blend: multiply;
}

:where(.photo-grain) {
  position: relative;
  isolation: isolate;
}

.photo-grain::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  background-image: url("/vi/services/website-development/styles/item/accounting-ledger-brass-tally/preview/assets/paper-grain.webp");
  background-size: 210px;
  opacity: 0.1;
  mix-blend-mode: soft-light;
}
