.mackup-gallery .filters {
    text-align: center;
    margin-bottom: 30px;
}

.mackup-gallery .filters a {
    display: inline-block;
    margin: 0 5px;
    padding: 10px 20px;
    border: 1px solid #ff0000;
    border-radius: 20px;
    text-decoration: none;
    color: #fff;
    background-color: #ff0000;
    transition: all 0.3s ease;
}

.mackup-gallery .filters a:hover,
.mackup-gallery .filters a.active {
    background-color: #fff;
    color: #000;
    border-color: #ff0000;
}

.mackup-gallery .gallery-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    position: relative;
}

.mackup-gallery .gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.mackup-gallery .gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.mackup-gallery .gallery-item:hover img {
    transform: scale(1.1);
}

.pagination {
    text-align: center;
    margin-top: 30px;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination .prev,
.pagination .next {
    font-size: 24px;
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
}

/* Featherlight close button */
.featherlight .featherlight-content,
.featherlight .featherlight-inner,
.featherlight .featherlight-close-icon,
.featherlight .featherlight-close {
    display: none !important;
}

@media (max-width: 1024px) {
    .mackup-gallery .gallery-images {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .mackup-gallery .gallery-images {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .mackup-gallery .gallery-images {
        grid-template-columns: repeat(1, 1fr);
    }
}
