﻿:root { --primary: rgb(24, 119, 242); --text-main: #1a1a1a; --text-sub: #666666; --bg-body: #f7f9fc; --border-color: #eaeaea; }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: -apple-system, sans-serif; background: var(--bg-body); color: var(--text-main); line-height: 1.6; }
        a { text-decoration: none; color: inherit; transition: 0.3s; }
        ul { list-style: none; }
        img { max-width: 100%; display: block; }
        
        .header { background: #fff; position: fixed; top: 0; left: 0; right: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
        .header-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 70px; padding: 0 20px; }
        .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: 22px; font-weight: 800; color: var(--primary); white-space: nowrap; }
        .nav-desktop { display: flex; gap: 30px; }
        .nav-desktop a { font-size: 16px; font-weight: 500; }
        .menu-toggle { display: none; font-size: 24px; cursor: pointer; }

        .mobile-mask { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1001; opacity: 0; visibility: hidden; }
        .mobile-mask.active { opacity: 1; visibility: visible; }
        .mobile-drawer { position: fixed; top: 0; left: -300px; bottom: 0; width: 280px; background: #fff; z-index: 1002; transition: left 0.3s; display: flex; flex-direction: column; }
        .mobile-drawer.active { left: 0; }
        .drawer-header { padding: 20px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; }
        .drawer-close { font-size: 24px; cursor: pointer; }
        .drawer-nav { padding: 20px; flex: 1; overflow-y: auto; }
        .drawer-nav a { display: block; padding: 15px 0; border-bottom: 1px dashed var(--border-color); }

        .tag-info-bar { margin-top: 70px; background: var(--primary); color: #fff; padding: 40px 20px; text-align: center; }
        .tag-info-bar h1 { font-size: 32px; font-weight: 800; margin-bottom: 10px; }
        .tag-info-bar p { font-size: 16px; opacity: 0.9; }
        .tag-info-bar p span { font-weight: bold; font-size: 18px; color: #ffeb3b; }

        .list-container { max-width: 1000px; margin: 40px auto; padding: 0 20px; }
        .grid-articles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
        .art-card { display: flex; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
        .art-img { width: 180px; flex-shrink: 0; }
        .art-img img { width: 100%; height: 100%; object-fit: cover; }
        .art-info { padding: 20px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
        .art-info h3 { font-size: 18px; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .art-info h3 a:hover { color: var(--primary); }
        .art-desc { font-size: 14px; color: var(--text-sub); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 15px; }
        .art-meta { font-size: 12px; color: #999; border-top: 1px solid var(--border-color); padding-top: 10px; }

        .pagination { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
        .pagination a, .pagination span { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; background: #fff; border: 1px solid var(--border-color); font-weight: 500; transition: 0.3s; }
        .pagination a:hover, .pagination .current { border-color: var(--primary); color: var(--primary); }
        .pagination .current { background: var(--primary); color: #fff; }

        .footer { background: #001529; color: #a0aec0; padding: 60px 20px 20px; margin-top: 60px;}
        .footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
        .footer-brand .logo span { color: #fff; }
        .footer-title { color: #fff; margin-bottom: 20px; font-size: 18px; }
        .footer-links li { margin-bottom: 12px; }
        .footer-bottom { max-width: 1200px; margin: 40px auto 0; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-between; font-size: 13px; }
        .footer-bottom-links { display: flex; gap: 15px; }

        @media (max-width: 992px) {
            .nav-desktop { display: none; }
            .menu-toggle { display: block; }
            .grid-articles { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 768px) {
            .art-card { flex-direction: column; }
            .art-img { width: 100%; height: 180px; }
            .footer-grid { grid-template-columns: 1fr; }
            .footer-bottom { flex-direction: column; text-align: center; gap:10px; }
        }