.moto-photo-frame {
  position: relative;
  overflow: hidden;
  background-color: white;
}
.resource-card__media.moto-photo-frame {
  aspect-ratio: var(--resource-card-aspect-ratio, 1);
}
.moto-photo-frame > img.moto-framed {
  position: absolute;
  inset: auto;
  left: var(--moto-photo-x);
  top: var(--moto-photo-y);
  width: var(--moto-photo-width);
  height: var(--moto-photo-height);
  max-width: none;
  max-height: none;
  padding: 0;
  object-fit: contain;
}
