﻿:root {
      --primary: rgb(99, 102, 241);
      --primary-hover: rgb(79, 70, 229);
      --accent: #1D7BFF;
      --accent-glow: rgba(29, 123, 255, 0.15);
      --bg-dark: #0F172A;
      --bg-light: #F8FAFC;
      --text-main: #1E293B;
      --text-muted: #64748B;
      --border-color: #E2E8F0;
      --glacier-blue: #E0F2FE;
      --silver-white: #F1F5F9;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      color: var(--text-main);
      background-color: var(--bg-light);
    }
    a { color: inherit; text-decoration: none; transition: all 0.3s ease; }
    .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

    
    .logo { display: inline-flex; align-items: center; gap: 12px; }
    .logo img { display: block; height: 40px; width: auto; max-width: 160px; object-fit: contain; }
    .logo span { font-size: 20px; font-weight: 800; color: var(--text-main); white-space: nowrap; }

    
    .header { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); height: 70px; display: flex; align-items: center; }
    .header .container { display: flex; justify-content: space-between; align-items: center; }
    .nav-menu { display: flex; gap: 30px; align-items: center; }
    .nav-menu a { font-weight: 500; color: var(--text-main); padding: 8px 0; border-bottom: 2px solid transparent; }
    .nav-menu a:hover { color: var(--primary); border-bottom-color: var(--primary); }
    .nav-btn { background: var(--primary); color: #fff !important; padding: 10px 22px !important; border-radius: 6px; }

    .menu-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; }
    .menu-toggle span { display: block; width: 25px; height: 2px; background: var(--text-main); }

    
    .mobile-drawer { position: fixed; top: 0; left: -100%; width: 300px; height: 100vh; background: #fff; box-shadow: 4px 0 20px rgba(0,0,0,0.1); z-index: 1099; transition: 0.4s; padding: 30px 24px; display: flex; flex-direction: column; gap: 40px; }
    .mobile-drawer.active { left: 0; }
    .mobile-drawer .logo-area { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border-color); padding-bottom: 20px; }
    .close-btn { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-muted); }
    .mobile-nav-links { display: flex; flex-direction: column; gap: 20px; }
    .mobile-nav-links a { font-size: 16px; font-weight: 600; padding: 10px 0; border-bottom: 1px solid #f1f5f9; }
    .mobile-drawer-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.4); z-index: 1098; opacity: 0; visibility: hidden; transition: 0.3s; }
    .mobile-drawer-overlay.active { opacity: 1; visibility: visible; }

    
    .list-hero { background: radial-gradient(120% 120% at 50% 10%, var(--bg-dark) 40%, #1e293b 100%); color: #fff; padding: 60px 0; }
    .breadcrumbs { font-size: 14px; margin-bottom: 15px; color: #94A3B8; }
    .breadcrumbs a:hover { color: #fff; }
    .list-title { font-size: 32px; font-weight: 800; color: #FFF; }

    .main-grid { display: grid; grid-template-columns: 8fr 4fr; gap: 40px; padding: 60px 0; }

    
    .article-list { display: flex; flex-direction: column; gap: 30px; }
    .list-card { background: #fff; border: 1px solid var(--border-color); border-radius: 12px; display: flex; overflow: hidden; transition: 0.3s; }
    .list-card:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.05); }
    .list-card-img { width: 280px; height: 190px; background: #e2e8f0; overflow: hidden; flex-shrink: 0; }
    .list-card-img img { width: 100%; height: 100%; object-fit: cover; }
    .list-card-body { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; justify-content: space-between; }
    .list-card-meta { display: flex; gap: 15px; font-size: 12px; color: var(--text-muted); }
    .list-card-title { font-size: 20px; font-weight: 700; color: var(--text-main); margin: 10px 0; }
    .list-card-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
    .list-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 15px; }
    .list-card-tag { font-size: 11px; color: var(--accent); background: var(--glacier-blue); padding: 3px 8px; border-radius: 4px; font-weight: 500; }
    .read-more-btn { font-size: 13px; font-weight: 600; color: var(--primary); }

    
    .sidebar { display: flex; flex-direction: column; gap: 35px; }
    .widget { background: #fff; border: 1px solid var(--border-color); border-radius: 12px; padding: 25px; }
    .widget-title { font-size: 18px; font-weight: 700; color: var(--text-main); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--glacier-blue); }
    .hot-list { display: flex; flex-direction: column; gap: 15px; list-style: none; }
    .hot-item { display: flex; gap: 12px; align-items: center; }
    .hot-num { width: 24px; height: 24px; background: var(--silver-white); color: var(--text-muted); border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
    .hot-item:nth-child(-n+3) .hot-num { background: var(--accent); color: #fff; }
    .hot-title { font-size: 14px; font-weight: 600; color: var(--text-main); }

    
    .pagination-wrapper { margin-top: 50px; display: flex; justify-content: center; gap: 8px; }
    .page-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; border: 1px solid var(--border-color); background: #fff; border-radius: 6px; color: var(--text-main); font-weight: 500; transition: 0.3s; }
    .page-btn.current { background: var(--primary); color: #fff; border-color: var(--primary); }
    .page-btn:hover:not(.current) { background: var(--glacier-blue); color: var(--accent); border-color: var(--accent); }

    
    .footer { background: #0B0F19; color: #94A3B8; padding: 80px 0 30px; border-top: 1px solid #1E293B; margin-top: 60px; }
    .footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 50px; }
    .footer-col h4 { color: #F8FAFC; font-size: 16px; margin-bottom: 20px; font-weight: 700; }
    .footer-col ul { list-style: none; }
    .footer-col ul li { margin-bottom: 10px; }
    .footer-col ul li a:hover { color: #fff; }
    .footer-bottom { border-top: 1px solid #1E293B; padding-top: 30px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; font-size: 13px; }

    @media (max-width: 1024px) {
      .main-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 768px) {
      .header .nav-menu { display: none; }
      .menu-toggle { display: flex; }
      .list-card { flex-direction: column; }
      .list-card-img { width: 100%; height: 200px; }
    }