﻿:root {
            --primary: rgb(48,209,88);
            --primary-hover: #2bb94d;
            --primary-light: rgba(48,209,88,0.1);
            --text-main: #111827;
            --text-muted: #6b7280;
            --bg-body: #f3f4f6;
            --bg-card: #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);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --radius-md: 8px;
            --radius-lg: 16px;
        }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", 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; }
        ul, ol { list-style: none; }
        img { max-width: 100%; height: auto; display: block; }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

        
        .header { background: var(--bg-card); border-bottom: 1px solid var(--border-color); 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: 40px; width: auto; max-width: 160px; object-fit: contain; flex-shrink: 0; }
        .logo span { display: inline-block; font-size: 22px; font-weight: 800; line-height: 1; color: var(--text-main); white-space: nowrap; letter-spacing: -0.5px; }
        .desktop-nav ul { display: flex; gap: 30px; }
        .desktop-nav a { font-weight: 500; font-size: 16px; color: var(--text-main); padding: 8px 0; position: relative; }
        .desktop-nav a:hover { color: var(--primary); }
        .desktop-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary); transition: width 0.3s; }
        .desktop-nav a:hover::after { width: 100%; }
        .menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; }
        .menu-toggle span { width: 24px; height: 2px; background: var(--text-main); transition: 0.3s; }
        .mobile-drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 998; opacity: 0; visibility: hidden; transition: 0.3s; }
        .mobile-drawer { position: fixed; top: 0; left: -300px; width: 280px; height: 100%; background: var(--bg-card); z-index: 999; transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; }
        .drawer-active .mobile-drawer-overlay { opacity: 1; visibility: visible; }
        .drawer-active .mobile-drawer { left: 0; }
        .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; color: var(--text-muted); cursor: pointer; }
        .drawer-nav { padding: 20px; overflow-y: auto; flex: 1; }
        .drawer-nav ul { display: flex; flex-direction: column; gap: 15px; }
        .drawer-nav a { display: block; font-size: 18px; font-weight: 500; padding: 10px; border-radius: var(--radius-md); }
        .drawer-nav a:hover { background: var(--primary-light); color: var(--primary); }

        
        .footer { background: #0f172a; color: #9ca3af; padding: 60px 0 30px; margin-top: 60px;}
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
        .footer-brand .logo span { color: #fff; }
        .footer-brand p { margin-top: 20px; font-size: 14px; line-height: 1.8; }
        .footer-title { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 24px; }
        .footer-links ul { display: flex; flex-direction: column; gap: 12px; }
        .footer-links a { color: #9ca3af; font-size: 14px; }
        .footer-links a:hover { color: var(--primary); padding-left: 5px; }
        .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; text-align: center; font-size: 14px; }

        
        .page-header { background: #fff; padding: 40px 0; border-bottom: 1px solid var(--border-color); margin-bottom: 40px; }
        .breadcrumb { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; display: flex; gap: 8px; align-items: center; }
        .breadcrumb a:hover { color: var(--primary); }
        .breadcrumb span { color: var(--border-color); }
        .category-title { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
        .category-desc { font-size: 16px; color: var(--text-muted); max-width: 800px; }

        .list-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; }
        
        
        .category-list { display: flex; flex-direction: column; gap: 24px; }
        .list-card { display: flex; background: var(--bg-card); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: 0.3s; border: 1px solid transparent; }
        .list-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary-light); transform: translateY(-3px); }
        .list-img-wrap { width: 260px; position: relative; }
        .list-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
        .list-content { padding: 24px; flex: 1; display: flex; flex-direction: column; }
        .list-title { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
        .list-title a:hover { color: var(--primary); }
        .list-tags { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
        .list-tag { font-size: 12px; background: var(--bg-body); padding: 4px 10px; border-radius: 4px; color: var(--text-muted); }
        .list-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .list-meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; font-size: 13px; color: #9ca3af; border-top: 1px solid var(--border-color); padding-top: 16px; }
        .list-meta-info span { margin-right: 15px; }
        .read-more { color: var(--primary); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }

        
        .sidebar-widget { background: var(--bg-card); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); margin-bottom: 30px; }
        .widget-title { font-size: 18px; font-weight: 700; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--bg-body); position: relative; }
        .widget-title::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 40px; height: 2px; background: var(--primary); }
        
        
        .pagination { display: flex; justify-content: center; gap: 10px; margin-top: 50px; }
        .pagination a, .pagination span { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: var(--radius-md); font-weight: 500; background: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-main); }
        .pagination a:hover { border-color: var(--primary); color: var(--primary); }
        .pagination .active { background: var(--primary); color: #fff; border-color: var(--primary); }
        .pagination .disabled { opacity: 0.5; cursor: not-allowed; }

        @media (max-width: 992px) {
            .list-layout { grid-template-columns: 1fr; }
            .sidebar { display: none; } 
        }
        @media (max-width: 768px) {
            .desktop-nav { display: none; }
            .menu-toggle { display: flex; }
            .list-card { flex-direction: column; }
            .list-img-wrap { width: 100%; height: 200px; }
            .footer-grid { grid-template-columns: 1fr; }
        }