/* 
Theme Name: SO Web Designs
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


/* custom css for gallery shortcode */
.custom-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns for desktop */
    gap: 10px;
    justify-items: center; /* Centers the images in their grid cells */
}

.custom-gallery img {
    width: 300px; /* Fixed width for desktop */
    height: 200px; /* Fixed height for desktop */
    object-fit: cover; /* Ensures images are cropped proportionally */
    border-radius: 20px;
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
    .custom-gallery {
        grid-template-columns: repeat(4, 1fr); /* 2 columns for tablet */
    }

    .custom-gallery img {
        width: 250px; /* Smaller width for tablet */
        height: 150px; /* Smaller height for tablet */
    }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .custom-gallery {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for mobile */
    }

    .custom-gallery img {
        width: 200px; /* Smaller width for mobile */
        height: 120px; /* Smaller height for mobile */
    }
}
