﻿:root { --primary: rgb(234,179,8); --text-main: #18181b; --text-muted: #52525b; --bg-body: #f8fafc; --bg-card: #ffffff; --dark-bg: #0f172a; --border-color: #e2e8f0; --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }
        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'PingFang SC', sans-serif; }
        body { background-color: var(--bg-body); color: var(--text-main); line-height: 1.6; }
        a { text-decoration: none; color: inherit; transition: 0.3s; }
        ul, li { list-style: none; }
        img { max-width: 100%; display: block; }

        
        .header { background: var(--dark-bg); position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow); }
        .header-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; height: 72px; }
        .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: #ffffff; white-space: nowrap; }
        .nav-desktop { display: none; }
        .nav-desktop ul { display: flex; gap: 30px; align-items: center; }
        .nav-desktop a { color: #cbd5e1; font-weight: 500; font-size: 15px; }
        .nav-desktop a:hover { color: var(--primary); }
        .menu-btn { display: block; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }
        .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); opacity: 0; visibility: hidden; transition: 0.3s; z-index: 999; }
        .mobile-drawer { position: fixed; top: 0; left: -300px; width: 280px; height: 100vh; background: #fff; box-shadow: var(--shadow); transition: 0.3s; z-index: 1000; }
        .drawer-active .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-header .logo span { color: var(--text-main); }
        .close-drawer { background: none; border: none; font-size: 24px; color: var(--text-muted); cursor: pointer; }
        .drawer-nav { padding: 20px; }
        .drawer-nav li { margin-bottom: 15px; }
        .drawer-nav a { display: block; font-size: 16px; font-weight: 500; }
        @media(min-width: 768px) { .nav-desktop { display: block; } .menu-btn { display: none; } }

        
        .tag-banner { background: var(--bg-card); border-bottom: 1px solid var(--border-color); padding: 40px 20px; text-align: center; }
        .tag-banner h1 { font-size: 28px; color: var(--text-main); margin-bottom: 10px; }
        .tag-banner h1 span { color: var(--primary); }
        .tag-banner p { color: var(--text-muted); font-size: 15px; }

        
        .tag-list-container { max-width: 1000px; margin: 40px auto; padding: 0 20px; }
        .tag-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
        @media(min-width: 768px) { .tag-grid { grid-template-columns: repeat(2, 1fr); } }

        .article-card { background: var(--bg-card); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: 0.3s; display: flex; flex-direction: column; border: 1px solid var(--border-color); }
        .article-card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
        .article-thumb { width: 100%; height: 200px; object-fit: cover; border-bottom: 1px solid var(--border-color); }
        .article-info { padding: 20px; flex: 1; display: flex; flex-direction: column; }
        .article-info h3 { font-size: 18px; margin-bottom: 10px; line-height: 1.4; }
        .article-info h3 a:hover { color: var(--primary); }
        .article-info p { color: var(--text-muted); font-size: 14px; margin-bottom: 15px; flex: 1; }
        .article-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #94a3b8; padding-top: 15px; border-top: 1px solid var(--border-color); }
        .article-tags { color: var(--primary); }

        
        .pagination { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
        .pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 6px; background: var(--bg-card); border: 1px solid var(--border-color); font-weight: 500; }
        .pagination a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
        .pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }
        .pagination .disabled { opacity: 0.5; pointer-events: none; }

        
        .footer { background: var(--dark-bg); color: #cbd5e1; padding: 60px 20px 20px; margin-top: 60px; }
        .footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; }
        .footer-brand .logo span { color: #fff; }
        .footer-links h4 { color: #fff; margin-bottom: 20px; font-size: 16px; }
        .footer-links ul li { margin-bottom: 10px; }
        .footer-links a:hover { color: var(--primary); }
        .footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 13px; color: #64748b; }
        .footer-bottom a { color: #64748b; margin: 0 10px; }
        @media(min-width: 768px) { .footer-container { grid-template-columns: 2fr 1fr 1fr; } }