/*
* FooGallery Custom CSS
* This file is created by adding custom CSS on FooGallery Settings page in wp-admin
* Created : 29 Dec 2025, 4:14 am
*/

@media (max-width: 768px) {

  .foogallery,
  .foogallery-container,
  .fg-gallery {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }

  .foogallery-item,
  .fg-item,
  figure.foogallery-item {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  .foogallery-item img,
  .fg-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

}
