.news-page {
    max-width: 900px;
    margin: auto;
    padding: 30px 20px 60px;
}

/*Page Heading*/
.news-header {
    margin-bottom: 30px;
}

.news-header h1 {
    font-size: clamp(32px, 5vw, 44px);
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 8px;
}

.news-header p {
    color: var(--muted-text);
    font-size: 1.05rem;
}

/*News List*/
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/*Individual Update*/
.news-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 25px var(--shadow-color);
    transition:
        background .25s ease,
        border-color .25s ease,
        box-shadow .2s ease,
        transform .15s ease;
}

@media (hover: hover) {
    .news-card:hover {
        box-shadow: 0 16px 35px var(--hover-shadow);
        transform: translateY(-2px);
    }
}

/*Top Row*/
.news-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.news-card h2 {
    margin: 0;
    color: var(--text-color);
    font-size: 1.4rem;
    line-height: 1.3;
}

/*Category*/
.news-category {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--secondary-background);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    font-size: .78rem;
    font-weight: 700;
}

/*Date*/
.news-date {
    margin-bottom: 16px;
    color: var(--muted-text);
    font-size: .85rem;
}

/*Content*/
.news-content {
    color: var(--text-color);
    line-height: 1.7;
    white-space: pre-line;
}

/*Pinned Update*/
.news-pinned {
    border-color: var(--primary-color);
}

.news-pinned-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: .8rem;
    font-weight: 700;
}

/*Empty State*/
.news-empty {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 24px;
    text-align: center;
    color: var(--muted-text);
}

/*Mobile*/
@media (max-width: 600px) {
    .news-page {
        padding: 24px 16px 50px;
    }

    .news-card {
        padding: 20px;
    }

    .news-card-header {
        flex-direction: column;
        gap: 8px;
    }

    .news-category {
        align-self: flex-start;
    }

}