:root {
    --max-width-news: 1080px;
}

.news-container {
    width: 100%;
    max-width: var(--max-width-news);
    margin: auto;
    padding: 4rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.news-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0rem;
    background-color: #f6f6f6;
}
.news-item-image {
    width: 40%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    height: 100%;
}
.news-item-image img {
    min-height: 100%;
    min-width: 100%;
}
.news-item-text {
    width: 60%;
    padding: 2rem;
}
.news-item-text a {
    text-decoration: none;
}
.news-item-text .news-item-date {
    font-size: 1rem;
}
.news-item-text h3 {
    font-size: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}
.news-item-text .news-item-abstract {
    padding-bottom: 2rem;
    line-height: 1.5;
}
.news-item-text .news-item-detail {
    display: block;
}

/*************************************************************************************************/

.cover-image {
    position: relative;
    overflow: hidden;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
}
.cover-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0003;
}
.cover-image .image-mobile {
    display: none;
}

.cover-image .news-cover-overlay {
    position: absolute;
    max-width: var(--max-width-news);
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-shadow: 0 0 0.25rem #000;
    padding: 1rem;
}
.cover-image .news-cover-overlay h1 {
    max-width: 1080px;
    margin-bottom: 1rem;
    line-height: 1.4;
}
.cover-image .news-cover-overlay .news-date {
    font-size: 1.5rem;
}

.news-item-content {
    max-width: var(--max-width-news);
    margin: auto;
    padding: 4rem 1rem;
    line-height: 1.8;
}
.news-item-content h2 {

    font-weight: bold;
    margin-bottom: 0.5rem;
}
.news-item-content h3 {
    font-weight: bold;
    margin-bottom: 0.75rem;
}
.news-item-content ul {
    padding: 1rem 0;
}
.news-item-content ul li {
    margin-left: 2rem;
}
.news-item-content .text-border {
    padding: 1.5rem 3rem;
    margin-bottom: 2rem;
    background-color: #f6f6f6;
}
.news-item-content table {
    display: block;
    max-width: 100%;
}

@media only screen and (max-width: 800px) {
    .cover-image {
        height: 400px;
    }
    .cover-image .image-desktop {
        display: none;
    }
    .cover-image .image-mobile {
        display: block;
        min-height: 100%;
        object-fit: cover;
    }

    .news-item {
        flex-direction: column;
        max-width: 480px;
        margin: auto;
    }
    .news-item-image, .news-item-text {
        width: 100%;
    }
}