﻿:root { --primary: rgb(245, 158, 11); --primary-hover: rgb(217, 119, 6); --primary-light: rgba(245, 158, 11, 0.1); --bg-body: #f8fafc; --bg-surface: #ffffff; --bg-dark: #0f172a; --text-main: #0f172a; --text-muted: #64748b; --border-color: #e2e8f0; --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05); --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1); --radius-md: 8px; --radius-lg: 16px; }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: -apple-system, sans-serif; background: var(--bg-body); color: var(--text-main); line-height: 1.6; }
        a { text-decoration: none; color: inherit; transition: 0.3s; }
        ul { list-style: none; }
        img { max-width: 100%; display: block; }
        .container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
        
        .logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
        .logo img { display: block; height: 44px; width: auto; max-width: 180px; object-fit: contain; flex-shrink: 0; }
        .logo span { display: inline-block; font-size: 22px; font-weight: 800; line-height: 1; color: var(--text-main); white-space: nowrap; }
        .header { background: var(--bg-dark); color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 2px solid var(--primary); }
        .nav-wrapper { display: flex; align-items: center; justify-content: space-between; height: 80px; }
        .header .logo span { color: #fff; }
        .desktop-nav ul { display: flex; gap: 32px; }
        .desktop-nav a { font-size: 16px; font-weight: 500; color: #cbd5e1; }
        .desktop-nav a:hover { color: var(--primary); }
        .header-actions { display: none; }
        
        .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); opacity: 0; visibility: hidden; transition: 0.3s; z-index: 99; }
        .drawer { position: fixed; top: 0; left: -320px; width: 300px; height: 100vh; background: var(--bg-surface); transition: 0.4s; z-index: 100; display: flex; flex-direction: column; }
        .drawer.active { left: 0; }
        .drawer-overlay.active { opacity: 1; visibility: visible; }
        .drawer-header { padding: 24px 20px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--border-color); }
        .drawer-body { padding: 20px; overflow-y: auto; }
        .drawer-nav a { display: block; padding: 16px 0; font-weight: 600; border-bottom: 1px solid #f1f5f9; }
        .menu-btn, .close-btn { background: none; border: none; cursor: pointer; color: inherit; }
        @media (max-width: 768px) { .header-actions { display: block; } .desktop-nav { display: none; } }

        
        .tag-info-bar { background: var(--bg-surface); border-bottom: 1px solid var(--border-color); padding: 30px 0; margin-bottom: 40px; box-shadow: var(--shadow-sm); }
        .tag-title-wrap { display: flex; align-items: center; gap: 16px; }
        .tag-icon { width: 48px; height: 48px; background: var(--primary-light); color: var(--primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
        .tag-title-wrap h1 { font-size: 28px; font-weight: 800; }
        .tag-title-wrap p { color: var(--text-muted); font-size: 14px; margin-top: 4px; }
        
        .grid-articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
        @media (max-width: 992px) { .grid-articles { grid-template-columns: repeat(2, 1fr); } }
        @media (max-width: 600px) { .grid-articles { grid-template-columns: 1fr; } }
        
        .card { background: var(--bg-surface); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); transition: 0.3s; }
        .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
        .card-img { width: 100%; height: 200px; object-fit: cover; }
        .card-body { padding: 24px; }
        .card-title { font-size: 18px; font-weight: 700; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .card-title:hover { color: var(--primary); }
        .card-desc { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
        .card-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--text-muted); border-top: 1px solid var(--border-color); padding-top: 16px; }

        .pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
        .page-item { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: var(--radius-md); background: var(--bg-surface); border: 1px solid var(--border-color); font-weight: 600; }
        .page-item:hover, .page-item.current { background: var(--primary); color: #fff; border-color: var(--primary); }

        .footer { background: var(--bg-dark); color: #94a3b8; padding: 80px 0 20px; border-top: 4px solid var(--primary); margin-top: 60px; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
        @media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }
        .footer-brand p { margin-top: 20px; font-size: 14px; }
        .footer-links h3, .footer-contact h3 { color: #fff; margin-bottom: 24px; }
        .footer-links li { margin-bottom: 12px; }
        .footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 14px; }