﻿:root { --primary: rgb(67,56,202); --primary-light: rgba(67,56,202, 0.1); --primary-hover: rgb(55,48,163); --text-main: #0f172a; --text-sub: #475569; --text-muted: #94a3b8; --bg-body: #f8fafc; --bg-card: #ffffff; --border-color: #e2e8f0; --radius-md: 12px; --radius-lg: 20px; --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05); --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body { font-family: -apple-system, BlinkMacSystemFont, sans-serif; color: var(--text-main); background: var(--bg-body); line-height: 1.8; }
        a { text-decoration: none; color: inherit; transition: 0.3s; } ul { list-style: none; } img { max-width: 100%; height: auto; display: block; }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        
        
        .header { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(226, 232, 240, 0.5); } .header.scrolled { background: #ffffff; box-shadow: var(--shadow-sm); }
        .nav-wrapper { display: flex; align-items: center; justify-content: space-between; height: 70px; }
        .logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; } .logo img { display: block; height: 36px; width: auto; max-width: 150px; object-fit: contain; flex-shrink: 0; } .logo span { display: inline-block; font-size: 20px; font-weight: 700; line-height: 1; color: var(--text-main); white-space: nowrap; }
        .desktop-nav ul { display: flex; gap: 30px; } .desktop-nav a { font-size: 15px; font-weight: 500; } .desktop-nav a:hover { color: var(--primary); }
        .header-action { display: flex; align-items: center; gap: 15px; } .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 24px; border-radius: 8px; font-weight: 500; cursor: pointer; transition: 0.3s; } .btn-primary { background: var(--primary); color: #fff; } .btn-primary:hover { background: var(--primary-hover); } .btn-outline { border: 1px solid var(--primary); color: var(--primary); } .btn-outline:hover { background: var(--primary-light); }
        .menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; width: 24px; } .menu-toggle span { display: block; height: 2px; background: var(--text-main); }
        .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; visibility: hidden; z-index: 999; transition: 0.3s; } .drawer-overlay.active { opacity: 1; visibility: visible; }
        .drawer-nav { position: fixed; top: 0; left: -300px; width: 280px; height: 100vh; background: #fff; z-index: 1000; transition: 0.3s; display: flex; flex-direction: column; } .drawer-nav.active { transform: translateX(300px); }
        .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-body { padding: 20px; overflow-y: auto; flex: 1; } .drawer-body ul li { margin-bottom: 15px; } .drawer-body ul li a { display: block; font-size: 16px; font-weight: 500; padding: 8px 0; }
        .footer { background: #0f172a; color: #cbd5e1; padding: 80px 0 30px; margin-top: 80px; } .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 60px; } .footer-brand .logo span { color: #fff; } .footer-brand p { font-size: 14px; margin-top: 20px; color: #94a3b8; } .footer-col h4 { color: #fff; margin-bottom: 20px; } .footer-col ul li { margin-bottom: 12px; } .footer-col ul li a { font-size: 14px; } .footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #64748b; } .footer-links a { margin-left: 15px; }

        
        .article-layout { display: grid; grid-template-columns: 3fr 1fr; gap: 40px; padding: 120px 0 60px; }
        
        .article-main { background: #fff; padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }
        .breadcrumb { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
        .breadcrumb a { color: var(--text-sub); } .breadcrumb a:hover { color: var(--primary); }
        
        .article-header { margin-bottom: 30px; border-bottom: 1px solid var(--border-color); padding-bottom: 20px; }
        .article-title { font-size: 32px; font-weight: 800; line-height: 1.3; margin-bottom: 15px; }
        .article-meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: var(--text-muted); align-items: center; }
        .article-meta span { display: inline-flex; align-items: center; gap: 5px; }
        .meta-tag { background: var(--primary-light); color: var(--primary); padding: 2px 10px; border-radius: 4px; font-weight: 500; }
        
        .article-content { font-size: 16px; color: #334155; }
        .article-content p { margin-bottom: 20px; }
        .article-content h2, .article-content h3 { margin: 30px 0 15px; color: var(--text-main); }
        .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); padding-left: 20px; margin: 20px 0; color: var(--text-sub); background: #f8fafc; padding: 15px 20px; border-radius: 0 8px 8px 0; }
        
        .article-nav { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border-color); font-size: 14px; }
        .article-nav a { color: var(--primary); font-weight: 500; max-width: 45%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-block;}
        .article-nav a:hover { text-decoration: underline; }

        
        .related-section { margin-top: 60px; }
        .related-title { font-size: 24px; font-weight: 700; margin-bottom: 20px; border-left: 4px solid var(--primary); padding-left: 12px; }
        .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
        .related-card { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; transition: 0.3s; }
        .related-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
        .rc-img { height: 140px; background: #e2e8f0; overflow: hidden; }
        .rc-img img { width: 100%; height: 100%; object-fit: cover; }
        .rc-content { padding: 15px; }
        .rc-title { font-size: 15px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 10px;}
        .rc-meta { font-size: 12px; color: var(--text-muted); }

        
        .sidebar { display: flex; flex-direction: column; gap: 30px; }
        .widget { background: #fff; padding: 24px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }
        .widget-title { font-size: 18px; font-weight: 700; margin-bottom: 20px; position: relative; padding-left: 12px; }
        .widget-title::before { content: ''; position: absolute; left: 0; top: 2px; bottom: 2px; width: 4px; background: var(--primary); border-radius: 2px; }
        
        @media (max-width: 1024px) { .article-layout { grid-template-columns: 1fr; } .related-grid { grid-template-columns: repeat(2, 1fr); } }
        @media (max-width: 768px) { 
            .desktop-nav, .header-action .btn-outline { display: none; } .menu-toggle { display: flex; } 
            .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; } 
            .article-main { padding: 20px; } .article-title { font-size: 24px; } .related-grid { grid-template-columns: 1fr; }
            .article-nav { flex-direction: column; gap: 10px;} .article-nav a { max-width: 100%;}
        }