﻿:root { --primary: rgb(3,105,161); --primary-hover: rgb(2,85,130); --primary-light: rgba(3,105,161, 0.08); --text-main: #1e293b; --text-muted: #64748b; --bg-body: #f8fafc; --radius: 12px; --shadow-sm: 0 1px 3px rgba(0,0,0,0.1); --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.05); --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--text-main); background: var(--bg-body); line-height: 1.6; }
        a { text-decoration: none; color: inherit; transition: var(--transition); }
        ul, ol { list-style: none; }
        img { max-width: 100%; height: auto; display: block; }
        .container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
        
        .logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
        .logo img { display: block; height: 44px; width: auto; max-width: 180px; object-fit: contain; flex-shrink: 0; }
        .logo span { display: inline-block; font-size: 22px; font-weight: 800; line-height: 1; color: var(--primary); white-space: nowrap; }

        .site-header { background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(226,232,240,0.8); }
        .site-header.scrolled { box-shadow: var(--shadow-sm); }
        .header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
        .desktop-nav ul { display: flex; gap: 32px; }
        .desktop-nav a { font-weight: 500; font-size: 16px; color: #334155; position: relative; padding: 8px 0; }
        .desktop-nav a:hover { color: var(--primary); }
        .desktop-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary); transition: var(--transition); }
        .desktop-nav a:hover::after { width: 100%; }
        .header-actions { display: flex; gap: 20px; align-items: center;}
        
        .btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 28px; border-radius: 50px; font-weight: 600; cursor: pointer; transition: var(--transition); font-size: 15px; }
        .btn-primary { background: var(--primary); color: #fff; border: 2px solid var(--primary); }
        .btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); transform: translateY(-2px); color: #fff;}

        .mobile-toggle { display: none; background: none; border: none; flex-direction: column; gap: 6px; cursor: pointer; padding: 5px; }
        .mobile-toggle span { display: block; width: 26px; height: 2px; background: var(--text-main); transition: var(--transition); }
        .mobile-drawer { position: fixed; inset: 0; z-index: 999; pointer-events: none; }
        .drawer-overlay { position: absolute; inset: 0; background: rgba(15,23,42,0.6); opacity: 0; transition: opacity 0.3s; }
        .drawer-content { position: absolute; top: 0; left: -320px; bottom: 0; width: 300px; background: #fff; transition: transform 0.4s; display: flex; flex-direction: column; }
        .mobile-drawer.active { pointer-events: auto; }
        .mobile-drawer.active .drawer-overlay { opacity: 1; }
        .mobile-drawer.active .drawer-content { transform: translateX(320px); }
        .drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 24px; border-bottom: 1px solid var(--border-color); background: #f8fafc; }
        .drawer-close { background: #e2e8f0; border: none; width: 32px; height: 32px; border-radius: 50%; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center;}
        .drawer-nav { padding: 24px 0; flex: 1; overflow-y: auto; }
        .drawer-nav ul li a { display: block; padding: 16px 32px; border-bottom: 1px solid #f1f5f9; color: #334155; font-weight: 500;}
        .drawer-footer { padding: 24px; border-top: 1px solid var(--border-color); }
        @media (max-width: 992px) { .desktop-nav, .header-actions .btn { display: none; } .mobile-toggle { display: flex; } .logo span { font-size: 18px; } .logo img { height: 36px; } }

        
        .article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; padding: 40px 0 80px; }
        .breadcrumb { font-size: 14px; margin-bottom: 20px; color: var(--text-muted); }
        .breadcrumb a { color: #334155; }
        .breadcrumb a:hover { color: var(--primary); text-decoration: underline; }

        .article-main { background: #fff; border-radius: var(--radius); padding: 50px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }
        .article-header { border-bottom: 1px solid var(--border-color); padding-bottom: 30px; margin-bottom: 30px; }
        .article-title { font-size: 32px; font-weight: 800; color: #0f172a; line-height: 1.4; margin-bottom: 20px; }
        .article-meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: var(--text-muted); align-items: center; }
        .meta-item { display: inline-flex; align-items: center; gap: 6px; }
        .meta-item svg { width: 16px; height: 16px; fill: currentColor; }

        .article-content { font-size: 16px; line-height: 1.9; color: #334155; }
        .article-content h2, .article-content h3 { color: #0f172a; margin: 30px 0 15px; font-weight: 700; }
        .article-content h2 { font-size: 24px; border-bottom: 2px solid var(--primary-light); padding-bottom: 10px; }
        .article-content h3 { font-size: 20px; }
        .article-content p { margin-bottom: 20px; }
        .article-content img { border-radius: 8px; margin: 20px auto; max-width: 100%; box-shadow: var(--shadow-sm); }
        .article-content blockquote { border-left: 4px solid var(--primary); background: var(--primary-light); padding: 15px 20px; margin: 20px 0; border-radius: 0 8px 8px 0; color: #475569; }
        .article-content ul, .article-content ol { padding-left: 20px; margin-bottom: 20px; }
        .article-content li { margin-bottom: 10px; }

        .article-footer { margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--border-color); }
        .article-tags-wrap { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
        .tags-label { font-weight: 600; color: #0f172a; }
        .article-tags-wrap a { padding: 6px 16px; background: #f1f5f9; color: #475569; border-radius: 20px; font-size: 13px; transition: var(--transition); }
        .article-tags-wrap a:hover { background: var(--primary); color: #fff; }

        .article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
        .nav-link { display: block; padding: 20px; background: #f8fafc; border-radius: 8px; border: 1px solid var(--border-color); transition: var(--transition); }
        .nav-link:hover { border-color: var(--primary); background: #fff; box-shadow: var(--shadow-sm); }
        .nav-label { font-size: 13px; color: var(--text-muted); margin-bottom: 5px; display: block; }
        .nav-title { font-size: 15px; font-weight: 600; color: #0f172a; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

        
        .related-section { margin-top: 50px; }
        .related-title { font-size: 20px; font-weight: 700; border-left: 4px solid var(--primary); padding-left: 15px; margin-bottom: 25px; color: #0f172a; }
        .related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
        .related-card { display: flex; gap: 15px; background: #fff; padding: 15px; border-radius: 8px; border: 1px solid var(--border-color); transition: var(--transition); }
        .related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--primary-light); }
        .related-img { width: 100px; height: 75px; border-radius: 6px; object-fit: cover; flex-shrink: 0; background: #e2e8f0; }
        .related-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
        .related-info h4 { font-size: 14px; font-weight: 600; line-height: 1.4; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #0f172a; }
        .related-info span { font-size: 12px; color: var(--text-muted); }

        
        .sidebar-widget { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--border-color); margin-bottom: 30px; }
        .widget-title { font-size: 18px; font-weight: 700; color: #0f172a; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--primary-light); position: relative; }
        .widget-title::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 40px; height: 2px; background: var(--primary); }
        
        .promo-widget { background: linear-gradient(135deg, var(--primary), var(--primary-hover)); color: #fff; text-align: center; border: none; }
        .promo-widget h3 { color: #fff; font-size: 20px; margin-bottom: 15px; }
        .promo-widget p { font-size: 14px; opacity: 0.9; margin-bottom: 20px; }
        .promo-widget .btn { background: #fff; color: var(--primary); width: 100%; border: none; }
        .promo-widget .btn:hover { background: #f1f5f9; transform: none; }

        @media (max-width: 992px) { 
            .article-layout { grid-template-columns: 1fr; }
            .article-main { padding: 30px 20px; }
            .article-title { font-size: 26px; }
        }
        @media (max-width: 576px) {
            .article-nav { grid-template-columns: 1fr; }
            .related-grid { grid-template-columns: 1fr; }
        }

        
        .site-footer { background: #0f172a; color: #cbd5e1; padding: 80px 0 30px; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; margin-bottom: 60px; }
        .site-footer .logo span { color: #fff; }
        .footer-desc { margin-top: 24px; font-size: 14px; line-height: 1.8; color: #94a3b8; }
        .footer-title { font-size: 18px; color: #fff; margin-bottom: 25px; font-weight: 600; }
        .footer-links ul li { margin-bottom: 16px; }
        .footer-links ul li a { color: #94a3b8; transition: var(--transition); display: inline-block; }
        .footer-links ul li a:hover { color: #38bdf8; transform: translateX(5px); }
        .contact-item { margin-bottom: 16px; display: flex; gap: 12px; font-size: 14px; align-items: flex-start; }
        .contact-item span:first-child { color: #94a3b8; white-space: nowrap; font-weight: 500; }
        .footer-bottom { padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 14px; color: #64748b; display: flex; flex-direction: column; gap: 10px; align-items: center; }
        .footer-bottom a { color: #94a3b8; }
        .footer-bottom a:hover { color: #fff; }
        @media (max-width: 992px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
        @media (max-width: 576px) { .footer-grid { grid-template-columns: 1fr; } }