﻿:root {
      --primary: rgb(255,59,48);
      --primary-hover: rgb(230,45,35);
      --accent-blue: #1D7BFF;
      --text-main: #1E293B;
      --text-muted: #64748B;
      --text-light: #F8FAFC;
      --bg-white: #FFFFFF;
      --bg-light: #F8FAFC;
      --border-color: #E2E8F0;
      --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
      --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
      --font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: var(--font-family); color: var(--text-main); background: var(--bg-white); line-height: 1.6; }
    a { color: inherit; text-decoration: none; transition: all 0.3s; }

    .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
    .section-padding { padding: 60px 0; }

    
    .header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); }
    .header-nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
    .logo { display: inline-flex; align-items: center; gap: 12px; }
    .logo img { height: 40px; }
    .logo span { font-size: 18px; font-weight: 800; }
    .nav-menu { display: flex; gap: 24px; }
    .nav-menu a { font-size: 15px; font-weight: 500; color: var(--text-muted); }
    .nav-menu a:hover { color: var(--primary); }
    .header-actions { display: flex; gap: 16px; align-items: center; }
    .btn { display: inline-flex; padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; border: none; }
    .btn-primary { background: var(--primary); color: #fff; }
    .btn-outline { background: transparent; border: 1.5px solid var(--border-color); }
    .menu-toggle { display: none; background: none; border: none; }
    .menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text-main); margin: 5px 0; }

    
    .drawer-backdrop { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.5); z-index: 199; opacity: 0; pointer-events: none; }
    .drawer { position: fixed; top: 0; left: -280px; width: 280px; height: 100vh; background: #fff; z-index: 200; display: flex; flex-direction: column; padding: 24px; transition: left 0.3s; }
    .drawer.active { left: 0; }
    .drawer-backdrop.active { opacity: 1; pointer-events: auto; }
    .drawer-header { display: flex; justify-content: space-between; margin-bottom: 32px; }
    .drawer-close { background: none; border: none; font-size: 24px; }
    .drawer-menu { display: flex; flex-direction: column; gap: 16px; }

    
    .breadcrumbs-wrapper { background: var(--bg-light); border-bottom: 1px solid var(--border-color); padding: 14px 0; }
    .breadcrumbs { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-muted); }
    .breadcrumbs a:hover { color: var(--primary); }
    .breadcrumbs .sep { color: #CBD5E1; }

    
    .article-layout { display: grid; grid-template-columns: 8fr 4fr; gap: 40px; }
    
    
    .article-main { background: var(--bg-white); }
    .article-header { border-bottom: 1px solid var(--border-color); padding-bottom: 24px; margin-bottom: 32px; }
    .article-title { font-size: 32px; font-weight: 800; line-height: 1.3; color: var(--text-main); margin-bottom: 16px; }
    .article-meta { display: flex; align-items: center; gap: 20px; font-size: 13px; color: var(--text-muted); flex-wrap: wrap; }
    .article-meta span strong { color: var(--text-main); }
    
    .article-content { font-size: 16px; color: var(--text-main); line-height: 1.8; margin-bottom: 40px; }
    .article-content p { margin-bottom: 24px; }
    .article-content h2, .article-content h3 { font-weight: 800; color: var(--text-main); margin: 36px 0 16px 0; }
    .article-content h2 { font-size: 24px; border-left: 4px solid var(--primary); padding-left: 12px; }
    .article-content h3 { font-size: 20px; }
    .article-content img { border-radius: 12px; margin: 24px 0; box-shadow: var(--shadow-md); width:100%; height:auto; }

    
    .article-tags-wrapper { border-top: 1px solid var(--border-color); padding-top: 24px; margin-bottom: 40px; }
    .article-tags-label { font-weight: 700; font-size: 14px; color: var(--text-main); margin-bottom: 12px; display: block; }
    .article-tags { display: flex; flex-wrap: wrap; gap: 10px; }
    .article-tags a { display: inline-block; padding: 6px 12px; background: var(--bg-light); border: 1px solid var(--border-color); border-radius: 6px; font-size: 13px; color: var(--text-muted); }
    .article-tags a:hover { border-color: var(--primary); color: var(--primary); }

    
    .article-nav-links { border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); padding: 20px 0; display: flex; justify-content: space-between; gap: 20px; margin-bottom: 50px; }
    .nav-link-box { flex: 1; }
    .nav-link-box .lbl { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; text-transform: uppercase; }
    .nav-link-box .title { font-weight: 700; font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .nav-link-box a:hover .title { color: var(--primary); }

    
    .related-articles-section { margin-top: 40px; }
    .related-title { font-size: 22px; font-weight: 800; margin-bottom: 24px; border-left: 4px solid var(--primary); padding-left: 12px; }
    .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .related-card { background: var(--bg-light); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; transition: all 0.3s; }
    .related-card:hover { transform: translateY(-3px); border-color: var(--primary); }
    .related-thumb { aspect-ratio: 16/10; overflow: hidden; background: #CBD5E1; }
    .related-thumb img { width: 100%; height: 100%; object-fit: cover; }
    .related-body { padding: 16px; }
    .related-atitle { font-size: 14px; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

    
    .sidebar { display: flex; flex-direction: column; gap: 40px; }
    .sidebar-widget { background: var(--bg-white); border: 1px solid var(--border-color); border-radius: 16px; padding: 24px; }
    .widget-title { font-size: 18px; font-weight: 700; color: var(--text-main); margin-bottom: 20px; border-left: 4px solid var(--primary); padding-left: 12px; line-height: 1.2; }
    .widget-articles { display: flex; flex-direction: column; gap: 16px; }
    .widget-article-item { display: flex; gap: 12px; align-items: center; }
    .widget-article-thumb { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; background: #E2E8F0; flex-shrink: 0; }
    .widget-article-thumb img { width: 100%; height: 100%; object-fit: cover; }
    .widget-article-info { flex-grow: 1; }
    .widget-article-title { font-size: 14px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 4px; }
    .widget-article-meta { font-size: 11px; color: var(--text-muted); }

    
    .footer { background: #0F172A; color: #94A3B8; padding: 80px 0 30px 0; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 80px; }
    .footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; margin-bottom: 60px; }
    .footer-info .logo { margin-bottom: 20px; }
    .footer-info .logo span { color: var(--text-light); }
    .footer-desc { font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
    .footer-title { font-size: 16px; font-weight: 700; color: var(--text-light); margin-bottom: 24px; }
    .footer-links { display: flex; flex-direction: column; gap: 12px; }
    .footer-links a { font-size: 14px; }
    .footer-links a:hover { color: var(--primary); }
    .footer-contact { font-size: 14px; display: flex; flex-direction: column; gap: 12px; }
    .footer-contact-item { display: flex; align-items: center; gap: 8px; }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
    .copyright { font-size: 13px; }

    @media (max-width: 991px) {
      .nav-menu, .header-actions .btn-outline { display: none; }
      .menu-toggle { display: block; }
      .article-layout { grid-template-columns: 1fr; }
      .related-grid { grid-template-columns: repeat(2, 1fr); }
      .footer-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
      .related-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; text-align: center; }
    }