/* A short prism/light pass. Original images, mirroring and cover grades stay untouched. */
.film-photo-effect {
  position:absolute;
  inset:0;
  z-index:2;
  display:block;
  overflow:hidden;
  border-radius:inherit;
  pointer-events:none;
  user-select:none;
  opacity:0;
}
.film-photo-effect:before,
.film-photo-effect:after {
  content:'';
  position:absolute;
  pointer-events:none;
  opacity:0;
}
.film-photo-effect:before {
  top:-20%; bottom:-20%; left:0; width:36%;
  background:linear-gradient(90deg,transparent,#7ceae433 20%,#fff8dc75 48%,#ff9b9629 76%,transparent);
  transform:translateX(-130%) skewX(-17deg);
}
.film-photo-effect:after {
  inset:0;
  background:
    linear-gradient(90deg,transparent 4%,#74f4eb88 27%,#fb908766 65%,transparent 94%) 0 24%/100% 3px no-repeat,
    linear-gradient(90deg,transparent 12%,#f8c87a55 32%,#81e8f077 74%,transparent 96%) 0 49%/100% 2px no-repeat,
    linear-gradient(90deg,transparent 2%,#ff9d9e66 42%,#68e6e16b 69%,transparent 91%) 0 72%/100% 4px no-repeat;
  mix-blend-mode:screen;
}
.film-photo-host .photo-zoom,
.film-photo-host > .image-label { z-index:4; }
.hollywood-panorama.film-photo-host > figcaption { z-index:3; }
.hero.film-photo-host > .film-photo-effect,
.road-scene.film-photo-host > .film-photo-effect { z-index:1; }
.road-scene.film-photo-host > .road-copy { z-index:2; }
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .film-photo-host.is-photo-spark > .film-photo-effect {
    animation:photo-light-envelope .62s linear;
  }
  .film-photo-host.is-photo-spark > .film-photo-effect:before {
    will-change:transform,opacity;
    animation:photo-light-sweep .62s cubic-bezier(.18,.5,.45,1);
  }
  .film-photo-host.is-photo-spark > .film-photo-effect:after {
    will-change:transform,opacity;
    animation:photo-prism-lines .62s linear;
  }
}
@keyframes photo-light-envelope {
  0%,100% { opacity:0; }
  9%,88% { opacity:1; }
}
@keyframes photo-light-sweep {
  0% { transform:translateX(-130%) skewX(-17deg); opacity:0; }
  15% { opacity:.55; }
  62% { opacity:.8; }
  100% { transform:translateX(420%) skewX(-17deg); opacity:0; }
}
@keyframes photo-prism-lines {
  0%,15%,100% { opacity:0; transform:translateX(0); }
  23% { opacity:.42; transform:translateX(3px); }
  29% { opacity:.23; transform:translateX(-2px); }
  39% { opacity:.38; transform:translateX(2px); }
  48% { opacity:.16; transform:translateX(0); }
  65% { opacity:.22; transform:translateX(-2px); }
  79% { opacity:0; transform:translateX(0); }
}
@media(prefers-reduced-motion:reduce), (hover:none), (pointer:coarse) {
  .film-photo-effect { display:none!important; animation:none!important; }
  .film-photo-effect:before,.film-photo-effect:after { animation:none!important; }
}
