﻿:root { --primary: rgb(26,115,232); --primary-hover: rgba(26,115,232, 0.85); --primary-light: rgba(26,115,232, 0.08); --text-dark: #1a1f36; --text-main: #3c4257; --text-muted: #697386; --bg-body: #f7f9fc; --bg-white: #ffffff; --border-color: #e3e8ee; --shadow-sm: 0 2px 4px rgba(0,0,0,0.04); --shadow-md: 0 4px 12px rgba(0,0,0,0.08); --radius-md: 8px; --container: 1200px; }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body { font-family: -apple-system, sans-serif; background-color: var(--bg-body); color: var(--text-main); line-height: 1.6; }
        a { text-decoration: none; color: inherit; transition: all 0.3s; }
        ul, li { list-style: none; }
        img { max-width: 100%; display: block; }
        .container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
        
        .header { background: var(--bg-white); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm); }
        .header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
        .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-dark); white-space: nowrap; }
        .nav-desktop { display: flex; gap: 30px; align-items: center; }
        .nav-desktop a { font-weight: 500; font-size: 15px; padding: 8px 0; position: relative; }
        .nav-desktop a:hover { color: var(--primary); }
        .header-actions { display: flex; gap: 16px; }
        .btn { padding: 10px 24px; border-radius: var(--radius-md); font-weight: 600; cursor: pointer; font-size: 15px; display: inline-flex; align-items: center; }
        .btn-primary { background: var(--primary); color: #fff; border: 1px solid var(--primary); }
        .menu-toggle { display: none; background: none; border: none; cursor: pointer; }
        .menu-toggle svg { width: 24px; height: 24px; fill: var(--text-dark); }
        
        .drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 999; opacity: 0; visibility: hidden; }
        .drawer-overlay.active { opacity: 1; visibility: visible; }
        .drawer { position: fixed; top: 0; left: -320px; width: 280px; height: 100%; background: var(--bg-white); z-index: 1000; transition: transform 0.4s; display: flex; flex-direction: column; }
        .drawer.active { transform: translateX(320px); }
        .drawer-header { padding: 20px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; }
        .drawer-close { background: var(--primary-light); border: none; width: 32px; height: 32px; border-radius: 50%; color: var(--primary); cursor: pointer; }
        .drawer-body { padding: 20px 0; overflow-y: auto; flex: 1; }
        .drawer-nav a { display: block; padding: 15px 24px; border-bottom: 1px solid var(--border-color); font-weight: 500; }
        .drawer-footer { padding: 20px; border-top: 1px solid var(--border-color); }

        
        .tag-header { background: var(--primary-light); padding: 40px 0; border-bottom: 1px solid var(--border-color); margin-bottom: 40px; }
        .tag-breadcrumb { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
        .tag-breadcrumb a { color: var(--primary); }
        .tag-title { font-size: 32px; color: var(--text-dark); font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
        .tag-title::before { content: '#'; color: var(--primary); font-size: 36px; }
        .tag-desc { color: var(--text-muted); font-size: 16px; max-width: 800px; }

        .list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
        
        .article-card { background: var(--bg-white); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-color); display: flex; flex-direction: column; transition: all 0.3s; }
        .article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary-light); }
        .ac-img { width: 100%; aspect-ratio: 16/10; overflow: hidden; background: #e2e8f0; display: block; }
        .ac-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
        .article-card:hover .ac-img img { transform: scale(1.05); }
        .ac-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
        .ac-tag { display: inline-block; padding: 4px 10px; background: var(--primary-light); color: var(--primary); font-size: 12px; border-radius: 4px; margin-bottom: 12px; }
        .ac-title { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; 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-muted); margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
        .ac-meta { display: flex; justify-content: space-between; font-size: 12px; color: #8892b0; border-top: 1px solid var(--border-color); padding-top: 16px; margin-top: auto; }
        
        .pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; margin-bottom: 80px; }
        .pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 4px; background: var(--bg-white); border: 1px solid var(--border-color); font-weight: 500; }
        .pagination a:hover { color: var(--primary); border-color: var(--primary); }
        .pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

        .footer { background: #0b1120; color: #94a3b8; padding: 60px 0 20px; font-size: 14px; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
        .footer-logo .logo span { color: #fff; }
        .footer-desc { margin-top: 20px; line-height: 1.8; padding-right: 20px; }
        .footer-title { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 24px; position: relative; padding-bottom: 10px; }
        .footer-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--primary); }
        .footer-links li { margin-bottom: 12px; }
        .footer-links a:hover { color: #fff; }
        .footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid #1e293b; }

        @media (max-width: 992px) { .list-grid { grid-template-columns: repeat(2, 1fr); } }
        @media (max-width: 768px) { .nav-desktop, .header-actions { display: none; } .menu-toggle { display: block; } .list-grid, .footer-grid { grid-template-columns: 1fr; } }