@media(min-width:761px){
  #photo-gallery .gallery-thumbs{
    display:grid !important;
    grid-template-columns:1fr !important;
    grid-template-rows:repeat(5,minmax(0,1fr)) !important;
    grid-auto-rows:minmax(0,1fr) !important;
    gap:8px !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
  }
  #photo-gallery .gallery-thumb{
    width:100% !important;
    height:100% !important;
    min-height:0 !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
  }
  #photo-gallery .gallery-thumb img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    display:block !important;
  }
}
