﻿:root { --primary: rgb(66,70,81); --accent: #d4af37; --bg-body: #f5f7fa; --text-main: #2c3e50; --border: #eaedf1; }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: -apple-system, BlinkMacSystemFont, Arial, sans-serif; color: var(--text-main); background: var(--bg-body); line-height: 1.6; }
        a { text-decoration: none; color: inherit; transition: 0.3s; }
        ul, li { list-style: none; }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        
        .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: 22px; font-weight: 800; line-height: 1; color: var(--primary); white-space: nowrap; }
        .header { background: rgba(255,255,255,0.98); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
        .header-inner { display: flex; justify-content: space-between; align-items: center; height: 80px; }
        .desktop-nav { display: flex; gap: 24px; align-items: center; }
        .desktop-nav a { font-weight: 600; font-size: 16px; color: var(--primary); padding: 8px 0; }
        .desktop-nav a:hover { color: var(--accent); }
        .menu-toggle { display: none; flex-direction: column; gap: 6px; cursor: pointer; padding: 10px; }
        .menu-toggle span { display: block; width: 26px; height: 3px; background: var(--primary); }
        
        .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 999; opacity: 0; visibility: hidden; transition: 0.3s; }
        .drawer-overlay.active { opacity: 1; visibility: visible; }
        .drawer-nav { position: fixed; top: 0; left: -320px; width: 300px; height: 100vh; background: #fff; z-index: 1000; transition: 0.4s; overflow-y: auto; }
        .drawer-nav.active { left: 0; }
        .drawer-header { padding: 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); }
        .drawer-close { background: none; border: none; font-size: 32px; cursor: pointer; color: var(--primary); }
        .drawer-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
        .drawer-body a { font-size: 16px; font-weight: 600; padding: 12px 15px; border-radius: 6px; background: #f8f9fc; color: var(--primary); }

        .tag-banner { background: var(--primary); color: #fff; padding: 60px 0; text-align: center; }
        .tag-banner h1 { font-size: 32px; margin-bottom: 10px; }
        .tag-banner span { color: var(--accent); }
        .tag-banner p { font-size: 16px; color: #aab2bd; }

        .tag-content { padding: 60px 0; }
        .article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
        .card { background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; transition: 0.3s; }
        .card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
        .card-img { display: block; position: relative; padding-bottom: 56.25%; background: #ddd; }
        .card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
        .card-tag { position: absolute; top: 12px; left: 12px; background: var(--accent); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 4px; }
        .card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
        .card-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
        .card-title a:hover { color: var(--accent); }
        .card-desc { font-size: 14px; color: #7f8c8d; margin-bottom: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
        .card-meta { display: flex; justify-content: space-between; font-size: 12px; color: #95a5a6; border-top: 1px solid var(--border); padding-top: 10px; }
        
        .pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
        .pagination a, .pagination span { padding: 10px 18px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; background: #fff; color: var(--text-main); }
        .pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }
        .pagination a:hover { border-color: var(--primary); color: var(--primary); }

        .footer { background: #1a1c23; color: #aab2bd; padding: 80px 0 30px; border-top: 4px solid var(--primary); }
        .footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
        .footer-brand .logo span { color: #fff; }
        .footer-links li { margin-bottom: 12px; }
        .footer-links a { color: #aab2bd; font-size: 14px; }
        .footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 30px; text-align: center; font-size: 13px; }

        @media(max-width: 768px) {
            .desktop-nav { display: none; }
            .menu-toggle { display: flex; }
            .footer-top { grid-template-columns: 1fr; }
        }