﻿:root {
      --primary: rgb(244,63,94);
      --primary-hover: rgb(225, 29, 72);
      --glacier-blue: #1D7BFF;
      --silver-white: #e6edf3;
      --deep-sea-ink: #0B0F19;
      --text-dark: #1f2937;
      --text-light: #6b7280;
      --bg-light: #f9fafb;
      --border-color: #e5e7eb;
      --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: var(--text-dark); background: #fff; line-height: 1.6; }
    a { text-decoration: none; color: inherit; transition: all 0.3s; }

    
    .header { background: #fff; border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 1000; height: 70px; display: flex; align-items: center; }
    .header-container { max-width: 1200px; margin: 0 auto; width: 100%; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }
    
    .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; }

    .nav-desktop { display: flex; align-items: center; gap: 24px; }
    .nav-desktop a { font-size: 15px; font-weight: 500; color: #4b5563; padding: 6px 0; border-bottom: 2px solid transparent; }
    .nav-desktop a:hover { color: var(--primary); border-bottom-color: var(--primary); }

    .menu-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-dark); }

    
    .drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 2000; opacity: 0; visibility: hidden; transition: all 0.3s; }
    .drawer-overlay.active { opacity: 1; visibility: visible; }
    .nav-drawer { position: fixed; top: 0; left: -280px; width: 280px; height: 100%; background: #fff; z-index: 2100; transition: all 0.3s ease-in-out; padding: 30px 20px; display: flex; flex-direction: column; gap: 30px; }
    .nav-drawer.active { left: 0; }
    .drawer-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border-color); padding-bottom: 15px; }
    .drawer-close { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-dark); }
    .drawer-menu { display: flex; flex-direction: column; gap: 20px; }
    .drawer-menu a { font-size: 16px; font-weight: 600; color: #374151; }
    .drawer-menu a:hover { color: var(--primary); }

    
    .breadcrumbs { background: #f3f4f6; border-bottom: 1px solid var(--border-color); padding: 12px 0; font-size: 13px; color: var(--text-light); }
    .breadcrumbs-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
    .breadcrumbs a { color: var(--text-dark); }
    .breadcrumbs a:hover { color: var(--primary); }

    
    .article-layout { max-width: 1200px; margin: 40px auto; padding: 0 20px; display: grid; grid-template-columns: 2.5fr 1fr; gap: 40px; }
    
    .article-wrap { background: #fff; border: 1px solid var(--border-color); border-radius: 12px; padding: 40px; }
    .article-header { border-bottom: 1px solid var(--border-color); padding-bottom: 24px; margin-bottom: 30px; }
    .article-header-title { font-size: 28px; font-weight: 800; color: var(--text-dark); line-height: 1.3; margin-bottom: 15px; }
    
    .article-meta-info { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; color: var(--text-light); }
    .meta-item { display: flex; align-items: center; gap: 6px; }

    .article-body { font-size: 16px; color: #374151; line-height: 1.8; }
    .article-body p { margin-bottom: 20px; }
    .article-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 20px 0; }
    .article-body h2 { font-size: 22px; font-weight: 700; margin: 30px 0 15px 0; color: var(--text-dark); }
    .article-body blockquote { border-left: 4px solid var(--primary); padding-left: 20px; color: var(--text-light); font-style: italic; margin: 25px 0; }

    
    .article-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 50px; border-top: 1px solid var(--border-color); padding-top: 30px; }
    .nav-box { background: var(--bg-light); border: 1px solid var(--border-color); padding: 16px; border-radius: 8px; transition: all 0.3s; }
    .nav-box:hover { border-color: var(--primary); }
    .nav-box span { font-size: 12px; color: var(--text-light); display: block; margin-bottom: 4px; }
    .nav-box a { font-size: 14px; font-weight: 600; color: var(--text-dark); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

    
    .sidebar { display: flex; flex-direction: column; gap: 30px; }
    .widget { background: var(--bg-light); border: 1px solid var(--border-color); border-radius: 12px; padding: 24px; }
    .widget-title { font-size: 16px; font-weight: 700; color: var(--text-dark); border-left: 3px solid var(--primary); padding-left: 10px; margin-bottom: 20px; }
    
    .like-list { list-style: none; display: flex; flex-direction: column; gap: 15px; }
    .like-item a { display: flex; gap: 12px; text-decoration: none; }
    .like-img { width: 80px; height: 60px; background: #e5e7eb; border-radius: 4px; overflow: hidden; flex-shrink: 0; }
    .like-img img { width: 100%; height: 100%; object-fit: cover; }
    .like-info { display: flex; flex-direction: column; justify-content: space-between; }
    .like-title { font-size: 14px; font-weight: 600; color: var(--text-dark); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .like-title:hover { color: var(--primary); }
    .like-time { font-size: 11px; color: var(--text-light); }

    
    .footer { background: #111827; color: #9ca3af; padding: 60px 0 30px 0; font-size: 14px; border-top: 4px solid var(--primary); }
    .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; margin-bottom: 40px; }
    
    .footer-logo-col { display: flex; flex-direction: column; gap: 20px; }
    .footer-logo-col .logo span { color: #fff; }
    .footer-desc { line-height: 1.6; }
    
    .footer-title { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 20px; }
    .footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
    .footer-links a:hover { color: #fff; }
    
    .footer-bottom { max-width: 1200px; margin: 0 auto; padding: 30px 20px 0 20px; border-top: 1px solid #1f2937; display: flex; justify-content: space-between; align-items: center; }
    .footer-bottom-links { display: flex; gap: 20px; }

    
    @media (max-width: 992px) {
      .article-layout { grid-template-columns: 1fr; }
      .article-wrap { padding: 24px; }
      .article-navigation { grid-template-columns: 1fr; }
      .footer-container { grid-template-columns: 1fr; gap: 30px; }
      .nav-desktop { display: none; }
      .menu-toggle { display: block; }
    }