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

:where(.material-paper, .material-paint, .material-ink, .material-wash, .photo-telemetry):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("/vi/services/website-development/styles/item/coffee-roastery-brew-console/preview/assets/paper-grain.webp");
  --material-size: 256px;
  --material-opacity: .055;
  --material-blend: multiply;
}

.material-paint {
  --material-texture: url("/vi/services/website-development/styles/item/coffee-roastery-brew-console/preview/assets/paint-dropout.webp");
  --material-size: 210px;
  --material-opacity: .16;
  --material-blend: soft-light;
}

.material-ink {
  --material-texture: url("/vi/services/website-development/styles/item/coffee-roastery-brew-console/preview/assets/ink-dropout.webp");
  --material-size: 150px;
  --material-opacity: .09;
  --material-blend: screen;
}

.material-wash {
  --material-texture: url("/vi/services/website-development/styles/item/coffee-roastery-brew-console/preview/assets/paper-grain.webp");
  --material-size: 330px;
  --material-opacity: .1;
  --material-blend: soft-light;
}

.photo-telemetry::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  content: "";
  pointer-events: none;
  background-image: repeating-linear-gradient(to bottom, rgb(46 34 25 / .2) 0 1px, transparent 1px 3px), url("/vi/services/website-development/styles/item/coffee-roastery-brew-console/preview/assets/paper-grain.webp");
  background-size: auto, 220px;
  opacity: .42;
  mix-blend-mode: multiply;
}

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