.page-title {
    text-align: center;
    background-color: white;
    margin: 0;
    color: var(--navy);
    font-size: 40px;
    font-weight: 325;
    padding: 20px;
}

.news-container {
    background-color: var(--sky);
    background-image: url('/static/artboard-4@3x.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: var(--navy);
    font-size: 22px;
    font-weight: bold;
    padding: 10px;
    height: auto;
    text-align: center;
    margin-right: 60px;
    margin-bottom: 60px;
    padding-top: 30px;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
}

.news-grid {
    margin-bottom: 0px;
    padding-left: 60px;
    position: relative;
}

.news-card {
    width: auto;
    min-height: 18rem;
    overflow: hidden;
    background: white;
    border-radius: 40px;
    padding: 0.75rem;
    margin: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0.75rem;
}

.news-card-image {
    flex: 0 0 18rem;
    width: 18rem;
    min-height: 16.5rem;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 1.25rem;
}

.news-card-content {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.25rem 0.25rem 0.25rem 0;
    text-align: left;
}

.news-card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--navy);
    margin-bottom: 0px;
}

.article-info {
    font-size: 0.8rem;
    color: var(--navy);
    margin-bottom: 0px;
    font-weight: bold;
    margin-bottom: 10px;
}

.news-card-description {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 10px;
    font-weight: 400;
}

.news-card-button {
    background: var(--orange);
    color: white;
    border-radius: 50px;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
}

.more-articles-button {
    background: var(--orange);
    color: white;
    border-radius: 50px;
    padding: 10px 60px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
}

.more-articles-button:hover {
    animation: pulse 1s infinite;
}

@media (max-width: 800px) {
    .news-container {
        margin-right: 0;
        margin-left: 0;
    }
    .news-grid {
        padding-left: 0;
    }
    .news-card {
        margin: 10px;
        flex-direction: column;
    }
    .news-card-image {
        flex: 0 0 10rem;
        width: 10rem;
        min-height: 8.5rem;
    }
    .news-card-content {
        padding: 0.25rem 0.25rem 0.25rem 0;
    }
}