﻿: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); --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.8; }
        a { text-decoration: none; color: inherit; transition: 0.3s; }
        img { max-width: 100%; height: auto; display: block; border-radius: 4px; }
        .container { max-width: 1000px; 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; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        .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); }

        
        .article-wrap { background: var(--bg-white); padding: 50px; border-radius: var(--radius); box-shadow: var(--shadow-sm); margin: 40px auto; }
        .breadcrumb { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
        .breadcrumb a:hover { color: var(--primary); }
        .article-title { font-size: 32px; font-weight: 800; color: var(--text-dark); margin-bottom: 20px; line-height: 1.4; }
        .article-meta { display: flex; gap: 20px; font-size: 14px; color: var(--text-muted); border-bottom: 1px solid var(--border-color); padding-bottom: 20px; margin-bottom: 30px; flex-wrap: wrap; }
        
        
        .article-content { font-size: 16px; color: var(--text-main); }
        .article-content p { margin-bottom: 20px; }
        .article-content h2, .article-content h3 { color: var(--text-dark); margin: 30px 0 15px; font-weight: 700; }
        .article-content blockquote { border-left: 4px solid var(--primary); background: var(--primary-light); padding: 15px 20px; margin: 20px 0; font-style: italic; color: var(--text-dark); }
        
        
        .article-tags { margin: 40px 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
        .article-tags span { font-weight: 600; color: var(--text-dark); }
        .tag-link { background: #f1f5f9; padding: 6px 15px; border-radius: 20px; font-size: 14px; color: var(--text-main); }
        .tag-link:hover { background: var(--primary); color: #fff; }

        .article-nav { display: flex; justify-content: space-between; border-top: 1px solid var(--border-color); padding-top: 20px; margin-bottom: 50px; flex-wrap: wrap; gap: 20px; }
        .article-nav a { display: flex; flex-direction: column; max-width: 45%; }
        .article-nav span { font-size: 12px; color: var(--text-muted); margin-bottom: 5px; }
        .article-nav strong { font-size: 15px; color: var(--primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

        
        .related-section { margin-bottom: 60px; }
        .related-title { font-size: 24px; font-weight: 700; color: var(--text-dark); margin-bottom: 30px; border-left: 4px solid var(--primary); padding-left: 15px; }
        .related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }
        .related-card { background: var(--bg-white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
        .related-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 0; }
        .related-body { padding: 15px; display: flex; flex-direction: column; flex: 1; }
        .related-body h4 { font-size: 16px; margin-bottom: 10px; color: var(--text-dark); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .related-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); margin-top: auto; }

        
        .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; max-width: 1200px; margin: 0 auto 40px; padding: 0 20px; }
        .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-bottom { border-top: 1px solid #334155; padding-top: 30px; text-align: center; font-size: 14px; max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; padding: 30px 20px 0; }

        @media (max-width: 768px) {
            .desktop-nav { display: none; }
            .mobile-toggle { display: block; }
            .article-wrap { padding: 25px; margin: 20px auto; }
            .article-title { font-size: 24px; }
        }