﻿:root {
      --primary: rgb(202,138,4);
      --primary-hover: rgb(161,110,3);
      --bg: #f8fafc;
      --card-bg: #ffffff;
      --text: #1e293b;
      --text-muted: #64748b;
      --border: #e2e8f0;
      --shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--text); line-height: 1.7; }
    a { color: inherit; text-decoration: none; }

    .header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
    .header-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 70px; display: flex; align-items: center; justify-content: space-between; }
    .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); white-space: nowrap; }
    .nav-desktop { display: flex; gap: 24px; align-items: center; }
    .nav-desktop a { font-weight: 500; font-size: 15px; }
    .nav-desktop a:hover { color: var(--primary); }
    .menu-btn { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text); }

    .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 998; opacity: 0; visibility: hidden; transition: 0.3s; }
    .drawer-overlay.active { opacity: 1; visibility: visible; }
    .drawer { position: fixed; top: 0; left: -280px; width: 280px; height: 100%; background: #fff; z-index: 999; transition: 0.3s; padding: 20px; display: flex; flex-direction: column; }
    .drawer.active { left: 0; }
    .drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid var(--border); }
    .drawer-close { background: none; border: none; font-size: 24px; cursor: pointer; }
    .drawer-nav { display: flex; flex-direction: column; gap: 15px; overflow-y: auto; }
    .drawer-nav a { font-size: 16px; font-weight: 500; }

    .breadcrumb { max-width: 1200px; margin: 20px auto 0; padding: 0 20px; font-size: 14px; color: var(--text-muted); }
    .breadcrumb a:hover { color: var(--primary); }

    .container { max-width: 1200px; margin: 20px auto; padding: 0 20px; display: grid; grid-template-columns: 1fr 340px; gap: 30px; }
    
    .article-wrap { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 35px; box-shadow: var(--shadow); }
    .article-header { border-bottom: 1px solid var(--border); padding-bottom: 20px; margin-bottom: 25px; }
    .article-title { font-size: 26px; font-weight: 800; line-height: 1.3; margin-bottom: 15px; }
    .article-meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: var(--text-muted); }
    
    .article-content { font-size: 16px; color: #334155; line-height: 1.8; }
    .article-content p { margin-bottom: 18px; }
    .article-content img { max-width: 100%; height: auto; border-radius: 6px; margin: 15px 0; }

    .article-tags { margin-top: 30px; padding-top: 20px; border-top: 1px dashed var(--border); font-size: 14px; }
    .article-tags a { display: inline-block; background: var(--bg); border: 1px solid var(--border); padding: 4px 12px; border-radius: 4px; margin-right: 8px; color: var(--text-muted); }

    .article-nav { display: flex; justify-content: space-between; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 14px; }
    .article-nav a:hover { color: var(--primary); }

    .related-section { margin-top: 40px; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 25px; }
    .related-title { font-size: 18px; font-weight: 700; margin-bottom: 20px; padding-left: 10px; border-left: 4px solid var(--primary); }
    .related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .related-card { display: flex; gap: 15px; }
    .related-thumb { width: 100px; height: 70px; border-radius: 4px; overflow: hidden; background: #eee; flex-shrink: 0; }
    .related-thumb img { width: 100%; height: 100%; object-fit: cover; }
    .related-info h4 { font-size: 14px; font-weight: 600; line-height: 1.4; }
    .related-info h4 a:hover { color: var(--primary); }

    .sidebar { display: flex; flex-direction: column; gap: 30px; }
    .widget { background: var(--card-bg); border-radius: 8px; border: 1px solid var(--border); padding: 20px; box-shadow: var(--shadow); }
    .widget-title { font-size: 16px; font-weight: 700; margin-bottom: 15px; padding-left: 10px; border-left: 4px solid var(--primary); }
    
    .hot-list { display: flex; flex-direction: column; gap: 12px; }
    .hot-item { display: flex; flex-direction: column; gap: 4px; border-bottom: 1px dashed var(--border); padding-bottom: 8px; }
    .hot-item-title { font-size: 14px; font-weight: 500; }
    .hot-item-title:hover { color: var(--primary); }
    .hot-item-meta { font-size: 12px; color: var(--text-muted); }

    .footer { background: #0f172a; color: #94a3b8; margin-top: 50px; padding: 50px 0 20px; }
    .footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
    .footer-brand .logo span { color: #fff; }
    .footer-brand p { margin-top: 15px; font-size: 14px; line-height: 1.6; }
    .footer-nav h4 { color: #fff; font-size: 16px; margin-bottom: 15px; }
    .footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
    .footer-nav a:hover { color: #fff; }
    
    .friend-links { max-width: 1200px; margin: 30px auto 0; padding: 20px 20px 0; border-top: 1px solid #1e293b; }
    .friend-title { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
    .friend-content { display: flex; flex-wrap: wrap; gap: 15px; font-size: 13px; }
    .friend-content a { color: #94a3b8; }
    .friend-content a:hover { color: #fff; }

    .copyright { max-width: 1200px; margin: 30px auto 0; padding: 20px 20px 0; border-top: 1px solid #1e293b; text-align: center; font-size: 13px; }

    @media (max-width: 768px) {
      .nav-desktop { display: none; }
      .menu-btn { display: block; }
      .container { grid-template-columns: 1fr; }
      .related-grid { grid-template-columns: 1fr; }
      .footer-inner { grid-template-columns: 1fr; gap: 30px; }
    }