﻿:root {
      --primary: #1D7BFF;
      --primary-hover: #0056C6;
      --primary-light: #E6F0FA;
      --accent: #00B4D8;
      --dark-bg: #0A1128;
      --dark-card: #001A3D;
      --silver: #F4F7FC;
      --text-dark: #0F172A;
      --text-muted: #475569;
      --text-light: #94A3B8;
      --border-color: #E2E8F0;
      --white: rgb(255,255,255);
      --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
      --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1);
      --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.15);
      --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
      color: var(--text-dark);
      background-color: var(--white);
      line-height: 1.6;
    }
    a { color: inherit; text-decoration: none; transition: var(--transition); }
    img { max-width: 100%; height: auto; }
    .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

    
    .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-dark); white-space: nowrap; }

    
    .site-header { position: sticky; top: 0; z-index: 100; background-color: rgba(255, 255, 255, 0.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-color); }
    .header-container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
    .nav-menu { display: flex; align-items: center; gap: 32px; }
    .nav-menu a { font-size: 15px; font-weight: 600; color: var(--text-muted); }
    .nav-menu a:hover { color: var(--primary); }
    .nav-actions { display: flex; align-items: center; gap: 16px; }
    .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: var(--transition); border: 1px solid transparent; }
    .btn-primary { background-color: var(--primary); color: var(--white); }
    .btn-primary:hover { background-color: var(--primary-hover); box-shadow: 0 4px 12px rgba(29, 123, 255, 0.25); }
    .btn-outline { border-color: var(--border-color); color: var(--text-muted); }
    .btn-outline:hover { border-color: var(--primary); color: var(--primary); }
    .nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
    .nav-toggle span { display: block; width: 24px; height: 2px; background-color: var(--text-dark); margin: 5px 0; }

    
    .mobile-drawer { position: fixed; top: 0; left: -320px; width: 300px; height: 100%; background-color: var(--white); z-index: 200; box-shadow: var(--shadow-lg); transition: var(--transition); padding: 24px; display: flex; flex-direction: column; gap: 32px; }
    .mobile-drawer.active { left: 0; }
    .drawer-header { display: flex; align-items: center; justify-content: space-between; }
    .drawer-close { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-muted); }
    .mobile-nav { display: flex; flex-direction: column; gap: 20px; }
    .mobile-nav a { font-size: 16px; font-weight: 600; color: var(--text-muted); padding-bottom: 8px; border-bottom: 1px solid var(--silver); }
    .mobile-nav a:hover { color: var(--primary); }
    .drawer-backdrop { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(10, 17, 40, 0.4); z-index: 150; opacity: 0; visibility: hidden; transition: var(--transition); }
    .drawer-backdrop.active { opacity: 1; visibility: visible; }

    
    .breadcrumb-wrapper { background-color: var(--silver); padding: 12px 0; border-bottom: 1px solid var(--border-color); font-size: 14px; color: var(--text-muted); }
    .breadcrumb-nav a:hover { color: var(--primary); }

    
    .section-padding { padding: 60px 0; }
    .article-layout-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
    
    
    .article-wrap { background-color: var(--white); border: 1px solid var(--border-color); border-radius: 16px; padding: 40px; }
    .article-header h1 { font-size: 32px; font-weight: 800; line-height: 1.3; color: var(--text-dark); margin-bottom: 20px; }
    .article-info-meta { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; color: var(--text-muted); padding-bottom: 24px; border-bottom: 1px solid var(--border-color); margin-bottom: 32px; }
    .article-info-meta span { display: inline-flex; align-items: center; gap: 6px; }
    .article-body-content { font-size: 16px; line-height: 1.8; color: var(--text-muted); }
    .article-body-content p { margin-bottom: 24px; }
    .article-body-content h2, .article-body-content h3 { color: var(--text-dark); margin: 36px 0 16px 0; font-weight: 700; }
    .article-body-content h2 { font-size: 24px; }
    .article-body-content h3 { font-size: 20px; }
    .article-body-content img { display: block; max-width: 100%; border-radius: 12px; margin: 32px auto; }
    
    
    .prev-next-box { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-top: 1px solid var(--border-color); padding-top: 32px; margin-top: 40px; }
    .pn-link { background-color: var(--silver); padding: 16px; border-radius: 8px; font-size: 14px; }
    .pn-link span { display: block; font-size: 11px; color: var(--text-light); text-transform: uppercase; margin-bottom: 4px; }
    .pn-link h5 { font-size: 14px; font-weight: 700; color: var(--text-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

    
    .related-section { margin-top: 60px; }
    .related-title { font-size: 20px; font-weight: 800; margin-bottom: 24px; color: var(--text-dark); }
    .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .related-card { background-color: var(--white); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; transition: var(--transition); }
    .related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--primary); }
    .related-card img { height: 140px; width: 100%; object-fit: cover; }
    .related-info { padding: 16px; }
    .related-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }

    
    .sidebar-widget { border: 1px solid var(--border-color); border-radius: 16px; padding: 24px; margin-bottom: 32px; background-color: var(--white); }
    .widget-title { font-size: 18px; font-weight: 700; border-left: 4px solid var(--primary); padding-left: 12px; margin-bottom: 20px; }
    .hot-list { list-style: none; }
    .hot-item { display: flex; align-items: flex-start; gap: 12px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--silver); }
    .hot-item:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
    .hot-num { width: 24px; height: 24px; background-color: var(--silver); color: var(--text-muted); font-size: 12px; font-weight: bold; display: flex; align-items: center; justify-content: center; border-radius: 4px; flex-shrink: 0; }
    .hot-item:nth-child(-n+3) .hot-num { background-color: var(--primary-light); color: var(--primary); }
    .hot-content h4 { font-size: 14px; font-weight: 600; line-height: 1.4; margin-bottom: 4px; }
    .tag-cloud-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
    .tag-cloud-item { font-size: 12px; background-color: var(--silver); color: var(--text-muted); padding: 6px 12px; border-radius: 20px; }
    .tag-cloud-item:hover { background-color: var(--primary); color: var(--white); }

    
    .site-footer { background-color: var(--dark-bg); color: var(--text-light); padding: 80px 0 40px 0; border-top: 1px solid rgba(255, 255, 255, 0.05); }
    .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
    .footer-brand p { margin-top: 16px; font-size: 14px; line-height: 1.6; }
    .footer-title { color: var(--white); font-size: 16px; font-weight: 700; margin-bottom: 24px; }
    .footer-links { list-style: none; }
    .footer-links li { margin-bottom: 12px; }
    .footer-links a { font-size: 14px; }
    .footer-links a:hover { color: var(--white); }
    .footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 40px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; font-size: 13px; }

    @media (max-width: 992px) {
      .article-layout-grid { grid-template-columns: 1fr; }
      .related-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 768px) {
      .nav-menu, .nav-actions .btn:not(.nav-toggle-btn) { display: none; }
      .nav-toggle { display: block; }
      .article-wrap { padding: 20px; }
      .prev-next-box { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
    }