/*
* FooGallery Custom CSS
* This file is created by adding custom CSS on FooGallery Settings page in wp-admin
* Created : 18 Aug 2026, 4:41 am
*/

/* Force the FooGallery container into a strict 3-column layout */
.foogallery.foogallery {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 15px !important; /* Adjust this value to change space between images */
}

/* Reset individual item rules to let CSS grid handle the width */
.foogallery.foogallery .fg-item {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important; /* Removes default margins that cause shifting */
    position: relative !important;
    left: auto !important;
    top: auto !important;
}
