:root {
    --portal-blue: #2980b9;
    --portal-dark: #34495e;
    --portal-light: #ecf0f1;
    --portal-border: #bdc3c7;
}

* { margin:0; padding:0; box-sizing:border-box; }

body {
    background-color: #f4f7f6;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: #2c3e50;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

header {
    background: var(--portal-blue);
    color: #fff;
    padding: 15px 0;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-bar {
    background: var(--portal-dark);
    padding: 10px 0;
}

.nav-bar ul {
    display: flex;
    list-style: none;
}

.nav-bar li { margin-right: 25px; }
.nav-bar a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
}
.nav-bar a:hover { color: var(--portal-blue); }

.main-content {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.news-section { flex: 2; }
.sidebar { flex: 1; }

.news-card {
    background: #fff;
    padding: 20px;
    border-bottom: 1px solid var(--portal-border);
    margin-bottom: 20px;
}

.news-card h3 { color: var(--portal-blue); margin-bottom: 10px; }
.news-card .meta { font-size: 12px; color: #7f8c8d; margin-bottom: 10px; }

.widget {
    background: #fff;
    padding: 20px;
    margin-bottom: 30px;
    border-top: 3px solid var(--portal-blue);
}

footer {
    background: var(--portal-dark);
    color: #fff;
    padding: 40px 0;
    margin-top: 50px;
    text-align: center;
}
