:root {
    --bg-page: #f8fafc;
    --card-bg: #ffffff;
    --primary-blue: #0a3d62;
    --accent-gold: #e67e22;
    --accent-green: #27ae60;
    --text-dark: #1e272e;
    --text-muted: #636e72;
    --border-light: #dfe6e9;
    --shadow-card: 0 8px 20px rgba(0,0,0,0.04);
}
html { scroll-behavior: smooth; }
body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    background: var(--bg-page);
    color: var(--text-dark);
    margin: 0;
    line-height: 1.5;
}
.container { max-width: 1300px; margin: 0 auto; padding: 0 20px; }
.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 2px solid var(--primary-blue);
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.logo-area { display: flex; align-items: center; gap: 12px; }
.logo-area img { height: 44px; }
.logo-area h1 { font-size: 1.6rem; font-weight: 700; margin: 0; color: var(--primary-blue); }
.logo-area h1 a { color: var(--primary-blue); text-decoration: none; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 40px;
    font-weight: 500;
    background: white;
    box-shadow: var(--shadow-card);
    transition: 0.2s;
}
.nav-links a:hover, .nav-links a.active { background: var(--primary-blue); color: white; }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 3px;
    transition: 0.3s;
}
.nav-toggle.toggle-open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.nav-toggle.toggle-open span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.toggle-open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}
.hero {
    background: linear-gradient(145deg, #e8f0f7 0%, #ffffff 100%);
    border-radius: 36px;
    padding: 45px 40px;
    margin-bottom: 40px;
    border: 1px solid var(--border-light);
}
.hero h2 { font-size: 2.5rem; font-weight: 800; margin: 0 0 15px; color: var(--primary-blue); }
.hero p { color: var(--text-muted); font-size: 1.2rem; margin-bottom: 20px; }
.hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; }
.btn-primary {
    background: var(--primary-blue);
    color: white;
    padding: 14px 32px;
    border-radius: 40px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: 0.2s;
}
.btn-primary:hover { opacity: 0.9; }
.btn-gold { background: var(--accent-gold); color: #1e272e; }
.card {
    background: var(--card-bg);
    border-radius: 28px;
    padding: 28px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    margin-bottom: 30px;
}
.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 16px;
}
.section-header .emoji { font-size: 2rem; }
.section-header h3 { font-size: 1.5rem; font-weight: 700; margin: 0; color: var(--primary-blue); }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.website-card {
    background: #f4f7fa;
    border-radius: 20px;
    padding: 24px;
    border-left: 6px solid var(--primary-blue);
}
.website-card h4 { margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.badge-official {
    background: var(--accent-green);
    color: white;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
}
.news-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}
.news-item:last-child { border: none; }
.news-img {
    width: 100px;
    height: 70px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    overflow: hidden;
}
.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}
.news-tag {
    background: var(--primary-blue);
    color: white;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    display: inline-block;
    margin-right: 8px;
}
.news-title { margin: 8px 0 4px; font-size: 1rem; font-weight: 600; }
.news-title a { color: var(--text-dark); text-decoration: none; transition: 0.2s; }
.news-title a:hover { color: var(--primary-blue); }
.news-intro { color: var(--text-muted); font-size: 0.9rem; margin: 4px 0 0; }
.news-date { color: var(--text-muted); font-size: 0.85rem; }
.table-schedule { width: 100%; border-collapse: collapse; }
.table-schedule td { padding: 10px 0; border-bottom: 1px solid var(--border-light); }
.footer {
    text-align: center;
    padding: 40px 0 30px;
    color: var(--text-muted);
    border-top: 2px solid var(--border-light);
    margin-top: 30px;
}
.footer a { color: var(--primary-blue); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.breadcrumb {
    padding: 16px 0;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: var(--text-muted);
}
.breadcrumb a { color: var(--primary-blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }
.list-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
    align-items: flex-start;
}
.list-item:last-child { border: none; }
.list-thumb {
    width: 200px;
    height: 130px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
}
.list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}
.list-info { flex: 1; }
.list-info h4 { margin: 0 0 8px; font-size: 1.15rem; }
.list-info h4 a { color: var(--text-dark); text-decoration: none; transition: 0.2s; }
.list-info h4 a:hover { color: var(--primary-blue); }
.list-info p { color: var(--text-muted); font-size: 0.9rem; margin: 6px 0; }
.list-meta { color: var(--text-muted); font-size: 0.85rem; margin-top: 8px; }
.list-meta span { margin-right: 16px; }
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 30px 0 10px;
    flex-wrap: wrap;
}
.pagination b {
  color: var(--text-dark);
  border: 1px solid var(--border-light);
  background: #c5e3f2;
}
.pagination a, .pagination b {
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.2s;
}
.pagination a {
    background: white;
    color: var(--text-dark);
    border: 1px solid var(--border-light);
}
.pagination a:hover { background: var(--primary-blue); color: white; border-color: var(--primary-blue); }
.pagination span.current { background: var(--primary-blue); color: white; }
.detail-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin: 0 0 16px;
    line-height: 1.4;
}
.detail-meta {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.detail-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-dark);
    word-break: break-word;
}
.detail-content img { max-width: 100%; height: auto; border-radius: 12px; margin: 16px 0; }
.detail-content p { margin: 0 0 16px; }
.detail-content h2, .detail-content h3, .detail-content h4 { margin: 24px 0 12px; color: var(--primary-blue); }
.detail-tags {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}
.detail-tags a {
    display: inline-block;
    background: #eef2f6;
    color: var(--primary-blue);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    margin: 4px 4px 4px 0;
    transition: 0.2s;
}
.detail-tags a:hover { background: var(--primary-blue); color: white; }
.prev-next {
    display: flex;
    gap: 20px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
    flex-wrap: wrap;
}
.prev-next a {
    flex: 1;
    min-width: 200px;
    padding: 16px 20px;
    background: #f4f7fa;
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-dark);
    transition: 0.2s;
}
.prev-next a:hover { background: var(--primary-blue); color: white; }
.prev-next .label { font-size: 0.8rem; color: var(--text-muted); display: block; margin-bottom: 4px; }
.prev-next a:hover .label { color: rgba(255,255,255,0.7); }
.sidebar-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    margin-bottom: 20px;
}
.sidebar-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-light);
}
.sidebar-list { list-style: none; padding: 0; margin: 0; }
.sidebar-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-list li:last-child { border: none; }
.sidebar-list li .num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}
.sidebar-list li a { color: var(--text-dark); text-decoration: none; font-size: 0.9rem; transition: 0.2s; flex: 1; }
.sidebar-list li a:hover { color: var(--primary-blue); }
.sidebar-list li .date { color: var(--text-muted); font-size: 0.8rem; flex-shrink: 0; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
    display: inline-block;
    background: #eef2f6;
    color: var(--primary-blue);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: 0.2s;
}
.tag-cloud a:hover { background: var(--primary-blue); color: white; }
.layout-2col { display: grid; grid-template-columns: 1fr 320px; gap: 30px; }
.cate-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.cate-tabs a {
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    background: var(--primary-blue);
    color: white;
    transition: 0.2s;
}
.cate-tabs a:hover { opacity: 0.9; }
.cate-tabs a.current { background: var(--accent-gold); }
.comment-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}
.comment-item:last-child { border: none; }
.comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.comment-header img { border-radius: 50%; }
.comment-header strong { font-size: 0.9rem; }
.comment-header .date { color: var(--text-muted); font-size: 0.8rem; }
.comment-header .reply-btn { color: var(--primary-blue); font-size: 0.8rem; text-decoration: none; }
.comment-reply {
    background: #eef2f6;
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.comment-body { font-size: 0.95rem; }
.comment-form { margin-top: 20px; }
.comment-form input[type="text"],
.comment-form textarea {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    font-size: 0.9rem;
    outline: none;
    font-family: inherit;
}
.comment-form textarea { border-radius: 16px; resize: vertical; }
.comment-form input[type="text"]:focus,
.comment-form textarea:focus { border-color: var(--primary-blue); }
@media (max-width: 900px) {
    .hero { padding: 30px 20px; }
    .hero h2 { font-size: 2rem; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .layout-2col { grid-template-columns: 1fr; }
    .list-item { flex-direction: column; }
    .list-thumb { width: 100%; height: 180px; }
    .prev-next { flex-direction: column; }
    .nav-toggle { display: flex; }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        order: 3;
        gap: 0;
        background: white;
        border-radius: 20px;
        box-shadow: var(--shadow-card);
        overflow: hidden;
        margin-top: 10px;
        border: 1px solid var(--border-light);
    }
    .nav-links.nav-open { display: flex; }
    .nav-links a {
        border-radius: 0;
        box-shadow: none;
        text-align: center;
        padding: 14px 18px;
        border-bottom: 1px solid var(--border-light);
    }
    .nav-links a:last-child { border-bottom: none; }
    .top-nav { flex-wrap: wrap; }
}
