﻿: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); }

    
    .page-banner { background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); color: #fff; padding: 50px 20px; text-align: center; }
    .page-banner h1 { font-size: 32px; font-weight: 800; margin-bottom: 10px; }
    .page-banner p { color: #94a3b8; font-size: 15px; }

    
    .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); }

    
    .main-layout { max-width: 1200px; margin: 40px auto; padding: 0 20px; display: grid; grid-template-columns: 2.5fr 1fr; gap: 40px; }
    
    
    .articles-list { display: flex; flex-direction: column; gap: 30px; }
    .list-item { background: #fff; border: 1px solid var(--border-color); border-radius: 12px; display: flex; overflow: hidden; transition: all 0.3s; }
    .list-item:hover { transform: translateY(-3px); box-shadow: var(--card-shadow); }
    .list-item-img { width: 260px; height: 180px; background: #e5e7eb; overflow: hidden; flex-shrink: 0; }
    .list-item-img img { width: 100%; height: 100%; object-fit: cover; }
    .list-item-content { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; justify-content: space-between; }
    .list-item-title { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; line-height: 1.4; }
    .list-item-title a:hover { color: var(--primary); }
    .list-item-desc { font-size: 14px; color: var(--text-light); margin-bottom: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.6; }
    .list-item-meta { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: #9ca3af; border-top: 1px solid var(--border-color); padding-top: 12px; }

    
    .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; }
    .hot-list { list-style: none; display: flex; flex-direction: column; gap: 15px; }
    .hot-item { display: flex; gap: 12px; align-items: flex-start; }
    .hot-num { background: #e5e7eb; color: var(--text-dark); font-size: 12px; font-weight: 700; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; border-radius: 4px; flex-shrink: 0; }
    .hot-item:nth-child(1) .hot-num { background: var(--primary); color: #fff; }
    .hot-title { font-size: 14px; font-weight: 600; color: var(--text-dark); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .hot-title:hover { color: var(--primary); }

    
    .pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
    .page-link { border: 1px solid var(--border-color); padding: 8px 16px; border-radius: 6px; font-size: 14px; font-weight: 500; }
    .page-link.current { background: var(--primary); border-color: var(--primary); color: #fff; }
    .page-link.disabled { color: #9ca3af; pointer-events: none; background: #f3f4f6; }

    
    .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) {
      .main-layout { grid-template-columns: 1fr; }
      .list-item { flex-direction: column; }
      .list-item-img { width: 100%; height: 200px; }
      .footer-container { grid-template-columns: 1fr; gap: 30px; }
      .nav-desktop { display: none; }
      .menu-toggle { display: block; }
    }