/* Rounded corners are opt-in via the `rounded` prop (default off). Full-width
   images bleed square unless rounded is also on. */
.jarvis-image--rounded .jarvis-image__img {
  border-radius: 0.5rem;
}
.jarvis-image--full:not(.jarvis-image--rounded) .jarvis-image__img {
  border-radius: 0;
}
/* Match column height: the enclosing Bootstrap .row stretches each column to
   equal height; fill that height and crop the image to cover it. Two classes
   beat the .jp-vpad utility so the figure has no inset. */
.jarvis-image.jarvis-image--match-height {
  height: 100%;
  padding-block: 0;
}
.jarvis-image--match-height .jarvis-image__img {
  height: 100%;
  object-fit: cover;
}
