﻿:root {
      --primary: #1D7BFF;
      --primary-hover: #0056b3;
      --bg-dark: #121824;
      --text-light: #f8f9fa;
      --theme-grey: rgb(66,70,81);
      --body-bg: #f4f7fc;
      --card-bg: #ffffff;
      --text-main: #2b303c;
      --text-muted: #6c757d;
      --border-color: rgba(29, 123, 255, 0.12);
      --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
      --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
      --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
      background-color: var(--body-bg);
      color: var(--text-main);
      line-height: 1.6;
    }
    a { color: inherit; text-decoration: none; transition: var(--transition); }
    .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

    
    header { background-color: #ffffff; border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm); }
    .header-container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
    .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: 18px; font-weight: 800; color: var(--theme-grey); }
    .nav-menu { display: flex; align-items: center; gap: 30px; }
    .nav-menu a { font-weight: 500; color: var(--theme-grey); font-size: 15px; }
    .nav-menu a:hover { color: var(--primary); }
    .header-actions { display: flex; align-items: center; gap: 15px; }
    .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 6px; font-weight: 600; font-size: 14px; cursor: pointer; transition: var(--transition); border: none; }
    .btn-primary { background-color: var(--primary); color: #ffffff; }
    .btn-primary:hover { background-color: var(--primary-hover); }
    .menu-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--theme-grey); cursor: pointer; }

    
    .drawer-backdrop { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: rgba(0, 0, 0, 0.5); z-index: 998; opacity: 0; visibility: hidden; transition: var(--transition); }
    .drawer-backdrop.active { opacity: 1; visibility: visible; }
    .drawer { position: fixed; top: 0; left: -300px; width: 300px; height: 100vh; background-color: #ffffff; z-index: 999; box-shadow: var(--shadow-md); transition: var(--transition); display: flex; flex-direction: column; padding: 20px; }
    .drawer.active { left: 0; }
    .drawer-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border-color); padding-bottom: 15px; margin-bottom: 20px; }
    .drawer-close { background: none; border: none; font-size: 24px; color: var(--text-muted); cursor: pointer; }
    .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(--theme-grey); padding: 10px 5px; }

    
    .breadcrumb-section { background-color: #ffffff; padding: 15px 0; border-bottom: 1px solid var(--border-color); }
    .breadcrumb { font-size: 14px; color: var(--text-muted); }
    .breadcrumb a:hover { color: var(--primary); }

    
    .archive-header { background: linear-gradient(135deg, #1e293b 0%, var(--bg-dark) 100%); color: #ffffff; padding: 50px 0; text-align: center; }
    .archive-header h1 { font-size: 32px; margin-bottom: 10px; }
    .archive-header p { font-size: 16px; color: #94a3b8; }

    
    .main-layout { display: grid; grid-template-columns: 8fr 4fr; gap: 40px; padding: 50px 0; }
    @media (max-width: 991px) {
      .main-layout { grid-template-columns: 1fr; }
    }

    
    .list-container { display: flex; flex-direction: column; gap: 30px; }
    .article-row-card { background-color: #ffffff; border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; display: grid; grid-template-columns: 3.5fr 8.5fr; transition: var(--transition); }
    @media (max-width: 576px) {
      .article-row-card { grid-template-columns: 1fr; }
    }
    .article-row-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
    .row-img-wrapper { position: relative; padding-top: 60%; background-color: #eaeaea; }
    .row-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
    .row-body { padding: 20px; display: flex; flex-direction: column; justify-content: space-between; }
    .row-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--theme-grey); }
    .row-summary { font-size: 14px; color: var(--text-muted); margin-bottom: 15px; line-height: 1.5; }
    .row-meta { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--text-muted); border-top: 1px solid rgba(0,0,0,0.05); padding-top: 12px; }
    
    
    .sidebar { display: flex; flex-direction: column; gap: 30px; }
    .widget { background-color: #ffffff; border: 1px solid var(--border-color); border-radius: 12px; padding: 24px; }
    .widget-title { font-size: 16px; font-weight: 700; color: var(--theme-grey); border-left: 4px solid var(--primary); padding-left: 10px; margin-bottom: 20px; }
    .hot-list { display: flex; flex-direction: column; gap: 15px; }
    .hot-item { display: flex; gap: 12px; }
    .hot-img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; }
    .hot-info h4 { font-size: 14px; line-height: 1.4; margin-bottom: 5px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .hot-info span { font-size: 11px; color: var(--text-muted); }

    
    .pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
    .page-item { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; background-color: #ffffff; border: 1px solid var(--border-color); border-radius: 6px; font-size: 14px; }
    .page-item.active { background-color: var(--primary); color: #ffffff; border-color: var(--primary); }
    .page-item:hover:not(.active) { background-color: rgba(29, 123, 255, 0.05); }

    
    footer { background-color: var(--bg-dark); color: #94a3b8; padding: 80px 0 30px; border-top: 1px solid rgba(255,255,255,0.05); }
    .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 50px; }
    .footer-brand { grid-column: span 2; }
    @media (max-width: 768px) { .footer-brand { grid-column: span 1; } }
    .footer-brand p { margin-top: 15px; font-size: 14px; }
    .footer-heading { color: #ffffff; font-size: 16px; font-weight: 600; margin-bottom: 20px; }
    .footer-links li { margin-bottom: 10px; }
    .footer-links a { font-size: 14px; }
    .footer-links a:hover { color: #ffffff; }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 30px; text-align: center; font-size: 12px; }

    @media (max-width: 768px) {
      .nav-menu { display: none; }
      .menu-toggle { display: block; }
    }