/* Uniform image sizing across figures: keep pictures the same size.
   Change aspect-ratio if you prefer a different shape (e.g., 4/3, 1/1). */
figure.image img {
  width: 100%;
  aspect-ratio: 16 / 9; /* consistent frame */
  height: auto;         /* fallback; modern browsers will use aspect-ratio */
  object-fit: cover;    /* fills the frame; crops when necessary */
}

@media (max-width: 480px) {
  /* Slightly taller on phones for better visibility */
  figure.image img { aspect-ratio: 4 / 3; }
}