.material-paper,
.material-paint,
.material-ink,
.material-wash,
.photo-print {
  isolation: isolate;
}

:where(.material-paper, .material-paint, .material-ink, .material-wash, .photo-print):not(.absolute):not(.fixed):not(.sticky) {
  position: relative;
}

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

.material-paper {
  --material-texture: url("/en/services/website-development/styles/item/community-bank-common-ink/preview/assets/paper-grain.webp");
  --material-size: 256px;
  --material-opacity: .028;
  --material-blend: multiply;
}

.material-paint {
  --material-texture: url("/en/services/website-development/styles/item/community-bank-common-ink/preview/assets/paint-dropout.webp");
  --material-size: 210px;
  --material-opacity: .2;
  --material-blend: screen;
}

.material-ink {
  --material-texture: url("/en/services/website-development/styles/item/community-bank-common-ink/preview/assets/ink-dropout.webp");
  --material-size: 150px;
  --material-opacity: .1;
  --material-blend: screen;
}

.material-wash {
  --material-texture: url("/en/services/website-development/styles/item/community-bank-common-ink/preview/assets/paper-grain.webp");
  --material-size: 340px;
  --material-opacity: .12;
  --material-blend: soft-light;
}

.photo-print::before,
.photo-print::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  pointer-events: none;
}

.photo-print::before {
  background: #edcf78;
  mix-blend-mode: color;
  opacity: .52;
}

.photo-print::after {
  z-index: 3;
  background-image: url("/en/services/website-development/styles/item/community-bank-common-ink/preview/assets/paper-grain.webp"), radial-gradient(circle, rgb(20 18 14 / .45) 0 .45px, transparent .75px);
  background-size: 190px, 3px 3px;
  opacity: .2;
  mix-blend-mode: multiply;
}

.photo-print > img {
  filter: grayscale(1) sepia(.25) contrast(1.38) brightness(1.08);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
