/* Masonry Gallery Styles */

.cgp-masonry-gallery-container {
    display: flex;
}

.cgp-masonry-sidebar {
    width: 250px;
    padding: 20px;
    box-sizing: border-box;
}

.cgp-masonry-gallery {
    flex-grow: 1;
}

/* Ensure both the sizer and items have the same width */
.cgp-masonry-sizer,
.cgp-masonry-item {
    width: 33.333%;
    box-sizing: border-box;
    padding: 10px; /* Adjust padding as needed */
}

.cgp-masonry-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Filters and Buttons */
.ck-button {
    margin-bottom: 5px;
}

.ck-button label {
    display: inline-block;
    padding: 5px 10px;
    background-color: #eee;
    border-radius: 4px;
    cursor: pointer;
}

.ck-button label input {
    position: absolute;
    visibility: hidden;
}

.ck-button label span {
    text-align: center;
}

.ck-button label input:checked + span {
    background-color: #0073aa;
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cgp-masonry-sizer,
    .cgp-masonry-item {
        width: 50%;
    }
}

@media (max-width: 480px) {
    .cgp-masonry-sizer,
    .cgp-masonry-item {
        width: 100%;
    }
}
