/* Honor the intrinsic square dimensions of approved article assets. */
main img[width="1200"][height="1200"] {
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  object-fit: contain;
}

/* Keep square project images fully visible inside their frames. */
main :is(.card-image, .hero-photo):has(> img[width="1200"][height="1200"]) {
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
}
