﻿:root {
            --primary: rgb(101,163,13); --primary-dark: rgb(77,124,15); --bg-body: #f3f4f6;
            --text-main: #111827; --text-muted: #6b7280; --border: #e5e7eb; --radius: 8px;
            --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
        }
        * { 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); }
        ul { list-style: none; }
        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; text-decoration: none; }
        .logo img { display: block; height: 40px; width: auto; max-width: 160px; object-fit: contain; flex-shrink: 0; }
        .logo span { display: inline-block; font-size: 20px; font-weight: 800; line-height: 1; color: var(--text-main); white-space: nowrap; }
        .desktop-nav { display: flex; gap: 24px; align-items: center; }
        .desktop-nav a { font-size: 16px; font-weight: 500; color: var(--text-main); }
        .desktop-nav a:hover { color: var(--primary); }
        .mobile-toggle { display: none; cursor: pointer; }
        .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 999; opacity: 0; visibility: hidden; transition: 0.3s; }
        .drawer-overlay.active { opacity: 1; visibility: visible; }
        .mobile-drawer { position: fixed; top: 0; left: -300px; width: 280px; height: 100%; background: #fff; z-index: 1000; box-shadow: var(--shadow); transition: 0.3s; display: flex; flex-direction: column; }
        .mobile-drawer.active { left: 0; }
        .drawer-header { padding: 20px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--border); }
        .drawer-close { background: none; border: none; font-size: 24px; cursor: pointer; }
        .drawer-nav { padding: 20px; overflow-y: auto; flex: 1; }
        .drawer-nav a { display: block; padding: 12px 0; border-bottom: 1px dashed var(--border); }

        
        .page-header { background: #fff; padding: 40px 0; border-bottom: 1px solid var(--border); margin-bottom: 40px; }
        .breadcrumb { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; display: flex; gap: 8px; align-items: center; }
        .breadcrumb a { color: var(--text-main); }
        .page-title { font-size: 32px; font-weight: 800; color: var(--primary-dark); }
        .page-desc { font-size: 16px; color: var(--text-muted); margin-top: 10px; max-width: 800px; }

        .list-layout { display: grid; grid-template-columns: 3fr 1fr; gap: 40px; margin-bottom: 60px; }
        .article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
        .post-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
        .post-thumb { position: relative; padding-top: 56.25%; overflow: hidden; }
        .post-thumb img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
        .post-card:hover .post-thumb img { transform: scale(1.05); }
        .post-tag { position: absolute; top: 12px; left: 12px; background: var(--primary); color: #fff; padding: 4px 10px; font-size: 12px; border-radius: 4px; }
        .post-info { padding: 20px; flex: 1; display: flex; flex-direction: column; }
        .post-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
        .post-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; flex: 1; }
        .post-meta { display: flex; justify-content: space-between; font-size: 12px; color: #9ca3af; border-top: 1px solid var(--border); padding-top: 12px; }

        
        .pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
        .pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 12px; background: #fff; border: 1px solid var(--border); border-radius: 4px; font-size: 14px; color: var(--text-main); }
        .pagination a:hover { border-color: var(--primary); color: var(--primary); }
        .pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

        .sidebar { background: #fff; padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); height: fit-content; }
        .sidebar-title { font-size: 18px; font-weight: 700; margin-bottom: 20px; padding-left: 12px; border-left: 4px solid 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-nav h3, .footer-links h3 { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 20px; }
        .footer-nav ul li, .footer-links ul li { margin-bottom: 10px; }
        .footer-bottom { background: #111827; padding: 20px 0; text-align: center; font-size: 14px; color: #6b7280; }

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