﻿:root { --primary-color: rgb(90,200,250); --text-dark: #1e293b; --text-normal: #334155; --text-light: #64748b; --bg-body: #f8fafc; --bg-white: #ffffff; --border-color: #e2e8f0; --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: sans-serif; background-color: var(--bg-body); color: var(--text-normal); line-height: 1.8; }
        a { text-decoration: none; color: inherit; transition: all 0.3s; }
        .container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
        
        .header { background-color: var(--bg-white); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm); }
        .header .container { max-width: 1200px; display: flex; justify-content: space-between; align-items: center; height: 70px; }
        .logo { display: inline-flex; align-items: center; gap: 12px; }
        .logo img { height: 36px; max-width: 160px; object-fit: contain; }
        .logo span { font-size: 20px; font-weight: 800; color: var(--text-dark); }
        .nav-desktop { display: flex; gap: 30px; } .nav-desktop a { font-weight: 500; color: var(--text-dark); }
        .menu-btn { display: none; font-size: 24px; background: none; border: none; cursor: pointer; }
        
        .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 998; opacity: 0; visibility: hidden; }
        .drawer { position: fixed; top: 0; left: -300px; width: 280px; height: 100vh; background: var(--bg-white); z-index: 999; transition: all 0.3s; display: flex; flex-direction: column; }
        .drawer.active { left: 0; } .drawer-overlay.active { opacity: 1; visibility: visible; }
        .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; } .drawer-nav a { display: block; padding: 15px 20px; border-bottom: 1px solid var(--border-color); }

        .breadcrumb { padding: 20px 0; font-size: 14px; color: var(--text-light); }
        .breadcrumb a:hover { color: var(--primary-color); }

        .article-main { background: var(--bg-white); padding: 40px 50px; border-radius: 8px; box-shadow: var(--shadow-sm); margin-bottom: 40px; }
        .article-title { font-size: 32px; font-weight: 800; color: var(--text-dark); margin-bottom: 20px; line-height: 1.4; }
        .article-meta-bar { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; padding: 15px; background: var(--bg-body); border-radius: 6px; margin-bottom: 30px; font-size: 13px; color: var(--text-light); }
        .article-meta-bar span { display: inline-flex; align-items: center; gap: 5px; }
        .meta-tags { color: var(--primary-color); font-weight: bold; }
        
        .article-content { font-size: 16px; color: var(--text-normal); margin-bottom: 40px; overflow: hidden; }
        .article-content p { margin-bottom: 20px; }
        .article-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 20px 0; }
        .article-content h2, .article-content h3 { color: var(--text-dark); margin: 30px 0 15px; }

        .article-nav { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--border-color); font-size: 14px; }
        .article-nav a { color: var(--text-dark); font-weight: 500; max-width: 45%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .article-nav a:hover { color: var(--primary-color); }

        .related-section { margin-bottom: 60px; }
        .related-title { font-size: 24px; font-weight: 700; color: var(--text-dark); margin-bottom: 20px; padding-left: 15px; border-left: 4px solid var(--primary-color); }
        .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
        .rel-card { background: var(--bg-white); border-radius: 8px; border: 1px solid var(--border-color); overflow: hidden; display: flex; flex-direction: column; }
        .rel-card:hover { border-color: var(--primary-color); }
        .rel-img { height: 140px; background: #e2e8f0; } .rel-img img { width: 100%; height: 100%; object-fit: cover; }
        .rel-content { padding: 15px; }
        .rel-title { font-size: 14px; font-weight: bold; color: var(--text-dark); margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .rel-meta { font-size: 12px; color: var(--text-light); }

        .footer { background: #0f172a; color: #94a3b8; padding: 60px 0 20px; }
        .footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; padding: 0 20px; }
        .footer-about .logo span { color: white; }
        .footer-title { color: white; font-size: 18px; font-weight: 700; margin-bottom: 20px; }
        .footer-links li { margin-bottom: 10px; }
        .footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid #1e293b; padding: 20px 20px 0; display: flex; justify-content: space-between; font-size: 14px; }
        .footer-meta-links { display: flex; gap: 15px; }

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