﻿:root { --primary-color: rgb(30,64,175); --text-main: #333; --bg-body: #f8f9fa; --bg-white: #fff; --border-color: #e5e7eb; }
        * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: sans-serif; line-height: 1.6; color: var(--text-main); background: var(--bg-body); }
        a { text-decoration: none; color: inherit; } img { max-width: 100%; display: block; }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        
        
        .header { background: var(--bg-white); box-shadow: 0 1px 3px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
        .header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
        .logo { display: inline-flex; align-items: center; gap: 12px; }
        .logo img { height: 40px; width: auto; max-width: 160px; object-fit: contain; }
        .logo span { font-size: 20px; font-weight: 700; color: var(--primary-color); white-space: nowrap; }
        .nav-desktop { display: flex; gap: 30px; } .nav-desktop a { font-weight: 500; }
        .btn-mobile-menu { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }
        .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1001; opacity: 0; visibility: hidden; }
        .drawer-overlay.active { opacity: 1; visibility: visible; }
        .drawer-nav { position: fixed; top: 0; left: -300px; width: 280px; height: 100vh; background: var(--bg-white); z-index: 1002; transition: left 0.3s; }
        .drawer-nav.active { left: 0; }
        .drawer-header { padding: 20px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; }
        .btn-close-drawer { background: none; border: none; font-size: 24px; cursor: pointer; }
        .drawer-menu a { display: block; padding: 12px 20px; border-bottom: 1px solid var(--border-color); }
        @media (max-width: 768px) { .nav-desktop { display: none; } .btn-mobile-menu { display: block; } }

        
        .tag-detail-banner { background: #f1f5f9; padding: 50px 0; border-bottom: 1px solid var(--border-color); }
        .tag-info { display: flex; align-items: center; gap: 20px; }
        .tag-icon { width: 60px; height: 60px; background: var(--primary-color); color: white; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: bold; }
        .tag-title h1 { font-size: 28px; margin-bottom: 5px; }
        .tag-title p { color: #666; font-size: 15px; }

        .list-container { padding: 60px 0; }
        .list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
        @media (max-width: 992px) { .list-grid { grid-template-columns: repeat(2, 1fr); } }
        @media (max-width: 768px) { .list-grid { grid-template-columns: 1fr; } }
        
        .list-card { background: var(--bg-white); border-radius: 8px; overflow: hidden; box-shadow: 0 2px 5px rgba(0,0,0,0.05); display: flex; flex-direction: column; }
        .list-card-img { width: 100%; height: 200px; object-fit: cover; }
        .list-card-body { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
        .list-card-title { font-size: 18px; margin-bottom: 10px; line-height: 1.4; }
        .list-card-desc { color: #666; font-size: 14px; margin-bottom: 15px; flex-grow: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .list-card-meta { display: flex; justify-content: space-between; font-size: 13px; color: #888; border-top: 1px solid var(--border-color); padding-top: 15px; }

        .pagination { display: flex; justify-content: center; gap: 10px; margin-top: 50px; }
        .pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 15px; background: var(--bg-white); border: 1px solid var(--border-color); border-radius: 4px; transition: 0.3s; }
        .pagination a:hover, .pagination .current { background: var(--primary-color); color: white; border-color: var(--primary-color); }

        
        .footer { background: #111827; color: rgba(255,255,255,0.7); padding: 60px 0 30px; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
        @media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }
        .footer-title { color: white; margin-bottom: 20px; } .footer-links li { margin-bottom: 10px; }
        .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-between; font-size: 14px; }