﻿:root {
      --primary-color: #1D7BFF;
      --secondary-color: rgb(255, 55, 95);
      --bg-dark: #0B192C;
      --bg-light: #F8F9FA;
      --text-main: #0F172A;
      --text-muted: #64748B;
      --border-color: #E2E8F0;
      --transition-speed: 0.3s;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--text-main); background-color: var(--bg-light); line-height: 1.6; }
    a { text-decoration: none; color: inherit; transition: all var(--transition-speed); }
    img { max-width: 100%; height: auto; }
    ul { list-style: none; }

    
    .site-header { background: #FFFFFF; border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 1000; height: 70px; display: flex; align-items: center; }
    .header-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; }
    
    .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(--bg-dark); white-space: nowrap; }

    .desktop-nav { display: flex; align-items: center; gap: 24px; }
    .desktop-nav a { font-size: 15px; font-weight: 500; color: var(--text-main); }
    .desktop-nav a:hover { color: var(--primary-color); }
    .header-actions { display: flex; align-items: center; gap: 16px; }
    .nav-cta-btn { background: var(--secondary-color); color: #FFF; padding: 10px 20px; border-radius: 6px; font-size: 14px; font-weight: 600; text-align: center; border: none; cursor: pointer; }
    .nav-cta-btn:hover { background: #E0354E; transform: translateY(-1px); }
    
    .burger-menu { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; width: 24px; height: 24px; justify-content: center; z-index: 1100; }
    .burger-menu span { display: block; width: 100%; height: 2px; background: var(--bg-dark); transition: all 0.3s; }

    
    .mobile-drawer-backdrop { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1050; opacity: 0; pointer-events: none; transition: opacity var(--transition-speed); }
    .mobile-drawer-backdrop.active { opacity: 1; pointer-events: auto; }
    .mobile-drawer { position: fixed; top: 0; left: -320px; width: 300px; height: 100%; background: #FFF; z-index: 1060; transition: left var(--transition-speed) ease-in-out; display: flex; flex-direction: column; box-shadow: 4px 0 20px rgba(0,0,0,0.15); }
    .mobile-drawer.active { left: 0; }
    .drawer-header { padding: 20px; border-bottom: 1px solid var(--border-color); display: flex; align-items: center; justify-content: space-between; }
    .drawer-close { background: none; border: none; font-size: 28px; cursor: pointer; color: var(--text-muted); }
    .drawer-body { flex: 1; overflow-y: auto; padding: 20px; }
    .mobile-nav { display: flex; flex-direction: column; gap: 16px; }
    .mobile-nav a { font-size: 16px; font-weight: 600; color: var(--text-main); padding: 8px 0; border-bottom: 1px solid #F1F5F9; }
    .mobile-nav a:hover { color: var(--primary-color); }
    .drawer-footer { padding: 20px; border-top: 1px solid var(--border-color); }
    .drawer-cta-btn { display: block; width: 100%; background: var(--primary-color); color: #FFF; padding: 12px; text-align: center; border-radius: 6px; font-weight: 600; }

    
    .breadcrumbs-bar { background: #FFF; border-bottom: 1px solid var(--border-color); padding: 14px 20px; font-size: 14px; }
    .breadcrumbs-container { max-width: 1200px; margin: 0 auto; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
    .breadcrumbs-container a:hover { color: var(--primary-color); }

    
    .main-wrapper { max-width: 1200px; margin: 40px auto; padding: 0 20px; display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }

    
    .article-post { background: #FFF; border: 1px solid var(--border-color); border-radius: 12px; padding: 40px; }
    .article-header { border-bottom: 1px solid var(--border-color); padding-bottom: 24px; margin-bottom: 30px; }
    .article-post-title { font-size: clamp(24px, 3vw, 32px); font-weight: 800; color: var(--bg-dark); line-height: 1.3; margin-bottom: 16px; }
    
    .article-post-meta { display: flex; gap: 20px; font-size: 13px; color: var(--text-muted); flex-wrap: wrap; align-items: center; }
    .article-post-meta span { display: flex; align-items: center; gap: 6px; }
    .article-post-meta a { color: var(--primary-color); font-weight: 600; }
    
    .article-body-content { font-size: 16px; color: #334155; line-height: 1.8; margin-bottom: 40px; }
    .article-body-content p { margin-bottom: 24px; }
    .article-body-content h2, .article-body-content h3 { color: var(--bg-dark); font-weight: 800; margin: 36px 0 16px; }
    .article-body-content h2 { font-size: 22px; }
    .article-body-content h3 { font-size: 18px; }
    .article-body-content img { border-radius: 8px; margin: 24px 0; max-width: 100%; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }

    
    .prev-next-nav { border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); padding: 24px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; margin-bottom: 40px; }
    .prev-next-nav a { max-width: 45%; font-weight: 600; color: var(--bg-dark); display: flex; flex-direction: column; gap: 4px; }
    .prev-next-nav a:hover { color: var(--primary-color); }
    .prev-next-nav span { font-size: 12px; color: var(--text-muted); font-weight: 500; }

    
    .related-section h3 { font-size: 20px; font-weight: 800; color: var(--bg-dark); margin-bottom: 24px; border-left: 4px solid var(--primary-color); padding-left: 10px; }
    .related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
    .related-card { background: #FFF; border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s; }
    .related-card:hover { transform: translateY(-3px); }
    .related-img { height: 120px; background: #F1F5F9; }
    .related-img img { width: 100%; height: 100%; object-fit: cover; }
    .related-info { padding: 16px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
    .related-title { font-size: 14px; font-weight: 700; color: var(--bg-dark); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 10px; }
    .related-date { font-size: 11px; color: var(--text-muted); }

    
    .sidebar-block { background: #FFF; border: 1px solid var(--border-color); border-radius: 12px; padding: 24px; margin-bottom: 30px; }
    .sidebar-block h3 { font-size: 18px; font-weight: 700; color: var(--bg-dark); margin-bottom: 20px; border-left: 4px solid var(--primary-color); padding-left: 10px; }
    
    .sidebar-articles-list { display: flex; flex-direction: column; gap: 16px; }
    .side-article-item { display: flex; gap: 12px; align-items: center; }
    .side-article-img { width: 64px; height: 64px; border-radius: 6px; overflow: hidden; flex-shrink: 0; background: #F1F5F9; }
    .side-article-img img { width: 100%; height: 100%; object-fit: cover; }
    .side-article-info { display: flex; flex-direction: column; }
    .side-article-title { font-size: 13px; font-weight: 600; color: var(--bg-dark); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .side-article-title:hover { color: var(--primary-color); }
    .side-article-time { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

    
    .site-footer { background: var(--bg-dark); color: #94A3B8; padding: 80px 20px 40px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 14px; }
    .footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; margin-bottom: 60px; }
    .footer-brand .logo { margin-bottom: 20px; }
    .footer-brand .logo span { color: #FFF; }
    .footer-brand p { margin-bottom: 24px; max-width: 320px; line-height: 1.7; }
    .footer-socials { display: flex; gap: 12px; }
    .footer-socials a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; color: #FFF; transition: background 0.3s; }
    .footer-socials a:hover { background: var(--primary-color); }
    
    .footer-col h4 { color: #FFF; font-size: 16px; font-weight: 700; margin-bottom: 24px; }
    .footer-links { display: flex; flex-direction: column; gap: 12px; }
    .footer-links a:hover { color: #FFF; }

    .footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
    .footer-legal { display: flex; gap: 24px; }
    .footer-legal a:hover { color: #FFF; }

    @media (max-width: 992px) {
      .desktop-nav, .nav-cta-btn { display: none; }
      .burger-menu { display: flex; }
      .main-wrapper { grid-template-columns: 1fr; }
      .footer-container { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 576px) {
      .footer-container { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; text-align: center; }
      .prev-next-nav a { max-width: 100%; }
    }