
section.journal {
    width: calc(100% - 100px);
    margin: auto;

    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    gap: 10px;

    max-width: 1200px;
    margin-bottom: 60px;
}

#news-title {
    max-width: 800px;
    font-size: 2.5em;
    font-weight: bold;
}

#news-author {
    font-style: italic;
    margin-bottom: 10px;
}

@media (max-width: 900px) {
    section.journal {
        width: calc(100% - 30px);
    }
}

#news-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 50px 0;
    align-items: center;
}

#news-list > * {
    text-align: center;
}

#actus {
    display: grid;
    grid-template-columns: min-content min-content;
    gap: 50px;
}

.news-item {
    width: 300px;
    height: 200px;
    transition: transform 200ms;
    font-size: 1.2em;
    text-align: center;

    display: flex;
    align-items: center;
    justify-content: center;
}

.news-item:hover {
    transform: translate(-5px, -5px);
}

.news-title {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.news-title::after, .news-title::before {
    content: " ";
    display: block;
    position: absolute;
    margin: 20px 0;
    border-top: 1px solid var(--txt-l);
    border-bottom: 1px solid var(--txt-l);
    left: 20px;
    height: 5px;
    width: 250px;
}

.news-title::after {
    top: 150px;
}

.news-title::before {
    bottom: 150px;
}

.news-icon {
    margin: 10px;
    font-size: 1.2em;
}

.news-date {
    background-color: var(--bg-d);
    padding: 0 10px;
    position: absolute;
    bottom: calc(170px - 0.4em);
}

.no-news {
    min-width: 80vw;
}

.actus-empty {
    grid-template-columns: min-content !important;
}


@media (max-width: 900px) {
    #actus {
        grid-template-columns: min-content;
        gap: 30px;
    }
}



