.news-article {
    width: 100%;
}

.news-article-header {
    width: 100%;
    padding: 20px 0px 5px;
    display: inline-flex;
    margin-top: 0;
    font-family: "Mariupol-Bold", sans-serif;
    color: var(--secondary-text);
}

.date {
    font-family: "Mariupol-Regular", sans-serif;
    color: var(--additional-text);
}

.social-buttons p {
    background-color: var(--secondary-text);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 1rem;
    aspect-ratio: 1;
}

.image-container {
    position: relative;
    width: fit-content;
    margin: 2rem auto;
    top: -5%;
}

.image-container img {
    width: 100%;
}

.big-image {
    max-width: 100%;
    max-height: 500px;
    height: auto;
    width: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 0.93rem;
}

.small-image {
    width: calc(100% / 6 - 20px);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    box-sizing: border-box;
    border-radius: 0.93rem;
}

.small-image.active {
    opacity: 0.5;
    border: solid 3px var(--secondary-text);
}

.news-gallery {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    flex-direction: row;
    padding: 20px 0;
}

.news-text {
    padding: 20px 0;
    font-family: "Mariupol-Regular", sans-serif;
    color: var(--primary-text);
    font-size: 1rem;
}

.images {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
}

.news-header-columns {
    width: 100%;
    padding: 10px 0px;
    display: inline-flex;
    gap: 2rem;
}

.news-header-columns .column {
    width: 50% !important;
}

.news-header-columns .column-right {
    justify-content: end;
}

@media (max-width: 750px) {
    .image-container {
        top: 0;
        margin: 0.5rem auto;
    }
    
    .small-image {
        width: calc((100% - 4rem) / 5);
    }
    
    .news-columns {
        width: 100vw;
    }
    
    .social-buttons p {
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 1.25rem;
    }

    .social-buttons p img {
        width: 1.5rem;
        height: 1.5rem !important;
    }
}

@media (max-width: 440px) {
    .news-header-columns {
        flex-direction: column;
        gap: 1rem;
    }
    
    .news-header-columns .column {
        width: 100% !important;
    }
    
    .news-header-columns .column-right {
        justify-content: start;
    }
}

@media (max-width: 400px) {
    .small-image {
        width: calc(100% / 3 - 0.9rem);
    }
    
    .social-buttons p {
        width: 1.7rem;
        height: 1.7rem;
        border-radius: 0.85rem;
    }
    
    .social-buttons p img {
        width: 0.9rem;
        height: 0.9rem !important;
    }
}