.sclg-gallery-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.sclg-sidebar {
    width: 200px;
}
.sclg-sidebar ul {
    list-style: none;
    padding: 0;
}
.sclg-sidebar a {
    display: block;
    padding: 6px 10px;
    background: #f0f0f0;
    margin-bottom: 5px;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}
.sclg-sidebar .active {
    background: #088b00;
    color: #fff;
}
.sclg-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    flex: 1;
}
@media (min-width: 992px) {
    .sclg-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}
.sclg-item img {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
}
.sclg-item img:hover {
    transform: scale(1.05);
}
.title-text {
    display: block;
    text-align: center;
    margin-top: 5px;
    font-size: 14px;
    color: #333;
}

.cpfl-media-filter {
    display: block;
    white-space: nowrap;
    overflow-x: auto;
    padding: 10px 0;
    margin-bottom: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.cpfl-media-filter::-webkit-scrollbar {
    display: none;
}
.cpfl-cat-button {
    display: inline-block;
    background: none;
    border: 1px solid #ccc;
    margin-right: 8px;
    text-align: center;
    cursor: pointer;
    padding: 6px 12px;
    white-space: nowrap;
    border-radius: 4px;
    font-size: 14px;
}
.cpfl-cat-button .cat-name {
    font-weight: bold;
}
.cpfl-cat-button .cat-count {
    font-size: 12px;
    color: #666;
}
.cpfl-cat-button.active .cat-name {
    color: #088b01;
}

.cpfl-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}
@media (min-width: 992px) {
    .cpfl-media-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
.cpfl-media-item img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
    margin: 0 auto;
}
.cpfl-media-box {
    text-align: center;
}