/* 16:9 image surfaces shared by the ERP and public plant pages. */
.coop-plant-photo-frame {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e9eff6;
}
img.coop-plant-photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center center;
  background: #e9eff6;
}
.coop-plant-photo-frame > img.coop-plant-photo { height: 100%; }
img.coop-plant-photo[data-plant-fit="contain"] { object-fit: contain; object-position: center center; }
img.coop-plant-photo[data-plant-fit="cover"][data-plant-focus="left top"] { object-position: left top; }
img.coop-plant-photo[data-plant-fit="cover"][data-plant-focus="center top"] { object-position: center top; }
img.coop-plant-photo[data-plant-fit="cover"][data-plant-focus="right top"] { object-position: right top; }
img.coop-plant-photo[data-plant-fit="cover"][data-plant-focus="left center"] { object-position: left center; }
img.coop-plant-photo[data-plant-fit="cover"][data-plant-focus="right center"] { object-position: right center; }
img.coop-plant-photo[data-plant-fit="cover"][data-plant-focus="left bottom"] { object-position: left bottom; }
img.coop-plant-photo[data-plant-fit="cover"][data-plant-focus="center bottom"] { object-position: center bottom; }
img.coop-plant-photo[data-plant-fit="cover"][data-plant-focus="right bottom"] { object-position: right bottom; }
