﻿:root { --primary: rgb(101,163,13); --primary-hover: rgb(77,124,10); --bg-light: #f4f9f0; --text-main: #1f2937; --text-sub: #4b5563; --border: #e5e7eb; --white: #ffffff; }
        * { margin: 0; padding: 0; box-sizing: border-box; font-family: system-ui, -apple-system, sans-serif; }
        body { color: var(--text-main); line-height: 1.6; background: #fafafa; }
        a { text-decoration: none; color: inherit; }
        img { max-width: 100%; height: auto; display: block; }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        
        .header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; height: 70px; display: flex; align-items: center; box-shadow: 0 2px 10px rgba(0,0,0,0.02); }
        .header .container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
        .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: #111; white-space: nowrap; }
        .desktop-nav { display: flex; gap: 30px; align-items: center; }
        .desktop-nav a { font-weight: 500; color: var(--text-main); transition: color 0.3s; font-size: 15px; }
        .desktop-nav a:hover { color: var(--primary); }
        .menu-toggle { display: none; cursor: pointer; color: var(--text-main); }
        
        .drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 200; opacity: 0; visibility: hidden; transition: 0.3s; }
        .drawer { position: fixed; top: 0; left: -300px; width: 280px; height: 100%; background: var(--white); z-index: 201; transition: 0.3s; display: flex; flex-direction: column; box-shadow: 2px 0 10px rgba(0,0,0,0.1); }
        .drawer.open { left: 0; }
        .drawer-overlay.open { opacity: 1; visibility: visible; }
        .drawer-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--border); }
        .drawer-close { background: none; border: none; font-size: 28px; cursor: pointer; color: var(--text-sub); }
        .drawer-nav { padding: 20px; display: flex; flex-direction: column; gap: 20px; overflow-y: auto; }
        .drawer-nav a { font-size: 16px; font-weight: 500; color: var(--text-main); }
        
        .breadcrumb { padding: 20px 0; font-size: 14px; color: var(--text-sub); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; border-bottom: 1px solid var(--border); margin-bottom: 30px; }
        .breadcrumb a { color: var(--text-main); transition: color 0.3s; }
        .breadcrumb a:hover { color: var(--primary); }
        
        .layout-grid { display: grid; grid-template-columns: 3fr 1fr; gap: 40px; margin-bottom: 60px; align-items: start; }
        
        .article-main { background: var(--white); padding: 40px; border-radius: 12px; border: 1px solid var(--border); }
        .article-header { margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
        .article-title { font-size: 32px; font-weight: 800; color: #111; margin-bottom: 16px; line-height: 1.4; }
        .article-meta { display: flex; flex-wrap: wrap; gap: 20px; color: var(--text-sub); font-size: 14px; align-items: center; }
        .article-meta span { display: inline-flex; align-items: center; gap: 6px; }
        
        .article-content { font-size: 16px; line-height: 1.8; color: #374151; }
        .article-content p { margin-bottom: 20px; }
        .article-content h2, .article-content h3 { color: #111; margin: 30px 0 15px; }
        .article-content img { max-width: 100%; border-radius: 8px; margin: 24px 0; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
        .article-content blockquote { border-left: 4px solid var(--primary); background: var(--bg-light); padding: 16px 20px; margin: 24px 0; color: #4b5563; font-style: italic; }
        
        .article-tags { margin: 40px 0 20px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
        .article-tags b { font-size: 14px; color: var(--text-sub); }
        .article-tags a { background: var(--bg-light); color: var(--primary); padding: 6px 12px; border-radius: 4px; font-size: 13px; transition: 0.3s; }
        .article-tags a:hover { background: var(--primary); color: #fff; }
        
        .article-nav { display: flex; justify-content: space-between; border-top: 1px dashed var(--border); padding-top: 24px; margin-top: 30px; font-size: 14px; }
        .article-nav a { display: flex; flex-direction: column; gap: 6px; max-width: 45%; color: var(--primary); }
        .article-nav a span { color: var(--text-sub); font-size: 12px; }
        .article-nav a:hover { text-decoration: underline; }
        .nav-next { text-align: right; }
        
        .sidebar { background: var(--white); padding: 24px; border-radius: 12px; border: 1px solid var(--border); }
        .sidebar h3 { font-size: 18px; margin-bottom: 20px; color: #111; padding-bottom: 12px; border-bottom: 2px solid var(--primary); display: inline-block; }
        .like-list { display: flex; flex-direction: column; gap: 16px; }
        .like-item { display: flex; gap: 12px; border-bottom: 1px solid #f3f4f6; padding-bottom: 16px; }
        .like-item:last-child { border-bottom: none; padding-bottom: 0; }
        .like-img { width: 80px; height: 60px; flex-shrink: 0; border-radius: 6px; overflow: hidden; }
        .like-img img { width: 100%; height: 100%; object-fit: cover; }
        .like-info h4 { font-size: 14px; line-height: 1.4; color: #111; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .like-info span { font-size: 12px; color: #9ca3af; }
        
        .footer { background: #111827; color: #9ca3af; padding: 80px 0 30px; margin-top: 60px; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }
        .footer-brand .logo span { color: var(--white); }
        .footer-desc { margin-top: 24px; font-size: 14px; line-height: 1.8; }
        .footer-title { color: var(--white); font-size: 16px; font-weight: 600; margin-bottom: 24px; }
        .footer-links { list-style: none; display: flex; flex-direction: column; gap: 14px; }
        .footer-links a { transition: color 0.3s; font-size: 14px; }
        .footer-links a:hover { color: var(--primary); }
        .footer-bottom { border-top: 1px solid #374151; padding-top: 24px; display: flex; justify-content: space-between; font-size: 14px; }
        
        @media(max-width: 1024px) {
            .layout-grid { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr 1fr; }
        }
        @media(max-width: 768px) {
            .desktop-nav { display: none; }
            .menu-toggle { display: block; }
            .article-main { padding: 20px; }
            .article-title { font-size: 24px; }
            .footer-grid { grid-template-columns: 1fr; gap: 30px; }
            .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
        }