﻿:root {
            --primary-color: rgb(12, 74, 110);
            --primary-hover: rgb(15, 118, 110);
            --bg-color: #f8fafc;
            --card-bg: #ffffff;
            --text-main: #0f172a;
            --text-muted: #64748b;
            --border-color: #e2e8f0;
            --accent-color: #f43f5e;
        }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background-color: var(--bg-color); color: var(--text-main); line-height: 1.6; }
        a { color: inherit; text-decoration: none; transition: color 0.3s; }
        a:hover { color: var(--primary-color); }
        
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        
        
        header { background: #fff; border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 100; }
        .header-wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; }
        .logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
        .logo img { height: 40px; width: auto; max-width: 160px; object-fit: contain; flex-shrink: 0; }
        .logo span { font-size: 20px; font-weight: 800; color: var(--primary-color); white-space: nowrap; }
        
        .nav-desktop { display: flex; gap: 20px; align-items: center; }
        .nav-desktop a { font-weight: 500; font-size: 15px; color: var(--text-main); padding: 8px 12px; border-radius: 4px; }
        .nav-desktop a:hover { background-color: rgba(12, 74, 110, 0.05); color: var(--primary-color); }
        
        .menu-btn { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-main); }
        
        
        .drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 999; display: none; opacity: 0; transition: opacity 0.3s ease; }
        .drawer { position: fixed; top: 0; left: -280px; width: 280px; height: 100%; background: #fff; z-index: 1000; transition: left 0.3s ease; display: flex; flex-direction: column; box-shadow: 2px 0 10px rgba(0,0,0,0.1); }
        .drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--border-color); }
        .drawer-close { background: none; border: none; font-size: 24px; cursor: pointer; }
        .drawer-nav { display: flex; flex-direction: column; padding: 20px; gap: 15px; overflow-y: auto; }
        .drawer-nav a { font-size: 16px; font-weight: 500; padding: 10px; border-radius: 6px; }
        .drawer-nav a:hover { background: rgba(12,74,110,0.05); color: var(--primary-color); }
        .drawer.open { left: 0; }
        .drawer-overlay.open { display: block; opacity: 1; }

        
        .breadcrumb-section { padding: 15px 0; border-bottom: 1px solid var(--border-color); font-size: 14px; color: var(--text-muted); }
        .breadcrumb-section a { color: var(--text-main); }
        .breadcrumb-section a:hover { color: var(--primary-color); }
        
        
        .main-layout { display: grid; grid-template-columns: 1fr 320px; gap: 30px; margin-top: 30px; margin-bottom: 50px; }
        .content-area { min-width: 0; background: #fff; border: 1px solid var(--border-color); border-radius: 8px; padding: 30px; }
        
        
        .article-title { font-size: 26px; font-weight: 800; line-height: 1.4; color: var(--text-main); margin-bottom: 20px; }
        .article-meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; color: var(--text-muted); padding-bottom: 20px; border-bottom: 1px solid var(--border-color); margin-bottom: 25px; }
        .article-meta span { display: flex; align-items: center; gap: 5px; }
        .article-body { font-size: 16px; color: var(--text-main); line-height: 1.8; margin-bottom: 40px; }
        .article-body p { margin-bottom: 20px; }
        .article-body img { margin: 25px auto; border-radius: 6px; box-shadow: 0 4px 8px rgba(0,0,0,0.05); max-width: 100%; }
        
        
        .article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; border-top: 1px dashed var(--border-color); padding-top: 20px; }
        .article-tags span { font-size: 14px; font-weight: 600; margin-right: 10px; color: var(--text-muted); }
        .article-tags a { font-size: 12px; padding: 4px 10px; background: var(--bg-color); border: 1px solid var(--border-color); border-radius: 4px; }
        
        
        .prev-next-nav { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; border-top: 1px solid var(--border-color); margin-bottom: 40px; }
        .nav-link { flex: 1; min-width: 0; }
        .nav-link span { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
        .nav-link a { font-size: 14px; font-weight: 700; line-height: 1.4; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

        
        .related-section { margin-top: 40px; border-top: 2px solid var(--primary-color); padding-top: 30px; }
        .related-title { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
        .related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
        .related-card { background: var(--bg-color); border: 1px solid var(--border-color); border-radius: 6px; padding: 15px; display: flex; gap: 15px; }
        .related-thumb { width: 100px; height: 70px; border-radius: 4px; overflow: hidden; flex-shrink: 0; background: #e2e8f0; }
        .related-thumb img { width: 100%; height: 100%; object-fit: cover; }
        .related-body { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
        .related-card-title { font-size: 14px; font-weight: 700; line-height: 1.4; margin-bottom: 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .related-meta { font-size: 11px; color: var(--text-muted); }

        
        .sidebar { display: flex; flex-direction: column; gap: 30px; }
        .widget { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 8px; padding: 20px; }
        .widget-title { font-size: 16px; font-weight: 700; margin-bottom: 15px; border-bottom: 2px solid var(--primary-color); padding-bottom: 8px; }
        
        .hot-list { display: flex; flex-direction: column; gap: 12px; }
        .hot-item { display: flex; flex-direction: column; gap: 4px; border-bottom: 1px dashed var(--border-color); padding-bottom: 10px; }
        .hot-item:last-child { border-bottom: none; padding-bottom: 0; }
        .hot-title { font-size: 14px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .hot-meta { font-size: 12px; color: var(--text-muted); display: flex; justify-content: space-between; }
        .tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
        .tag-cloud a { display: inline-block; padding: 6px 12px; background: var(--bg-color); border: 1px solid var(--border-color); border-radius: 20px; font-size: 12px; color: var(--text-main); }
        .tag-cloud a:hover { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }

        
        footer { background: #0f172a; color: #94a3b8; padding: 50px 0 20px; border-top: 4px solid var(--primary-color); font-size: 14px; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
        .footer-logo { margin-bottom: 15px; }
        .footer-logo span { color: #fff; }
        .footer-desc { line-height: 1.7; margin-bottom: 15px; font-size: 13px; }
        .footer-title { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 20px; }
        .footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
        .footer-links a { color: #94a3b8; }
        .footer-links a:hover { color: #fff; }
        .friend-links { border-top: 1px solid #334155; padding-top: 20px; margin-bottom: 20px; }
        .friend-title { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 10px; }
        .friend-content { display: flex; flex-wrap: wrap; gap: 15px; }
        .friend-content a { color: #94a3b8; font-size: 13px; }
        .friend-content a:hover { color: #fff; }
        .footer-bottom { border-top: 1px solid #334155; padding-top: 20px; text-align: center; font-size: 12px; color: #64748b; }
        
        
        @media (max-width: 992px) {
            .main-layout { grid-template-columns: 1fr; }
            .sidebar { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
        }
        @media (max-width: 768px) {
            .nav-desktop { display: none; }
            .menu-btn { display: block; }
            .related-grid { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr; gap: 30px; }
            .content-area { padding: 20px; }
        }