/* FIX: use a true vertical scroll rail while keeping exactly 3 thumbnails visible */
@media(min-width:769px){
  #cugb-photo-gallery .cugb-gallery-thumbs{
    display:flex !important;
    flex-direction:column !important;
    gap:10px !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    height:100% !important;
    min-height:0 !important;
    max-height:none !important;
    padding:1px 7px 1px 1px !important;
    align-content:initial !important;
    scroll-behavior:smooth !important;
    overscroll-behavior:contain !important;
    scrollbar-width:thin !important;
    scrollbar-color:#0f1e4a #edf2f7 !important;
  }

  #cugb-photo-gallery .cugb-gallery-thumb{
    flex:0 0 calc((100% - 20px) / 3) !important;
    width:100% !important;
    height:calc((100% - 20px) / 3) !important;
    min-height:calc((100% - 20px) / 3) !important;
    max-height:calc((100% - 20px) / 3) !important;
  }

  #cugb-photo-gallery .cugb-gallery-thumbs::-webkit-scrollbar{
    width:5px !important;
  }

  #cugb-photo-gallery .cugb-gallery-thumbs::-webkit-scrollbar-track{
    background:#edf2f7 !important;
    border-radius:999px !important;
  }

  #cugb-photo-gallery .cugb-gallery-thumbs::-webkit-scrollbar-thumb{
    background:#0f1e4a !important;
    border-radius:999px !important;
  }
}
