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

.material-paper::after,
.material-paint::after,
.material-ink::after,
.material-wash::after,
.material-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  background-image: var(--material-texture);
  background-size: var(--material-size, 256px);
  background-position: var(--material-position, center);
  opacity: var(--material-opacity, .12);
  mix-blend-mode: var(--material-blend, multiply);
}

.material-paper {
  --material-texture: url("/vi/services/website-development/styles/item/diagnostic-center-coral-specimen/preview/assets/paper-grain.webp");
  --material-size: 512px;
  --material-opacity: .035;
  --material-blend: soft-light;
}

.material-paint {
  --material-texture: url("/vi/services/website-development/styles/item/diagnostic-center-coral-specimen/preview/assets/paint-dropout.webp");
  --material-size: 220px;
  --material-opacity: .12;
  --material-blend: screen;
}

.material-ink {
  --material-texture: url("/vi/services/website-development/styles/item/diagnostic-center-coral-specimen/preview/assets/paint-dropout.webp");
  --material-size: 220px;
  --material-opacity: .018;
  --material-blend: soft-light;
}

.material-wash {
  --material-texture: url("/vi/services/website-development/styles/item/diagnostic-center-coral-specimen/preview/assets/paper-grain.webp");
  --material-size: 430px;
  --material-opacity: .09;
  --material-blend: soft-light;
}

.material-photo {
  --material-texture: url("/vi/services/website-development/styles/item/diagnostic-center-coral-specimen/preview/assets/photo-grain.webp");
  --material-size: 190px;
  --material-opacity: .045;
  --material-blend: overlay;
}

.material-paint::before,
.material-wash::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 17% 26%, rgb(255 255 255 / .10), transparent 31%),
    linear-gradient(112deg, transparent 18%, rgb(255 255 255 / .07) 45%, transparent 72%);
  mix-blend-mode: screen;
}

.material-ink-rule {
  position: relative;
}

.material-ink-rule::after {
  content: "";
  position: absolute;
  inset: -1px 0;
  pointer-events: none;
  background: url("/vi/services/website-development/styles/item/diagnostic-center-coral-specimen/preview/assets/paint-dropout.webp") center / 128px repeat;
  opacity: .12;
  mix-blend-mode: screen;
}

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