﻿:root {
            --primary-color: rgb(99,102,241);
            --primary-hover: #4f46e5;
            --text-dark: #0f172a;
            --text-muted: #64748b;
            --bg-light: #f8fafc;
            --bg-white: #ffffff;
            --border-color: #e2e8f0;
        }
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            color: var(--text-dark);
            background-color: var(--bg-white);
            line-height: 1.6;
        }
        a {
            color: inherit;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        img {
            max-width: 100%;
            height: auto;
        }
        
        header {
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(8px);
            border-bottom: 1px solid var(--border-color);
        }
        .header-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .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: 18px;
            font-weight: 800;
            line-height: 1;
            color: var(--text-dark);
            white-space: nowrap;
        }
        .nav-menu {
            display: flex;
            align-items: center;
            gap: 24px;
        }
        .nav-menu a {
            font-weight: 500;
            font-size: 15px;
            color: var(--text-muted);
        }
        .nav-menu a:hover {
            color: var(--primary-color);
        }
        .mobile-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: var(--text-dark);
        }
        
        .mobile-drawer {
            position: fixed;
            top: 0;
            left: -300px;
            width: 300px;
            height: 100%;
            background: var(--bg-white);
            box-shadow: 4px 0 20px rgba(0,0,0,0.1);
            z-index: 110;
            transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            flex-direction: column;
            padding: 30px 20px;
        }
        .mobile-drawer.active {
            left: 0;
        }
        .drawer-mask {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 105;
            display: none;
        }
        .drawer-mask.active {
            display: block;
        }
        .drawer-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 40px;
        }
        .drawer-close {
            background: none;
            border: none;
            font-size: 28px;
            cursor: pointer;
            color: var(--text-muted);
        }
        .drawer-nav {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        .drawer-nav a {
            font-size: 18px;
            font-weight: 500;
            color: var(--text-dark);
            padding: 8px 0;
            border-bottom: 1px solid var(--border-color);
        }
        
        .section-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 60px 20px 80px;
        }
        .tag-info-bar {
            background: var(--bg-light);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            padding: 30px;
            margin-bottom: 40px;
            text-align: center;
        }
        .tag-info-bar h1 {
            font-size: 30px;
            font-weight: 800;
            color: var(--text-dark);
            margin-bottom: 8px;
        }
        .tag-info-bar p {
            font-size: 14px;
            color: var(--text-muted);
        }
        
        .tag-grid {
            display: grid;
            grid-template-columns: 2.5fr 1fr;
            gap: 40px;
        }
        
        .articles-list {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }
        .article-card-horizontal {
            display: flex;
            background: var(--bg-white);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            overflow: hidden;
            transition: all 0.3s ease;
        }
        .article-card-horizontal:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.05);
        }
        .article-thumb {
            width: 240px;
            min-height: 180px;
            flex-shrink: 0;
            overflow: hidden;
            background: var(--bg-light);
            position: relative;
        }
        .article-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .article-detail {
            padding: 24px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            flex-grow: 1;
        }
        .article-tags {
            display: flex;
            gap: 8px;
            margin-bottom: 10px;
        }
        .article-tag {
            background: var(--bg-light);
            color: var(--primary-color);
            font-size: 11px;
            padding: 3px 8px;
            border-radius: 4px;
        }
        .article-title-link {
            font-size: 20px;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 8px;
            line-height: 1.4;
        }
        .article-title-link:hover {
            color: var(--primary-color);
        }
        .article-summary {
            font-size: 14px;
            color: var(--text-muted);
            margin-bottom: 15px;
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .article-meta {
            display: flex;
            justify-content: space-between;
            font-size: 12px;
            color: var(--text-muted);
            border-top: 1px solid var(--border-color);
            padding-top: 12px;
        }
        
        .sidebar-widget {
            background: var(--bg-light);
            border-radius: 10px;
            padding: 24px;
            border: 1px solid var(--border-color);
        }
        .widget-title {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 20px;
            border-bottom: 2px solid var(--primary-color);
            padding-bottom: 8px;
        }
        .tag-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        .tag-link {
            background: var(--bg-white);
            border: 1px solid var(--border-color);
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 12px;
        }
        .tag-link:hover {
            background: var(--primary-color);
            color: #ffffff;
            border-color: var(--primary-color);
        }
        
        .pagination {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-top: 50px;
        }
        .pagination a, .pagination span {
            padding: 10px 16px;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            font-size: 14px;
            background: var(--bg-white);
        }
        .pagination .active {
            background: var(--primary-color);
            color: #ffffff;
            border-color: var(--primary-color);
        }

        
        footer {
            background: #0f172a;
            color: #94a3b8;
            padding: 60px 20px 30px;
            border-top: 1px solid #1e293b;
        }
        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 50px;
        }
        .footer-brand {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        .footer-logo .logo span {
            color: #ffffff;
        }
        .footer-desc {
            font-size: 14px;
            line-height: 1.6;
        }
        .footer-column h4 {
            color: #ffffff;
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 20px;
        }
        .footer-links {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 12px;
            font-size: 14px;
        }
        .footer-links a:hover {
            color: #ffffff;
        }
        .footer-bottom {
            max-width: 1200px;
            margin: 0 auto;
            border-top: 1px solid #1e293b;
            padding-top: 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 12px;
            flex-wrap: wrap;
            gap: 15px;
        }

        @media (max-width: 1024px) {
            .tag-grid {
                grid-template-columns: 1fr;
            }
            .footer-container {
                grid-template-columns: 1fr;
            }
        }
        @media (max-width: 768px) {
            .nav-menu {
                display: none;
            }
            .mobile-toggle {
                display: block;
            }
            .article-card-horizontal {
                flex-direction: column;
            }
            .article-thumb {
                width: 100%;
                height: 200px;
            }
        }