﻿:root { --theme-color: rgb(229,231,235); --bg-body: #f4f7f6; --bg-surface: #ffffff; --primary: #059669; --primary-hover: #047857; --text-main: #111827; --text-regular: #374151; --text-muted: #6b7280; --border-light: var(--theme-color); --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05); --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1); --radius-md: 8px; --radius-lg: 12px; --container-width: 1200px; }
        * { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: -apple-system, sans-serif; background: var(--bg-body); color: var(--text-main); line-height: 1.6; } a { text-decoration: none; color: inherit; transition: all 0.3s ease; } img { max-width: 100%; display: block; } ul { list-style: none; }
        .container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
        
        .header { background: var(--bg-surface); border-bottom: 1px solid var(--border-light); position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm); }
        .header-inner { display: flex; justify-content: space-between; align-items: center; 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; }
        .nav-desktop { display: flex; gap: 30px; align-items: center; } .nav-desktop a { font-weight: 500; color: var(--text-regular); font-size: 15px; position: relative; } .nav-desktop a:hover { color: var(--primary); }
        .header-actions { display: flex; gap: 12px; align-items: center; } .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 24px; border-radius: var(--radius-md); font-weight: 600; cursor: pointer; transition: all 0.3s; font-size: 15px; } .btn-primary { background: var(--primary); color: #fff; } .btn-outline { border: 1px solid var(--border-light); background: var(--bg-surface); }
        .menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 5px; } .menu-toggle svg { width: 28px; height: 28px; fill: var(--text-main); }
        
        .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 999; opacity: 0; visibility: hidden; transition: opacity 0.3s; } .drawer-overlay.active { opacity: 1; visibility: visible; }
        .drawer { position: fixed; top: 0; left: 0; bottom: 0; width: 280px; background: var(--bg-surface); z-index: 1000; transform: translateX(-100%); transition: transform 0.3s; display: flex; flex-direction: column; } .drawer.active { transform: translateX(0); }
        .drawer-header { padding: 20px; border-bottom: 1px solid var(--border-light); display: flex; justify-content: space-between; align-items: center; } .drawer-close { background: none; border: none; cursor: pointer; } .drawer-close svg { width: 24px; height: 24px; fill: var(--text-muted); }
        .drawer-nav { padding: 20px 0; overflow-y: auto; } .drawer-nav a { display: block; padding: 12px 24px; font-size: 16px; font-weight: 500; border-left: 3px solid transparent; }
        
        .footer { background: #111827; color: #d1d5db; padding: 60px 0 20px; font-size: 14px; margin-top: 60px;} .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; } .footer-logo span { color: #fff; } .footer h4 { color: #fff; margin-bottom: 20px; } .footer-links li { margin-bottom: 12px; } .footer-bottom { border-top: 1px solid #374151; padding-top: 20px; display: flex; justify-content: space-between; color: #6b7280; font-size: 13px; } .footer-bottom-links a { margin-left: 16px; }

        
        .article-layout { display: grid; grid-template-columns: 800px 1fr; gap: 40px; margin-top: 30px; }
        .breadcrumb { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
        .breadcrumb a { color: var(--text-main); }
        .breadcrumb a:hover { color: var(--primary); }

        .article-main { background: var(--bg-surface); padding: 40px; border-radius: var(--radius-lg); border: 1px solid var(--border-light); box-shadow: var(--shadow-sm); }
        .article-header h1 { font-size: 32px; font-weight: 800; line-height: 1.4; margin-bottom: 20px; }
        .article-meta { display: flex; gap: 20px; align-items: center; color: var(--text-muted); font-size: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--border-light); margin-bottom: 30px; flex-wrap: wrap; }
        .article-meta span { display: inline-flex; align-items: center; gap: 6px; }
        .article-meta .tags { display: flex; gap: 8px; }
        .article-meta .tags a { background: #ecfdf5; color: var(--primary); padding: 2px 10px; border-radius: 4px; font-size: 12px; }

        .article-content { font-size: 17px; line-height: 1.8; color: var(--text-regular); }
        .article-content p { margin-bottom: 20px; }
        .article-content h2, .article-content h3 { color: var(--text-main); margin: 30px 0 16px; font-weight: 700; }
        .article-content h2 { font-size: 24px; border-left: 4px solid var(--primary); padding-left: 12px; }
        .article-content img { border-radius: var(--radius-md); margin: 20px auto; max-width: 100%; box-shadow: var(--shadow-sm); }
        
        .article-nav { display: flex; justify-content: space-between; border-top: 1px solid var(--border-light); padding-top: 24px; margin-top: 40px; font-size: 15px; }
        .article-nav a { display: block; max-width: 45%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--primary); font-weight: 500; }
        
        .related-section { margin-top: 40px; }
        .related-title { font-size: 20px; font-weight: 700; margin-bottom: 20px; }
        .related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
        .rel-card { display: flex; gap: 16px; background: var(--bg-surface); padding: 16px; border: 1px solid var(--border-light); border-radius: var(--radius-md); transition: box-shadow 0.3s; }
        .rel-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary); }
        .rel-img { width: 100px; height: 75px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
        .rel-info h4 { font-size: 15px; margin-bottom: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .rel-info p { font-size: 12px; color: var(--text-muted); }

        .sidebar { position: sticky; top: 90px; }
        .cta-box { background: linear-gradient(135deg, #022c22, #047857); padding: 30px 24px; border-radius: var(--radius-lg); color: #fff; text-align: center; margin-bottom: 30px; }
        .cta-box h3 { font-size: 20px; margin-bottom: 12px; }
        .cta-box p { font-size: 14px; opacity: 0.9; margin-bottom: 20px; }
        .cta-box .btn { width: 100%; background: #fff; color: var(--primary); }

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