/* Make images and galleries responsive */
.entry-content img,
.foogallery-container,
.foogallery .fg-item,
.foogallery .fg-image {
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box;
}

/* Add padding for content on mobile */
@media (max-width: 600px) {
    .entry-content,
    .foogallery-container {
        padding: 10px !important;
    }
    .foogallery .fg-item {
        width: 100% !important;
        margin-bottom: 10px !important;
    }
}