﻿:root { --primary: rgb(30,64,175); --primary-hover: rgb(25, 54, 150); --bg-body: #f4f6f9; --bg-white: #ffffff; --text-dark: #1a1a1a; --text-gray: #333333; --text-light: #999999; --border-color: #e5e7eb; --shadow: 0 4px 12px rgba(0,0,0,0.05); }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: -apple-system, sans-serif; background-color: var(--bg-body); color: var(--text-dark); line-height: 1.6; }
        a { text-decoration: none; color: inherit; transition: color 0.3s; }
        ul { list-style: none; }
        img { max-width: 100%; height: auto; display: block; border-radius: 8px; margin: 20px 0; }
        .container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
        
        .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 { display: flex; justify-content: space-between; align-items: center; height: 70px; max-width:1200px; margin:0 auto; padding:0 20px;}
        .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-dark); white-space: nowrap; }
        .nav-desktop { display: flex; gap: 30px; align-items: center; }
        .nav-desktop a { font-size: 16px; font-weight: 500; color: var(--text-dark); }
        .nav-desktop a:hover { color: var(--primary); }
        .menu-btn { display: none; font-size: 24px; cursor: pointer; background: none; border: none; }
        .btn { display: inline-block; padding: 10px 20px; background: var(--primary); color: #fff; border-radius: 6px; font-weight: 600; text-align: center; }
        
        .drawer-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 998; opacity: 0; transition: opacity 0.3s; }
        .drawer { position: fixed; top: 0; left: -300px; width: 280px; height: 100%; background: var(--bg-white); z-index: 999; transition: left 0.3s ease; box-shadow: 2px 0 10px rgba(0,0,0,0.1); overflow-y: auto; }
        .drawer.active { left: 0; }
        .drawer-overlay.active { display: block; opacity: 1; }
        .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; background: none; border: none; color: var(--text-light); }
        .drawer-nav { padding: 20px; display: flex; flex-direction: column; gap: 15px; }
        .drawer-nav a { display: block; font-size: 16px; font-weight: 500; padding: 10px 0; border-bottom: 1px dashed var(--border-color); }
        
        .footer { background: #111827; color: #9ca3af; 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:0 auto 40px; padding:0 20px;}
        .footer-logo { margin-bottom: 20px; }
        .footer-logo .logo span { color: #fff; }
        .footer-desc { font-size: 14px; line-height: 1.8; margin-bottom: 20px; max-width: 300px; }
        .footer-title { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 20px; }
        .footer-links li { margin-bottom: 12px; }
        .footer-links a { font-size: 14px; }
        .footer-links a:hover { color: #fff; text-decoration: underline; }
        .footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #374151; font-size: 13px; max-width:1200px; margin:0 auto;}
        @media (max-width: 992px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
        @media (max-width: 768px) { .nav-desktop { display: none; } .menu-btn { display: block; } .footer-grid { grid-template-columns: 1fr; } }

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

        .article-main { background: var(--bg-white); padding: 50px; border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--border-color); }
        .article-head { text-align: center; margin-bottom: 40px; padding-bottom: 30px; border-bottom: 1px solid var(--border-color); }
        .article-title-h1 { font-size: 32px; font-weight: 800; margin-bottom: 20px; line-height: 1.4; }
        .article-meta-info { display: flex; justify-content: center; gap: 20px; color: var(--text-light); font-size: 14px; flex-wrap: wrap; }
        .article-meta-info span { display: flex; align-items: center; gap: 5px; }

        .article-body { font-size: 16px; line-height: 1.8; color: var(--text-gray); }
        .article-body p { margin-bottom: 20px; }
        .article-body h2, .article-body h3 { color: var(--text-dark); margin: 30px 0 15px; }
        
        .article-tags-wrap { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border-color); display: flex; align-items: center; gap: 10px; }
        .article-tags-wrap strong { font-size: 14px; }
        .article-tags-wrap a { background: rgba(30,64,175,0.05); color: var(--primary); padding: 5px 12px; border-radius: 4px; font-size: 14px; border: 1px solid rgba(30,64,175,0.1); }
        .article-tags-wrap a:hover { background: var(--primary); color: #fff; }

        .article-nav { display: flex; justify-content: space-between; margin-top: 30px; gap: 20px; }
        .article-nav a { flex: 1; padding: 15px; background: var(--bg-body); border-radius: 8px; font-size: 14px; color: var(--text-gray); display: block; border: 1px solid transparent; transition: border-color 0.3s; }
        .article-nav a:hover { border-color: var(--primary); }
        .article-nav a span { display: block; color: var(--text-light); margin-bottom: 5px; font-size: 12px; }

        
        .related-section { margin-top: 50px; }
        .related-title { font-size: 20px; font-weight: 700; margin-bottom: 20px; padding-left: 15px; border-left: 4px solid var(--primary); }
        .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
        .related-card { background: var(--bg-white); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border-color); display: block; transition: transform 0.3s; }
        .related-card:hover { transform: translateY(-5px); }
        .related-img { height: 140px; background: #eee; }
        .related-img img { width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; }
        .related-content { padding: 15px; }
        .related-card-title { font-size: 15px; font-weight: 600; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        
        @media (max-width: 768px) {
            .article-main { padding: 25px; }
            .article-title-h1 { font-size: 24px; }
            .article-nav { flex-direction: column; }
            .related-grid { grid-template-columns: 1fr; }
        }