﻿:root { --primary-color: rgb(255, 59, 48); --primary-hover: rgb(220, 40, 30); --primary-light: rgba(255, 59, 48, 0.1); --text-main: #2c3e50; --text-muted: #6c757d; --bg-body: #f8f9fa; --bg-white: #ffffff; --border-color: #eaeaea; --container-width: 1200px; --shadow-sm: 0 2px 8px rgba(0,0,0,0.05); --shadow-md: 0 8px 24px rgba(0,0,0,0.08); --radius-md: 8px; --radius-lg: 16px; }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background-color: var(--bg-body); color: var(--text-main); line-height: 1.6; }
        a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
        ul, li { list-style: none; }
        img { max-width: 100%; height: auto; display: block; }
        .container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
        
        .header { background: var(--bg-white); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 1000; }
        .header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
        .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-size: 16px; font-weight: 500; color: var(--text-main); }
        .nav-desktop a:hover { color: var(--primary-color); }
        .header-actions { display: flex; align-items: center; gap: 15px; }
        .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 24px; border-radius: 50px; font-weight: 600; cursor: pointer; transition: all 0.3s; }
        .btn-outline { border: 1px solid var(--border-color); background: transparent; color: var(--text-main); }
        .btn-outline:hover { border-color: var(--primary-color); color: var(--primary-color); }
        .menu-toggle { display: none; font-size: 24px; cursor: pointer; color: var(--text-main); }

        .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1001; opacity: 0; visibility: hidden; transition: all 0.3s; }
        .drawer-overlay.active { opacity: 1; visibility: visible; }
        .drawer { position: fixed; top: 0; left: -300px; width: 280px; height: 100vh; background: var(--bg-white); z-index: 1002; transition: all 0.3s; overflow-y: auto; display: flex; flex-direction: column; }
        .drawer.active { left: 0; box-shadow: var(--shadow-md); }
        .drawer-header { padding: 20px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; }
        .drawer-close { font-size: 28px; cursor: pointer; color: var(--text-muted); line-height: 1; }
        .drawer-nav { padding: 20px 0; }
        .drawer-nav a { display: block; padding: 15px 20px; font-size: 16px; border-bottom: 1px solid #f0f0f0; }

        .footer { background: #1a1a2e; color: #a0a0b5; padding: 80px 0 30px; margin-top: 60px;}
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
        .footer-brand .logo span { color: #fff; }
        .footer-title { color: #fff; font-size: 18px; font-weight: 600; margin-bottom: 20px; }
        .footer-links li { margin-bottom: 12px; }
        .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; text-align: center; font-size: 14px; display: flex; flex-direction: column; gap: 10px; }
        .footer-bottom-links { display: flex; justify-content: center; gap: 20px; }

        @media (max-width: 768px) { .nav-desktop, .header-actions .btn-outline { display: none; } .menu-toggle { display: block; } .footer-grid { grid-template-columns: 1fr; } }

        
        .article-layout { max-width: 900px; margin: 40px auto; background: var(--bg-white); padding: 50px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
        .breadcrumb { font-size: 14px; color: var(--text-muted); margin-bottom: 30px; }
        .breadcrumb a { font-weight: 500; color: var(--text-main); }
        .breadcrumb a:hover { color: var(--primary-color); }
        
        .article-head { border-bottom: 1px solid var(--border-color); padding-bottom: 30px; margin-bottom: 40px; }
        .article-title { font-size: 32px; font-weight: 800; color: #111; line-height: 1.4; margin-bottom: 20px; }
        .article-info { display: flex; flex-wrap: wrap; gap: 20px; color: var(--text-muted); font-size: 14px; align-items: center; }
        .article-info-item { display: flex; align-items: center; gap: 5px; }
        .article-head-tags a { background: var(--primary-light); color: var(--primary-color); padding: 4px 10px; border-radius: 4px; font-size: 13px; font-weight: 500; }

        .article-content { font-size: 16px; line-height: 1.8; color: #333; }
        .article-content p { margin-bottom: 20px; }
        .article-content img { border-radius: var(--radius-md); margin: 20px auto; max-width: 100%; box-shadow: var(--shadow-sm); }
        .article-content h2, .article-content h3 { margin: 30px 0 15px; color: #111; }
        .article-content strong { color: #000; }

        .article-nav { display: flex; justify-content: space-between; margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--border-color); }
        .article-nav a { flex: 1; padding: 20px; background: var(--bg-body); border-radius: var(--radius-md); display: block; }
        .article-nav a:hover { background: var(--primary-light); color: var(--primary-color); }
        .nav-label { font-size: 13px; color: var(--text-muted); margin-bottom: 5px; display: block; }
        .nav-title { font-size: 16px; font-weight: 600; }
        .nav-prev { margin-right: 15px; }
        .nav-next { margin-left: 15px; text-align: right; }

        .related-section { max-width: 1200px; margin: 60px auto 0; padding: 0 20px; }
        .related-title { font-size: 24px; font-weight: 700; margin-bottom: 30px; border-left: 4px solid var(--primary-color); padding-left: 15px; }
        .articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
        .article-card { background: var(--bg-white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.3s; display: flex; flex-direction: column; border: 1px solid var(--border-color); }
        .article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); border-color: var(--primary-light); }
        .article-img { width: 100%; height: 180px; object-fit: cover; }
        .article-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
        .article-card-tags { margin-bottom: 10px; }
        .article-card-tags span { display: inline-block; font-size: 12px; background: var(--primary-light); color: var(--primary-color); padding: 2px 8px; border-radius: 4px; }
        .article-card-title { font-size: 18px; font-weight: 600; margin-bottom: 10px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .article-meta { display: flex; justify-content: space-between; font-size: 12px; color: #999; margin-top: auto; padding-top: 15px; border-top: 1px solid #eee; }

        @media (max-width: 768px) {
            .article-layout { margin: 20px; padding: 20px; }
            .article-title { font-size: 24px; }
            .article-nav { flex-direction: column; gap: 15px; }
            .nav-prev, .nav-next { margin: 0; text-align: left; }
        }