﻿:root {
      --primary: #1D7BFF;
      --bg-dark: #0B132B;
      --border-color: rgba(255, 255, 255, 0.08);
      --text-muted: #8A99AD;
      --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: var(--font-family);
      background-color: #050a18;
      color: #e2e8f0;
      line-height: 1.6;
    }
    a { color: inherit; text-decoration: none; transition: all 0.3s ease; }
    
    header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(11, 19, 43, 0.85);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-color);
    }
    .header-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 15px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .logo { display: inline-flex; align-items: center; gap: 12px; }
    .logo img { display: block; height: 38px; width: auto; max-width: 160px; object-fit: contain; }
    .logo span { display: inline-block; font-size: 20px; font-weight: 800; color: #ffffff; }
    .nav-list { display: flex; gap: 25px; list-style: none; align-items: center; }
    .nav-list a { font-size: 15px; font-weight: 500; color: #cbd5e1; }
    .nav-list a:hover { color: var(--primary); }
    .burger-menu { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }

    
    .drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 200; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
    .drawer-overlay.active { opacity: 1; visibility: visible; }
    .mobile-drawer { position: fixed; top: 0; left: -280px; width: 280px; height: 100%; background: #0B132B; z-index: 201; box-shadow: 4px 0 20px rgba(0,0,0,0.5); transition: all 0.3s ease; display: flex; flex-direction: column; padding: 20px; }
    .mobile-drawer.active { left: 0; }
    .drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
    .drawer-close { background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }
    .drawer-nav { display: flex; flex-direction: column; gap: 20px; }
    .drawer-nav a { font-size: 16px; font-weight: 500; color: #e2e8f0; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }

    
    .tag-header-area {
      background: radial-gradient(circle at top, #111b35 0%, #050a18 100%);
      padding: 60px 20px;
      text-align: center;
      border-bottom: 1px solid var(--border-color);
    }
    .tag-title-main { font-size: 32px; font-weight: 800; color: #fff; margin-bottom: 10px; }
    .tag-post-count { font-size: 14px; color: var(--text-muted); }
    .tag-post-count strong { color: var(--primary); }

    
    .tag-layout-main {
      max-width: 1000px;
      margin: 50px auto;
      padding: 0 20px;
    }
    .tag-articles-list {
      display: flex;
      flex-direction: column;
      gap: 30px;
    }
    .tag-article-card {
      background: #0B132B;
      border: 1px solid var(--border-color);
      border-radius: 12px;
      overflow: hidden;
      display: flex;
      gap: 20px;
    }
    .tag-card-img {
      width: 200px;
      height: 140px;
      flex-shrink: 0;
      overflow: hidden;
    }
    .tag-card-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .tag-card-body {
      padding: 20px 20px 20px 0;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      flex-grow: 1;
    }
    .tag-card-title { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 8px; }
    .tag-card-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 15px; }
    .tag-card-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); }

    
    .pagination {
      margin-top: 50px;
      display: flex;
      justify-content: center;
      gap: 10px;
    }
    .pagination a, .pagination span {
      padding: 10px 18px;
      background: #0B132B;
      border: 1px solid var(--border-color);
      border-radius: 6px;
      color: #fff;
    }
    .pagination .active { background: var(--primary); border-color: var(--primary); }

    
    footer {
      background: #050a18;
      border-top: 1px solid var(--border-color);
      color: var(--text-muted);
      font-size: 14px;
      padding: 80px 20px 30px;
      margin-top: 80px;
    }
    .footer-container {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1.5fr;
      gap: 50px;
      margin-bottom: 50px;
    }
    .footer-brand .logo { margin-bottom: 20px; }
    .footer-brand p { line-height: 1.6; margin-bottom: 20px; }
    .footer-group h4 { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 20px; }
    .footer-group ul { list-style: none; }
    .footer-group ul li { margin-bottom: 12px; }
    .footer-group ul a:hover { color: #fff; }
    .footer-contact p { margin-bottom: 10px; }
    .footer-bottom {
      max-width: 1200px;
      margin: 0 auto;
      border-top: 1px solid var(--border-color);
      padding-top: 30px;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 20px;
      align-items: center;
    }

    @media (max-width: 768px) {
      .nav-list { display: none; }
      .burger-menu { display: block; }
      .tag-article-card { flex-direction: column; }
      .tag-card-img { width: 100%; height: 160px; }
      .tag-card-body { padding: 20px; }
      .footer-container { grid-template-columns: 1fr; gap: 30px; }
    }