.articles-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 70%;
    margin: 0 auto;
}

.article-title{
    display: flex;
    justify-content: center;
    font-family: "Snell Roundhand", sans-serif;
    gap: 5%;
    align-items: center;
    width: 100%;
    font-size: 1.5vmax;

}

.articles{
    display: flex;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5%;

}

.article{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 47%;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Лёгкая тень для эффекта приподнятости */
    margin: 2vmax 0;
    font-size: 1vmax;
}

.article-media{
    width: 100%;
}

.article-media img, video{
    display: block;
    width: 100%;
    height: 30vmax;
    object-fit: cover; /* Обеспечиваем сохранение пропорций */
    transition: transform 0.3s ease; /* Добавляем плавное изменение при наведении */
}

.article-media img:hover {
    transform: scale(1.05); /* При наведении изображение увеличивается */
}

.article-media video:hover {
    transform: scale(1.05); /* При наведении изображение увеличивается */
}

.article-content{
    display: flex;
    flex-direction: column;
    font-size: 1vmax;
    gap: 2vmax;
    width: 100%;
    padding: 5% 5%;
    box-sizing: border-box;
}

.article-content a {
    text-decoration: none; /* Убирает подчёркивание */
    font-weight: bold; /* Жирный шрифт */
    color: #1d1d1d;
}

.article-content a:hover{
    text-decoration: underline;
}

#data-article{
    display: flex;
    justify-content: flex-end;
}

.more-articles{
    margin: 1vmax 0 2vmax 0;
}


/* МЕДИА*/


@media (max-width: 768px) {

    .articles-container{
        width: 80%;
    }

    .article-title{
        font-size: 1.7vmax;
    }

    .article {
        width: 100%;
    }

    .article-content{
        font-size: 1.4vmax;
    }

    #show-all-news{
    font-size: 1.5vmax;
}
}