/* V26 — appliquer le cadrage enregistré au détail et resserrer titre/commentaires */
.lightbox-stage.saved-detail-crop .lightbox-media-main{
  overflow:hidden!important;
}
.lightbox-stage.saved-detail-crop .lightbox-media-main img{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  transition:transform .16s ease,object-position .16s ease;
}

@media(max-width:639px){
  .lightbox-stage.saved-detail-crop.crop-ratio-4-3{
    flex:0 0 min(calc(100vw * .75),54dvh)!important;
    height:min(calc(100vw * .75),54dvh)!important;
    max-height:54dvh!important;
  }
  .lightbox-stage.saved-detail-crop.crop-ratio-16-9{
    flex:0 0 min(calc(100vw * .5625),44dvh)!important;
    height:min(calc(100vw * .5625),44dvh)!important;
    max-height:44dvh!important;
  }
  .lightbox-stage.saved-detail-crop.crop-ratio-1-1{
    flex:0 0 min(100vw,54dvh)!important;
    height:min(100vw,54dvh)!important;
    max-height:54dvh!important;
  }

  /* Les actions sociales étant désormais sur la photo, supprimer leur espace fantôme sous le titre. */
  .detail-social-bar{
    display:none!important;
    min-height:0!important;
    height:0!important;
    margin:0!important;
    padding:0!important;
  }
  .lightbox-info{
    padding-bottom:8px!important;
    margin-bottom:0!important;
  }
  .lightbox-caption{
    margin-bottom:0!important;
  }
  .comments-list{
    margin-top:0!important;
    padding-top:2px!important;
  }
}
