﻿: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; }

        
        .tag-header { background: var(--primary); padding: 40px 0; color: #fff; border-radius: 0 0 24px 24px; margin-bottom: 40px; }
        .tag-title { font-size: 32px; font-weight: 800; display: flex; align-items: center; gap: 12px; }
        .tag-title::before { content: '#'; color: rgba(255,255,255,0.5); font-weight: 300; }
        .tag-desc { font-size: 16px; opacity: 0.9; margin-top: 10px; }

        .article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
        .article-card { background: var(--bg-surface); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-light); transition: box-shadow 0.3s; display: flex; flex-direction: column; }
        .article-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary); }
        .article-img { width: 100%; height: 180px; object-fit: cover; }
        .article-content { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
        .article-title { font-size: 16px; font-weight: 600; margin-bottom: 12px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .article-title a:hover { color: var(--primary); }
        .article-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex-grow: 1; }
        .article-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #9ca3af; border-top: 1px dashed var(--border-light); padding-top: 12px; }
        
        .pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
        .pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: var(--radius-md); background: var(--bg-surface); border: 1px solid var(--border-light); font-weight: 500; }
        .pagination a:hover { border-color: var(--primary); color: var(--primary); }
        .pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }
        .pagination .disabled { opacity: 0.5; pointer-events: none; }

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