/* Enlarged photos reserve space for their captions before fitting the image. */
#boardOverlay .board-focus-layer.photo-focused .board-focus-compose{
  width:100%!important;height:100%!important;max-height:100%!important;
  padding:62px 24px 20px!important;grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:minmax(0,1fr)!important;overflow:hidden!important
}
#boardOverlay .board-focus-layer.photo-focused .board-focus-object{
  min-height:0!important;width:100%!important;height:100%!important;
  max-height:100%!important;overflow:hidden!important
}
#boardOverlay .focused-photo-print{
  display:flex!important;flex-direction:column!important;align-items:center!important;
  width:min(520px,100%)!important;height:100%!important;max-height:100%!important;
  min-height:0!important;margin:0!important;padding:12px!important;
  overflow:hidden!important;gap:0!important
}
#boardOverlay .focused-photo-print>img{
  display:block!important;flex:1 1 auto!important;min-height:0!important;
  width:100%!important;height:0!important;max-height:none!important;
  object-fit:contain!important
}
#boardOverlay .focused-photo-print>.board-photo-caption{
  flex:0 0 auto!important;display:flex!important;align-items:center!important;
  justify-content:center!important;width:100%!important;height:auto!important;
  min-height:64px!important;padding:10px 4px 2px!important;margin:0!important;
  white-space:normal!important;overflow-wrap:anywhere!important;text-align:center!important;
  font:400 24px/1.3 var(--font-annotation)!important;color:#40372e!important
}
#boardOverlay .board-view-hint{display:none!important}
@media(max-width:760px){
  #boardOverlay .board-focus-layer.photo-focused .board-focus-compose{padding:62px 14px 14px!important}
  #boardOverlay .focused-photo-print>.board-photo-caption{font-size:21px!important;min-height:64px!important}
}
