﻿: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);
      --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); }

    
    .tag-info-strip { background: var(--bg-light); border-left: 4px solid var(--accent-blue); padding: 24px; border-radius: 0 12px 12px 0; margin-bottom: 40px; }
    .tag-info-strip h1 { font-size: 26px; font-weight: 800; color: var(--text-main); margin-bottom: 8px; }
    .tag-info-strip p { font-size: 14px; color: var(--text-muted); }

    
    .articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
    .article-card { background: var(--bg-white); border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: all 0.3s; }
    .article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
    .article-img { aspect-ratio: 16/10; overflow: hidden; background: #CBD5E1; }
    .article-img img { width: 100%; height: 100%; object-fit: cover; }
    .article-content { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
    .article-title { font-size: 18px; font-weight: 700; color: var(--text-main); margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .article-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .article-meta { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--text-muted); border-top: 1px solid var(--border-color); padding-top: 14px; }

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

    
    .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; }
      .articles-grid { grid-template-columns: repeat(2, 1fr); }
      .footer-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
      .articles-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; text-align: center; }
    }