/* Keep the course card's existing frame, and show real photographs at their own proportions. */
body.fluid-pages[data-brand-family="projects"] .detail-content .detail-cover.course-photo-frame,
body.fluid-pages[data-brand-family="projects"] .category-page .archive-grid .archive-picture.course-photo-frame,
body.fluid-pages .representative-course figure.course-photo-frame {
  padding: 0;
  overflow: hidden;
}
body.fluid-pages .course-photo-frame img.course-photo {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  object-fit: contain;
  object-position: center;
}
.course-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  margin: clamp(24px, 6vw, 80px) 0;
}
.course-photo-grid .course-photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: contain;
}
