﻿:root {
      --primary: #1D7BFF;
      --primary-hover: #1062d4;
      --secondary: rgb(202,138,4);
      --dark-bg: #0F172A;
      --dark-card: #1E293B;
      --light-bg: #F8FAFC;
      --light-border: #E2E8F0;
      --text-dark: #0F172A;
      --text-light: #F8FAFC;
      --text-muted: #64748B;
      --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
      --font: system-ui, -apple-system, sans-serif;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: var(--font); background: var(--light-bg); color: var(--text-dark); line-height: 1.6; }
    a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
    
    
    .site-header {
      background: var(--dark-bg);
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      position: sticky;
      top: 0;
      z-index: 1000;
      height: 80px;
    }
    .header-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 100%;
    }
    .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: 20px;
      font-weight: 800;
      line-height: 1;
      color: var(--text-light);
      white-space: nowrap;
    }
    .desktop-nav {
      display: flex;
      gap: 30px;
    }
    .desktop-nav a {
      color: rgba(255, 255, 255, 0.8);
      font-weight: 500;
      font-size: 15px;
    }
    .desktop-nav a:hover {
      color: var(--primary);
    }
    .menu-toggle {
      display: none;
      flex-direction: column;
      gap: 6px;
      background: none;
      border: none;
      cursor: pointer;
    }
    .menu-toggle span {
      display: block;
      width: 25px;
      height: 3px;
      background: var(--text-light);
      border-radius: 3px;
    }

    
    .mobile-drawer-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0, 0, 0, 0.5);
      z-index: 1001;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
    }
    .mobile-drawer-overlay.active {
      opacity: 1;
      pointer-events: auto;
    }
    .mobile-drawer {
      position: fixed;
      top: 0;
      left: -320px;
      width: 320px;
      height: 100vh;
      background: var(--dark-bg);
      z-index: 1002;
      box-shadow: 10px 0 30px rgba(0,0,0,0.2);
      transition: left 0.3s ease;
      display: flex;
      flex-direction: column;
      padding: 30px 20px;
    }
    .mobile-drawer.active {
      left: 0;
    }
    .drawer-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 40px;
    }
    .drawer-close {
      background: none;
      border: none;
      color: var(--text-light);
      font-size: 28px;
      cursor: pointer;
    }
    .drawer-nav {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .drawer-nav a {
      color: var(--text-light);
      font-size: 18px;
      padding: 10px 0;
      border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .drawer-footer {
      margin-top: auto;
      color: var(--text-muted);
      font-size: 12px;
    }

    
    .tag-header {
      background: linear-gradient(135deg, var(--dark-bg) 0%, #1e293b 100%);
      color: var(--text-light);
      padding: 60px 20px;
      text-align: center;
    }
    .tag-header h1 {
      font-size: 30px;
      font-weight: 800;
      margin-bottom: 10px;
    }
    .tag-header p {
      color: #94A3B8;
      font-size: 14px;
    }

    
    .list-container {
      max-width: 1000px;
      margin: 50px auto 100px auto;
      padding: 0 20px;
    }
    .article-list {
      display: flex;
      flex-direction: column;
      gap: 30px;
    }
    .article-item {
      background: white;
      border: 1px solid var(--light-border);
      border-radius: 12px;
      overflow: hidden;
      display: flex;
      transition: all 0.3s ease;
    }
    .article-item:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow);
    }
    .article-item img {
      width: 220px;
      height: 160px;
      object-fit: cover;
      flex-shrink: 0;
      background: #e2e8f0;
    }
    .article-item-content {
      padding: 24px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .article-item-title {
      font-size: 18px;
      font-weight: 700;
      color: var(--text-dark);
      margin-bottom: 8px;
    }
    .article-item-title:hover {
      color: var(--primary);
    }
    .article-item-summary {
      font-size: 14px;
      color: var(--text-muted);
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      margin-bottom: 12px;
    }
    .article-item-meta {
      display: flex;
      gap: 20px;
      color: var(--text-muted);
      font-size: 12px;
    }

    
    .pagination-wrapper {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-top: 40px;
    }
    .pagination-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 40px;
      height: 40px;
      padding: 0 12px;
      border-radius: 8px;
      border: 1px solid var(--light-border);
      background: #fff;
      font-weight: 500;
      font-size: 14px;
    }
    .pagination-link:hover, .pagination-link.active {
      background: var(--primary);
      color: white;
      border-color: var(--primary);
    }

    
    .site-footer {
      background: var(--dark-bg);
      color: var(--text-light);
      padding: 80px 20px 20px 20px;
      border-top: 1px solid rgba(255,255,255,0.05);
    }
    .footer-container {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
      gap: 50px;
      margin-bottom: 60px;
    }
    .footer-brand .brand-desc {
      color: #94A3B8;
      margin-top: 20px;
      font-size: 14px;
    }
    .footer-links h4, .footer-contact h4 {
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 24px;
      position: relative;
    }
    .footer-links h4::after, .footer-contact h4::after {
      content: '';
      position: absolute;
      bottom: -8px; left: 0;
      width: 30px; height: 2px;
      background: var(--primary);
    }
    .footer-links ul {
      list-style: none;
    }
    .footer-links ul li {
      margin-bottom: 12px;
    }
    .footer-links ul li a {
      color: #94A3B8;
      font-size: 14px;
    }
    .footer-links ul li a:hover {
      color: var(--primary);
      padding-left: 5px;
    }
    .footer-tags {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }
    .footer-tags a {
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.1);
      color: #94A3B8;
      padding: 6px 12px;
      border-radius: 4px;
      font-size: 12px;
    }
    .footer-tags a:hover {
      background: var(--primary);
      color: white;
    }
    .footer-contact p {
      color: #94A3B8;
      font-size: 14px;
      margin-bottom: 12px;
    }
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.05);
      max-width: 1200px;
      margin: 0 auto;
      padding-top: 30px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 20px;
      font-size: 12px;
      color: #64748B;
    }
    .footer-bottom a {
      color: #94A3B8;
      margin-left: 15px;
    }

    
    @media (max-width: 1024px) {
      .footer-container { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
      .desktop-nav { display: none; }
      .menu-toggle { display: flex; }
      .article-item { flex-direction: column; }
      .article-item img { width: 100%; height: 180px; }
      .footer-container { grid-template-columns: 1fr; }
    }