﻿:root { --primary-color: rgb(90,200,250); --text-dark: #1e293b; --text-normal: #475569; --bg-body: #f8fafc; --bg-white: #ffffff; --border-color: #e2e8f0; --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: sans-serif; background-color: var(--bg-body); color: var(--text-normal); line-height: 1.6; }
        a { text-decoration: none; color: inherit; transition: all 0.3s; }
        img { max-width: 100%; height: auto; }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        
        .header { background-color: var(--bg-white); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm); }
        .header .container { display: flex; justify-content: space-between; align-items: center; height: 70px; }
        .logo { display: inline-flex; align-items: center; gap: 12px; }
        .logo img { height: 36px; max-width: 160px; object-fit: contain; }
        .logo span { font-size: 20px; font-weight: 800; color: var(--text-dark); }
        .nav-desktop { display: flex; gap: 30px; } .nav-desktop a { font-weight: 500; color: var(--text-dark); }
        .menu-btn { display: none; font-size: 24px; background: none; border: none; cursor: pointer; }
        
        .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 998; opacity: 0; visibility: hidden; }
        .drawer { position: fixed; top: 0; left: -300px; width: 280px; height: 100vh; background: var(--bg-white); z-index: 999; transition: all 0.3s; 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; }
        .drawer-close { background: none; border: none; font-size: 24px; cursor: pointer; }
        .drawer-nav { padding: 20px 0; overflow-y: auto; } .drawer-nav a { display: block; padding: 15px 20px; border-bottom: 1px solid var(--border-color); }

        .tag-info-bar { background: var(--text-dark); color: white; padding: 40px 0; margin-bottom: 40px; border-radius: 0 0 20px 20px; text-align: center; }
        .tag-info-bar h1 { font-size: 28px; margin-bottom: 10px; display: flex; justify-content: center; align-items: center; gap: 15px; }
        .tag-badge { background: var(--primary-color); color: white; font-size: 14px; padding: 4px 12px; border-radius: 20px; font-weight: normal; }

        .article-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 50px; }
        .card { background: var(--bg-white); border-radius: 8px; border: 1px solid var(--border-color); overflow: hidden; display: flex; flex-direction: column; }
        .card:hover { border-color: var(--primary-color); box-shadow: 0 4px 12px rgba(0,0,0,0.05); transform: translateY(-3px); }
        .card-img { height: 160px; background: #e2e8f0; } .card-img img { width: 100%; height: 100%; object-fit: cover; }
        .card-body { padding: 15px; flex-grow: 1; display: flex; flex-direction: column; }
        .card-title { font-size: 15px; font-weight: bold; color: var(--text-dark); margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .card-desc { font-size: 13px; color: var(--text-light); margin-bottom: 10px; flex-grow: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .card-meta { font-size: 12px; color: #cbd5e1; border-top: 1px dashed var(--border-color); padding-top: 10px; display: flex; justify-content: space-between; }

        .pagination { display: flex; justify-content: center; gap: 8px; margin-bottom: 60px; }
        .pagination a, .pagination span { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: var(--bg-white); border: 1px solid var(--border-color); border-radius: 4px; font-size: 14px; }
        .pagination .active { background: var(--primary-color); color: white; border-color: var(--primary-color); }

        .footer { background: #0f172a; color: #94a3b8; padding: 60px 0 20px; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
        .footer-about .logo span { color: white; }
        .footer-title { color: white; font-size: 18px; font-weight: 700; margin-bottom: 20px; }
        .footer-links li { margin-bottom: 10px; }
        .footer-bottom { border-top: 1px solid #1e293b; padding-top: 20px; display: flex; justify-content: space-between; font-size: 14px; }
        .footer-meta-links { display: flex; gap: 15px; }

        @media (max-width: 1024px) { .article-grid { grid-template-columns: repeat(3, 1fr); } }
        @media (max-width: 768px) {
            .nav-desktop { display: none; } .menu-btn { display: block; }
            .article-grid { grid-template-columns: repeat(2, 1fr); }
            .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; text-align: center; gap: 15px; }
        }
        @media (max-width: 480px) { .article-grid { grid-template-columns: 1fr; } }