﻿:root {
      --primary: #1D7BFF;
      --primary-dark: #155EC2;
      --bg-dark: #0B132B;
      --bg-mid: #1C2541;
      --bg-light: #F4F7FC;
      --text-dark: #1C2541;
      --text-muted: #5C677D;
      --white: rgb(255,255,255);
      --border-color: rgba(29, 123, 255, 0.12);
      --radius: 12px;
      --shadow-sm: 0 4px 6px rgba(11, 19, 43, 0.05);
      --shadow-md: 0 10px 20px rgba(11, 19, 43, 0.08);
      --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      --max-width: 1200px;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      color: var(--text-dark);
      background-color: var(--bg-light);
      line-height: 1.6;
    }
    a { color: inherit; text-decoration: none; transition: var(--transition); }
    img { max-width: 100%; height: auto; }
    
    .container {
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    
    .header {
      background-color: rgba(11, 19, 43, 0.95);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border-color);
      position: sticky;
      top: 0;
      z-index: 100;
      color: var(--white);
      height: 70px;
      display: flex;
      align-items: center;
    }
    .header-nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
    }
    .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: 18px;
      font-weight: 800;
      line-height: 1;
      color: var(--white);
      white-space: nowrap;
    }
    .nav-menu {
      display: flex;
      gap: 32px;
      align-items: center;
    }
    .nav-menu a {
      font-size: 15px;
      font-weight: 500;
      color: rgba(255, 255, 255, 0.8);
    }
    .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: 6px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: var(--transition);
      border: none;
    }
    .btn-primary {
      background-color: var(--primary);
      color: var(--white);
    }
    .btn-primary:hover {
      background-color: var(--primary-dark);
    }
    .menu-btn {
      display: none;
      background: none;
      border: none;
      color: var(--white);
      font-size: 24px;
      cursor: pointer;
    }

    
    .mobile-drawer {
      position: fixed;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      z-index: 1000;
      transition: var(--transition);
      display: flex;
    }
    .mobile-drawer.active {
      left: 0;
    }
    .drawer-overlay {
      background-color: rgba(11, 19, 43, 0.8);
      flex-grow: 1;
    }
    .drawer-content {
      width: 300px;
      background-color: var(--bg-dark);
      height: 100%;
      display: flex;
      flex-direction: column;
      padding: 30px 24px;
      box-shadow: 5px 0 25px rgba(0,0,0,0.5);
    }
    .drawer-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 40px;
    }
    .drawer-close {
      background: none;
      border: none;
      color: var(--white);
      font-size: 28px;
      cursor: pointer;
    }
    .drawer-nav {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }
    .drawer-nav a {
      font-size: 18px;
      font-weight: 500;
      color: rgba(255, 255, 255, 0.8);
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      padding-bottom: 12px;
    }
    .drawer-nav a:hover {
      color: var(--primary);
    }

    
    .breadcrumb-section {
      background-color: var(--white);
      padding: 16px 0;
      border-bottom: 1px solid var(--border-color);
    }
    .breadcrumbs {
      font-size: 13px;
      color: var(--text-muted);
    }
    .breadcrumbs a { color: var(--primary); }
    .breadcrumbs span { margin: 0 8px; color: var(--text-muted); }

    
    .article-layout {
      padding: 60px 0;
      display: grid;
      grid-template-columns: 2.5fr 1fr;
      gap: 40px;
    }

    
    .post-container {
      background-color: var(--white);
      border: 1px solid var(--border-color);
      border-radius: var(--radius);
      padding: 40px;
      box-shadow: var(--shadow-sm);
    }
    .post-header {
      margin-bottom: 30px;
      padding-bottom: 24px;
      border-bottom: 1px solid #ECEFF5;
    }
    .post-header h1 { font-size: 30px; font-weight: 800; color: var(--bg-dark); line-height: 1.3; margin-bottom: 16px; }
    .post-meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; color: var(--text-muted); }
    .post-meta span { display: inline-flex; align-items: center; gap: 6px; }

    
    .post-content {
      font-size: 15px;
      line-height: 1.8;
      color: #2D3748;
    }
    .post-content p { margin-bottom: 24px; }
    .post-content h2, .post-content h3 { color: var(--bg-dark); font-weight: 700; margin-top: 40px; margin-bottom: 20px; }
    .post-content h2 { font-size: 22px; border-left: 4px solid var(--primary); padding-left: 12px; }
    .post-content h3 { font-size: 18px; }
    .post-content img { display: block; border-radius: 8px; margin: 30px auto; max-width: 100%; }
    .post-content ul, .post-content ol { margin-bottom: 24px; padding-left: 20px; }
    .post-content li { margin-bottom: 8px; }

    
    .post-tags-wrap {
      margin-top: 40px;
      padding-top: 24px;
      border-top: 1px solid #ECEFF5;
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }
    .post-tags-wrap a {
      background-color: var(--bg-light);
      color: var(--primary);
      padding: 6px 14px;
      border-radius: 4px;
      font-size: 13px;
      font-weight: 500;
    }
    .post-tags-wrap a:hover {
      background-color: var(--primary);
      color: var(--white);
    }

    
    .prev-next-links {
      margin-top: 40px;
      padding-top: 30px;
      border-top: 1px solid #ECEFF5;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }
    .pn-card {
      background-color: var(--bg-light);
      border: 1px solid var(--border-color);
      border-radius: 6px;
      padding: 16px;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .pn-card span { font-size: 12px; color: var(--text-muted); }
    .pn-card a { font-size: 14px; font-weight: 700; color: var(--bg-dark); }
    .pn-card a:hover { color: var(--primary); }

    
    .related-posts {
      margin-top: 60px;
    }
    .related-title { font-size: 20px; font-weight: 700; color: var(--bg-dark); margin-bottom: 24px; }
    .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .rel-card {
      background-color: var(--white);
      border: 1px solid var(--border-color);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
    }
    .rel-img-wrap { position: relative; padding-top: 56.25%; background-color:#E2E8F0; }
    .rel-img-wrap img { position:absolute; top:0; left:0; width:100%; height:100%; object-fit:cover; }
    .rel-info { padding: 16px; }
    .rel-info h4 { font-size: 14px; font-weight: 700; line-height: 1.4; color: var(--bg-dark); }

    
    .sidebar { display: flex; flex-direction: column; gap: 40px; }
    .widget {
      background-color: var(--white);
      border: 1px solid var(--border-color);
      border-radius: var(--radius);
      padding: 24px;
      box-shadow: var(--shadow-sm);
    }
    .widget-title {
      font-size: 16px;
      font-weight: 700;
      color: var(--bg-dark);
      margin-bottom: 20px;
      padding-bottom: 12px;
      border-bottom: 2px solid var(--primary);
    }
    .hot-link-list { display: flex; flex-direction: column; gap: 14px; }
    .hot-link-item { display: flex; gap: 10px; align-items: center; }
    .hot-link-item span { width: 20px; height: 20px; border-radius: 50%; background-color: var(--primary-glow); color: var(--primary); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .hot-link-item a { font-size: 13px; font-weight: 500; color: var(--text-dark); }
    .hot-link-item a:hover { color: var(--primary); }

    
    .footer {
      background-color: var(--bg-dark);
      color: rgba(255, 255, 255, 0.7);
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      padding: 80px 0 40px 0;
      font-size: 14px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr repeat(3, 1fr);
      gap: 40px;
      margin-bottom: 60px;
    }
    .footer-brand {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .footer-brand .logo span { color: var(--white); }
    .footer-col h4 {
      color: var(--white);
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 24px;
    }
    .footer-links {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .footer-links a:hover {
      color: var(--primary);
    }
    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      padding-top: 30px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 20px;
    }
    .footer-meta-links {
      display: flex;
      gap: 24px;
    }

    @media (max-width: 992px) {
      .article-layout { grid-template-columns: 1fr; }
      .related-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 768px) {
      .nav-menu { display: none; }
      .nav-actions { display: none; }
      .menu-btn { display: block; }
    }