.newsContainer{
    display: flex;
    justify-content: space-between;
}

.newsGallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.newsMainImage img {
    width: 520px;
    height: 520px;
    aspect-ratio: 1/1;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    transition: 0.3s ease;
}

.newsSliderWrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 520px;
    gap: 10px;
}

.newsThumbsSlider {
    flex: 1;
    min-width: 0;
}

.sliderButtons {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 120px;
}

.newsThumb img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.newsThumb img:hover {
    transform: scale(1.05);
}

@media(min-width: 320px) and (max-width: 860px){
    .newsContainer{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .newsGallery {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .newsMainImage img {
        width: 100%;
        aspect-ratio: 1/1;
    }

    .newsSliderWrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        max-width: 300px;
        gap: 10px;
    }

    .newsThumbsSlider {
        flex: 1;
        min-width: 0;
    }

    .sliderButtons {
        display: flex;
        justify-content: center;
        gap: 10px;
        width: 100%;
    }


    .newsThumb img {
        width: 100%;
        border-radius: 10px;
        cursor: pointer;
        transition: transform 0.2s ease;
    }

}

.newsStaticPhotos {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.newsStaticPhotos .newsThumb {
    flex: 0 0 calc(33.33% - 10px);
    max-width: 100px; 
    cursor: pointer;
}

.newsStaticPhotos .newsThumb img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
}