.news-article {
    width: 100%;
}

.news-article-header {
    width: 100%;
    padding: 20px 0px 20px 20px;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-family: "Mariupol-Bold", sans-serif;
    font-size: 2.1rem;
    line-height: 1.3;
    color: var(--secondary-text);
    position: relative;
}

.news-article-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.35em;
    bottom: 0.45em;
    width: 5px;
    background: var(--logo-blue);
    border-radius: 2px;
}

.date {
    font-family: "Mariupol-Regular", sans-serif;
    color: var(--additional-text);
    display: block;
    margin-bottom: 0.75rem;
}

.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: 0 auto;
}

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

.images {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    padding: 1.5rem;
    box-sizing: border-box;
}

.big-image {
    max-width: 100%;
    max-height: 500px;
    height: auto;
    width: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 1rem;
    box-shadow: var(--card-shadow);
}

.small-image {
    width: 110px;
    flex: 0 0 110px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    box-sizing: border-box;
    border-radius: 0.7rem;
    cursor: pointer;
    opacity: 0.55;
    border: solid 3px transparent;
    transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
    box-shadow: var(--card-shadow);
}

.small-image:hover {
    opacity: 0.85;
}

.small-image.active {
    opacity: 1;
    border-color: var(--logo-blue);
    transform: translateY(-2px);
}

.news-gallery {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    flex-direction: row;
    padding: 1rem 0 0;
}

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

.news-text p {
    margin: 0 0 1rem 0;
}

.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) {
    .news-article-header {
        font-size: 1.5rem;
        padding-left: 16px;
    }

    .image-container {
        top: 0;
        margin: 0.5rem auto;
    }

    .images {
        padding: 1rem;
    }
    
    .small-image {
        width: 90px;
        flex: 0 0 90px;
    }
    
    .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: 72px;
        flex: 0 0 72px;
    }
    
    .social-buttons p {
        width: 1.7rem;
        height: 1.7rem;
        border-radius: 0.85rem;
    }
    
    .social-buttons p img {
        width: 0.9rem;
        height: 0.9rem !important;
    }
}