:root {
    color-scheme: light;
    --primary: #2f85b8;
    --primary-dark: #294a62;
    --text: #243746;
    --muted: #667985;
    --line: #e3e9ed;
    --surface: #ffffff;
    --background: #f4f7f9;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    line-height: 1.8;
}

a {
    color: inherit;
}

.container {
    width: min(920px, calc(100% - 36px));
    margin: 0 auto;
}

.site-header {
    color: #fff;
    background: linear-gradient(135deg, var(--primary-dark), #3498db);
}

.brand {
    padding: 42px 0 30px;
    text-align: center;
}

.brand-mark {
    margin-bottom: 8px;
    font-size: 38px;
}

.brand h1 {
    margin: 0;
    font-size: clamp(28px, 5vw, 42px);
}

.brand p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, .84);
}

.nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 0 0 18px;
    flex-wrap: wrap;
}

.nav a {
    padding: 6px 13px;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
    background: rgba(255, 255, 255, .18);
}

main {
    padding: 34px 0 12px;
}

.card,
.article {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(31, 58, 76, .08);
}

.news-list {
    overflow: hidden;
}

.news-item {
    display: block;
    padding: 24px 26px;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    transition: background-color .2s, transform .2s;
}

.news-item:last-child {
    border-bottom: 0;
}

.news-item:hover {
    background: #f8fbfd;
}

.news-item h2 {
    margin: 0 0 7px;
    font-size: clamp(19px, 3vw, 24px);
}

.news-item p {
    margin: 0 0 10px;
    color: var(--muted);
}

.meta {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: #8998a2;
    font-size: 14px;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
}

.article {
    padding: clamp(24px, 5vw, 48px);
}

.article h1 {
    margin: 0 0 8px;
    line-height: 1.35;
}

.article h2 {
    margin-top: 30px;
    line-height: 1.45;
}

.article p {
    margin: 16px 0;
}

.article-meta {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
    color: #8998a2;
}

.back-link {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--primary);
    text-decoration: none;
}

.site-footer {
    margin-top: 40px;
    padding: 26px 0;
    background: #263f50;
    color: rgba(255, 255, 255, .78);
    text-align: center;
    font-size: 14px;
}

.site-footer a {
    color: #75c5f4;
    text-decoration: none;
}

@media (max-width: 600px) {
    .brand {
        padding-top: 30px;
    }

    .news-item {
        padding: 20px;
    }

    .meta {
        display: block;
    }
}
