﻿:root {
      --primary: rgb(244, 63, 94);
      --primary-hover: rgb(225, 29, 72);
      --bg-dark: #0B0F19;
      --bg-light: #F9FAFB;
      --border-dark: rgba(255, 255, 255, 0.08);
      --border-light: rgba(0, 0, 0, 0.08);
      --text-light: #F3F4F6;
      --text-muted: #9CA3AF;
      --text-dark: #111827;
      --text-dark-muted: #4B5563;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: -apple-system, BlinkMacSystemFont, sans-serif; background: var(--bg-light); color: var(--text-dark); line-height: 1.6; }
    a { color: inherit; text-decoration: none; transition: 0.3s; }

    
    header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: rgba(11, 15, 25, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-dark); }
    .header-container { max-width: 1200px; margin: 0 auto; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; }
    .logo { display: inline-flex; align-items: center; gap: 12px; }
    .logo img { height: 36px; width: auto; max-width: 160px; object-fit: contain; }
    .logo span { font-size: 20px; font-weight: 800; color: var(--text-light); }
    .nav-menu { display: flex; align-items: center; gap: 28px; }
    .nav-menu a { color: var(--text-muted); font-size: 15px; }
    .nav-menu a:hover { color: var(--text-light); }
    .nav-actions { display: flex; align-items: center; gap: 16px; }
    .btn-header { padding: 8px 18px; border-radius: 8px; font-size: 14px; font-weight: 600; }
    .btn-header-outline { border: 1px solid var(--border-dark); color: var(--text-light); }
    .btn-header-primary { background: var(--primary); color: #fff; }
    .menu-toggle { display: none; background: none; border: none; color: var(--text-light); }

    
    .drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); z-index: 2000; opacity: 0; visibility: hidden; transition: 0.4s; }
    .drawer-overlay.active { opacity: 1; visibility: visible; }
    .drawer { position: fixed; top: 0; left: -280px; width: 280px; height: 100%; background: var(--bg-dark); z-index: 2001; display: flex; flex-direction: column; transition: 0.4s; }
    .drawer.active { left: 0; }
    .drawer-header { padding: 24px 20px; border-bottom: 1px solid var(--border-dark); display: flex; align-items: center; justify-content: space-between; }
    .drawer-close { background: none; border: none; color: var(--text-muted); }
    .drawer-body { flex: 1; overflow-y: auto; padding: 24px 20px; }
    .drawer-nav { display: flex; flex-direction: column; gap: 20px; }
    .drawer-nav a { color: var(--text-muted); font-size: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.03); padding-bottom: 6px; }
    .drawer-footer { padding: 20px; border-top: 1px solid var(--border-dark); display: flex; flex-direction: column; gap: 12px; }

    
    .breadcrumb-nav { background: #FFF; border-bottom: 1px solid var(--border-light); padding: 14px 20px; margin-top: 73px; }
    .breadcrumb-container { max-width: 1200px; margin: 0 auto; font-size: 14px; color: var(--text-dark-muted); }

    
    .article-container { max-width: 900px; margin: 40px auto; padding: 0 20px; }
    .article-header { border-bottom: 1px solid var(--border-light); padding-bottom: 24px; margin-bottom: 30px; }
    .article-title-main { font-size: 32px; font-weight: 800; color: var(--text-dark); line-height: 1.35; margin-bottom: 16px; }
    .article-meta-info { display: flex; align-items: center; gap: 20px; font-size: 13px; color: var(--text-dark-muted); flex-wrap: wrap; }
    .meta-item { display: inline-flex; align-items: center; gap: 6px; }

    
    .article-rich-text { font-size: 16px; color: #1F2937; line-height: 1.8; margin-bottom: 40px; word-wrap: break-word; }
    .article-rich-text p { margin-bottom: 24px; text-indent: 2em; }
    .article-rich-text h2 { font-size: 22px; font-weight: 700; margin: 36px 0 16px 0; border-left: 4px solid var(--primary); padding-left: 12px; }
    .article-rich-text h3 { font-size: 18px; font-weight: 700; margin: 24px 0 12px 0; }
    .article-rich-text img { max-width: 100%; height: auto; border-radius: 12px; display: block; margin: 30px auto; box-shadow: 0 8px 24px rgba(0,0,0,0.04); }

    
    .article-tags-block { border-top: 1px solid var(--border-light); padding-top: 20px; margin-bottom: 40px; font-size: 14px; }
    .article-tags-block a { display: inline-block; padding: 4px 12px; background: #E5E7EB; border-radius: 4px; font-size: 12px; margin-right: 8px; color: var(--text-dark-muted); }
    .article-tags-block a:hover { background: var(--primary); color: #FFF; }

    
    .prev-next-nav { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); padding: 24px 0; margin-bottom: 60px; }
    .nav-box { width: 50%; }
    .nav-label { font-size: 12px; color: var(--text-dark-muted); margin-bottom: 6px; }
    .nav-title { font-size: 15px; font-weight: 700; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .nav-title:hover { color: var(--primary); }

    
    .related-section { margin-top: 60px; }
    .related-title { font-size: 20px; font-weight: 700; margin-bottom: 24px; border-left: 4px solid var(--primary); padding-left: 10px; }
    .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .related-card { background: #FFF; border: 1px solid var(--border-light); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
    .related-card img { width: 100%; height: 140px; object-fit: cover; background: #E5E7EB; }
    .related-card-body { padding: 16px; flex-grow: 1; }
    .related-card-title { font-size: 15px; font-weight: 700; line-height: 1.4; }
    .related-card-title a:hover { color: var(--primary); }

    
    footer { background: #0B0F19; color: var(--text-muted); padding: 80px 20px 30px 20px; border-top: 1px solid var(--border-dark); font-size: 14px; }
    .footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
    .footer-brand p { line-height: 1.6; margin-bottom: 24px; }
    .footer-title { color: var(--text-light); font-size: 16px; font-weight: 700; margin-bottom: 24px; }
    .footer-links { list-style: none; }
    .footer-links li { margin-bottom: 12px; }
    .footer-links a:hover { color: var(--text-light); }
    .footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 30px; border-top: 1px solid var(--border-dark); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }

    @media (max-width: 768px) {
      .nav-menu, .nav-actions { display: none; }
      .menu-toggle { display: block; }
      .related-grid { grid-template-columns: 1fr; }
      .prev-next-nav { flex-direction: column; }
      .nav-box { width: 100%; }
      .footer-container { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; text-align: center; }
    }