﻿:root { --primary: rgb(67,56,202); --primary-hover: rgb(55,46,180); --primary-light: rgba(67,56,202, 0.05); --text-dark: #1e293b; --text-main: #334155; --text-muted: #64748b; --bg-body: #f8fafc; --bg-white: #ffffff; --border-color: #e2e8f0; --shadow-sm: 0 1px 3px rgba(0,0,0,0.1); --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1); --radius: 8px; }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: 'PingFang SC', sans-serif; background: var(--bg-body); color: var(--text-main); line-height: 1.6; }
        a { text-decoration: none; color: inherit; transition: 0.3s; }
        img { max-width: 100%; height: auto; display: block; }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        
        
        .site-header { background: var(--bg-white); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 100; }
        .header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
        .logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
        .logo img { display: block; height: 40px; width: auto; max-width: 160px; object-fit: contain; flex-shrink: 0; }
        .logo span { display: inline-block; font-size: 20px; font-weight: 800; line-height: 1; color: var(--primary); white-space: nowrap; }
        .desktop-nav { display: flex; gap: 30px; align-items: center; }
        .desktop-nav a { font-size: 16px; font-weight: 500; color: var(--text-dark); position: relative; }
        .mobile-toggle { display: none; font-size: 24px; cursor: pointer; color: var(--text-dark); }
        
        
        .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 999; opacity: 0; visibility: hidden; transition: 0.3s; }
        .drawer-overlay.active { opacity: 1; visibility: visible; }
        .drawer { position: fixed; top: 0; left: 0; bottom: 0; width: 280px; background: var(--bg-white); z-index: 1000; transform: translateX(-100%); transition: 0.3s; display: flex; flex-direction: column; }
        .drawer.active { transform: translateX(0); }
        .drawer-header { padding: 20px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; }
        .drawer-close { font-size: 24px; cursor: pointer; color: var(--text-muted); }
        .drawer-nav { padding: 20px; overflow-y: auto; flex: 1; }
        .drawer-nav a { display: block; padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--primary-light); }

        
        .page-header { background: var(--bg-white); padding: 40px 0; border-bottom: 1px solid var(--border-color); margin-bottom: 40px; }
        .tag-badge { display: inline-block; background: var(--primary-light); color: var(--primary); padding: 5px 15px; border-radius: 20px; font-size: 14px; font-weight: 600; margin-bottom: 15px; }
        .page-title { font-size: 28px; font-weight: 700; color: var(--text-dark); }
        .page-title span { color: var(--primary); }
        
        
        .article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; margin-bottom: 40px; }
        .article-card { background: var(--bg-white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform 0.3s; }
        .article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
        .article-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
        .article-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
        .article-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
        .article-title { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .article-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 15px; flex: 1; }
        .article-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border-color); padding-top: 15px; margin-top: auto; }
        
        
        .pagination { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 60px; }
        .page-item { display: inline-block; padding: 8px 16px; background: var(--bg-white); border: 1px solid var(--border-color); border-radius: 4px; color: var(--text-main); font-weight: 500; }
        .page-item:hover, .page-item.current { background: var(--primary); color: #fff; border-color: var(--primary); }

        
        .site-footer { background: #0f172a; color: #cbd5e1; padding: 60px 0 30px; }
        .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
        .footer-logo span { color: #fff; }
        .footer-title { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 20px; }
        .footer-nav li { margin-bottom: 10px; }
        .footer-nav a:hover { color: var(--primary); }
        .footer-bottom { border-top: 1px solid #334155; padding-top: 30px; text-align: center; font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; }

        @media (max-width: 768px) {
            .desktop-nav { display: none; }
            .mobile-toggle { display: block; }
        }