﻿:root {
      --primary-color: rgb(124, 58, 237);
      --primary-hover: rgb(109, 40, 217);
      --text-dark: #111827;
      --text-muted: #4b5563;
      --bg-light: #f9fafb;
      --border-color: #e5e7eb;
      --transition: all 0.3s ease;
      --max-width: 1200px;
    }
    * { 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-dark); background-color: #fff; line-height: 1.6; }
    a { color: inherit; text-decoration: none; transition: var(--transition); }
    img { max-width: 100%; height: auto; }
    .container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

    
    .logo { display: inline-flex; align-items: center; gap: 12px; }
    .logo img { height: 40px; width: auto; max-width: 160px; object-fit: contain; }
    .logo span { font-size: 20px; font-weight: 800; color: var(--text-dark); }

    
    header { background-color: #fff; border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 1000; }
    .header-container { display: flex; justify-content: space-between; align-items: center; height: 70px; }
    .nav-menu { display: flex; gap: 30px; align-items: center; }
    .nav-menu a { font-weight: 500; color: var(--text-muted); font-size: 15px; }
    .nav-menu a:hover { color: var(--primary-color); }
    .mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; }
    .mobile-menu-btn svg { width: 24px; height: 24px; fill: var(--text-dark); }

    
    .drawer-mask { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1001; opacity: 0; pointer-events: none; transition: var(--transition); }
    .drawer-mask.active { opacity: 1; pointer-events: auto; }
    .mobile-drawer { position: fixed; top: 0; left: -300px; width: 300px; height: 100%; background: #fff; z-index: 1002; box-shadow: 5px 0 25px rgba(0,0,0,0.15); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; padding: 20px; }
    .mobile-drawer.active { transform: translateX(300px); }
    .drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; border-bottom: 1px solid var(--border-color); padding-bottom: 15px; }
    .drawer-close { background: none; border: none; cursor: pointer; }
    .drawer-close svg { width: 20px; height: 20px; }
    .drawer-nav { display: flex; flex-direction: column; gap: 20px; overflow-y: auto; flex: 1; }
    .drawer-nav a { font-size: 16px; font-weight: 500; color: var(--text-dark); padding: 10px 0; border-bottom: 1px solid #f3f4f6; }

    
    .art-banner { background-color: var(--bg-light); padding: 50px 0; border-bottom: 1px solid var(--border-color); }
    .breadcrumbs { font-size: 14px; color: var(--text-muted); margin-bottom: 15px; }
    .breadcrumbs a:hover { color: var(--primary-color); }

    .art-layout { display: grid; grid-template-columns: 2.5fr 1fr; gap: 40px; padding: 60px 0; }
    .art-header h1 { font-size: 32px; font-weight: 800; margin-bottom: 15px; line-height: 1.3; }
    .art-meta { display: flex; gap: 20px; font-size: 13px; color: var(--text-muted); margin-bottom: 30px; }

    .art-content { font-size: 16px; line-height: 1.8; color: var(--text-dark); margin-bottom: 50px; }
    .art-content p { margin-bottom: 25px; }
    .art-content img { border-radius: 12px; margin: 20px 0; }

    
    .art-tags { display: flex; gap: 10px; margin-bottom: 40px; }
    .art-tags a { font-size: 13px; background: rgba(124, 58, 237, 0.06); color: var(--primary-color); padding: 6px 15px; border-radius: 30px; }

    .prev-next { display: flex; justify-content: space-between; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); padding: 25px 0; margin-bottom: 50px; font-size: 14px; }
    .prev-next a { max-width: 48%; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; font-weight: 600; }
    .prev-next a:hover { color: var(--primary-color); }

    
    .related-section h3 { font-size: 20px; font-weight: 800; margin-bottom: 25px; }
    .related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; }
    .rel-card { border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; transition: var(--transition); }
    .rel-card:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
    .rel-img { height: 140px; width: 100%; object-fit: cover; }
    .rel-body { padding: 15px; }
    .rel-title { 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 { border: 1px solid var(--border-color); border-radius: 12px; padding: 25px; background: #fff; margin-bottom: 30px; }
    .widget-title { font-size: 18px; font-weight: 700; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--primary-color); }

    
    footer { background-color: #0b0f19; color: #9ca3af; padding: 60px 0 30px; border-top: 1px solid rgba(255,255,255,0.1); }
    .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
    .footer-brand .logo span { color: #fff; }
    .footer-desc { margin-top: 15px; font-size: 14px; }
    .footer-title { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 20px; }
    .footer-links { list-style: none; }
    .footer-links li { margin-bottom: 12px; }
    .footer-links a { font-size: 14px; }
    .footer-links a:hover { color: var(--primary-color); }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }

    @media (max-width: 992px) {
      .art-layout { grid-template-columns: 1fr; }
    }
    @media (max-width: 768px) {
      .nav-menu { display: none; }
      .mobile-menu-btn { display: block; }
      .related-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
    }