﻿:root {
      --primary-color: rgb(116, 125, 140);
      --primary-dark: #2f3640;
      --primary-light: rgba(116, 125, 140, 0.1);
      --accent-color: #ff7f50;
      --text-dark: #2f3542;
      --text-light: #747d8c;
      --bg-light: #f5f6fa;
      --bg-white: #ffffff;
      --shadow: 0 10px 30px rgba(116, 125, 140, 0.12);
      --border: 1px solid rgba(116, 125, 140, 0.15);
      --radius: 12px;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, sans-serif;
      color: var(--text-dark);
      background-color: var(--bg-light);
      line-height: 1.8;
    }
    a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
    .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
    
    
    .site-header {
      background-color: var(--bg-white);
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
      position: sticky;
      top: 0;
      z-index: 100;
    }
    .header-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 80px;
    }
    .logo {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
    }
    .logo img {
      display: block;
      height: 45px;
      width: auto;
      max-width: 160px;
      object-fit: contain;
      flex-shrink: 0;
    }
    .logo span {
      display: inline-block;
      font-size: 22px;
      font-weight: 800;
      line-height: 1;
      color: var(--primary-dark);
      white-space: nowrap;
    }
    .desktop-nav { display: flex; gap: 24px; }
    .nav-item { font-weight: 500; color: var(--text-dark); padding: 8px 12px; }
    .nav-item:hover { color: var(--primary-color); }
    .header-actions { display: flex; align-items: center; gap: 16px; }
    .drawer-trigger {
      display: none;
      flex-direction: column;
      gap: 6px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 4px;
    }
    .drawer-trigger span {
      display: block;
      width: 25px;
      height: 3px;
      background-color: var(--primary-dark);
      border-radius: 3px;
    }

    
    .drawer-mask {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.5);
      z-index: 998;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
    }
    .drawer-mask.active { opacity: 1; visibility: visible; }
    .drawer-menu {
      position: fixed;
      top: 0;
      left: -280px;
      width: 280px;
      height: 100%;
      background-color: var(--bg-white);
      z-index: 999;
      box-shadow: 5px 0 15px rgba(0,0,0,0.1);
      transition: all 0.3s ease;
      padding: 24px;
      display: flex;
      flex-direction: column;
    }
    .drawer-menu.active { left: 0; }
    .drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
    .drawer-close { background: none; border: none; font-size: 28px; cursor: pointer; color: var(--text-light); }
    .drawer-desc { font-size: 14px; color: var(--text-light); margin-bottom: 24px; border-bottom: 1px solid var(--bg-light); padding-bottom: 12px; }
    .drawer-nav { display: flex; flex-direction: column; gap: 16px; margin-bottom: auto; }
    .drawer-item { font-size: 16px; font-weight: 600; color: var(--text-dark); padding: 10px 0; }
    .drawer-footer { padding-top: 20px; border-top: 1px solid var(--bg-light); }

    
    .article-wrap {
      padding: 48px 0;
      display: grid;
      grid-template-columns: 2.50fr 1fr;
      gap: 40px;
    }
    .article-body-box {
      background-color: var(--bg-white);
      border-radius: var(--radius);
      padding: 40px;
      box-shadow: var(--shadow);
      border: var(--border);
    }
    .meta-data {
      display: flex;
      gap: 20px;
      color: var(--text-light);
      font-size: 14px;
      border-bottom: 1px solid var(--bg-light);
      padding-bottom: 20px;
      margin-bottom: 30px;
    }
    .article-title-heading {
      font-size: 30px;
      font-weight: 800;
      color: var(--primary-dark);
      margin-bottom: 15px;
    }
    .article-content {
      font-size: 16px;
      color: #333333;
    }
    .article-content p {
      margin-bottom: 20px;
    }
    .tag-cloud-row {
      margin-top: 40px;
      padding-top: 20px;
      border-top: 1px solid var(--bg-light);
    }
    .tag-link-item {
      display: inline-block;
      padding: 6px 12px;
      background-color: var(--bg-light);
      color: var(--primary-color);
      border-radius: 6px;
      font-size: 13px;
      margin-right: 10px;
    }

    
    .prev-next-links {
      display: flex;
      justify-content: space-between;
      gap: 20px;
      margin-top: 40px;
      padding-top: 20px;
      border-top: 1px solid var(--bg-light);
    }
    .pn-card {
      width: 50%;
      padding: 16px;
      background-color: var(--bg-light);
      border-radius: 8px;
    }
    .pn-label {
      font-size: 12px;
      color: var(--text-light);
    }
    .pn-title {
      font-size: 14px;
      font-weight: 700;
      color: var(--primary-dark);
    }

    
    .related-articles {
      margin-top: 48px;
    }
    .related-articles h3 {
      font-size: 22px;
      font-weight: 700;
      margin-bottom: 24px;
      color: var(--primary-dark);
    }
    .related-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }
    .related-card {
      background-color: var(--bg-white);
      border-radius: 8px;
      overflow: hidden;
      border: var(--border);
    }
    .related-info {
      padding: 16px;
    }
    .related-info h4 {
      font-size: 15px;
      font-weight: 700;
      margin-bottom: 8px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    
    .sidebar-widget {
      background-color: var(--bg-white);
      border-radius: var(--radius);
      padding: 24px;
      box-shadow: var(--shadow);
      border: var(--border);
      margin-bottom: 30px;
    }
    .widget-title {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 20px;
      border-bottom: 2px solid var(--bg-light);
      padding-bottom: 10px;
      color: var(--primary-dark);
    }
    .hot-list {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .hot-item {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .hot-num {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background-color: var(--primary-light);
      color: var(--primary-color);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      font-weight: bold;
    }
    .hot-title {
      font-size: 14px;
      font-weight: 600;
      color: var(--text-dark);
    }

    
    .site-footer {
      background-color: var(--primary-dark);
      color: #fff;
      padding: 80px 0 30px 0;
      font-size: 15px;
    }
    .footer-container {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1.5fr;
      gap: 40px;
      margin-bottom: 60px;
    }
    .footer-brand .logo span { color: #fff; }
    .footer-desc { color: #cbd5e1; margin-top: 20px; font-size: 14px; }
    .site-footer h4 { font-size: 18px; font-weight: 700; margin-bottom: 24px; color: var(--accent-color); }
    .site-footer ul { list-style: none; }
    .site-footer ul li { margin-bottom: 12px; }
    .site-footer ul li a { color: #cbd5e1; }
    .site-footer ul li a:hover { color: #fff; }
    .footer-contact p { color: #cbd5e1; margin-bottom: 12px; }
    .footer-bottom {
      border-top: 1px solid #475569;
      padding-top: 30px;
      display: flex;
      justify-content: space-between;
      font-size: 14px;
      color: #94a3b8;
    }

    @media (max-width: 992px) {
      .article-wrap { grid-template-columns: 1fr; }
      .related-grid { grid-template-columns: 1fr; }
      .footer-container { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
      .desktop-nav, .header-actions .btn { display: none; }
      .drawer-trigger { display: flex; }
      .footer-container { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
    }