﻿:root { --primary: rgb(234,88,12); --primary-hover: rgba(234,88,12,0.85); --primary-light: rgba(234,88,12,0.08); --text-main: #111827; --text-muted: #4b5563; --bg-body: #f9fafb; --bg-white: #ffffff; --border-color: #e5e7eb; --radius: 12px; --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); --font-family: -apple-system, sans-serif; }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: var(--font-family); background-color: var(--bg-body); color: var(--text-main); line-height: 1.6; }
        a { text-decoration: none; color: inherit; transition: 0.3s; }
        ul, ol { list-style: none; }
        img { max-width: 100%; height: auto; display: block; }
        .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        
        .header { background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--border-color); }
        .header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
        .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: 32px; align-items: center; }
        .desktop-nav a { font-weight: 500; font-size: 16px; color: var(--text-muted); padding: 8px 0; }
        .desktop-nav a:hover { color: var(--primary); }
        .header-actions { display: flex; gap: 16px; }
        .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 24px; border-radius: 8px; font-weight: 600; font-size: 15px; cursor: pointer; transition: 0.3s; }
        .btn-primary { background-color: var(--primary); color: #fff; }
        .mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
        .mobile-toggle span { display: block; width: 24px; height: 2px; background-color: var(--text-main); }
        .drawer { position: fixed; inset: 0; z-index: 1000; pointer-events: none; }
        .drawer.active { pointer-events: auto; }
        .drawer-mask { position: absolute; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; transition: 0.3s; }
        .drawer.active .drawer-mask { opacity: 1; }
        .drawer-content { position: absolute; top: 0; bottom: 0; left: -300px; width: 280px; background: var(--bg-white); transition: 0.3s; display: flex; flex-direction: column; }
        .drawer.active .drawer-content { left: 0; }
        .drawer-header { padding: 20px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--border-color); }
        .drawer-close { background: none; border: none; font-size: 28px; cursor: pointer; }
        .drawer-body { padding: 20px; overflow-y: auto; }
        .drawer-nav a { display: block; padding: 12px 16px; margin-bottom: 10px; background: var(--bg-body); border-radius: 8px; }

        .tag-detail-hero { padding: 40px 0; background: #fff; border-bottom: 1px solid var(--border-color); margin-bottom: 40px; }
        .tag-title { font-size: 32px; font-weight: 800; margin-bottom: 10px; }
        .tag-title span { color: var(--primary); }

        .tag-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 60px; }
        .tag-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--border-color); overflow: hidden; display: flex; flex-direction: column; transition: 0.3s; }
        .tag-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
        .tc-img { width: 100%; padding-top: 56%; position: relative; background: #f3f4f6; }
        .tc-img img { position: absolute; top:0; left:0; width:100%; height:100%; object-fit:cover; }
        .tc-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
        .tc-title { font-size: 16px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .tc-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .tc-meta { font-size: 12px; color: var(--text-light); display: flex; justify-content: space-between; }

        .pagination { display: flex; gap: 8px; justify-content: center; margin-bottom: 60px; }
        .pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; border-radius: 8px; background: #fff; border: 1px solid var(--border-color); }
        .pagination a:hover { border-color: var(--primary); color: var(--primary); }
        .pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

        .footer { background-color: #111827; color: #9ca3af; padding: 60px 0 30px; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
        .footer .logo span { color: #fff; }
        .footer-title { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 20px; }
        .footer-links { display: flex; flex-direction: column; gap: 12px; }
        .footer-links a:hover { color: var(--primary); }
        .footer-bottom { padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; font-size: 14px; }

        @media (max-width: 992px) {
            .desktop-nav, .header-actions { display: none; }
            .mobile-toggle { display: flex; }
            .tag-grid { grid-template-columns: repeat(2, 1fr); }
            .footer-grid { grid-template-columns: 1fr; }
        }
        @media (max-width: 640px) {
            .tag-grid { grid-template-columns: 1fr; }
        }