.cowboy-depth-hero {
  text-shadow: 0 2px 3px #0008, 0 8px 20px #0006;
}

.cowboy-depth-card,
.et_pb_gallery_item .et_pb_gallery_image {
  box-shadow: 0 3px 6px #16131120, 0 14px 28px #16131126;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .cowboy-depth-hero > .et_pb_column {
    transition: transform 240ms ease-out;
  }

  .cowboy-depth-hero:hover > .et_pb_column:first-child {
    transform: perspective(1100px) translate3d(var(--cowboy-x, 0px), var(--cowboy-y, 0px), 12px);
  }

  .cowboy-depth-hero:hover > .et_pb_column:last-child {
    transform: perspective(1100px) translate3d(calc(var(--cowboy-x, 0px) * -0.65), calc(var(--cowboy-y, 0px) * -0.65), 4px);
  }

  .cowboy-depth-card,
  .et_pb_gallery_item .et_pb_gallery_image {
    transition: transform 220ms ease-out, box-shadow 220ms ease-out;
  }

  .cowboy-depth-card:hover,
  .cowboy-depth-card:focus-within,
  .et_pb_gallery_item .et_pb_gallery_image:hover,
  .et_pb_gallery_item .et_pb_gallery_image:focus-within {
    transform: perspective(1100px) translateY(-5px) rotateX(2deg);
    box-shadow: 0 6px 10px #16131125, 0 22px 38px #16131137;
  }
}
