.articles-container {
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--line-color);
    min-width: 310px;
}

.news-container {
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--line-color);
    min-width: 310px;
}

h1 {
    color: white;
    font-size: calc(1.5rem + 0.7vw);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 1px;
    width: 100%;
    margin-top: 20px;
    text-align: center;
}

.news {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 3vw;
    column-gap: 3vw;
    width: 100%;
}

.news-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 320px;
    max-width: 400px;
    width: 40%;
    max-height: 900px;
    border: 2px solid var(--site-green);
    border-radius: 10px;
}

.link-img {
    width: 100%;
}

.news-image {
    width: 95%;
    margin-left: 2.5%;
    margin-right: 2.5%;
    margin-top: 10px;
    aspect-ratio: 5/3;
}

.news-details {
    width: 90%;
    align-self: center;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-details h2 {
    color: white;
    width: 100%;
    font-family: "Roboto", sans-serif;
    font-size: 1.25rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
    margin-top: 20px;
    border-bottom: 1px solid var(--line-color);
    padding-bottom: 10px;
}

.news-details h2 > a {
    text-decoration: none;
    color: white;
    transition: 0.5s ease-in-out;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: normal;
}

.news-details h2 > a:hover {
    color: #f1e739;
}

.description-container {
    width: 100%;
}

.description {
    color: white;
    font-family: "Georgia", sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: normal;
    font-size: 1rem;
}

.when-created {
    border-top: 1px solid var(--line-color);
}

.created {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 14px;
    font-size: 1.0625rem;
}



.sidebar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-height: 600px;
    align-items: center;
    min-width: 260px;
    max-width: 300px;
    width: 19vw;
    border: 2px dashed var(--site-green);
    border-radius: 25px;
    margin-top: 65px;
    background-color: var(--card-color);
}

.sidebar p {
    color: white;
    font-size: 3rem;
    text-align: center;
}

.sidebar h2 {
    text-align: center;
}

@media screen and (max-width: 1023px) {
    .news-container {
        border-right: none;
    }
}

@media screen and (max-width: 600px) {
    .news-container {
        width: 95%;
        margin: 0 auto;
        padding-left: 5px;
        padding-right: 5px;
    }
}

@media screen and (max-width: 400px) {
    .news-container {
        width: 95%;
    }
    .news-card {
        min-width: 300px;
    }
}