﻿:root {
      --primary: rgb(20,184,166);
      --primary-hover: rgb(13,148,136);
      --dark: #0f172a;
      --light: #f8fafc;
      --text-main: #334155;
      --text-muted: #64748b;
      --border-color: #e2e8f0;
      --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: -apple-system, sans-serif; color: var(--text-main); background-color: #fafafa; }
    a { color: inherit; text-decoration: none; transition: var(--transition); }
    .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
    
    
    .header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-color); height: 70px; display: flex; align-items: center; }
    .header-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
    .logo { display: inline-flex; align-items: center; gap: 12px; }
    .logo img { height: 40px; width: auto; object-fit: contain; }
    .logo span { font-size: 20px; font-weight: 800; color: var(--dark); }
    .nav-menu { display: flex; gap: 32px; }
    .nav-menu a { font-weight: 500; }
    .nav-menu a:hover, .nav-menu a.active { color: var(--primary); }
    .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 8px; font-weight: 600; font-size: 14px; border: none; cursor: pointer; }
    .btn-primary { background-color: var(--primary); color: #fff; }
    .btn-menu-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }

    
    .drawer-backdrop { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); z-index: 199; opacity: 0; visibility: hidden; transition: var(--transition); backdrop-filter: blur(4px); }
    .drawer { position: fixed; top: 0; left: -320px; width: 300px; height: 100%; background: #fff; z-index: 200; box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1); transition: var(--transition); display: flex; flex-direction: column; padding: 24px; }
    .drawer.active { left: 0; }
    .drawer-backdrop.active { opacity: 1; visibility: visible; }
    .drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
    .btn-drawer-close { background: none; border: none; font-size: 24px; color: var(--text-muted); }
    .drawer-nav { display: flex; flex-direction: column; gap: 20px; }
    .drawer-nav a { font-size: 18px; font-weight: 600; color: var(--dark); padding: 10px 0; border-bottom: 1px solid var(--border-color); }

    
    .page-header { background-color: var(--dark); color: #fff; padding: 50px 0; margin-bottom: 50px; }
    .breadcrumbs { font-size: 14px; color: #94a3b8; margin-bottom: 16px; }
    .breadcrumbs a { color: #cbd5e1; }
    .breadcrumbs a:hover { color: var(--primary); }
    .page-title { font-size: 28px; font-weight: 800; line-height: 1.4; }

    
    .layout-with-sidebar { display: grid; grid-template-columns: 8fr 4fr; gap: 40px; margin-bottom: 80px; }
    .article-container { background: #fff; padding: 40px; border-radius: 12px; border: 1px solid var(--border-color); box-shadow: var(--shadow); }
    
    .article-meta-row { display: flex; flex-wrap: wrap; gap: 20px; color: var(--text-muted); font-size: 14px; border-bottom: 1px solid var(--border-color); padding-bottom: 20px; margin-bottom: 30px; }
    .article-content { font-size: 16px; line-height: 1.8; color: var(--text-main); }
    .article-content p { margin-bottom: 24px; }
    .article-content h2, .article-content h3 { color: var(--dark); margin: 40px 0 20px 0; font-weight: 800; }
    
    
    .article-footer-tags { margin-top: 40px; padding-top: 20px; border-top: 1px dashed var(--border-color); }
    .prev-next-links { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; font-size: 14px; }
    .prev-next-links a { color: var(--primary); font-weight: 600; }
    .prev-next-links a:hover { text-decoration: underline; }

    
    .related-section { margin-top: 60px; }
    .related-title { font-size: 20px; font-weight: 800; color: var(--dark); margin-bottom: 24px; }
    .related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .related-card { background: #fff; border: 1px solid var(--border-color); border-radius: 8px; padding: 16px; display: flex; gap: 16px; }
    .related-img { width: 100px; height: 70px; background-size: cover; background-position: center; border-radius: 4px; flex-shrink: 0; }
    .related-info { display: flex; flex-direction: column; justify-content: space-between; }
    .related-info h4 { font-size: 14px; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

    
    .sidebar-widget { background: #fff; padding: 24px; border-radius: 12px; border: 1px solid var(--border-color); margin-bottom: 30px; box-shadow: var(--shadow); }
    .widget-title { font-size: 18px; font-weight: 700; border-bottom: 2px solid var(--primary); padding-bottom: 10px; margin-bottom: 20px; color: var(--dark); }
    .widget-list { list-style: none; }
    .widget-list li { margin-bottom: 12px; border-bottom: 1px dotted var(--border-color); padding-bottom: 8px; }
    .widget-list a { font-size: 14px; font-weight: 500; }
    .widget-list a:hover { color: var(--primary); }

    
    .footer { background-color: var(--dark); color: #94a3b8; padding: 80px 0 40px 0; border-top: 1px solid #1e293b; }
    .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 60px; }
    .footer-widget h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 24px; }
    .footer-links { list-style: none; }
    .footer-links li { margin-bottom: 12px; }
    .footer-links a:hover { color: #fff; }
    .footer-bottom { border-top: 1px solid #1e293b; padding-top: 30px; text-align: center; font-size: 14px; }

    @media(max-width: 991px) {
      .layout-with-sidebar { grid-template-columns: 1fr; }
      .related-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 767px) {
      .nav-menu { display: none; }
      .btn-menu-toggle { display: block; }
      .footer-grid { grid-template-columns: 1fr; }
    }