@media (min-width: 1000px) {
    .imageNew {
        width: 50%;
        height: auto;
        float: left;
        margin: 0 20px 20px 0;
    }
}

@media (max-width: 1000px) {
    .imageNew {
        width: 100%;
        float: none;
        margin: 0 0 20px 0;
    }
}

/* Estilos para a nova galeria */
.news-gallery {
    margin: 2rem 0;
}

.news-images-container {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.news-gallery-item {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    padding: 10px;
}

.news-image-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 60%;
    overflow: hidden;
    cursor: pointer;
}

.news-gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.news-image-container:hover .news-gallery-image {
    transform: scale(1.05);
}

/* Lightbox styles */
.news-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgb(182, 182, 182);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.news-lightbox-image {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 36px;
}

.news-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    cursor: pointer;
    z-index: 10000;
}

.news-lightbox-controls {
    display: flex;
    position: absolute;
    justify-content: center;
    align-items: center;
    gap: 4px;
    bottom: 30px;
}

.news-lightbox-nav {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 10000;
}

.news-lightbox-info {
    display: flex;
    width: 265px;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.news-lightbox-label {
    font-family: Poppins;
    font-weight: 500;
    font-size: 18px;
    line-height: 100%;
    color: white;
}

.news-lightbox-counter {
    font-family: Poppins;
    font-weight: 300;
    font-size: 18px;
    line-height: 100%;
    color: white;
}

.hidden {
    display: none;
}

/* Load more button */
.load-more-btn {
    border: none;
    border-radius: 10px;
    width: 200px;
    height: 40px;
    background-color: #F47F29;
    color: white;
    font-weight: 600;
    margin: 20px 0;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.load-more-btn:hover {
    background-color: #e06e1b;
    transform: translateY(-2px);
}

.load-more-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Responsive styles for gallery */
@media (min-width: 300px) {
    .news-gallery-item {
        width: 50%;
        max-width: 50%;
    }
}

@media (min-width: 992px) {
    .news-gallery-item {
        width: 33.33%;
        max-width: 33.33%;
    }
}

@media (min-width: 1700px) {
    .news-gallery-item {
        width: 25%;
        max-width: 25%;
    }
}