﻿:root { --primary: rgb(67,56,202); --primary-light: rgba(67,56,202, 0.1); --primary-hover: rgb(55,48,163); --text-main: #0f172a; --text-sub: #475569; --text-muted: #94a3b8; --bg-body: #f8fafc; --bg-card: #ffffff; --border-color: #e2e8f0; --radius-md: 12px; --radius-lg: 20px; --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05); --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body { font-family: -apple-system, BlinkMacSystemFont, sans-serif; color: var(--text-main); background: var(--bg-body); line-height: 1.6; }
        a { text-decoration: none; color: inherit; transition: 0.3s; } ul { list-style: none; } img { max-width: 100%; height: auto; display: block; }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        
        
        .header { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(226, 232, 240, 0.5); } .header.scrolled { background: #ffffff; box-shadow: var(--shadow-sm); }
        .nav-wrapper { display: flex; align-items: center; justify-content: space-between; height: 70px; }
        .logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; } .logo img { display: block; height: 36px; width: auto; max-width: 150px; object-fit: contain; flex-shrink: 0; } .logo span { display: inline-block; font-size: 20px; font-weight: 700; line-height: 1; color: var(--text-main); white-space: nowrap; }
        .desktop-nav ul { display: flex; gap: 30px; } .desktop-nav a { font-size: 15px; font-weight: 500; } .desktop-nav a:hover { color: var(--primary); }
        .header-action { display: flex; align-items: center; gap: 15px; } .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 24px; border-radius: 8px; font-weight: 500; cursor: pointer; transition: 0.3s; } .btn-primary { background: var(--primary); color: #fff; } .btn-primary:hover { background: var(--primary-hover); } .btn-outline { border: 1px solid var(--primary); color: var(--primary); } .btn-outline:hover { background: var(--primary-light); }
        .menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; width: 24px; } .menu-toggle span { display: block; height: 2px; background: var(--text-main); }
        .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; visibility: hidden; z-index: 999; transition: 0.3s; } .drawer-overlay.active { opacity: 1; visibility: visible; }
        .drawer-nav { position: fixed; top: 0; left: -300px; width: 280px; height: 100vh; background: #fff; z-index: 1000; transition: 0.3s; display: flex; flex-direction: column; } .drawer-nav.active { transform: translateX(300px); }
        .drawer-header { padding: 20px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; } .drawer-close { font-size: 24px; cursor: pointer; color: var(--text-muted); }
        .drawer-body { padding: 20px; overflow-y: auto; flex: 1; } .drawer-body ul li { margin-bottom: 15px; } .drawer-body ul li a { display: block; font-size: 16px; font-weight: 500; padding: 8px 0; }
        .footer { background: #0f172a; color: #cbd5e1; padding: 80px 0 30px; } .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 60px; } .footer-brand .logo span { color: #fff; } .footer-brand p { font-size: 14px; margin-top: 20px; color: #94a3b8; } .footer-col h4 { color: #fff; margin-bottom: 20px; } .footer-col ul li { margin-bottom: 12px; } .footer-col ul li a { font-size: 14px; } .footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #64748b; } .footer-links a { margin-left: 15px; }

        
        .page-header { padding: 140px 0 60px; background: #fff; text-align: center; border-bottom: 1px solid var(--border-color); }
        .page-header h1 { font-size: 36px; font-weight: 800; margin-bottom: 15px; }
        .page-header p { font-size: 16px; color: var(--text-sub); }
        .tag-badge { display: inline-block; background: var(--primary-light); color: var(--primary); padding: 5px 15px; border-radius: 20px; font-size: 14px; font-weight: 600; margin-bottom: 20px; }

        .list-wrap { padding: 60px 0; }
        .article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
        .article-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); transition: 0.3s; display: flex; flex-direction: column; }
        .article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
        .ac-img { height: 180px; overflow: hidden; background: #e2e8f0; }
        .ac-img img { width: 100%; height: 100%; object-fit: cover; }
        .ac-content { padding: 20px; flex: 1; display: flex; flex-direction: column; }
        .ac-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;}
        .ac-desc { font-size: 14px; color: var(--text-sub); margin-bottom: 15px; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;}
        .ac-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); border-top: 1px dashed var(--border-color); padding-top: 15px; }

        .pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
        .pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; border-radius: 6px; background: #fff; border: 1px solid var(--border-color); font-size: 14px; transition: 0.3s; }
        .pagination a:hover { border-color: var(--primary); color: var(--primary); }
        .pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

        @media (max-width: 992px) { .article-grid { grid-template-columns: repeat(2, 1fr); } }
        @media (max-width: 768px) { .desktop-nav, .header-action .btn-outline { display: none; } .menu-toggle { display: flex; } .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; } .article-grid { grid-template-columns: 1fr; } }