﻿:root {
      --primary: #1D7BFF;
      --primary-hover: #0056b3;
      --accent: rgb(90,200,250);
      --deep-bg: #070b19;
      --card-bg: rgba(255, 255, 255, 0.03);
      --card-border: rgba(90, 200, 250, 0.15);
      --text-main: #f5f7fa;
      --text-muted: #8e9bb5;
      --white: #ffffff;
      --glass-bg: rgba(11, 20, 38, 0.8);
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      background-color: var(--deep-bg);
      color: var(--text-main);
      line-height: 1.6;
    }
    a { color: inherit; text-decoration: none; transition: all 0.3s ease; }

    
    .logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
    .logo img { display: block; height: 36px; width: auto; max-width: 150px; object-fit: contain; flex-shrink: 0; }
    .logo span { display: inline-block; font-size: 18px; font-weight: 800; line-height: 1; color: var(--text-main); white-space: nowrap; }

    
    .site-header { position: sticky; top: 0; z-index: 1000; background: var(--glass-bg); backdrop-filter: blur(12px); border-bottom: 1px solid var(--card-border); }
    .header-container { max-width: 1200px; margin: 0 auto; padding: 15px 20px; display: flex; align-items: center; justify-content: space-between; }
    .desktop-nav { display: flex; gap: 25px; }
    .desktop-nav a { font-size: 15px; font-weight: 500; color: var(--text-muted); }
    .desktop-nav a:hover { color: var(--accent); }
    .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-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; }
    .btn-primary { background-color: var(--primary); color: var(--white); border: none; }
    .btn-primary:hover { background-color: var(--primary-hover); }
    .drawer-trigger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
    .drawer-trigger span { display: block; width: 25px; height: 2px; background-color: var(--text-main); }

    
    .drawer-menu { position: fixed; top: 0; left: -100%; width: 100%; height: 100%; z-index: 2000; transition: left 0.4s; }
    .drawer-menu.active { left: 0; }
    .drawer-overlay { position: absolute; width: 100%; height: 100%; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); }
    .drawer-content { position: absolute; top: 0; left: 0; width: 280px; height: 100%; background-color: #0b1021; border-right: 1px solid var(--card-border); padding: 30px 20px; display: flex; flex-direction: column; }
    .drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
    .drawer-close { background: none; border: none; font-size: 28px; color: var(--text-main); cursor: pointer; }
    .drawer-nav { display: flex; flex-direction: column; gap: 20px; }
    .drawer-nav a { font-size: 16px; color: var(--text-muted); }
    .drawer-footer { margin-top: auto; font-size: 12px; color: var(--text-muted); border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }

    
    .page-banner { padding: 50px 20px; background: linear-gradient(180deg, rgba(29,123,255,0.1) 0%, rgba(7,11,25,0) 100%); text-align: center; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .breadcrumbs { max-width: 1200px; margin: 0 auto 15px; font-size: 14px; color: var(--text-muted); display: flex; justify-content: center; gap: 8px; }
    .breadcrumbs a:hover { color: var(--accent); }
    .page-title { font-size: 32px; color: var(--white); font-weight: 700; }
    .tag-meta-info { margin-top: 10px; font-size: 14px; color: var(--accent); }

    
    .list-container { max-width: 1200px; margin: 50px auto; padding: 0 20px; display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
    .articles-list { display: flex; flex-direction: column; gap: 25px; }
    .post-card { display: flex; gap: 20px; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px; padding: 20px; }
    .post-card:hover { border-color: rgba(90, 200, 250, 0.4); }
    .post-img { width: 220px; height: 140px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
    .post-info { display: flex; flex-direction: column; justify-content: space-between; }
    .post-title { font-size: 19px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
    .post-title:hover { color: var(--accent); }
    .post-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .post-meta { font-size: 12px; color: var(--text-muted); display: flex; gap: 15px; }

    
    .pagination-wrap { margin-top: 40px; display: flex; justify-content: center; gap: 8px; }
    .pagination-wrap a, .pagination-wrap span { padding: 8px 16px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 6px; font-size: 14px; color: var(--text-muted); }
    .pagination-wrap a:hover, .pagination-wrap .is-current { background: var(--primary); color: var(--white); border-color: var(--primary); }

    
    .sidebar { display: flex; flex-direction: column; gap: 30px; }
    .sidebar-widget { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px; padding: 25px; }
    .sidebar-widget h3 { font-size: 18px; color: var(--white); margin-bottom: 20px; border-left: 4px solid var(--accent); padding-left: 10px; }
    .side-list { list-style: none; }
    .side-list li { margin-bottom: 15px; padding-bottom: 12px; border-bottom: 1px dashed rgba(255,255,255,0.1); }
    .side-list li:last-child { border-bottom: none; }
    .side-list a { font-size: 14px; color: var(--text-muted); display: block; }
    .side-list a:hover { color: var(--accent); }

    
    .site-footer { background-color: #050811; border-top: 1px solid var(--card-border); padding: 60px 20px 20px; color: var(--text-muted); margin-top: 100px; }
    .footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; margin-bottom: 40px; }
    .footer-brand p { margin-top: 15px; font-size: 14px; }
    .footer-links-group h4, .footer-contact h4 { color: var(--white); font-size: 16px; margin-bottom: 20px; }
    .footer-links-group ul { list-style: none; }
    .footer-links-group li { margin-bottom: 10px; }
    .footer-links-group a:hover { color: var(--accent); }
    .footer-tags { display: flex; flex-wrap: wrap; gap: 8px; }
    .footer-tags a { font-size: 11px; background: rgba(255,255,255,0.05); padding: 4px 8px; border-radius: 4px; }
    .footer-contact p { font-size: 14px; margin-bottom: 10px; }
    .footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); display: flex; justify-content: space-between; align-items: center; font-size: 13px; }

    @media (max-width: 991px) {
      .drawer-trigger { display: flex; }
      .desktop-nav { display: none; }
      .list-container { grid-template-columns: 1fr; }
      .post-card { flex-direction: column; }
      .post-img { width: 100%; height: 180px; }
      .footer-container { grid-template-columns: 1fr; }
    }