﻿:root { --primary: rgb(245, 158, 11); --primary-hover: rgb(217, 119, 6); --primary-light: rgba(245, 158, 11, 0.1); --bg-body: #f8fafc; --bg-surface: #ffffff; --bg-dark: #0f172a; --text-main: #0f172a; --text-muted: #64748b; --border-color: #e2e8f0; --radius-md: 8px; --radius-lg: 16px; }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: -apple-system, sans-serif; background: var(--bg-body); color: var(--text-main); line-height: 1.8; }
        a { text-decoration: none; color: inherit; transition: 0.3s; }
        ul { list-style: none; }
        img { max-width: 100%; display: block; border-radius: var(--radius-md); }
        .container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
        
        .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(--text-main); white-space: nowrap; }
        .header { background: var(--bg-dark); color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 2px solid var(--primary); }
        .nav-wrapper { display: flex; align-items: center; justify-content: space-between; height: 80px; }
        .header .logo span { color: #fff; }
        .desktop-nav ul { display: flex; gap: 32px; }
        .desktop-nav a { font-size: 16px; font-weight: 500; color: #cbd5e1; }
        .desktop-nav a:hover { color: var(--primary); }
        .header-actions { display: none; }
        
        .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); opacity: 0; visibility: hidden; transition: 0.3s; z-index: 99; }
        .drawer { position: fixed; top: 0; left: -320px; width: 300px; height: 100vh; background: var(--bg-surface); transition: 0.4s; z-index: 100; display: flex; flex-direction: column; }
        .drawer.active { left: 0; }
        .drawer-overlay.active { opacity: 1; visibility: visible; }
        .drawer-header { padding: 24px 20px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--border-color); }
        .drawer-body { padding: 20px; overflow-y: auto; }
        .drawer-nav a { display: block; padding: 16px 0; font-weight: 600; border-bottom: 1px solid #f1f5f9; }
        .menu-btn, .close-btn { background: none; border: none; cursor: pointer; color: inherit; }
        @media (max-width: 768px) { .header-actions { display: block; } .desktop-nav { display: none; } }

        
        .article-layout { display: grid; grid-template-columns: 1fr 340px; gap: 50px; padding: 40px 0; }
        @media (max-width: 1024px) { .article-layout { grid-template-columns: 1fr; } }
        
        .article-main { background: var(--bg-surface); padding: 40px; border-radius: var(--radius-lg); box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
        @media (max-width: 768px) { .article-main { padding: 20px; } }
        
        .breadcrumb { display: flex; gap: 8px; font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
        .breadcrumb a { color: var(--primary); }
        
        .art-header h1 { font-size: 32px; font-weight: 800; margin-bottom: 20px; line-height: 1.4; }
        .art-meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: var(--text-muted); border-bottom: 1px solid var(--border-color); padding-bottom: 20px; margin-bottom: 30px; }
        .art-meta span { display: inline-flex; align-items: center; gap: 6px; }
        .art-tags { font-size: 13px; color: var(--primary); background: var(--primary-light); padding: 4px 12px; border-radius: 4px; }
        
        .art-content { font-size: 16px; color: #334155; }
        .art-content p { margin-bottom: 20px; }
        .art-content h2, .art-content h3 { color: var(--text-main); margin: 30px 0 15px; }
        .art-content blockquote { border-left: 4px solid var(--primary); padding-left: 16px; color: var(--text-muted); background: var(--bg-body); padding: 16px; border-radius: 0 8px 8px 0; margin-bottom: 20px; }
        
        .art-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 30px; border-top: 1px dashed var(--border-color); }
        .art-nav a { flex: 1; padding: 16px; background: var(--bg-body); border-radius: var(--radius-md); font-size: 14px; color: var(--text-muted); transition: 0.3s; }
        .art-nav a:hover { background: var(--primary-light); color: var(--primary); }
        .art-nav span { display: block; font-weight: 600; color: var(--text-main); font-size: 16px; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        
        .related-box { margin-top: 40px; }
        .related-box h3 { font-size: 20px; margin-bottom: 20px; border-left: 4px solid var(--primary); padding-left: 12px; }
        .related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
        @media (max-width: 600px) { .related-grid { grid-template-columns: 1fr; } }
        .rel-card { display: flex; gap: 12px; background: var(--bg-body); padding: 12px; border-radius: var(--radius-md); border: 1px solid var(--border-color); }
        .rel-card:hover { border-color: var(--primary); }
        .rel-img { width: 80px; height: 60px; object-fit: cover; border-radius: 4px; }
        .rel-info h4 { font-size: 14px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

        .sidebar-widget { background: var(--bg-surface); padding: 24px; border-radius: var(--radius-md); box-shadow: 0 1px 3px rgba(0,0,0,0.05); margin-bottom: 30px; }
        .sidebar-widget h3 { font-size: 18px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); display: inline-block; }

        .footer { background: var(--bg-dark); color: #94a3b8; padding: 80px 0 20px; border-top: 4px solid var(--primary); margin-top: 40px; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
        @media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }
        .footer-brand p { margin-top: 20px; font-size: 14px; }
        .footer-links h3, .footer-contact h3 { color: #fff; margin-bottom: 24px; }
        .footer-links li { margin-bottom: 12px; }
        .footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 14px; }