  html {
      color-scheme: dark;
  }
  
  body {
      font-family: var(--font);
      background-color: var(--bg-primary);
      color: var(--text-primary);
      line-height: 1.6;
      overflow-x: hidden;
      margin: 0;
      padding: 0;
  }
  
  .logo {
      font-size: 1.5rem;
      font-weight: var(--weight-bold);
      color: var(--primary);
      text-decoration: none;
      font-family: var(--font-alt);
  }
  
  .nav-links {
      display: flex;
      gap: 2rem;
      list-style: none;
      align-items: center;
  }
  
  .nav-links a {
      color: var(--text-secondary);
      text-decoration: none;
      font-weight: var(--weight-medium);
      transition: color var(--transition-base) ease;
  }
  
  .nav-links a:hover {
      color: var(--text-primary);
  }
  
  .nav-links a.active {
      color: var(--primary);
  }
  
  .nav-auth {
      display: flex;
      gap: 1rem;
      align-items: center;
  }
  /* Main Content */
  
  .main-content {
      margin-top: 80px;
      max-width: 1600px;
      margin-left: auto;
      margin-right: auto;
      padding: 2rem;
  }
  /* Breadcrumb */
  
  .breadcrumb {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin-bottom: 2rem;
      font-size: 0.9rem;
      color: var(--text-secondary);
  }
  
  .breadcrumb a {
      color: var(--primary);
      text-decoration: none;
      transition: color 0.3s ease;
  }
  
  .breadcrumb a:hover {
      color: var(--text-primary);
  }
  
  .breadcrumb-separator {
      color: var(--text-secondary);
  }
  /* Article Layout */
  
  .article-layout {
      display: grid;
      grid-template-columns: 1fr 320px;
      gap: 3rem;
  }
  /* Article Header */
  
  .article-header {
      margin-bottom: 2rem;
  }
  
  .article-category {
      display: inline-block;
      background: var(--primary);
      color: white;
      padding: 0.5rem 1rem;
      border-radius: var(--ins-radius-s);
      font-weight: var(--weight-semibold);
      font-size: 0.85rem;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 1rem;
  }
  
  .article-title {
      font-size: 3rem;
      font-weight: var(--weight-extrabold);
      color: var(--text-primary);
      margin-bottom: 1rem;
      font-family: var(--font-alt);
      line-height: 1.2;
  }
  
  .article-subtitle {
      font-size: 1.25rem;
      color: var(--text-secondary);
      margin-bottom: 2rem;
      line-height: 1.6;
  }
  
  .article-meta {
      display: flex;
      align-items: center;
      gap: 2rem;
      padding-bottom: 1.5rem;
      border-bottom: 1px solid var(--border);
      flex-wrap: wrap;
  }
  
  .author-section {
      display: flex;
      align-items: center;
      gap: 1rem;
  }
  
  .author-avatar {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      flex-shrink: 0;
  }
  
  .author-info {
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
  }
  
  .author-name {
      font-weight: var(--weight-semibold);
      color: var(--text-primary);
      font-size: 1rem;
  }
  
  .author-title {
      font-size: 0.85rem;
      color: var(--text-secondary);
  }
  
  .article-stats {
      display: flex;
      gap: 1.5rem;
      font-size: 0.9rem;
      color: var(--text-secondary);
  }
  
  .stat-item {
      display: flex;
      align-items: center;
      gap: 0.5rem;
  }
  
  .social-share {
      display: flex;
      gap: 0.75rem;
      margin-left: auto;
  }
  
  .share-btn {
      width: 40px;
      height: 40px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s ease;
      color: var(--text-secondary);
  }
  
  .share-btn:hover {
      background: var(--primary);
      color: white;
      border-color: var(--primary);
      transform: translateY(-2px);
  }
  /* Featured Image */
  
  .featured-image {
      width: 100%;
      aspect-ratio: 21/9;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      border-radius: var(--ins-radius-l);
      margin-bottom: 3rem;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 5rem;
  }
  /* Article Content */
  
  .article-content {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--ins-radius-l);
      padding: 3rem;
  }
  
  .article-body {
      color: var(--text-secondary);
      font-size: 1.1rem;
      line-height: 1.8;
  }
  
  .article-body h2 {
      color: var(--text-primary);
      font-size: 2rem;
      font-weight: var(--weight-bold);
      margin-top: 3rem;
      margin-bottom: 1.5rem;
      font-family: var(--font-alt);
  }
  
  .article-body h3 {
      color: var(--text-primary);
      font-size: 1.5rem;
      font-weight: var(--weight-semibold);
      margin-top: 2.5rem;
      margin-bottom: 1rem;
  }
  
  .article-body p {
      margin-bottom: 1.5rem;
  }
  
  .article-body ul,
  .article-body ol {
      margin-bottom: 1.5rem;
      padding-left: 2rem;
  }
  
  .article-body li {
      margin-bottom: 0.75rem;
  }
  
  .article-body a {
      color: var(--primary);
      text-decoration: none;
      border-bottom: 1px solid var(--primary);
      transition: all 0.3s ease;
  }
  
  .article-body a:hover {
      color: var(--text-primary);
  }
  
  .article-body blockquote {
      background: var(--bg-tertiary);
      border-left: 4px solid var(--primary);
      padding: 1.5rem 2rem;
      margin: 2rem 0;
      border-radius: var(--ins-radius-m);
      font-style: italic;
  }
  
  .article-body code {
      background: var(--bg-tertiary);
      padding: 0.2rem 0.5rem;
      border-radius: var(--ins-radius-s);
      font-family: monospace;
      font-size: 0.95em;
  }
  
  .article-body pre {
      background: var(--bg-tertiary);
      padding: 1.5rem;
      border-radius: var(--ins-radius-m);
      overflow-x: auto;
      margin: 1.5rem 0;
  }
  
  .article-body pre code {
      background: none;
      padding: 0;
  }
  
  .article-body img {
      max-width: 100%;
      border-radius: var(--ins-radius-m);
      margin: 2rem 0;
  }
  /* Info Box */
  
  .info-box {
      background: linear-gradient(135deg, rgba(8, 121, 145, 0.1) 0%, rgba(8, 121, 145, 0.05) 100%);
      border: 1px solid var(--primary);
      border-radius: var(--ins-radius-m);
      padding: 1.5rem;
      margin: 2rem 0;
  }
  
  .info-box-title {
      color: var(--primary);
      font-weight: var(--weight-bold);
      font-size: 1.1rem;
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
  }
  /* Warning Box */
  
  .warning-box {
      background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(251, 191, 36, 0.05) 100%);
      border: 1px solid var(--warning);
      border-radius: var(--ins-radius-m);
      padding: 1.5rem;
      margin: 2rem 0;
  }
  
  .warning-box-title {
      color: var(--warning);
      font-weight: var(--weight-bold);
      font-size: 1.1rem;
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
  }
  /* Tags */
  
  .article-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-top: 3rem;
      padding-top: 2rem;
      border-top: 1px solid var(--border);
  }
  
  .tag {
      padding: 0.5rem 1rem;
      background: var(--bg-tertiary);
      border: 1px solid var(--border);
      border-radius: var(--ins-radius-s);
      color: var(--text-primary);
      font-size: 0.9rem;
      transition: all 0.3s ease;
      cursor: pointer;
  }
  
  .tag:hover {
      background: var(--primary);
      color: white;
      border-color: var(--primary);
  }
  /* Sidebar */
  
  .sidebar {
      display: flex;
      flex-direction: column;
      gap: 2rem;
  }
  
  .sidebar-widget {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--ins-radius-l);
      padding: 1.5rem;
      position: sticky;
      top: 100px;
  }
  
  .widget-title {
      font-size: 1.25rem;
      font-weight: var(--weight-bold);
      color: var(--text-primary);
      margin-bottom: 1.25rem;
      font-family: var(--font-alt);
  }
  /* Table of Contents */
  
  .toc-list {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
  }
  
  .toc-item {
      color: var(--text-secondary);
      text-decoration: none;
      padding: 0.75rem;
      border-radius: var(--ins-radius-s);
      transition: all 0.3s ease;
      display: block;
  }
  
  .toc-item:hover {
      background: var(--bg-tertiary);
      color: var(--primary);
      padding-left: 1.25rem;
  }
  
  .toc-item.active {
      background: var(--bg-tertiary);
      color: var(--primary);
      border-left: 3px solid var(--primary);
  }
  /* Author Box */
  
  .author-box {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--ins-radius-l);
      padding: 2rem;
      margin: 3rem 0;
  }
  
  .author-box-header {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      margin-bottom: 1.5rem;
  }
  
  .author-box-avatar {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2.5rem;
      flex-shrink: 0;
  }
  
  .author-box-info {
      flex: 1;
  }
  
  .author-box-name {
      font-size: 1.5rem;
      font-weight: var(--weight-bold);
      color: var(--text-primary);
      margin-bottom: 0.25rem;
  }
  
  .author-box-role {
      color: var(--text-secondary);
      font-size: 0.95rem;
  }
  
  .author-box-bio {
      color: var(--text-secondary);
      line-height: 1.7;
      margin-bottom: 1.5rem;
  }
  
  .author-box-social {
      display: flex;
      gap: 1rem;
  }
  
  .social-link {
      padding: 0.5rem 1rem;
      background: var(--bg-tertiary);
      border: 1px solid var(--border);
      border-radius: var(--ins-radius-s);
      color: var(--text-primary);
      text-decoration: none;
      transition: all 0.3s ease;
      font-size: 0.9rem;
  }
  
  .social-link:hover {
      background: var(--primary);
      color: white;
      border-color: var(--primary);
  }
  /* Related Posts */
  
  .related-posts {
      margin: 4rem 0;
  }
  
  .section-title {
      font-size: 2rem;
      font-weight: var(--weight-bold);
      color: var(--text-primary);
      margin-bottom: 2rem;
      font-family: var(--font-alt);
  }
  
  .related-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
  }
  
  .related-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--ins-radius-l);
      overflow: hidden;
      transition: all 0.3s ease;
      cursor: pointer;
  }
  
  .related-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-lg);
      border-color: var(--primary);
  }
  
  .related-image {
      width: 100%;
      aspect-ratio: 16/10;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 3rem;
  }
  
  .related-content {
      padding: 1.5rem;
  }
  
  .related-category {
      color: var(--primary);
      font-size: 0.8rem;
      font-weight: var(--weight-semibold);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 0.5rem;
  }
  
  .related-title {
      font-size: 1.1rem;
      font-weight: var(--weight-semibold);
      color: var(--text-primary);
      margin-bottom: 0.75rem;
      line-height: 1.4;
  }
  
  .related-meta {
      font-size: 0.85rem;
      color: var(--text-secondary);
  }
  /* Comments Section */
  
  .comments-section {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--ins-radius-l);
      padding: 3rem;
      margin-top: 4rem;
  }
  
  .comments-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 2rem;
      padding-bottom: 1.5rem;
      border-bottom: 1px solid var(--border);
  }
  
  .comments-count {
      font-size: 1.5rem;
      font-weight: var(--weight-bold);
      color: var(--text-primary);
  }
  
  .comment-sort {
      display: flex;
      gap: 0.5rem;
      align-items: center;
  }
  
  .sort-select {
      padding: 0.5rem 1rem;
      background: var(--bg-tertiary);
      border: 1px solid var(--border);
      border-radius: var(--ins-radius-s);
      color: var(--text-primary);
      cursor: pointer;
      font-size: 0.9rem;
  }
  /* Comment Form */
  
  .comment-form {
      margin-bottom: 3rem;
  }
  
  .form-title {
      font-size: 1.25rem;
      font-weight: var(--weight-semibold);
      color: var(--text-primary);
      margin-bottom: 1rem;
  }
  
  .comment-textarea {
      width: 100%;
      min-height: 120px;
      padding: 1rem;
      background: var(--bg-tertiary);
      border: 1px solid var(--border);
      border-radius: var(--ins-radius-m);
      color: var(--text-primary);
      font-family: var(--font);
      resize: vertical;
      font-size: 1rem;
      line-height: 1.6;
      transition: all 0.3s ease;
  }
  
  .comment-textarea:focus {
      outline: none;
      border-color: var(--primary);
      background: var(--surface);
  }
  
  .form-actions {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 1rem;
  }
  
  .btn-submit {
      padding: 0.75rem 2rem;
      background: var(--primary);
      color: white;
      border: none;
      border-radius: var(--ins-radius-m);
      font-weight: var(--weight-semibold);
      cursor: pointer;
      transition: all 0.3s ease;
  }
  
  .btn-submit:hover {
      background: var(--primary-dark);
      transform: translateY(-2px);
  }
  /* Comments List */
  
  .comments-list {
      display: flex;
      flex-direction: column;
      gap: 2rem;
  }
  
  .comment {
      display: flex;
      gap: 1rem;
      padding: 1.5rem;
      background: var(--bg-tertiary);
      border-radius: var(--ins-radius-m);
      border: 1px solid transparent;
      transition: all 0.3s ease;
  }
  
  .comment:hover {
      border-color: var(--border);
      background: var(--bg-secondary);
  }
  
  .comment-avatar {
      width: 45px;
      height: 45px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.25rem;
      flex-shrink: 0;
  }
  
  .comment-content {
      flex: 1;
  }
  
  .comment-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 0.75rem;
  }
  
  .comment-author {
      font-weight: var(--weight-semibold);
      color: var(--text-primary);
      font-size: 1rem;
  }
  
  .comment-date {
      font-size: 0.85rem;
      color: var(--text-secondary);
  }
  
  .comment-text {
      color: var(--text-secondary);
      line-height: 1.7;
      margin-bottom: 1rem;
  }
  
  .comment-actions {
      display: flex;
      gap: 1.5rem;
  }
  
  .comment-action {
      background: none;
      border: none;
      color: var(--text-secondary);
      cursor: pointer;
      font-size: 0.9rem;
      padding: 0;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      transition: color 0.3s ease;
  }
  
  .comment-action:hover {
      color: var(--primary);
  }
  
  .comment-reply {
      margin-left: 3rem;
      margin-top: 1rem;
  }
  /* Footer */
  
  footer {
      background: var(--surface);
      border-top: 1px solid var(--border);
      padding: 2rem 0;
      text-align: center;
      color: var(--text-secondary);
      font-size: 0.9rem;
      margin-top: 4rem;
  }
  /* Responsive */
  
  @media (max-width: 1200px) {
      .article-layout {
          grid-template-columns: 1fr;
      }
      .sidebar {
          display: grid;
          grid-template-columns: repeat(2, 1fr);
          gap: 1.5rem;
      }
      .sidebar-widget {
          position: relative;
          top: 0;
      }
      .related-grid {
          grid-template-columns: repeat(2, 1fr);
      }
  }
  
  @media (max-width: 768px) {
      .nav-links {
          display: none;
      }
      .main-content {
          padding: 1rem;
      }
      .article-title {
          font-size: 2rem;
      }
      .article-subtitle {
          font-size: 1rem;
      }
      .article-content {
          padding: 1.5rem;
      }
      .article-body {
          font-size: 1rem;
      }
      .article-body h2 {
          font-size: 1.5rem;
      }
      .article-meta {
          flex-direction: column;
          gap: 1rem;
          align-items: flex-start;
      }
      .social-share {
          margin-left: 0;
      }
      .sidebar {
          grid-template-columns: 1fr;
      }
      .related-grid {
          grid-template-columns: 1fr;
      }
      .comment-reply {
          margin-left: 1rem;
      }
      .comments-section {
          padding: 1.5rem;
      }
  }