﻿:root {
      --primary-color: rgb(22,163,74);
      --primary-hover: rgb(21,128,61);
      --primary-light: rgba(22,163,74,0.1);
      --primary-glow: rgba(22,163,74,0.2);
      --dark-color: #0f172a;
      --light-bg: #f8fafc;
      --white: #ffffff;
      --gray-text: #64748b;
      --border-color: #e2e8f0;
      --max-width: 1200px;
    }
    * { margin:0; padding:0; box-sizing:border-box; }
    body { font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; background-color:var(--light-bg); color:var(--dark-color); line-height:1.6; }
    a { color:inherit; text-decoration:none; transition:all 0.3s ease; }
    ul { list-style:none; }
    img { max-width:100%; height:auto; }

    
    .site-header { background: var(--white); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 100; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
    .header-container { max-width: var(--max-width); margin: 0 auto; padding: 15px 20px; display: flex; align-items: center; justify-content: space-between; }
    .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(--primary-color); white-space: nowrap; letter-spacing: 0.5px; }
    .desktop-nav { display: flex; gap: 24px; align-items: center; }
    .desktop-nav a { font-size: 15px; font-weight: 600; color: var(--dark-color); transition: color 0.3s; }
    .desktop-nav a:hover, .desktop-nav a.active { color: var(--primary-color); }
    .header-actions { display: flex; align-items: center; gap: 15px; }
    .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; font-size: 14px; font-weight: 600; border-radius: 8px; transition: all 0.3s; border: none; cursor: pointer; }
    .btn-primary { background: var(--primary-color); color: var(--white); box-shadow: 0 4px 10px var(--primary-glow); }
    .btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
    .menu-toggle { display: none; flex-direction: column; gap: 5px; background: transparent; border: none; cursor: pointer; padding: 5px; }
    .menu-toggle span { display: block; width: 25px; height: 2px; background: var(--dark-color); transition: 0.3s; }

    
    .drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 199; opacity: 0; visibility: hidden; transition: 0.3s; }
    .drawer-overlay.active { opacity: 1; visibility: visible; }
    .drawer-menu { position: fixed; top: 0; left: -280px; width: 280px; height: 100%; background: var(--white); z-index: 200; transition: 0.3s ease-out; display: flex; flex-direction: column; box-shadow: 4px 0 20px rgba(0,0,0,0.15); }
    .drawer-menu.active { left: 0; }
    .drawer-header { padding: 20px; border-bottom: 1px solid var(--border-color); display: flex; align-items: center; justify-content: space-between; }
    .drawer-close { background: transparent; border: none; font-size: 28px; cursor: pointer; color: var(--gray-text); }
    .drawer-body { padding: 20px; flex: 1; overflow-y: auto; display: flex; flex-direction: column; justify-content: space-between; }
    .drawer-nav { display: flex; flex-direction: column; gap: 15px; }
    .drawer-nav a { font-size: 16px; font-weight: 600; padding: 8px 0; border-bottom: 1px solid #f1f5f9; }
    .drawer-nav a:hover { color: var(--primary-color); }
    .drawer-footer { margin-top: auto; padding-top: 20px; text-align: center; border-top: 1px solid var(--border-color); }
    .drawer-footer p { font-size: 12px; color: var(--gray-text); margin-bottom: 10px; }
    .btn-block { width: 100%; }

    
    .article-layout { max-width: var(--max-width); margin: 40px auto; padding: 0 20px; display: grid; grid-template-columns: 2.5fr 1fr; gap: 30px; }
    .article-container { background: var(--white); border: 1px solid var(--border-color); border-radius: 16px; padding: 40px; }
    
    .article-header { border-bottom: 1px solid var(--border-color); padding-bottom: 25px; margin-bottom: 30px; }
    .article-meta-top { font-size: 14px; color: var(--gray-text); display: flex; gap: 15px; margin-bottom: 15px; flex-wrap: wrap; }
    .article-meta-top a { color: var(--primary-color); font-weight: 600; }
    .article-title-text { font-size: 32px; font-weight: 800; color: var(--dark-color); line-height: 1.3; margin-bottom: 20px; }
    .article-info-bar { display: flex; gap: 20px; font-size: 13px; color: var(--gray-text); flex-wrap: wrap; }
    .article-info-bar span { display: flex; align-items: center; gap: 6px; }

    
    .article-body { font-size: 16px; color: #334155; line-height: 1.8; margin-bottom: 40px; }
    .article-body p { margin-bottom: 20px; text-indent: 2em; }
    .article-body img { border-radius: 8px; margin: 20px auto; display: block; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }

    .article-tags-list { display: flex; gap: 10px; margin-top: 40px; border-top: 1px solid var(--border-color); padding-top: 25px; }
    .tag-bubble { background: var(--primary-light); color: var(--primary-color); padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 600; }
    .tag-bubble:hover { background: var(--primary-color); color: var(--white); }

    
    .sibling-nav { display: flex; justify-content: space-between; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); padding: 20px 0; margin-top: 30px; gap: 20px; }
    .sibling-link { flex: 1; font-size: 14px; }
    .sibling-link span { display: block; font-size: 12px; color: var(--gray-text); margin-bottom: 4px; }
    .sibling-link a { font-weight: 700; color: var(--dark-color); }
    .sibling-link a:hover { color: var(--primary-color); }
    .sibling-link.next { text-align: right; }

    
    .related-section { margin-top: 50px; }
    .related-title { font-size: 20px; font-weight: 800; margin-bottom: 20px; }
    .related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .related-item { background: var(--white); border: 1px solid var(--border-color); border-radius: 10px; padding: 15px; display: flex; gap: 12px; }
    .related-item img { width: 90px; height: 60px; border-radius: 6px; object-fit: cover; background: #e2e8f0; flex-shrink: 0; }
    .related-item 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: 30px; }
    .sidebar-widget { background: var(--white); border: 1px solid var(--border-color); border-radius: 12px; padding: 20px; }
    .widget-title { font-size: 16px; font-weight: 700; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid var(--primary-color); display: flex; justify-content: space-between; }
    .hot-list { display: flex; flex-direction: column; gap: 12px; }
    .hot-item { display: flex; gap: 10px; font-size: 14px; }
    .hot-index { width: 24px; height: 24px; background: #e2e8f0; color: var(--dark-color); font-weight: 700; border-radius: 4px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .hot-item:nth-child(1) .hot-index { background: var(--primary-color); color: var(--white); }
    .hot-item:nth-child(2) .hot-index { background: rgba(22,163,74,0.8); color: var(--white); }
    .hot-item:nth-child(3) .hot-index { background: rgba(22,163,74,0.5); color: var(--white); }
    .hot-item-title { line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

    
    .site-footer { background: #0f172a; color: #94a3b8; padding: 60px 0 0; border-top: 4px solid var(--primary-color); }
    .footer-container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px 40px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
    .footer-brand .logo span { color: var(--white); }
    .footer-brand p { margin-top: 20px; font-size: 14px; line-height: 1.8; color: #64748b; }
    .footer-links h4, .footer-meta h4 { color: var(--white); font-size: 16px; margin-bottom: 20px; font-weight: 700; position: relative; padding-bottom: 8px; }
    .footer-links h4::after, .footer-meta h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--primary-color); }
    .footer-links ul, .footer-meta ul { display: flex; flex-direction: column; gap: 12px; }
    .footer-links a, .footer-meta a { font-size: 14px; color: #94a3b8; }
    .footer-links a:hover, .footer-meta a:hover { color: var(--primary-color); transform: translateX(5px); }
    .footer-bottom { border-top: 1px solid #1e293b; padding: 20px 0; text-align: center; }
    .footer-bottom-container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; font-size: 13px; color: #64748b; line-height: 1.6; }

    @media (max-width: 992px) {
      .article-layout { grid-template-columns: 1fr; }
    }
    @media (max-width: 768px) {
      .desktop-nav, .header-actions .btn { display: none; }
      .menu-toggle { display: flex; }
      .footer-container { grid-template-columns: 1fr; gap: 30px; }
      .article-container { padding: 20px; }
      .article-title-text { font-size: 24px; }
      .related-grid { grid-template-columns: 1fr; }
    }