﻿:root {
      --primary: #1D7BFF;
      --accent: rgb(255,184,108);
      --bg-dark: #0A0F1D;
      --bg-card-dark: #121829;
      --bg-light: #F8FAFC;
      --bg-card-light: #FFFFFF;
      --text-dark: #0F172A;
      --text-light: #F8FAFC;
      --text-muted: #64748B;
      --border-color: rgba(29, 123, 255, 0.15);
      --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: var(--font); background-color: var(--bg-light); color: var(--text-dark); line-height: 1.6; }
    .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }
    
    
    .site-header { background: var(--bg-dark); border-bottom: 1px solid rgba(255, 255, 255, 0.1); position: sticky; top: 0; z-index: 100; backdrop-filter: blur(10px); }
    .header-container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
    .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: 18px; font-weight: 800; line-height: 1; color: var(--text-light); white-space: nowrap; }
    .desktop-nav { display: flex; align-items: center; gap: 24px; }
    .desktop-nav a { color: #94A3B8; text-decoration: none; font-size: 15px; font-weight: 500; transition: color 0.3s; }
    .desktop-nav a:hover { color: var(--accent); }
    .header-right { display: flex; align-items: center; gap: 16px; }
    .btn-download-top { background: var(--accent); color: #0F172A; font-weight: 600; padding: 10px 20px; border-radius: 6px; text-decoration: none; font-size: 14px; transition: transform 0.3s, box-shadow 0.3s; }
    .btn-download-top:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,184,108,0.3); }
    .drawer-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; padding: 4px; }
    .drawer-toggle span { display: block; width: 24px; height: 2px; background: var(--text-light); transition: 0.3s; }

    
    .drawer-mask { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.6); z-index: 998; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
    .drawer-mask.active { opacity: 1; pointer-events: auto; }
    .mobile-drawer { position: fixed; top: 0; left: -300px; width: 300px; height: 100vh; background: var(--bg-dark); z-index: 999; box-shadow: 5px 0 25px rgba(0,0,0,0.5); transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1); display: flex; flex-direction: column; padding: 24px; }
    .mobile-drawer.active { left: 0; }
    .drawer-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 16px; }
    .drawer-close { background: none; border: none; font-size: 28px; color: var(--text-light); cursor: pointer; line-height: 1; }
    .drawer-nav { display: flex; flex-direction: column; gap: 20px; margin-bottom: auto; }
    .drawer-nav a { color: #94A3B8; text-decoration: none; font-size: 16px; font-weight: 500; transition: color 0.3s; padding: 4px 0; }
    .drawer-nav a:hover { color: var(--accent); }
    .drawer-footer { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 16px; font-size: 13px; color: #64748B; }
    .drawer-footer p { margin-bottom: 6px; }

    
    .breadcrumbs-bar { background: #FFF; border-bottom: 1px solid var(--border-color); padding: 16px 0; font-size: 14px; }
    .breadcrumbs-content { display: flex; align-items: center; gap: 8px; color: var(--text-muted); }
    .breadcrumbs-content a { color: var(--primary); text-decoration: none; }
    .breadcrumbs-content span.divider { color: #CBD5E1; }

    
    .category-hero { background: linear-gradient(135deg, #0B0F19 0%, #1E293B 100%); color: var(--text-light); padding: 60px 0; margin-bottom: 50px; }
    .category-hero h1 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
    .category-hero p { font-size: 15px; color: #94A3B8; max-width: 600px; }

    
    .main-layout { display: grid; grid-template-columns: 2.5fr 1fr; gap: 40px; margin-bottom: 80px; }
    .list-articles { display: flex; flex-direction: column; gap: 30px; }
    .article-item-horizontal { display: flex; gap: 24px; background: #FFF; border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; padding: 20px; transition: transform 0.3s; }
    .article-item-horizontal:hover { transform: translateY(-2px); }
    .article-item-horizontal img { width: 220px; height: 150px; object-fit: cover; border-radius: 8px; flex-shrink: 0; background-color: #E2E8F0; }
    .article-item-body { display: flex; flex-direction: column; justify-content: space-between; flex-grow: 1; }
    .article-item-meta { display: flex; gap: 16px; font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
    .article-item-body h2 { font-size: 20px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
    .article-item-body h2 a { text-decoration: none; color: inherit; }
    .article-item-body h2 a:hover { color: var(--primary); }
    .article-item-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    
    
    .sidebar { display: flex; flex-direction: column; gap: 30px; }
    .sidebar-widget { background: #FFF; border: 1px solid var(--border-color); border-radius: 12px; padding: 24px; }
    .sidebar-widget h3 { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border-color); }
    .widget-articles-list { list-style: none; }
    .widget-articles-list li { display: flex; gap: 12px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px dashed rgba(0,0,0,0.05); }
    .widget-articles-list li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
    .widget-articles-list img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; flex-shrink: 0; background-color: #E2E8F0; }
    .widget-article-info h4 { font-size: 14px; font-weight: 600; line-height: 1.4; margin-bottom: 4px; }
    .widget-article-info h4 a { text-decoration: none; color: var(--text-dark); }
    .widget-article-info h4 a:hover { color: var(--primary); }
    .widget-article-date { font-size: 11px; color: var(--text-muted); }

    
    .pagination-wrap { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
    .pagination-wrap a, .pagination-wrap span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--border-color); text-decoration: none; font-size: 14px; color: var(--text-dark); font-weight: 500; transition: 0.3s; }
    .pagination-wrap a:hover { background: var(--primary); color: #FFF; border-color: var(--primary); }
    .pagination-wrap .is-current { background: var(--primary); color: #FFF; border-color: var(--primary); }
    .pagination-wrap .is-disabled { color: var(--text-muted); opacity: 0.5; pointer-events: none; }

    
    .site-footer { background: #0B0F19; color: #94A3B8; padding: 80px 0 30px 0; border-top: 1px solid rgba(255,255,255,0.08); font-size: 14px; }
    .footer-container { display: grid; grid-template-columns: 1.5fr repeat(2, 1fr); gap: 60px; margin-bottom: 60px; }
    .footer-brand-section .logo { margin-bottom: 20px; }
    .footer-brand-section .logo span { color: #FFF; }
    .footer-desc { line-height: 1.7; margin-bottom: 20px; color: #64748B; }
    .footer-contact { font-weight: 500; color: var(--text-light); }
    .footer-links-grid h4 { color: var(--text-light); font-size: 16px; font-weight: 700; margin-bottom: 24px; }
    .footer-links-grid ul { list-style: none; }
    .footer-links-grid ul li { margin-bottom: 12px; }
    .footer-links-grid ul li a { color: #94A3B8; text-decoration: none; transition: color 0.3s; }
    .footer-links-grid ul li a:hover { color: var(--accent); }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 30px; }
    .footer-bottom-container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
    .footer-socials a { color: var(--accent); text-decoration: none; font-weight: 600; }

    @media (max-width: 1024px) {
      .desktop-nav, .header-right .btn-download-top { display: none; }
      .drawer-toggle { display: flex; }
      .main-layout { grid-template-columns: 1fr; }
    }
    @media (max-width: 640px) {
      .article-item-horizontal { flex-direction: column; }
      .article-item-horizontal img { width: 100%; height: 200px; }
    }