/* v59 — confined to opportunity cards tagged by the home-only script.
   Does not target .card img, user courses, lists or any other page. */
.tp-v59-opportunity-card .tp-v59-opportunity-image {
  display: block !important;
  width: 100% !important;
  height: 158px !important;
  max-width: 100% !important;
  max-height: 158px !important;
  min-height: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  aspect-ratio: auto !important;
  margin: 0 auto !important;
  border-radius: 8px !important;
  transform: none !important;
}
.tp-v59-opportunity-card .tp-v59-opportunity-image.tp-v59-portrait {
  object-fit: contain !important;
  background: #f4f7f6;
}
@media (max-width: 767px) {
  .tp-v59-opportunity-card .tp-v59-opportunity-image {
    height: 172px !important;
    max-height: 172px !important;
  }
}
