﻿:root { --primary: rgb(34,197,94); --primary-dark: #16a34a; --primary-light: #dcfce7; --text-main: #111827; --text-body: #4b5563; --text-muted: #9ca3af; --bg-body: #f9fafb; --bg-surface: #ffffff; --border-color: #e5e7eb; --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05); --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); --radius-md: 8px; --radius-lg: 12px; }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: var(--text-body); background-color: var(--bg-body); line-height: 1.6; }
        a { text-decoration: none; color: inherit; transition: color 0.3s; }
        img { max-width: 100%; height: auto; display: block; }
        .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 24px; font-size: 16px; font-weight: 500; border-radius: var(--radius-md); cursor: pointer; transition: all 0.3s; }
        .btn-primary { background-color: var(--primary); color: white; box-shadow: 0 4px 14px 0 rgba(34,197,94,0.39); }
        .btn-primary:hover { background-color: var(--primary-dark); }
        .logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
        .logo img { display: block; height: 40px; 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; }
        .site-header { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid var(--border-color); }
        .header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
        .desktop-nav { display: flex; gap: 30px; }
        .desktop-nav a { font-weight: 500; color: var(--text-main); }
        .desktop-nav a:hover { color: var(--primary); }
        .header-actions { display: flex; align-items: center; gap: 15px; }
        .mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; color: var(--text-main); }
        .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; visibility: hidden; transition: 0.3s; z-index: 1001; }
        .drawer { position: fixed; top: 0; left: -300px; width: 280px; height: 100%; background: var(--bg-surface); box-shadow: var(--shadow-md); transition: 0.3s; z-index: 1002; display: flex; flex-direction: column; }
        .drawer.active { left: 0; }
        .drawer-overlay.active { opacity: 1; visibility: visible; }
        .drawer-header { padding: 20px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; }
        .drawer-close { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-muted); }
        .drawer-nav { padding: 20px; display: flex; flex-direction: column; gap: 15px; overflow-y: auto; flex: 1; }
        .drawer-nav a { display: block; padding: 10px; font-weight: 500; border-radius: var(--radius-md); background: var(--bg-body); }
        .site-footer { background: #111827; color: #9ca3af; padding: 60px 0 20px; margin-top: 60px; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
        .footer-logo span { color: white; }
        .footer-desc { margin-top: 15px; font-size: 14px; line-height: 1.8; }
        .footer-links h3 { color: white; font-size: 16px; margin-bottom: 20px; }
        .footer-links ul { list-style: none; }
        .footer-links li { margin-bottom: 10px; }
        .footer-links a:hover { color: var(--primary); }
        .footer-bottom { border-top: 1px solid #374151; padding-top: 20px; text-align: center; font-size: 14px; }
        @media (max-width: 992px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
        @media (max-width: 768px) { .desktop-nav, .header-actions .btn { display: none; } .mobile-menu-btn { display: block; } .footer-grid { grid-template-columns: 1fr; } }

        
        .page-header { background: linear-gradient(to right, #ffffff, var(--primary-light)); padding: 60px 0; border-bottom: 1px solid var(--border-color); }
        .breadcrumb { display: flex; gap: 10px; font-size: 14px; color: var(--text-muted); margin-bottom: 15px; align-items: center; }
        .breadcrumb a:hover { color: var(--primary); }
        .page-title { font-size: 32px; color: var(--text-main); margin-bottom: 10px; }
        
        .list-layout { display: grid; grid-template-columns: 3fr 1fr; gap: 40px; padding: 60px 0; }
        .article-list { display: flex; flex-direction: column; gap: 30px; }
        .list-card { display: flex; gap: 20px; background: var(--bg-surface); border-radius: var(--radius-md); padding: 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); transition: 0.3s; }
        .list-card:hover { box-shadow: var(--shadow-md); transform: translateX(5px); border-color: var(--primary-light); }
        .list-img { width: 240px; height: 150px; border-radius: var(--radius-md); object-fit: cover; flex-shrink: 0; background: #eee; }
        .list-content { display: flex; flex-direction: column; justify-content: space-between; flex: 1; }
        .list-title { font-size: 20px; margin-bottom: 10px; }
        .list-title a:hover { color: var(--primary); }
        .list-desc { font-size: 15px; color: var(--text-muted); margin-bottom: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .list-meta { display: flex; gap: 20px; font-size: 13px; color: var(--text-muted); align-items: center; }
        .list-tag { background: var(--primary-light); color: var(--primary-dark); padding: 2px 8px; border-radius: 4px; }

        .sidebar { display: flex; flex-direction: column; gap: 30px; }
        .widget { background: var(--bg-surface); border-radius: var(--radius-md); padding: 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }
        .widget-title { font-size: 18px; border-bottom: 2px solid var(--bg-body); padding-bottom: 10px; margin-bottom: 15px; position: relative; }
        .widget-title::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 40px; height: 2px; background: var(--primary); }
        .tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
        .tag-cloud a { font-size: 13px; background: var(--bg-body); padding: 6px 12px; border-radius: 20px; border: 1px solid var(--border-color); transition: 0.3s; }
        .tag-cloud a:hover { background: var(--primary); color: white; border-color: var(--primary); }

        .pagination { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
        .pagination a, .pagination span { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-md); color: var(--text-main); font-weight: 500; }
        .pagination a:hover { border-color: var(--primary); color: var(--primary); }
        .pagination .current { background: var(--primary); color: white; border-color: var(--primary); }

        @media (max-width: 992px) { .list-layout { grid-template-columns: 1fr; } }
        @media (max-width: 768px) { .list-card { flex-direction: column; } .list-img { width: 100%; height: 200px; } }