﻿:root {
            --primary: rgb(48,209,88);
            --primary-hover: #2bb94d;
            --primary-light: rgba(48,209,88,0.1);
            --text-main: #111827;
            --text-muted: #6b7280;
            --bg-body: #f3f4f6;
            --bg-card: #ffffff;
            --border-color: #e5e7eb;
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --radius-md: 8px;
            --radius-lg: 16px;
        }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; background: var(--bg-body); color: var(--text-main); line-height: 1.6; }
        a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
        ul, ol { list-style: none; }
        img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-md); }
        .container { max-width: 1000px; margin: 0 auto; padding: 0 20px; } 

        
        .header { background: var(--bg-card); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm); }
        .header-inner { display: flex; justify-content: space-between; align-items: center; 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: 22px; font-weight: 800; line-height: 1; color: var(--text-main); white-space: nowrap; letter-spacing: -0.5px; }
        .desktop-nav ul { display: flex; gap: 30px; }
        .desktop-nav a { font-weight: 500; font-size: 16px; color: var(--text-main); padding: 8px 0; position: relative; }
        .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: width 0.3s; }
        .desktop-nav a:hover::after { width: 100%; }
        .menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; }
        .menu-toggle span { width: 24px; height: 2px; background: var(--text-main); transition: 0.3s; }
        .mobile-drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 998; opacity: 0; visibility: hidden; transition: 0.3s; }
        .mobile-drawer { position: fixed; top: 0; left: -300px; width: 280px; height: 100%; background: var(--bg-card); z-index: 999; transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; }
        .drawer-active .mobile-drawer-overlay { opacity: 1; visibility: visible; }
        .drawer-active .mobile-drawer { left: 0; }
        .drawer-header { padding: 20px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; }
        .drawer-close { background: none; border: none; font-size: 24px; color: var(--text-muted); cursor: pointer; }
        .drawer-nav { padding: 20px; overflow-y: auto; flex: 1; }
        .drawer-nav ul { display: flex; flex-direction: column; gap: 15px; }
        .drawer-nav a { display: block; font-size: 18px; font-weight: 500; padding: 10px; border-radius: var(--radius-md); }
        .drawer-nav a:hover { background: var(--primary-light); color: var(--primary); }

        
        .footer { background: #0f172a; color: #9ca3af; padding: 60px 0 30px; margin-top: 60px;}
        .footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
        .footer-brand .logo span { color: #fff; }
        .footer-brand p { margin-top: 20px; font-size: 14px; line-height: 1.8; }
        .footer-title { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 24px; }
        .footer-links ul { display: flex; flex-direction: column; gap: 12px; }
        .footer-links a { color: #9ca3af; font-size: 14px; }
        .footer-links a:hover { color: var(--primary); padding-left: 5px; }
        .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; text-align: center; font-size: 14px; }

        
        .article-wrap { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); margin-top: 40px; padding: 40px 60px; }
        .breadcrumb { font-size: 14px; color: var(--text-muted); margin-bottom: 30px; display: flex; gap: 8px; align-items: center; }
        .breadcrumb a:hover { color: var(--primary); }
        .breadcrumb span { color: var(--border-color); }
        
        .article-header { border-bottom: 1px solid var(--border-color); padding-bottom: 20px; margin-bottom: 30px; }
        .article-title { font-size: 36px; font-weight: 800; line-height: 1.3; margin-bottom: 20px; color: var(--text-main); }
        .article-meta-bar { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: var(--text-muted); align-items: center; }
        .meta-item { display: flex; align-items: center; gap: 5px; }
        .meta-item strong { color: var(--text-main); }

        .article-content { font-size: 17px; line-height: 1.8; color: #374151; word-wrap: break-word; }
        .article-content p { margin-bottom: 20px; }
        .article-content h2, .article-content h3 { margin: 40px 0 20px; color: var(--text-main); font-weight: 700; }
        .article-content h2 { font-size: 24px; padding-bottom: 10px; border-bottom: 2px solid var(--bg-body); }
        .article-content img { margin: 30px auto; box-shadow: var(--shadow-md); }
        .article-content a { color: var(--primary); text-decoration: underline; }
        .article-content ul, .article-content ol { margin-bottom: 20px; padding-left: 20px; }
        .article-content li { margin-bottom: 10px; }
        .article-content blockquote { border-left: 4px solid var(--primary); background: var(--bg-body); padding: 15px 20px; margin: 20px 0; font-style: italic; border-radius: 0 var(--radius-md) var(--radius-md) 0; }

        
        .article-footer { margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--border-color); }
        .article-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
        .article-tags span { font-size: 14px; font-weight: bold; color: var(--text-main); padding: 5px 0; }
        .article-tags a { background: var(--bg-body); color: var(--text-muted); font-size: 14px; padding: 6px 15px; border-radius: 50px; transition: 0.3s; }
        .article-tags a:hover { background: var(--primary); color: #fff; }

        .prev-next { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
        .pn-link { flex: 1; background: var(--bg-body); padding: 15px 20px; border-radius: var(--radius-md); transition: 0.3s; display: flex; flex-direction: column; }
        .pn-link:hover { background: var(--primary-light); }
        .pn-label { font-size: 12px; color: var(--text-muted); margin-bottom: 5px; }
        .pn-title { font-size: 15px; font-weight: 600; color: var(--text-main); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
        .pn-link.disabled { opacity: 0.5; pointer-events: none; }

        
        .related-section { margin-top: 40px; }
        .related-title { font-size: 24px; font-weight: 800; margin-bottom: 20px; padding-left: 15px; border-left: 4px solid var(--primary); }
        .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
        .related-card { background: var(--bg-card); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); transition: 0.3s; display: flex; flex-direction: column; }
        .related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary-light); }
        .related-img { height: 140px; width: 100%; object-fit: cover; border-radius: 0; }
        .related-info { padding: 15px; flex: 1; display: flex; flex-direction: column; }
        .related-h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; }
        .related-meta { font-size: 12px; color: var(--text-muted); margin-top: auto; display: flex; justify-content: space-between; }

        @media (max-width: 992px) {
            .related-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 768px) {
            .desktop-nav { display: none; }
            .menu-toggle { display: flex; }
            .article-wrap { padding: 20px; margin-top: 20px; }
            .article-title { font-size: 26px; }
            .prev-next { flex-direction: column; }
            .related-grid { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr; }
        }