﻿:root {
            --primary: rgb(139,233,253);
            --primary-dark: #5ee0fa;
            --text-main: #1a1a1a;
            --text-sub: #666;
            --bg-light: #f4f6f8;
            --bg-white: #ffffff;
            --border: #e2e8f0;
        }
        * { box-sizing: border-box; }
        body { font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif; color: var(--text-main); background: var(--bg-light); line-height: 1.6; margin: 0; padding: 0; }
        a { color: inherit; text-decoration: none; transition: 0.3s; }
        a:hover { color: var(--primary-dark); }
        img { max-width: 100%; height: auto; display: block; border-radius: 8px; }
        
        .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; }

        .header { background: var(--bg-white); box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; }
        .header-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; height: 70px; padding: 0 20px; }
        .desktop-nav { display: flex; gap: 24px; align-items: center; }
        .desktop-nav a { font-weight: 500; font-size: 16px; }
        .desktop-nav a:hover { color: var(--primary-dark); }
        .menu-btn { display: none; font-size: 28px; cursor: pointer; color: var(--text-main); }

        .mobile-drawer { position: fixed; top: 0; left: -320px; width: 300px; height: 100vh; background: var(--bg-white); z-index: 999; transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 2px 0 15px rgba(0,0,0,0.1); overflow-y: auto; padding: 20px; }
        .mobile-drawer.active { left: 0; }
        .drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; padding-bottom: 15px; border-bottom: 1px solid var(--border); }
        .drawer-close { font-size: 28px; cursor: pointer; color: var(--text-sub); }
        .drawer-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 16px; font-weight: 500; }
        .drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 998; display: none; opacity: 0; transition: 0.3s; }
        .drawer-overlay.active { display: block; opacity: 1; }

        .container { max-width: 1000px; margin: 40px auto; padding: 0 20px; }
        .breadcrumb { font-size: 14px; color: var(--text-sub); margin-bottom: 20px; }
        .breadcrumb a { color: var(--text-main); }
        .breadcrumb a:hover { color: var(--primary-dark); }

        .article-main { background: var(--bg-white); padding: 50px; border-radius: 16px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); margin-bottom: 40px; }
        .article-h1 { font-size: 34px; line-height: 1.4; margin-bottom: 20px; color: var(--text-main); font-weight: 800; text-align: center; }
        .article-info { display: flex; justify-content: center; flex-wrap: wrap; gap: 25px; font-size: 14px; color: var(--text-sub); border-bottom: 1px solid var(--border); padding-bottom: 25px; margin-bottom: 35px; }
        .article-info span { display: inline-flex; align-items: center; gap: 6px; }
        
        .article-content { font-size: 17px; line-height: 1.9; color: #333; }
        .article-content p { margin-bottom: 20px; }
        .article-content h2, .article-content h3 { margin: 30px 0 15px; color: var(--text-main); }
        .article-content a { color: var(--primary-dark); text-decoration: underline; }
        
        .article-tags-wrap { margin-top: 40px; padding-top: 20px; border-top: 1px dashed var(--border); display: flex; gap: 15px; align-items: center; font-size: 14px; }
        .article-tags-wrap strong { color: var(--text-main); }

        .article-nav { display: flex; justify-content: space-between; margin-top: 50px; font-size: 15px; gap: 20px; }
        .article-nav a { display: block; padding: 20px; background: var(--bg-light); border-radius: 12px; flex: 1; font-weight: 500; }
        .article-nav a:hover { background: rgba(139,233,253,0.1); color: #111; }
        .nav-label { display: block; font-size: 12px; color: var(--text-sub); margin-bottom: 5px; text-transform: uppercase; }

        .related-section { margin-top: 60px; }
        .related-title { font-size: 24px; font-weight: bold; margin-bottom: 30px; border-left: 4px solid var(--primary); padding-left: 15px; }
        .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
        .related-card { background: var(--bg-white); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.03); transition: 0.3s; }
        .related-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
        .related-img { height: 160px; overflow: hidden; }
        .related-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
        .related-body { padding: 15px; }
        .related-h4 { font-size: 16px; margin-bottom: 10px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .related-meta { font-size: 12px; color: var(--text-sub); display: flex; justify-content: space-between; }

        .footer { background: #1a1a1a; color: #aaa; padding: 60px 20px 20px; border-top: 5px solid #222; margin-top: 80px; }
        .footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
        .footer-logo .logo span { color: #fff; }
        .footer-desc { margin-top: 20px; font-size: 14px; line-height: 1.8; max-width: 400px; }
        .footer-title { color: #fff; font-size: 18px; margin-bottom: 20px; font-weight: bold; }
        .footer-nav { list-style: none; padding: 0; margin: 0; }
        .footer-nav li { margin-bottom: 12px; }
        .footer-nav a { color: #aaa; }
        .footer-nav a:hover { color: var(--primary); padding-left: 5px; }
        .footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid #333; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; flex-wrap: wrap; gap: 15px; }
        .footer-links a { color: #aaa; margin-left: 15px; }
        .footer-links a:hover { color: var(--primary); }

        @media(max-width: 992px) {
            .desktop-nav { display: none; }
            .menu-btn { display: block; }
            .article-main { padding: 30px 20px; }
            .article-nav { flex-direction: column; }
            .related-grid { grid-template-columns: 1fr; }
            .footer-inner { grid-template-columns: 1fr; }
        }