﻿:root { --primary: rgb(68, 71, 90); --primary-dark: rgb(48, 51, 65); --accent: #e63946; --bg-body: #f8f9fa; --text: #2d3748; --text-light: #718096; --border: #e2e8f0; }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body { font-family: -apple-system, sans-serif; background: var(--bg-body); color: var(--text); line-height: 1.8; }
        a { text-decoration: none; color: inherit; transition: 0.3s; }
        
        
        .site-header { background-color: var(--primary); color: #fff; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
        .header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        .logo { display: inline-flex; align-items: center; gap: 12px; }
        .logo img { height: 40px; max-width: 160px; object-fit: contain; }
        .logo span { font-size: 22px; font-weight: 800; color: #fff; }
        .desktop-nav { display: flex; gap: 30px; }
        .desktop-nav a:hover { opacity: 0.8; }
        .header-actions .btn { padding: 8px 20px; border: 2px solid #fff; border-radius: 6px; }
        .mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 5px; flex-direction: column; gap: 5px; }
        .mobile-toggle span { display: block; width: 24px; height: 2px; background: #fff; }
        
        
        .drawer { position: fixed; inset: 0; z-index: 1000; visibility: hidden; }
        .drawer.active { visibility: visible; pointer-events: auto; }
        .drawer-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; transition: 0.3s; }
        .drawer.active .drawer-overlay { opacity: 1; }
        .drawer-content { position: absolute; top: 0; bottom: 0; left: 0; width: 280px; background: #fff; transform: translateX(-100%); transition: 0.3s; display: flex; flex-direction: column; }
        .drawer.active .drawer-content { transform: translateX(0); }
        .drawer-header { padding: 20px; background: var(--primary); display: flex; justify-content: space-between; }
        .drawer-header .logo span { color: #fff; font-size: 18px;}
        .drawer-close { background: none; border: none; font-size: 28px; color: #fff; }
        .drawer-nav { padding: 20px; display: flex; flex-direction: column; gap: 15px; }
        .drawer-nav a { border-bottom: 1px dashed var(--border); padding-bottom: 5px; }
        
        
        .layout-container { max-width: 1200px; margin: 40px auto; padding: 0 20px; display: grid; grid-template-columns: 1fr 300px; gap: 30px; }
        .main-article { background: #fff; border-radius: 12px; padding: 40px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
        
        .breadcrumb { font-size: 14px; color: var(--text-light); margin-bottom: 20px; }
        .article-title { font-size: 32px; font-weight: 700; line-height: 1.4; margin-bottom: 20px; color: var(--primary); }
        .article-meta { display: flex; flex-wrap: wrap; gap: 20px; padding: 15px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 30px; font-size: 14px; color: var(--text-light); align-items: center; }
        .article-meta span { display: inline-flex; align-items: center; gap: 5px; }
        .article-tags a { background: var(--bg-body); padding: 4px 10px; border-radius: 4px; color: var(--primary); font-size: 12px; margin-right: 5px; border: 1px solid var(--border); }
        .article-tags a:hover { background: var(--primary); color: #fff; }
        
        .article-content { font-size: 16px; color: #333; overflow-wrap: break-word; }
        .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 { margin: 30px 0 15px; color: var(--primary); }
        
        .article-nav { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 14px; }
        .article-nav a { color: var(--primary); font-weight: 500; }
        .article-nav a:hover { color: var(--accent); }
        
        
        .sidebar-widget { background: #fff; border-radius: 12px; padding: 25px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); margin-bottom: 20px; border-top: 4px solid var(--primary); }
        .widget-title { font-size: 18px; font-weight: bold; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
        .related-list { display: flex; flex-direction: column; gap: 15px; }
        .related-item { display: flex; gap: 15px; align-items: center; }
        .related-img { width: 80px; height: 60px; object-fit: cover; border-radius: 4px; }
        .related-text h4 { font-size: 14px; line-height: 1.4; font-weight: 500; }
        .related-text h4 a:hover { color: var(--accent); }
        .related-text span { font-size: 12px; color: var(--text-light); }
        
        
        .site-footer { background-color: var(--primary-dark); color: #d1d5db; padding: 60px 0 20px 0; margin-top: 60px; }
        .footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding: 0 20px 40px; }
        .footer-brand .logo span { color: #fff; }
        .footer-title { color: #fff; font-size: 18px; margin-bottom: 20px; }
        .footer-links ul { display: flex; flex-direction: column; gap: 10px; }
        .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); text-align: center; padding-top: 20px; font-size: 14px; }

        @media (max-width: 992px) {
            .layout-container { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr 1fr; }
        }
        @media (max-width: 768px) {
            .desktop-nav, .header-actions .btn { display: none; }
            .mobile-toggle { display: flex; }
            .main-article { padding: 20px; }
            .article-title { font-size: 24px; }
            .footer-grid { grid-template-columns: 1fr; }
            .article-nav { flex-direction: column; gap: 15px; }
        }