﻿:root {
            --primary-color: #e63946; 
            --bg-base: rgb(255,255,255); 
            --bg-alt: #f8f9fa;
            --text-main: #2b2d42;
            --text-muted: #6c757d;
            --border-color: #e9ecef;
            --radius-md: 8px;
        }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; background-color: var(--bg-alt); color: var(--text-main); line-height: 1.8; }
        a { text-decoration: none; color: inherit; transition: all 0.3s; }
        img { max-width: 100%; height: auto; display: block; border-radius: 4px; }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        
        
        .site-header { background-color: var(--bg-base); box-shadow: 0 2px 8px rgba(0,0,0,0.05); 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: 80px; }
        .logo { display: inline-flex; align-items: center; gap: 12px; }
        .logo img { display: block; height: 40px; width: auto; max-width: 160px; object-fit: contain; }
        .logo span { font-size: 22px; font-weight: 800; color: var(--primary-color); white-space: nowrap; }
        .desktop-nav { display: none; }
        .desktop-nav ul { list-style: none; display: flex; gap: 30px; }
        .desktop-nav a { font-size: 16px; font-weight: 500; }
        .desktop-nav a:hover { color: var(--primary-color); }
        .menu-toggle { display: block; background: none; border: none; font-size: 24px; cursor: pointer; }
        @media (min-width: 992px) { .desktop-nav { display: block; } .menu-toggle { display: none; } }
        
        .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); opacity: 0; visibility: hidden; transition: all 0.3s; z-index: 998; }
        .drawer-overlay.active { opacity: 1; visibility: visible; }
        .mobile-drawer { position: fixed; top: 0; left: -300px; width: 280px; height: 100vh; background: var(--bg-base); z-index: 999; transition: left 0.3s; display: flex; flex-direction: column; }
        .mobile-drawer.active { left: 0; }
        .drawer-header { padding: 20px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; }
        .drawer-close { background: none; border: none; font-size: 24px; cursor: pointer; }
        .drawer-nav { padding: 20px 0; overflow-y: auto; flex: 1; }
        .drawer-nav a { display: block; padding: 12px 20px; border-bottom: 1px solid #f0f0f0; }

        
        .article-wrap { display: flex; flex-direction: column; gap: 40px; padding: 40px 0; }
        @media (min-width: 1024px) { .article-wrap { flex-direction: row; } }
        .main-content { flex: 1; background: var(--bg-base); padding: 30px; border-radius: var(--radius-md); box-shadow: 0 2px 10px rgba(0,0,0,0.02); }
        @media (min-width: 768px) { .main-content { padding: 50px; } }
        
        .breadcrumb { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
        .breadcrumb a:hover { color: var(--primary-color); }
        
        .art-header { margin-bottom: 30px; border-bottom: 1px solid var(--border-color); padding-bottom: 20px; }
        .art-title { font-size: 28px; line-height: 1.4; color: #111; margin-bottom: 15px; }
        @media (min-width: 768px) { .art-title { font-size: 36px; } }
        .art-meta { display: flex; flex-wrap: wrap; gap: 15px; font-size: 14px; color: var(--text-muted); align-items: center; }
        .art-meta-item { display: inline-flex; align-items: center; }
        
        .art-body { font-size: 16px; color: #333; margin-bottom: 40px; word-wrap: break-word; }
        .art-body p { margin-bottom: 20px; }
        .art-body h2, .art-body h3 { margin: 30px 0 15px; color: #111; }
        .art-body img { margin: 20px auto; max-width: 100%; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
        
        .art-tags { display: flex; gap: 10px; margin-bottom: 40px; }
        .art-tags a { background: rgba(230,57,70,0.05); color: var(--primary-color); padding: 6px 15px; border-radius: 20px; font-size: 14px; border: 1px solid rgba(230,57,70,0.2); }
        .art-tags a:hover { background: var(--primary-color); color: #fff; }

        .art-nav { display: flex; justify-content: space-between; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); padding: 20px 0; margin-bottom: 40px; }
        .art-nav a { flex: 1; font-size: 15px; color: var(--text-main); }
        .art-nav a:hover { color: var(--primary-color); }
        .art-nav-next { text-align: right; }

        
        .related-section h3 { font-size: 20px; margin-bottom: 20px; border-left: 4px solid var(--primary-color); padding-left: 10px; }
        .related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
        .rel-card { background: var(--bg-alt); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-color); }
        .rel-card:hover { border-color: var(--primary-color); }
        .rel-img { width: 100%; height: 140px; object-fit: cover; }
        .rel-info { padding: 15px; }
        .rel-title { font-size: 15px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

        
        .sidebar { width: 320px; display: none; }
        @media (min-width: 1024px) { .sidebar { display: block; flex-shrink: 0; } }
        .side-widget { background: var(--bg-base); padding: 25px; border-radius: var(--radius-md); margin-bottom: 30px; box-shadow: 0 2px 10px rgba(0,0,0,0.02); }
        .side-title { font-size: 18px; margin-bottom: 15px; border-bottom: 1px solid var(--border-color); padding-bottom: 10px; }

        
        .site-footer { background: #111; color: #ccc; padding: 60px 0 20px; }
        .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
        .footer-brand .logo span { color: #fff; }
        .footer-brand p { margin-top: 20px; font-size: 14px; }
        .footer-title { color: #fff; font-size: 18px; margin-bottom: 20px; }
        .footer-links list-style { list-style: none; }
        .footer-links li { margin-bottom: 12px; }
        .footer-links a { color: #aaa; font-size: 14px; }
        .footer-bottom { border-top: 1px solid #333; padding-top: 20px; text-align: center; font-size: 13px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
        @media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
        .footer-legal a { margin: 0 10px; }