﻿:root {
      --primary: rgb(255,59,48);
      --primary-hover: rgb(230,45,35);
      --accent-blue: #1D7BFF;
      --accent-dark: #0B0F19;
      --accent-glacier: #F1F5F9;
      --text-main: #1E293B;
      --text-muted: #64748B;
      --text-light: #F8FAFC;
      --bg-white: #FFFFFF;
      --bg-light: #F8FAFC;
      --border-color: #E2E8F0;
      --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
      --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
      --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
      --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: var(--font-family); color: var(--text-main); background: var(--bg-white); line-height: 1.6; }
    a { color: inherit; text-decoration: none; transition: all 0.3s ease; }
    img { max-width: 100%; height: auto; display: block; }
    ul { list-style: none; }

    .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
    .section-padding { padding: 60px 0; }

    
    .header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); }
    .header-nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
    .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 { display: inline-block; font-size: 18px; font-weight: 800; color: var(--text-main); }
    
    .nav-menu { display: flex; align-items: center; gap: 24px; }
    .nav-menu a { font-size: 15px; font-weight: 500; color: var(--text-muted); }
    .nav-menu a:hover, .nav-menu a.active { color: var(--primary); }
    
    .header-actions { display: flex; align-items: center; gap: 16px; }
    .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.3s; border: none; }
    .btn-primary { background: var(--primary); color: var(--text-light); }
    .btn-primary:hover { background: var(--primary-hover); }
    .btn-outline { background: transparent; border: 1.5px solid var(--border-color); color: var(--text-main); }
    .btn-outline:hover { border-color: var(--primary); color: var(--primary); }

    .menu-toggle { display: none; background: none; border: none; cursor: pointer; }
    .menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text-main); margin: 5px 0; }

    
    .drawer-backdrop { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.5); z-index: 199; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
    .drawer-backdrop.active { opacity: 1; pointer-events: auto; }
    .drawer { position: fixed; top: 0; left: -280px; width: 280px; height: 100vh; background: var(--bg-white); z-index: 200; box-shadow: var(--shadow-lg); transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; padding: 24px; }
    .drawer.active { left: 0; }
    .drawer-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
    .drawer-close { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-muted); }
    .drawer-menu { display: flex; flex-direction: column; gap: 16px; overflow-y: auto; flex-grow: 1; }
    .drawer-menu a { font-size: 16px; font-weight: 600; color: var(--text-main); padding: 8px 0; border-bottom: 1px solid var(--accent-glacier); }

    
    .breadcrumbs-wrapper { background: var(--bg-light); border-bottom: 1px solid var(--border-color); padding: 14px 0; }
    .breadcrumbs { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-muted); }
    .breadcrumbs a:hover { color: var(--primary); }
    .breadcrumbs .sep { color: #CBD5E1; }

    
    .list-layout { display: grid; grid-template-columns: 8fr 4fr; gap: 40px; }
    .category-intro { margin-bottom: 40px; padding: 30px; background: var(--bg-light); border-left: 4px solid var(--primary); border-radius: 0 12px 12px 0; }
    .category-intro h1 { font-size: 28px; font-weight: 800; margin-bottom: 10px; color: var(--text-main); }
    .category-intro p { font-size: 15px; color: var(--text-muted); }

    
    .article-list-stream { display: flex; flex-direction: column; gap: 30px; }
    .article-list-card { display: flex; gap: 24px; background: var(--bg-white); border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden; padding: 20px; transition: transform 0.3s, box-shadow 0.3s; }
    .article-list-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary); }
    .list-card-img { width: 240px; aspect-ratio: 16/10; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: #E2E8F0; }
    .list-card-img img { width: 100%; height: 100%; object-fit: cover; }
    .list-card-body { flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
    .list-card-title { font-size: 20px; font-weight: 700; color: var(--text-main); margin-bottom: 10px; line-height: 1.4; }
    .list-card-title a:hover { color: var(--primary); }
    .list-card-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .list-card-meta { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--text-muted); }

    
    .pagination-wrapper { margin-top: 50px; display: flex; justify-content: center; gap: 8px; }
    .pagination-item { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--border-color); font-size: 14px; font-weight: 600; transition: all 0.3s; }
    .pagination-item:hover, .pagination-item.active { background: var(--primary); border-color: var(--primary); color: #fff; }
    .pagination-item.disabled { opacity: 0.5; pointer-events: none; }

    
    .sidebar { display: flex; flex-direction: column; gap: 40px; }
    .sidebar-widget { background: var(--bg-white); border: 1px solid var(--border-color); border-radius: 16px; padding: 24px; }
    .widget-title { font-size: 18px; font-weight: 700; color: var(--text-main); margin-bottom: 20px; border-left: 4px solid var(--primary); padding-left: 12px; line-height: 1.2; }
    .widget-articles { display: flex; flex-direction: column; gap: 16px; }
    .widget-article-item { display: flex; gap: 12px; align-items: center; }
    .widget-article-thumb { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; background: #E2E8F0; flex-shrink: 0; }
    .widget-article-thumb img { width: 100%; height: 100%; object-fit: cover; }
    .widget-article-info { flex-grow: 1; }
    .widget-article-title { font-size: 14px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 4px; }
    .widget-article-meta { font-size: 11px; color: var(--text-muted); }

    
    .tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
    .tag-cloud a { display: inline-block; padding: 6px 12px; background: var(--bg-light); border: 1px solid var(--border-color); border-radius: 6px; font-size: 13px; color: var(--text-muted); }
    .tag-cloud a:hover { border-color: var(--primary); color: var(--primary); background: #FFF5F5; }

    
    .footer { background: #0F172A; color: #94A3B8; padding: 80px 0 30px 0; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 80px; }
    .footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; margin-bottom: 60px; }
    .footer-info .logo { margin-bottom: 20px; }
    .footer-info .logo span { color: var(--text-light); }
    .footer-desc { font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
    .footer-title { font-size: 16px; font-weight: 700; color: var(--text-light); margin-bottom: 24px; }
    .footer-links { display: flex; flex-direction: column; gap: 12px; }
    .footer-links a { font-size: 14px; }
    .footer-links a:hover { color: var(--primary); }
    .footer-contact { font-size: 14px; display: flex; flex-direction: column; gap: 12px; }
    .footer-contact-item { display: flex; align-items: center; gap: 8px; }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
    .copyright { font-size: 13px; }
    .footer-meta-links { display: flex; gap: 24px; font-size: 13px; }

    @media (max-width: 991px) {
      .nav-menu, .header-actions .btn-outline { display: none; }
      .menu-toggle { display: block; }
      .list-layout { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
      .article-list-card { flex-direction: column; }
      .list-card-img { width: 100%; }
      .footer-grid { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; text-align: center; }
    }