﻿:root {
            --primary-color: rgb(37,99,235);
            --primary-hover: rgb(29,78,216);
            --primary-light: rgba(37,99,235,0.1);
            --text-main: #1e293b;
            --text-muted: #64748b;
            --bg-body: #f8fafc;
            --border-color: #e2e8f0;
            --container-width: 1200px;
        }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background-color: var(--bg-body); color: var(--text-main); line-height: 1.6; }
        a { text-decoration: none; color: inherit; }
        ul { list-style: none; }
        img { max-width: 100%; height: auto; display: block; border-radius: 8px; }
        .container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
        
        
        .site-header { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; }
        .header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
        .logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
        .logo img { display: block; height: 36px; 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(--text-main); white-space: nowrap; }
        .desktop-nav ul { display: flex; gap: 30px; }
        .desktop-nav a { font-weight: 500; font-size: 15px; color: var(--text-main); transition: color 0.3s; }
        .desktop-nav a:hover { color: var(--primary-color); }
        .header-actions { display: flex; align-items: center; gap: 15px; }
        .btn-outline { border: 1px solid var(--primary-color); color: var(--primary-color); padding: 10px 24px; border-radius: 6px; font-weight: 600; display: inline-block; }
        .menu-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-main); }
        
        .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-menu { position: fixed; top: 0; left: -300px; bottom: 0; width: 280px; background: #fff; z-index: 1000; transition: 0.3s; box-shadow: 2px 0 8px rgba(0,0,0,0.1); display: flex; flex-direction: column; }
        .drawer-menu.active { left: 0; }
        .drawer-header { padding: 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border-color); }
        .drawer-close { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-muted); }
        .drawer-nav { padding: 20px; overflow-y: auto; flex: 1; }
        .drawer-nav li { margin-bottom: 15px; }
        .drawer-nav a { display: block; font-size: 16px; font-weight: 500; color: var(--text-main); padding: 8px 0; border-bottom: 1px dashed var(--border-color); }

        
        .breadcrumb { padding: 20px 0; font-size: 14px; color: var(--text-muted); }
        .breadcrumb a { color: var(--text-main); }
        .breadcrumb a:hover { color: var(--primary-color); }
        .breadcrumb span { margin: 0 8px; color: #cbd5e1; }

        
        .article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding-bottom: 60px; }
        .article-main { background: #fff; padding: 40px; border-radius: 12px; border: 1px solid var(--border-color); }
        
        .article-header { border-bottom: 1px solid var(--border-color); padding-bottom: 20px; margin-bottom: 30px; }
        .article-title { font-size: 32px; font-weight: 800; line-height: 1.3; margin-bottom: 15px; }
        .article-meta-info { 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: 6px; }
        .article-tags-link a { color: var(--primary-color); background: var(--primary-light); padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 500; }
        
        .article-body { font-size: 16px; line-height: 1.8; color: #334155; }
        .article-body p { margin-bottom: 20px; }
        .article-body h2, .article-body h3 { margin: 30px 0 15px; color: var(--text-main); }
        .article-body ul, .article-body ol { margin-bottom: 20px; padding-left: 20px; }
        
        .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-color); font-weight: 500; }
        
        
        .related-section { margin-top: 40px; }
        .related-title { font-size: 20px; font-weight: 700; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--border-color); }
        .related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
        .related-card { display: flex; gap: 15px; background: var(--bg-body); padding: 15px; border-radius: 8px; transition: background 0.2s; }
        .related-card:hover { background: #f1f5f9; }
        .related-thumb { width: 100px; height: 75px; flex-shrink: 0; }
        .related-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
        .related-info h4 { font-size: 14px; font-weight: 600; margin-bottom: 5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .related-info p { font-size: 12px; color: var(--text-muted); }

        
        .sidebar-widget { background: #fff; padding: 24px; border-radius: 12px; border: 1px solid var(--border-color); margin-bottom: 30px; }
        .sidebar-title { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
        .author-box { text-align: center; }
        .author-box img { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 15px; }
        .author-box h3 { font-size: 18px; margin-bottom: 5px; }
        .author-box p { font-size: 13px; color: var(--text-muted); }

        .site-footer { background: #0f172a; color: #cbd5e1; padding: 60px 0 30px; margin-top: 40px; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
        .footer-brand .logo span { color: #fff; }
        .footer-links a:hover { color: var(--primary-color); }
        .footer-bottom { border-top: 1px solid #1e293b; padding-top: 30px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; }

        @media (max-width: 1024px) {
            .article-layout { grid-template-columns: 1fr; }
        }
        @media (max-width: 768px) {
            .desktop-nav, .header-actions { display: none; }
            .menu-toggle { display: block; }
            .article-main { padding: 20px; }
            .article-title { font-size: 24px; }
            .related-grid { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr; }
        }