﻿:root {
      --primary-color: rgb(8, 145, 178);
      --primary-hover: rgb(6, 116, 143);
      --primary-light: rgba(8, 145, 178, 0.1);
      --bg-dark: #0b132b;
      --bg-darker: #050a18;
      --text-light: #f8fafc;
      --text-muted: #94a3b8;
      --text-dark: #1e293b;
      --border-color: rgba(255, 255, 255, 0.1);
      --card-bg-dark: rgba(28, 37, 65, 0.8);
      --glacier-blue: #e0f2fe;
      --silver-white: #f1f5f9;
      --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
      --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
      --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    }
    * { margin: 0; padding: 0; box-sizing: border-box; }
    body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background-color: #f8fafc; color: var(--text-dark); line-height: 1.6; }
    a { color: inherit; text-decoration: none; transition: all 0.3s ease; }
    img { max-width: 100%; height: auto; }
    .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

    header { background-color: var(--bg-darker); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 100; backdrop-filter: blur(8px); }
    .header-container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
    .logo { display: inline-flex; align-items: center; gap: 12px; }
    .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; color: var(--text-light); white-space: nowrap; }
    .nav-menu { display: flex; align-items: center; gap: 32px; list-style: none; }
    .nav-menu a { color: var(--text-muted); font-size: 15px; font-weight: 500; }
    .nav-menu a:hover { color: var(--text-light); }
    .nav-right-btn { background-color: var(--primary-color); color: var(--text-light); padding: 10px 20px; border-radius: 6px; font-size: 14px; font-weight: 600; }
    .nav-right-btn:hover { background-color: var(--primary-hover); }
    .menu-toggle { display: none; background: none; border: none; color: var(--text-light); font-size: 24px; cursor: pointer; }

    .mobile-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: opacity 0.3s ease; }
    .mobile-drawer { position: fixed; top: 0; left: -280px; width: 280px; height: 100%; background-color: var(--bg-darker); z-index: 1001; padding: 24px; display: flex; flex-direction: column; gap: 32px; transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 4px 0 25px rgba(0, 0, 0, 0.5); overflow-y: auto; }
    .mobile-drawer.active { left: 0; }
    .mobile-drawer-overlay.active { display: block; opacity: 1; }
    .drawer-header { display: flex; align-items: center; justify-content: space-between; }
    .drawer-close { background: none; border: none; color: var(--text-light); font-size: 28px; cursor: pointer; }
    .drawer-nav { display: flex; flex-direction: column; gap: 20px; }
    .drawer-nav a { color: var(--text-muted); font-size: 16px; font-weight: 500; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
    .drawer-nav a:hover { color: var(--text-light); }

    .main-layout { display: grid; grid-template-columns: 2.5fr 1fr; gap: 40px; padding: 60px 0; }
    
    
    .article-wrap { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 40px; box-shadow: var(--shadow-sm); }
    .breadcrumbs { font-size: 14px; color: #64748b; margin-bottom: 24px; }
    .breadcrumbs a:hover { color: var(--primary-color); }
    
    .article-header { border-bottom: 1px solid #e2e8f0; padding-bottom: 24px; margin-bottom: 30px; }
    .article-header h1 { font-size: 32px; font-weight: 800; color: var(--text-dark); line-height: 1.3; margin-bottom: 16px; }
    .article-meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: #64748b; }
    .article-meta span { display: inline-flex; align-items: center; gap: 6px; }

    .article-content { font-size: 16px; color: #334155; line-height: 1.8; }
    .article-content p { margin-bottom: 24px; }
    .article-content img { border-radius: 8px; margin: 20px 0; }
    
    .article-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-top: 24px; border-top: 1px solid #e2e8f0; }
    .article-tags a { font-size: 13px; color: var(--primary-color); background: var(--primary-light); padding: 6px 12px; border-radius: 4px; }

    
    .prev-next-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 24px; border-top: 1px solid #e2e8f0; font-size: 14px; }
    .nav-box { width: 50%; }
    .nav-box.next { text-align: right; }
    .nav-label { font-size: 12px; color: #64748b; text-transform: uppercase; margin-bottom: 5px; }
    .nav-title { font-weight: 600; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .nav-title:hover { color: var(--primary-color); }

    
    .related-articles { margin-top: 60px; }
    .related-title { font-size: 20px; font-weight: 800; margin-bottom: 24px; }
    .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .related-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); }
    .related-img { height: 130px; background: #e2e8f0; overflow: hidden; }
    .related-img img { width: 100%; height: 100%; object-fit: cover; }
    .related-content { padding: 15px; }
    .related-content h5 { font-size: 14px; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

    
    .sidebar { display: flex; flex-direction: column; gap: 40px; }
    .widget { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 24px; box-shadow: var(--shadow-sm); }
    .widget-title { font-size: 16px; font-weight: 700; border-left: 4px solid var(--primary-color); padding-left: 12px; margin-bottom: 20px; color: var(--text-dark); }
    .hot-posts-list { display: flex; flex-direction: column; gap: 15px; }
    .hot-post-item { display: flex; gap: 12px; }
    .hot-post-img { width: 70px; height: 70px; border-radius: 6px; overflow: hidden; background-color: #e2e8f0; flex-shrink: 0; }
    .hot-post-img img { width: 100%; height: 100%; object-fit: cover; }
    .hot-post-info { display: flex; flex-direction: column; justify-content: center; }
    .hot-post-info h5 { font-size: 13px; font-weight: 600; line-height: 1.4; margin-bottom: 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .hot-post-info span { font-size: 11px; color: #64748b; }

    footer { background-color: var(--bg-darker); color: var(--text-muted); padding: 80px 0 30px; border-top: 1px solid var(--border-color); }
    .footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; margin-bottom: 60px; }
    .footer-brand .logo { margin-bottom: 20px; }
    .footer-brand .logo span { color: var(--text-light); }
    .footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
    .footer-group h4 { font-size: 16px; font-weight: 600; color: var(--text-light); margin-bottom: 24px; }
    .footer-group ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
    .footer-group a { font-size: 14px; }
    .footer-group a:hover { color: var(--text-light); }
    .footer-bottom { border-top: 1px solid var(--border-color); padding-top: 30px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
    .footer-bottom-links { display: flex; gap: 20px; }
    .footer-bottom-links a:hover { color: var(--text-light); }

    @media (max-width: 1024px) {
      .main-layout { grid-template-columns: 1fr; }
    }
    @media (max-width: 768px) {
      .nav-menu, .nav-right-btn { display: none; }
      .menu-toggle { display: block; }
      .article-wrap { padding: 20px; }
      .related-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; gap: 15px; }
    }