﻿:root { --primary: rgb(209,213,219); --primary-dark: #9ca3af; --text-main: #1f2937; --text-muted: #6b7280; --bg-body: #f9fafb; --bg-white: #ffffff; --accent: #111827; --border-color: #e5e7eb; }
        * { 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, li { list-style: none; }
        img { max-width: 100%; height: auto; display: block; }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        
        header { background-color: var(--bg-white); border-bottom: 1px solid var(--border-color); 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(--accent); white-space: nowrap; }
        .nav-desktop { display: flex; gap: 30px; align-items: center; }
        .nav-desktop a { font-size: 16px; font-weight: 500; color: var(--text-main); transition: color 0.3s; }
        .nav-desktop a:hover { color: var(--primary-dark); }
        .mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; }
        .mobile-menu-btn svg { width: 28px; height: 28px; fill: var(--text-main); }
        
        .mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; visibility: hidden; transition: 0.3s; z-index: 998; }
        .mobile-overlay.active { opacity: 1; visibility: visible; }
        .mobile-drawer { position: fixed; top: 0; left: -300px; width: 280px; height: 100vh; background: var(--bg-white); z-index: 999; transition: left 0.3s ease; display: flex; flex-direction: column; box-shadow: 2px 0 8px rgba(0,0,0,0.1); }
        .mobile-drawer.active { left: 0; }
        .drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--border-color); }
        .drawer-close { background: none; border: none; cursor: pointer; }
        .drawer-close svg { width: 24px; height: 24px; fill: var(--text-muted); }
        .drawer-nav { padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 15px; }
        .drawer-nav a { display: block; font-size: 16px; font-weight: 500; color: var(--text-main); padding: 10px 0; border-bottom: 1px solid var(--bg-body); }
        
        .article-layout { display: grid; grid-template-columns: 3fr 1fr; gap: 40px; padding: 40px 0; }
        .article-main { background: var(--bg-white); border-radius: 12px; padding: 40px; border: 1px solid var(--border-color); }
        .breadcrumb { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
        .breadcrumb a { color: var(--accent); }
        
        .article-header { margin-bottom: 30px; border-bottom: 1px solid var(--border-color); padding-bottom: 30px; }
        .article-title { font-size: 32px; font-weight: 800; color: var(--accent); margin-bottom: 15px; line-height: 1.4; }
        .article-meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: var(--text-muted); }
        .article-meta span { display: flex; align-items: center; gap: 5px; }
        
        .article-content { font-size: 16px; line-height: 1.8; color: var(--text-main); }
        .article-content img { max-width: 100%; border-radius: 8px; margin: 20px 0; }
        .article-content p { margin-bottom: 20px; }
        .article-content h2, .article-content h3 { color: var(--accent); margin: 30px 0 15px; }
        
        .article-tags-wrap { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border-color); }
        .article-tags-wrap a { display: inline-block; padding: 6px 12px; background: var(--bg-body); border: 1px solid var(--border-color); border-radius: 4px; font-size: 13px; color: var(--text-main); margin-right: 10px; transition: all 0.3s; }
        .article-tags-wrap a:hover { background: var(--accent); color: var(--bg-white); border-color: var(--accent); }
        
        .article-nav { display: flex; justify-content: space-between; margin-top: 30px; gap: 20px; }
        .article-nav a { flex: 1; padding: 20px; background: var(--bg-body); border-radius: 8px; border: 1px solid var(--border-color); transition: all 0.3s; font-size: 14px; }
        .article-nav a:hover { border-color: var(--accent); }
        .article-nav span { display: block; color: var(--text-muted); margin-bottom: 5px; font-size: 12px; }
        .article-nav strong { color: var(--accent); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

        .related-section { margin-top: 50px; }
        .related-title { font-size: 24px; font-weight: 700; color: var(--accent); margin-bottom: 20px; border-left: 4px solid var(--accent); padding-left: 15px; }
        .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
        .related-card { background: var(--bg-white); border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; transition: box-shadow 0.3s; }
        .related-card:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
        .related-img { width: 100%; height: 140px; object-fit: cover; }
        .related-info { padding: 15px; }
        .related-info h4 { font-size: 16px; color: var(--accent); margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .related-meta { font-size: 12px; color: var(--text-muted); display: flex; justify-content: space-between; }

        .sidebar { display: flex; flex-direction: column; gap: 30px; }
        .widget { background: var(--bg-white); border: 1px solid var(--border-color); border-radius: 12px; padding: 25px; }
        .widget-title { font-size: 18px; font-weight: 700; color: var(--accent); margin-bottom: 20px; border-bottom: 2px solid var(--primary); padding-bottom: 10px; display: inline-block; }
        
        footer { background-color: var(--accent); color: var(--primary); padding: 60px 0 30px; margin-top: 60px; }
        .footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
        .footer-brand .logo span { color: var(--bg-white); }
        .footer-desc { margin-top: 15px; font-size: 14px; color: var(--primary-dark); }
        .footer-title { font-size: 18px; color: var(--bg-white); font-weight: 600; margin-bottom: 20px; }
        .footer-links li { margin-bottom: 10px; }
        .footer-links a { color: var(--primary); transition: color 0.3s; font-size: 14px; }
        .footer-links a:hover { color: var(--bg-white); }
        .footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 14px; color: var(--primary-dark); }
        
        @media (max-width: 992px) { .nav-desktop { display: none; } .mobile-menu-btn { display: block; } .article-layout { grid-template-columns: 1fr; } .related-grid { grid-template-columns: repeat(2, 1fr); } .footer-grid { grid-template-columns: 1fr; gap: 30px; } }
        @media (max-width: 600px) { .related-grid { grid-template-columns: 1fr; } .article-nav { flex-direction: column; } .article-main { padding: 20px; } .article-title { font-size: 24px; } }