﻿:root { --primary: rgb(101,163,13); --text-main: #1f2937; --bg-body: #f3f4f6; --header-h: 72px; }
        * { box-sizing: border-box; margin: 0; padding: 0; font-family: sans-serif; }
        body { background: var(--bg-body); color: var(--text-main); line-height: 1.6; }
        a { text-decoration: none; color: inherit; }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        
        .header { background: #fff; box-shadow: 0 1px 5px rgba(0,0,0,0.05); position: sticky; top: 0; height: var(--header-h); }
        .header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
        .logo { display: inline-flex; align-items: center; gap: 12px; }
        .logo img { height: 40px; }
        .logo span { font-size: 20px; font-weight: 800; color: var(--primary); }
        .nav-links a { margin-left: 20px; color: #111; font-weight: 500; }

        .tag-header { background: #fff; padding: 40px 0; border-bottom: 1px solid #e5e7eb; text-align: center; }
        .tag-header h1 { font-size: 32px; color: var(--primary); margin-bottom: 10px; }
        .tag-header p { color: #6b7280; }
        .tag-header strong { color: #ef4444; }

        .list-wrap { padding: 40px 0; }
        .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
        .card { background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid #e5e7eb; transition: 0.3s; }
        .card:hover { border-color: var(--primary); box-shadow: 0 10px 15px rgba(0,0,0,0.05); transform: translateY(-3px); }
        .card-img { height: 160px; overflow: hidden; }
        .card-img img { width: 100%; height: 100%; object-fit: cover; }
        .card-body { padding: 20px; }
        .card-body h3 { font-size: 16px; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .card-body h3 a:hover { color: var(--primary); }
        .card-meta { display: flex; justify-content: space-between; font-size: 12px; color: #9ca3af; margin-bottom: 10px; }
        .card-tags { font-size: 12px; color: var(--primary); }

        .pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
        .pagination a, .pagination span { padding: 8px 15px; background: #fff; border: 1px solid #e5e7eb; border-radius: 4px; font-size: 14px; }
        .pagination a:hover, .pagination .current { border-color: var(--primary); color: var(--primary); }

        .footer { background: #111827; color: #9ca3af; text-align: center; padding: 40px 0; margin-top: 60px; font-size: 14px;}
        .footer a { color: var(--primary); margin: 0 10px; }

        @media(max-width: 768px) { .grid { grid-template-columns: 1fr; } }