﻿:root { --primary: rgb(90,200,250); --primary-dark: rgb(60, 180, 230); --bg-body: #f4f7fa; --bg-surface: #ffffff; --text-main: #1e293b; --text-muted: #64748b; --border-color: #e2e8f0; --shadow-sm: 0 1px 3px rgba(0,0,0,0.05); }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body { font-family: 'PingFang SC', sans-serif; background-color: var(--bg-body); color: var(--text-main); line-height: 1.6; }
        a { text-decoration: none; color: inherit; transition: 0.3s; }
        img { max-width: 100%; display: block; }
        ul { list-style: none; }
        .container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
        
        
        .header { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
        .header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
        .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; }
        .nav-desktop { display: flex; gap: 30px; align-items: center; }
        .nav-desktop a { font-weight: 500; font-size: 15px; position: relative; }
        .nav-desktop a:hover { color: var(--primary); }
        .header-actions { display: flex; gap: 15px; }
        .btn { display: inline-block; padding: 10px 24px; border-radius: 6px; font-weight: 600; text-align: center; cursor: pointer; border: 1px solid var(--primary); }
        .btn-primary { background-color: var(--primary); color: #fff; }
        .mobile-menu-btn { display: none; font-size: 24px; cursor: pointer; }
        
        
        .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 999; opacity: 0; visibility: hidden; transition: 0.3s; }
        .drawer-overlay.active { opacity: 1; visibility: visible; }
        .drawer { position: fixed; top: 0; left: -300px; width: 280px; height: 100%; background: #fff; z-index: 1000; transition: left 0.3s ease; display: flex; flex-direction: column; }
        .drawer.active { left: 0; }
        .drawer-header { padding: 20px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; }
        .drawer-close { font-size: 24px; cursor: pointer; }
        .drawer-body { padding: 20px; overflow-y: auto; flex: 1; }
        .drawer-nav a { display: block; padding: 12px 0; border-bottom: 1px solid #f1f5f9; }

        
        .article-layout { padding: 40px 0; }
        .breadcrumb { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
        .breadcrumb a { color: var(--text-main); }
        .breadcrumb a:hover { color: var(--primary); }
        
        .article-main { background: #fff; border-radius: 12px; padding: 40px; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); margin-bottom: 40px; }
        .article-title { font-size: 32px; font-weight: 700; color: #0f172a; margin-bottom: 20px; line-height: 1.4; }
        .article-info { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; font-size: 14px; color: var(--text-muted); margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--border-color); }
        .article-info-item { display: flex; align-items: center; gap: 5px; }
        .article-tags { display: flex; gap: 10px; }
        .article-tags a { background: rgba(90,200,250,0.1); color: var(--primary-dark); padding: 2px 10px; border-radius: 4px; font-size: 12px; }
        
        .article-content { font-size: 16px; line-height: 1.8; color: #334155; }
        .article-content p { margin-bottom: 20px; }
        .article-content img { border-radius: 8px; margin: 20px auto; max-width: 100%; box-shadow: var(--shadow-sm); }
        .article-content h2, .article-content h3 { color: #0f172a; margin: 30px 0 15px; font-weight: 600; }
        
        .article-footer-nav { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border-color); font-size: 15px; }
        .article-footer-nav a { color: var(--primary); font-weight: 500; }
        .article-footer-nav a:hover { text-decoration: underline; }

        
        .related-section { margin-top: 40px; }
        .related-title { font-size: 20px; font-weight: 600; margin-bottom: 20px; padding-left: 10px; border-left: 4px solid var(--primary); }
        .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
        .rel-card { background: #fff; border-radius: 8px; border: 1px solid var(--border-color); overflow: hidden; transition: 0.3s; }
        .rel-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--primary); }
        .rel-img { height: 120px; overflow: hidden; }
        .rel-img img { width: 100%; height: 100%; object-fit: cover; }
        .rel-text { padding: 15px; }
        .rel-title { font-size: 14px; font-weight: 600; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .rel-meta { font-size: 12px; color: var(--text-muted); display: flex; justify-content: space-between; }

        
        .footer { background: #0f172a; color: #94a3b8; padding: 60px 0 20px; margin-top: 60px; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; max-width: 1200px; margin-left: auto; margin-right: auto; padding: 0 20px; }
        .footer-brand .logo span { color: #fff; }
        .footer-title { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 20px; }
        .footer-links li { margin-bottom: 10px; }
        .footer-bottom { border-top: 1px solid #1e293b; padding-top: 20px; text-align: center; font-size: 13px; display: flex; justify-content: space-between; max-width: 1200px; margin-left: auto; margin-right: auto; padding: 20px; }

        @media (max-width: 768px) {
            .nav-desktop, .header-actions { display: none; }
            .mobile-menu-btn { display: block; }
            .article-main { padding: 20px; }
            .article-title { font-size: 24px; }
            .related-grid { grid-template-columns: 1fr; }
            .article-footer-nav { flex-direction: column; gap: 15px; text-align: center; }
            .footer-grid { grid-template-columns: 1fr 1fr; }
            .footer-bottom { flex-direction: column; gap: 10px; }
        }