/* Shared by the React site and generated product pages. These viewports crop
   existing captures to the app itself; the original screenshots stay intact. */
.app-screenshot {
  display: block;
  width: 100%;
}

.app-screenshot-image {
  display: block;
  width: 100%;
  height: auto;
}

.app-screenshot--capsmith,
.app-screenshot--pardon {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 14px 40px rgb(25 42 36 / 9%);
}

.app-screenshot--capsmith {
  aspect-ratio: 730 / 280;
  border-radius: 16px;
}

.app-screenshot--pardon {
  aspect-ratio: 320 / 694;
  border-radius: 12% / 5.5%;
}

/* Positions are relative to each crop's width/height, not the source image. */
.app-screenshot--capsmith .app-screenshot-image {
  position: absolute;
  width: 157.80822%;
  max-width: none;
  height: auto;
  left: -28.76712%;
  top: -5.35714%;
}

.app-screenshot--pardon .app-screenshot-image {
  position: absolute;
  width: 138.125%;
  max-width: none;
  height: auto;
  left: -19.0625%;
  top: -33.14121%;
}
