﻿:root {
      --primary-color: #1D7BFF;
      --primary-hover: #0056cc;
      --bg-dark: #0B0F19;
      --bg-light: #F8FAFC;
      --text-main: #0F172A;
      --text-muted: #64748B;
      --text-white: #FFFFFF;
      --text-gray-light: #E2E8F0;
      --border-dark: rgba(255, 255, 255, 0.08);
      --border-light: #E2E8F0;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      color: var(--text-main);
      background-color: var(--bg-light);
      line-height: 1.6;
    }
    a { color: inherit; text-decoration: none; transition: all 0.3s ease; }

    
    .site-header {
      position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
      background: rgba(11, 15, 25, 0.85); backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-dark);
    }
    .header-container {
      max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 72px;
      display: flex; align-items: center; justify-content: space-between;
    }
    .logo { display: inline-flex; align-items: center; gap: 12px; }
    .logo img { display: block; height: 40px; width: auto; max-width: 160px; object-fit: contain; }
    .logo span { font-size: 18px; font-weight: 800; color: var(--text-white); }
    .nav-menu { display: flex; align-items: center; gap: 28px; }
    .nav-menu a { color: var(--text-gray-light); font-size: 15px; font-weight: 500; padding: 6px 0; position: relative;}
    .nav-menu a:hover, .nav-menu a.active { color: var(--primary-color); }
    .nav-menu a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--primary-color); transition: width 0.3s ease; }
    .nav-menu a:hover::after { width: 100%; }
    .nav-actions { display: flex; align-items: center; gap: 16px; }
    .btn-nav { background: var(--primary-color); color: var(--text-white); padding: 10px 20px; border-radius: 6px; font-size: 14px; font-weight: 600; border: none; cursor: pointer; }
    .btn-nav:hover { background: var(--primary-hover); }
    .menu-toggle { display: none; background: none; border: none; cursor: pointer; }
    .menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text-white); margin: 6px 0; }

    
    .drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px); z-index: 1999; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
    .drawer-overlay.active { opacity: 1; visibility: visible; }
    .drawer-menu { position: fixed; top: 0; left: -280px; width: 280px; height: 100%; background: var(--bg-dark); z-index: 2000; padding: 24px; display: flex; flex-direction: column; box-shadow: 4px 0 24px rgba(0,0,0,0.5); transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
    .drawer-menu.active { left: 0; }
    .drawer-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; padding-bottom: 16px; border-bottom: 1px solid var(--border-dark); }
    .drawer-close { background: none; border: none; color: var(--text-white); font-size: 24px; cursor: pointer; }
    .drawer-nav { display: flex; flex-direction: column; gap: 20px; }
    .drawer-nav a { color: var(--text-gray-light); font-size: 16px; font-weight: 500; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.03); }

    
    .breadcrumb-bar { background: #F1F5F9; padding: 100px 20px 20px 20px; }
    .breadcrumb-container { max-width: 1200px; margin: 0 auto; font-size: 14px; color: var(--text-muted); }
    .breadcrumb-container a { color: var(--primary-color); }

    
    .article-main-container { max-width: 1200px; margin: 40px auto; padding: 0 20px; display: grid; grid-template-columns: 8.5fr 3.5fr; gap: 40px; }
    
    .article-wrap { background: var(--text-white); border: 1px solid var(--border-light); border-radius: 12px; padding: 40px; }
    .article-detail-header { border-bottom: 1px solid var(--border-light); padding-bottom: 24px; margin-bottom: 30px; }
    .article-detail-title { font-size: 30px; font-weight: 800; color: var(--text-main); line-height: 1.35; margin-bottom: 16px; }
    
    .article-detail-meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: var(--text-muted); }
    .meta-item { display: flex; align-items: center; gap: 6px; }
    
    
    .article-body { font-size: 16px; color: var(--text-main); line-height: 1.8; margin-bottom: 40px; }
    .article-body p { margin-bottom: 20px; }
    .article-body h2 { font-size: 22px; font-weight: 700; margin: 30px 0 16px 0; }
    .article-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 20px 0; }

    
    .prev-next-box { border-top: 1px solid var(--border-light); padding-top: 30px; margin-top: 40px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
    .prev-next-item { max-width: 48%; }
    .pn-lbl { font-size: 12px; color: var(--text-muted); text-transform: uppercase; margin-bottom: 4px; }
    .pn-link { font-size: 15px; font-weight: 600; color: var(--primary-color); }

    
    .related-section { margin-top: 50px; }
    .related-title { font-size: 20px; font-weight: 700; margin-bottom: 24px; }
    .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .related-card { background: var(--text-white); border: 1px solid var(--border-light); border-radius: 8px; overflow: hidden; }
    .related-card-img { height: 120px; background: #e2e8f0; overflow: hidden; }
    .related-card-img img { width: 100%; height: 100%; object-fit: cover; }
    .related-card-body { padding: 16px; }
    .related-card-title { font-size: 14px; font-weight: 700; line-height: 1.4; }

    
    .sidebar-wrapper { display: flex; flex-direction: column; gap: 30px; }
    .sidebar-widget { background: var(--text-white); border: 1px solid var(--border-light); border-radius: 12px; padding: 24px; }
    .widget-title { font-size: 18px; font-weight: 700; color: var(--text-main); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--primary-color); }
    .hot-article-item { display: flex; gap: 12px; margin-bottom: 16px; align-items: center; }
    .hot-article-num { font-size: 16px; font-weight: 800; color: var(--primary-color); width: 24px; }
    .hot-article-title { font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--text-main); }

    
    .site-footer { background: var(--bg-dark); color: var(--text-gray-light); border-top: 1px solid var(--border-dark); padding: 70px 0 30px 0; }
    .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; }
    .footer-brand { display: flex; flex-direction: column; gap: 20px; }
    .footer-brand-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
    .footer-group-title { font-size: 16px; font-weight: 600; color: var(--text-white); margin-bottom: 20px; }
    .footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
    .footer-contact-info { font-size: 14px; color: var(--text-gray-light); display: flex; flex-direction: column; gap: 12px; }
    .footer-bottom { max-width: 1200px; margin: 40px auto 0 auto; padding: 30px 20px 0 20px; border-top: 1px solid var(--border-dark); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; font-size: 13px; color: var(--text-muted); }

    @media (max-width: 991px) {
      .article-main-container { grid-template-columns: 1fr; }
      .related-grid { grid-template-columns: repeat(2, 1fr); }
      .footer-container { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
      .nav-menu, .nav-actions { display: none; }
      .menu-toggle { display: block; }
      .article-wrap { padding: 24px; }
      .article-detail-title { font-size: 24px; }
      .related-grid { grid-template-columns: 1fr; }
      .footer-container { grid-template-columns: 1fr; }
    }