/******* Do not edit this file *******
Code Snippets Manager
Saved: Nov 14 2025 | 03:08:39 */
/* Force the gallery container to use Flexbox */
figure.wp-block-gallery.columns-2 {
    display: flex !important;
    flex-wrap: wrap;
    gap: 1rem; /* Adjusts space between images */
}

/* Force the images to take up 50% width each */
figure.wp-block-gallery.columns-2 > .wp-block-image {
    width: calc(50% - 0.5rem) !important; /* 50% width minus half the gap */
    margin: 0 !important;
    flex-grow: 0;
}

/* Optional: Ensure images inside fit the container */
figure.wp-block-gallery.columns-2 .wp-block-image img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    figure.wp-block-gallery.columns-2 {
        display: block !important;
    }
    figure.wp-block-gallery.columns-2 > .wp-block-image {
        width: 100% !important;
        margin-bottom: 1rem !important;
    }
}