.shortcode-block {
    width: 100%;
    padding: 60px 20px;
    background: #fff;
}

.shortcode-block .container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    width: 100% !important;
    box-sizing: border-box;
}

.shortcode-block .shortcode-content {
    display: block;
    width: 100%;
}

/* Keep Juicer feed contained */
.shortcode-block .juicer-feed {
    max-width: 100% !important;
    width: 100% !important;
}

/* Work with Juicer's masonry layout - increase the gap between columns */
.shortcode-block .j-stacker-wrapper {
    margin-left: -15px !important;
    margin-right: -15px !important;
}

.shortcode-block .j-stacker {
    display: flex !important;
    flex-wrap: wrap !important;
}

.shortcode-block .j-stack {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Ensure feed items have proper spacing */
.shortcode-block .feed-item {
    margin-bottom: 30px !important;
}

/* Fix background colors - override Instagram dark backgrounds */
.shortcode-block .j-instagram-bg {
    background: transparent !important;
}

.shortcode-block .feed-item {
    background: #f9f9f9 !important;
    border-radius: 8px;
    overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 1440px) {
    .shortcode-block .container {
        max-width: 1200px !important;
    }
}

@media (max-width: 1200px) {
    .shortcode-block .container {
        max-width: 960px !important;
    }
}

@media (max-width: 768px) {
    .shortcode-block {
        padding: 40px 15px;
    }
    
    .shortcode-block .container {
        max-width: 100% !important;
    }
    
    .shortcode-block .j-stacker-wrapper {
        margin-left: -10px !important;
        margin-right: -10px !important;
    }
    
    .shortcode-block .j-stack {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}
