﻿:root { --primary: rgb(101,163,13); --bg-body: #f3f4f6; --text-main: #1f2937; --border: #e5e7eb; }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: sans-serif; background: var(--bg-body); color: var(--text-main); line-height: 1.6; }
        a { text-decoration: none; color: inherit; transition: 0.3s; }
        a:hover { color: var(--primary); }
        img { max-width: 100%; display: block; }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        
        .site-header { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; }
        .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: 800; color: var(--text-main); white-space: nowrap; }
        .desktop-nav { display: flex; gap: 24px; }
        .mobile-toggle { display: none; cursor: pointer; }
        .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 999; display: none; }
        .drawer-overlay.active { display: block; }
        .mobile-drawer { position: fixed; top: 0; left: -300px; width: 280px; height: 100%; background: #fff; z-index: 1000; transition: 0.3s; padding: 20px; }
        .mobile-drawer.active { left: 0; }

        .tag-header { background: #fff; padding: 40px 0; border-bottom: 1px solid var(--border); margin-bottom: 40px; }
        .tag-header h1 { font-size: 28px; color: var(--primary); margin-bottom: 10px; }
        .tag-header p { color: #6b7280; font-size: 16px; }

        .article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 40px; }
        .post-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
        .post-thumb { position: relative; padding-top: 56.25%; }
        .post-thumb img { position: absolute; top:0; left:0; width:100%; height:100%; object-fit:cover; }
        .post-info { padding: 20px; }
        .post-title { font-size: 16px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
        .post-desc { font-size: 13px; color: #6b7280; margin-bottom: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .post-meta { display: flex; justify-content: space-between; font-size: 12px; color: #9ca3af; }

        .pagination { display: flex; justify-content: center; gap: 8px; margin-bottom: 60px; }
        .pagination a, .pagination span { padding: 8px 14px; background: #fff; border: 1px solid var(--border); border-radius: 4px; }
        .pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

        .site-footer { background: #1f2937; color: #e5e7eb; padding: 60px 0 0; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
        .footer-brand .logo span { color: #fff; }
        .footer-bottom { background: #111827; padding: 20px 0; text-align: center; font-size: 14px; }

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