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

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

.material-paper {
  --material-texture: url("/vi/services/website-development/styles/item/automotive-performance-apex-circuit/preview/assets/paper-grain.webp");
  --material-size: 320px;
  --material-opacity: .17;
  --material-blend: multiply;
}

.material-paint {
  --material-texture: url("/vi/services/website-development/styles/item/automotive-performance-apex-circuit/preview/assets/paint-dropout.webp");
  --material-size: 230px;
  --material-opacity: .10;
  --material-blend: screen;
}

.material-ink {
  --material-texture: url("/vi/services/website-development/styles/item/automotive-performance-apex-circuit/preview/assets/paint-dropout.webp");
  --material-size: 110px;
  --material-opacity: .07;
  --material-blend: screen;
}

.material-wash {
  --material-texture: url("/vi/services/website-development/styles/item/automotive-performance-apex-circuit/preview/assets/paper-grain.webp");
  --material-size: 420px;
  --material-opacity: .11;
  --material-blend: overlay;
}

.material-paper > *,
.material-paint > *,
.material-ink > *,
.material-wash > * {
  position: relative;
  z-index: 2;
}

.photo-grain {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.photo-grain::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  background-image: url("/vi/services/website-development/styles/item/automotive-performance-apex-circuit/preview/assets/paper-grain.webp");
  background-size: 180px;
  opacity: .12;
  mix-blend-mode: screen;
}

.cut-corners {
  clip-path: polygon(4% 0, 96% 0, 100% 7%, 100% 93%, 96% 100%, 4% 100%, 0 93%, 0 7%);
}

.cut-corners-right {
  clip-path: polygon(10% 0, 96% 0, 100% 6%, 100% 100%, 0 100%, 0 12%);
}

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