﻿:root {
            --primary: #1D7BFF;
            --primary-hover: #0056b3;
            --bg-dark: rgb(35,39,47);
            --bg-light: #f4f6f9;
            --text-main: #1f2937;
            --text-muted: #4b5563;
        }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--text-main); background: #f8fafc; line-height: 1.6; }
        a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
        
        
        header { background: rgba(35, 39, 47, 0.95); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(255,255,255,0.1); }
        .nav-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; }
        .logo { display: inline-flex; align-items: center; gap: 12px; }
        .logo img { display: block; height: 40px; width: auto; max-width: 160px; object-fit: contain; flex-shrink: 0; }
        .logo span { display: inline-block; font-size: 18px; font-weight: 800; line-height: 1; color: #fff; white-space: nowrap; }
        .nav-menu { display: flex; align-items: center; gap: 24px; }
        .nav-menu a { color: rgba(255,255,255,0.85); font-weight: 500; font-size: 15px; }
        .nav-menu a:hover { color: var(--primary); }
        .menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }

        
        .drawer { position: fixed; top: 0; left: -280px; width: 280px; height: 100vh; background: var(--bg-dark); z-index: 1000; transition: left 0.3s ease; padding: 30px 20px; display: flex; flex-direction: column; gap: 20px; box-shadow: 4px 0 15px rgba(0,0,0,0.3); }
        .drawer.active { left: 0; }
        .drawer-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.5); z-index: 999; display: none; }
        .drawer-overlay.active { display: block; }
        .drawer-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; }
        .drawer-close { background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }
        .drawer-nav { display: flex; flex-direction: column; gap: 15px; }
        .drawer-nav a { color: #fff; font-size: 16px; font-weight: 500; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }

        
        .breadcrumbs { max-width: 900px; margin: 30px auto 0 auto; padding: 0 20px; font-size: 14px; color: var(--text-muted); }
        .breadcrumbs a { color: var(--primary); }

        
        .article-wrap { max-width: 900px; margin: 20px auto 80px auto; padding: 0 20px; }
        .article-header { border-bottom: 1px solid #e2e8f0; padding-bottom: 25px; margin-bottom: 30px; }
        .article-header h1 { font-size: 32px; font-weight: 800; color: var(--bg-dark); margin-bottom: 15px; line-height: 1.3; }
        .article-meta-info { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: var(--text-muted); }
        .article-body { font-size: 16px; color: #374151; line-height: 1.8; margin-bottom: 40px; }
        .article-body p { margin-bottom: 20px; }
        .article-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 20px 0; }

        
        .article-tags-links { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; padding-top: 20px; border-top: 1px solid #e2e8f0; }
        .article-tags-links a { background: #f1f5f9; color: var(--text-muted); padding: 6px 12px; border-radius: 4px; font-size: 13px; }
        .prev-next { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 50px; border-top: 1px solid #e2e8f0; padding-top: 30px; }
        .prev-next a { max-width: 48%; }
        .prev-next span { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 5px; }
        .prev-next h5 { font-size: 15px; color: var(--bg-dark); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

        
        .related-widget { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 30px; }
        .related-widget h3 { font-size: 20px; font-weight: 800; color: var(--bg-dark); margin-bottom: 20px; border-left: 4px solid var(--primary); padding-left: 10px; }
        .related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
        .related-card { background: var(--bg-light); border-radius: 8px; padding: 15px; transition: transform 0.3s; }
        .related-card:hover { transform: translateY(-2px); }
        .related-card h4 { font-size: 14px; color: var(--bg-dark); margin-bottom: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        .related-card p { font-size: 12px; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

        
        footer { background: rgb(35,39,47); color: rgba(255,255,255,0.7); border-top: 1px solid rgba(255,255,255,0.08); padding: 60px 20px 30px; font-size: 14px; }
        .footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
        .footer-brand { grid-column: span 2; }
        .footer-brand .logo { margin-bottom: 15px; }
        .footer-brand .logo span { color: #fff; }
        .footer-brand p { margin-bottom: 20px; line-height: 1.6; max-width: 350px; }
        .footer-col h5 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 20px; }
        .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
        .footer-col ul a:hover { color: #fff; padding-left: 5px; }
        .footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
        .footer-links { display: flex; gap: 20px; }

        @media (max-width: 768px) {
            .nav-menu { display: none; }
            .menu-toggle { display: block; }
            .article-header h1 { font-size: 24px; }
            .prev-next { flex-direction: column; gap: 15px; }
            .prev-next a { max-width: 100%; }
            .footer-brand { grid-column: span 1; }
        }