/* Shared course photo crop: preview and public page. */
.hclf-layout-course-bento .hclf-course-grid .hclf-bento-photo img,
.hclf-course-bento-admin .hclf-bento-preview img {
 position:absolute!important; inset:0!important; width:100%!important; height:100%!important;
 min-width:0!important; min-height:0!important; max-width:none!important; max-height:none!important;
 display:block!important; margin:0!important; padding:0!important; border:0!important; box-sizing:border-box!important;
 object-fit:cover!important; object-position:var(--hc-x) var(--hc-y)!important;
 transform-origin:var(--hc-x) var(--hc-y)!important; transform:scale(var(--hc-zoom))!important;
}
.hclf-layout-course-bento .hclf-course-grid .hclf-bento-photo {
 --hc-x:clamp(0%,calc(50% - var(--hb-x)),100%);
 --hc-y:clamp(0%,calc(50% - var(--hb-y)),100%);
 --hc-zoom:var(--hb-s);
}
@media(max-width:760px){
 .hclf-layout-course-bento .hclf-course-grid .hclf-bento-photo {
  --hc-x:clamp(0%,calc(50% - var(--hb-mx)),100%);
  --hc-y:clamp(0%,calc(50% - var(--hb-my)),100%);
  --hc-zoom:var(--hb-ms);
 }
}

/* Mobile-only image layer, independent of theme image/lazy-loading styles. */
.hclf-layout-course-bento .hclf-course-mobile-crop,.hclf-course-bento-admin .hclf-course-mobile-crop{display:none!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;background-size:cover!important;background-repeat:no-repeat!important;pointer-events:none;}
.hclf-course-bento-admin .hclf-bento-preview.is-mobile .hclf-course-mobile-crop{display:block!important}
.hclf-course-bento-admin .hclf-bento-preview.is-mobile img{visibility:hidden!important}
@media(max-width:760px){
 .hclf-layout-course-bento .hclf-course-grid .hclf-bento-photo .hclf-course-mobile-crop{display:block!important}
 .hclf-layout-course-bento .hclf-course-grid .hclf-bento-photo img{visibility:hidden!important}
}
