﻿:root {
      --primary: #1D7BFF;
      --primary-hover: #0056b3;
      --bg-deep: #060a13;
      --bg-dark: #0a0f1d;
      --bg-card: #111827;
      --bg-light: #f8fafc;
      --text-dark: #0f172a;
      --text-muted: #64748b;
      --text-light: #f8fafc;
      --silver-white: #e2e8f0;
      --card-border: rgba(255, 255, 255, 0.08);
      --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    * { 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-light); color: var(--text-dark); line-height: 1.8; }
    .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
    
    
    .logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
    .logo img { display: block; height: 36px; width: auto; max-width: 160px; object-fit: contain; flex-shrink: 0; }
    .logo span { display: inline-block; font-size: 18px; font-weight: 800; line-height: 1; color: var(--text-light); white-space: nowrap; }
    .header-light .logo span { color: var(--text-dark); }

    
    header { background: var(--bg-deep); border-bottom: 1px solid rgba(255,255,255,0.05); position: sticky; top: 0; z-index: 100; transition: var(--transition); }
    header.header-light { background: rgba(255, 255, 255, 0.95); border-bottom: 1px solid #e2e8f0; backdrop-filter: blur(10px); }
    header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
    .nav-list { display: flex; align-items: center; gap: 32px; list-style: none; }
    .nav-list a { color: var(--silver-white); text-decoration: none; font-size: 15px; font-weight: 500; transition: var(--transition); }
    .nav-list a:hover { color: var(--primary); }
    .header-light .nav-list a { color: var(--text-dark); }
    .header-light .nav-list a:hover { color: var(--primary); }
    
    
    .menu-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; }
    .menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text-light); transition: var(--transition); }
    .header-light .menu-toggle span { background: var(--text-dark); }
    .drawer-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 1000; opacity: 0; transition: var(--transition); }
    .drawer-overlay.active { display: block; opacity: 1; }
    .mobile-drawer { position: fixed; top: 0; left: -280px; width: 280px; height: 100%; background: var(--bg-dark); border-right: 1px solid var(--card-border); z-index: 1001; transition: var(--transition); padding: 30px 24px; display: flex; flex-direction: column; gap: 40px; }
    .mobile-drawer.active { left: 0; }
    .drawer-header { display: flex; align-items: center; justify-content: space-between; }
    .drawer-close { background: none; border: none; font-size: 28px; color: var(--text-light); cursor: pointer; }
    .drawer-nav { display: flex; flex-direction: column; gap: 20px; }
    .drawer-nav a { color: var(--silver-white); text-decoration: none; font-size: 16px; font-weight: 500; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .drawer-nav a:hover { color: var(--primary); }

    
    .breadcrumb-wrapper { background: #f1f5f9; padding: 15px 0; border-bottom: 1px solid #e2e8f0; }
    .breadcrumbs { font-size: 14px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
    .breadcrumbs a { color: var(--primary); text-decoration: none; font-weight: 500; }

    
    .article-layout { display: grid; grid-template-columns: 2.5fr 1fr; gap: 40px; padding: 60px 0; }
    .article-container { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 40px; }
    
    
    .article-header { border-bottom: 1px solid #e2e8f0; padding-bottom: 24px; margin-bottom: 30px; }
    .article-meta-info { display: flex; align-items: center; gap: 20px; font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
    .article-meta-info span { display: inline-flex; align-items: center; gap: 6px; }
    .article-main-title { font-size: 32px; font-weight: 800; line-height: 1.3; color: var(--text-dark); margin-bottom: 16px; }
    
    
    .article-body-content { font-size: 16px; color: #334155; line-height: 1.8; }
    .article-body-content p { margin-bottom: 24px; }
    .article-body-content img { max-width: 100%; height: auto; border-radius: 10px; margin: 20px 0; display: block; box-shadow: 0 10px 25px rgba(0,0,0,0.05); }
    .article-body-content h2 { font-size: 24px; font-weight: 800; color: var(--text-dark); margin: 36px 0 16px; }
    .article-body-content h3 { font-size: 20px; font-weight: 700; color: var(--text-dark); margin: 28px 0 12px; }
    .article-body-content ul, .article-body-content ol { padding-left: 20px; margin-bottom: 24px; }
    .article-body-content li { margin-bottom: 8px; }

    
    .article-tags-wrap { display: flex; align-items: center; gap: 10px; border-top: 1px solid #e2e8f0; padding-top: 24px; margin-top: 40px; font-size: 14px; }
    .article-tags-links { display: flex; gap: 8px; flex-wrap: wrap; }
    .article-tags-links a { text-decoration: none; background: #f1f5f9; color: var(--primary); padding: 4px 12px; border-radius: 6px; font-weight: 500; transition: var(--transition); }
    .article-tags-links a:hover { background: var(--primary); color: #fff; }

    
    .post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; padding: 24px 0; margin: 40px 0; }
    .post-nav-link { display: flex; flex-direction: column; text-decoration: none; transition: var(--transition); }
    .post-nav-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; margin-bottom: 4px; }
    .post-nav-title { font-size: 14px; font-weight: 700; color: var(--text-dark); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
    .post-nav-link:hover .post-nav-title { color: var(--primary); }
    .post-nav-right { text-align: right; }

    
    .related-section { margin-top: 50px; }
    .related-title { font-size: 20px; font-weight: 800; margin-bottom: 24px; color: var(--text-dark); border-left: 4px solid var(--primary); padding-left: 12px; }
    .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .related-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: var(--transition); }
    .related-card:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.04); }
    .related-img { height: 120px; overflow: hidden; }
    .related-img img { width: 100%; height: 100%; object-fit: cover; }
    .related-content { padding: 16px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
    .related-card-title { font-size: 14px; font-weight: 700; color: var(--text-dark); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 10px; }
    .related-card-title a { text-decoration: none; color: inherit; }
    .related-card-title a:hover { color: var(--primary); }
    .related-card-date { font-size: 11px; color: var(--text-muted); }

    
    .sidebar { display: flex; flex-direction: column; gap: 30px; }
    .sidebar-widget { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 24px; }
    .widget-title { font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 18px; border-left: 4px solid var(--primary); padding-left: 10px; }
    .hot-list { display: flex; flex-direction: column; gap: 16px; list-style: none; }
    .hot-item { display: flex; gap: 12px; }
    .hot-item-img { width: 60px; height: 60px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
    .hot-item-img img { width: 100%; height: 100%; object-fit: cover; }
    .hot-item-text { display: flex; flex-direction: column; justify-content: space-between; }
    .hot-item-title { font-size: 13px; font-weight: 600; color: var(--text-dark); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .hot-item-title a { text-decoration: none; color: inherit; }
    .hot-item-title a:hover { color: var(--primary); }
    .hot-item-meta { font-size: 11px; color: var(--text-muted); }

    
    footer { background: var(--bg-deep); border-top: 1px solid rgba(255,255,255,0.05); padding: 80px 0 30px; color: var(--silver-white); }
    .footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; margin-bottom: 50px; }
    .footer-brand { display: flex; flex-direction: column; gap: 20px; }
    .footer-brand p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }
    .footer-title { font-size: 16px; font-weight: 700; color: var(--text-light); margin-bottom: 24px; position: relative; }
    .footer-title::after { content: ''; position: absolute; bottom: -8px; left: 0; width: 30px; height: 2px; background: var(--primary); }
    .footer-links { list-style: none; display: flex; flex-direction: column; gap: 14px; }
    .footer-links a { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: var(--transition); }
    .footer-links a:hover { color: var(--primary); padding-left: 4px; }
    .footer-contact { display: flex; flex-direction: column; gap: 14px; font-size: 14px; color: var(--text-muted); }
    .footer-contact span { display: inline-flex; align-items: center; gap: 8px; }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 30px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; font-size: 13px; color: var(--text-muted); }

    
    @media (max-width: 992px) {
      .article-layout { grid-template-columns: 1fr; }
      .sidebar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
      .related-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
      .nav-list { display: none; }
      .menu-toggle { display: flex; }
      .article-container { padding: 24px; }
      .article-main-title { font-size: 24px; }
      .sidebar { grid-template-columns: 1fr; }
      .related-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
    }