﻿:root {
      --primary-color: rgb(124, 58, 237);
      --primary-hover: rgb(109, 40, 217);
      --text-dark: #111827;
      --text-muted: #4b5563;
      --bg-light: #f9fafb;
      --border-color: #e5e7eb;
      --transition: all 0.3s ease;
      --max-width: 1200px;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      color: var(--text-dark);
      background-color: #fff;
      line-height: 1.6;
    }
    a { color: inherit; text-decoration: none; transition: var(--transition); }
    img { max-width: 100%; height: auto; }
    .container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

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

    
    header { background-color: #fff; border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 1000; }
    .header-container { display: flex; justify-content: space-between; align-items: center; height: 70px; }
    .nav-menu { display: flex; gap: 30px; align-items: center; }
    .nav-menu a { font-weight: 500; color: var(--text-muted); font-size: 15px; }
    .nav-menu a:hover { color: var(--primary-color); }
    .mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; }
    .mobile-menu-btn svg { width: 24px; height: 24px; fill: var(--text-dark); }

    
    .drawer-mask { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1001; opacity: 0; pointer-events: none; transition: var(--transition); }
    .drawer-mask.active { opacity: 1; pointer-events: auto; }
    .mobile-drawer { position: fixed; top: 0; left: -300px; width: 300px; height: 100%; background: #fff; z-index: 1002; box-shadow: 5px 0 25px rgba(0,0,0,0.15); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; padding: 20px; }
    .mobile-drawer.active { transform: translateX(300px); }
    .drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; border-bottom: 1px solid var(--border-color); padding-bottom: 15px; }
    .drawer-close { background: none; border: none; cursor: pointer; }
    .drawer-close svg { width: 20px; height: 20px; }
    .drawer-nav { display: flex; flex-direction: column; gap: 20px; overflow-y: auto; flex: 1; }
    .drawer-nav a { font-size: 16px; font-weight: 500; color: var(--text-dark); padding: 10px 0; border-bottom: 1px solid #f3f4f6; }

    
    .page-banner {
      background-color: #0b0f19;
      color: #fff;
      padding: 60px 0;
      text-align: center;
    }
    .breadcrumbs {
      font-size: 14px;
      color: rgba(255,255,255,0.7);
      margin-bottom: 15px;
    }
    .breadcrumbs a {
      color: rgba(255,255,255,0.9);
    }
    .breadcrumbs a:hover {
      color: var(--primary-color);
    }
    .page-title {
      font-size: 32px;
      font-weight: 800;
    }

    
    .list-layout {
      display: grid;
      grid-template-columns: 2.5fr 1fr;
      gap: 40px;
      padding: 60px 0;
    }

    .list-grid {
      display: flex;
      flex-direction: column;
      gap: 30px;
    }

    .article-card {
      display: flex;
      gap: 20px;
      background: #fff;
      border: 1px solid var(--border-color);
      border-radius: 12px;
      overflow: hidden;
      transition: var(--transition);
    }
    .article-card:hover {
      box-shadow: 0 10px 25px rgba(0,0,0,0.05);
      transform: translateY(-2px);
    }
    .article-img {
      width: 240px;
      height: 160px;
      object-fit: cover;
      flex-shrink: 0;
      background: #eee;
    }
    .article-body {
      padding: 20px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .article-meta {
      font-size: 12px;
      color: var(--text-muted);
      display: flex;
      gap: 15px;
      margin-bottom: 8px;
    }
    .article-card-title {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 8px;
      color: var(--text-dark);
    }
    .article-card-title:hover { color: var(--primary-color); }
    .article-summary {
      font-size: 14px;
      color: var(--text-muted);
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      margin-bottom: 15px;
    }
    .article-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .article-tag {
      font-size: 11px;
      background: rgba(124, 58, 237, 0.06);
      color: var(--primary-color);
      padding: 4px 10px;
      border-radius: 4px;
      font-weight: 600;
    }
    .read-more {
      font-size: 13px;
      font-weight: 600;
      color: var(--primary-color);
    }

    
    .sidebar {
      display: flex;
      flex-direction: column;
      gap: 30px;
    }
    .sidebar-widget {
      border: 1px solid var(--border-color);
      border-radius: 12px;
      padding: 25px;
      background: #fff;
    }
    .widget-title {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 20px;
      padding-bottom: 10px;
      border-bottom: 2px solid var(--primary-color);
    }

    
    .pagination {
      display: flex;
      justify-content: center;
      gap: 10px;
      margin-top: 40px;
    }
    .pagination a, .pagination span {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border-radius: 8px;
      border: 1px solid var(--border-color);
      font-size: 14px;
      font-weight: 600;
      transition: var(--transition);
    }
    .pagination a:hover, .pagination .is-current {
      background-color: var(--primary-color);
      color: #fff;
      border-color: var(--primary-color);
    }
    .pagination .is-disabled {
      opacity: 0.5;
      pointer-events: none;
    }

    
    footer { background-color: #0b0f19; color: #9ca3af; padding: 60px 0 30px; border-top: 1px solid rgba(255,255,255,0.1); }
    .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
    .footer-brand .logo span { color: #fff; }
    .footer-desc { margin-top: 15px; font-size: 14px; }
    .footer-title { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 20px; }
    .footer-links { list-style: none; }
    .footer-links li { margin-bottom: 12px; }
    .footer-links a { font-size: 14px; }
    .footer-links a:hover { color: var(--primary-color); }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }

    @media (max-width: 992px) {
      .list-layout { grid-template-columns: 1fr; }
    }
    @media (max-width: 768px) {
      .nav-menu { display: none; }
      .mobile-menu-btn { display: block; }
      .article-card { flex-direction: column; }
      .article-img { width: 100%; height: 180px; }
      .footer-grid { grid-template-columns: 1fr; }
    }