.news-container {
    display: grid;
    grid-template-rows: auto auto 1fr;
    gap: 10px;

    background-color: #e0e0e0;
    padding: 20px;
    border-radius: 10px;
    max-width: 520px;
    margin: 140px auto;

    box-sizing: border-box;
}
.other-news {
    margin: 30px auto;
}

.news-title {
    font-size: var(--text-3xl);
    font-weight: bold;
    color: var(--color-secondary);
}

.news-img {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.news-img img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.news-img img:hover {
    transform: scale(1.03);
}

.news-date {
  color: var(--color-secondary);
}

.news-meta {
    display: grid;
    grid-auto-flow: column;
    gap: 15px;
    font-size: var(--text-sm);
    color: #555;
}

.news-text {
    line-height: 1.6;
    font-size: var(--text-md);
}

.news-text a, .news-button {
    text-decoration: none;
    color: var(--color-secondary);
}

.news-page-divider-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* SVG */
.news-page-divider img {
    width: 30px;
    margin-bottom: 40px;
}
.news-page-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.other-news-title {
    font-size: var(--text-4xl);
    margin-bottom: 10px;
    font-family: var(--font-heading);
    color: var(--color-secondary);
    margin: 0;
}


/*********** THE LINE BREAKERS **************/
.hr {
    width: 100px;
    height: 3px;
    background: var(--color-secondary);
}

.news-button {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid rgb(255, 255, 255);
    text-decoration: none;
    font-size: var(--text-md);
    font-weight: 400;
    font-family: system-ui, sans-serif;
    transition: all 0.2s ease;
    color: white;
    background-color: var(--color-secondary);
    border-radius: 5px;
}

.news-button:hover {
  background-color: white;
  color: var(--color-secondary);
}

@media (max-width: 400px) {
    .news-card {
        width: 95%;
        padding: 15px;
    }

    .news-title {
        font-size: var(--text-xl);
    }

    .news-text {
        font-size: var(--text-sm);
    }
}

@media (max-width: 800px) {
    .news-card {
        width: 92%;
        padding: 18px;
    }

    .news-title {
        font-size: var(--text-2xl);
    }

    .news-meta {
        gap: 10px;
        font-size: var(--text-sm);
    }
}