﻿:root { --primary: rgb(79,70,229); --primary-hover: rgb(67,56,202); --primary-light: rgba(79,70,229,0.1); --text-dark: #111827; --text-gray: #4B5563; --text-light: #9CA3AF; --bg-body: #F9FAFB; --bg-white: #FFFFFF; --border-color: #E5E7EB; --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05); --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1); --radius-md: 0.5rem; --radius-lg: 1rem; --transition: all 0.3s ease; }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; background-color: var(--bg-body); color: var(--text-dark); line-height: 1.6; }
        a { text-decoration: none; color: inherit; transition: var(--transition); }
        ul { list-style: none; }
        img { max-width: 100%; height: auto; display: block; }
        .container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
        
        .header { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--border-color); }
        .header-inner { display: flex; align-items: center; justify-content: space-between; height: 4.5rem; }
        .logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
        .logo img { display: block; height: 36px; width: auto; max-width: 160px; object-fit: contain; flex-shrink: 0; }
        .logo span { display: inline-block; font-size: 1.25rem; font-weight: 800; line-height: 1; color: var(--text-dark); white-space: nowrap; }
        .desktop-nav { display: none; }
        .desktop-nav a { font-size: 0.95rem; font-weight: 500; color: var(--text-gray); margin-left: 2rem; position: relative; }
        .desktop-nav a:hover { color: var(--primary); }
        .mobile-toggle { display: block; cursor: pointer; color: var(--text-dark); }
        .mobile-toggle svg { width: 28px; height: 28px; }
        
        .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 90; opacity: 0; visibility: hidden; transition: var(--transition); }
        .drawer-overlay.active { opacity: 1; visibility: visible; }
        .drawer { position: fixed; top: 0; left: -300px; bottom: 0; width: 280px; background: var(--bg-white); z-index: 100; transition: transform 0.3s ease-in-out; display: flex; flex-direction: column; }
        .drawer.active { transform: translateX(300px); }
        .drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem; border-bottom: 1px solid var(--border-color); }
        .drawer-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-gray); }
        .drawer-nav { padding: 1rem 0; overflow-y: auto; }
        .drawer-nav a { display: block; padding: 0.875rem 1.5rem; color: var(--text-dark); font-weight: 500; }
        
        .footer { background: #111827; color: #D1D5DB; padding: 4rem 0 2rem; }
        .footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 3rem; }
        .footer-brand .logo span { color: #fff; }
        .footer-brand p { margin-top: 1rem; font-size: 0.875rem; color: #9CA3AF; max-width: 300px; }
        .footer-links h4 { color: #fff; font-size: 1rem; margin-bottom: 1.25rem; }
        .footer-links ul li { margin-bottom: 0.75rem; font-size: 0.875rem; color: #9CA3AF; }
        .footer-links ul li a:hover { color: var(--primary); }
        .footer-bottom { border-top: 1px solid #374151; padding-top: 2rem; text-align: center; font-size: 0.875rem; color: #6B7280; }

        @media (min-width: 768px) {
            .desktop-nav { display: block; }
            .mobile-toggle { display: none; }
            .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
        }

        
        .article-wrap { max-width: 800px; margin: 3rem auto; padding: 0 1.5rem; background: var(--bg-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding-top: 3rem; padding-bottom: 3rem; }
        .breadcrumb { font-size: 0.875rem; color: var(--text-light); margin-bottom: 2rem; }
        .breadcrumb a:hover { color: var(--primary); }
        
        .art-header { margin-bottom: 2rem; border-bottom: 1px solid var(--border-color); padding-bottom: 1.5rem; text-align: center; }
        .art-header h1 { font-size: 2rem; color: var(--text-dark); margin-bottom: 1rem; line-height: 1.3; }
        .art-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; font-size: 0.875rem; color: var(--text-gray); }
        .art-meta span { display: inline-flex; align-items: center; }
        
        .art-content { font-size: 1.05rem; color: #333; line-height: 1.8; margin-bottom: 3rem; }
        .art-content p { margin-bottom: 1.5rem; }
        .art-content img { max-width: 100%; border-radius: var(--radius-md); margin: 1.5rem auto; box-shadow: var(--shadow-sm); }
        .art-content h2, .art-content h3 { color: var(--text-dark); margin: 2rem 0 1rem; }
        
        .art-tags { margin-bottom: 2rem; }
        .art-tags a { display: inline-block; padding: 6px 12px; background: var(--primary-light); color: var(--primary); border-radius: 4px; font-size: 0.875rem; margin-right: 8px; margin-bottom: 8px; transition: var(--transition); }
        .art-tags a:hover { background: var(--primary); color: #fff; }
        
        .art-nav { display: flex; justify-content: space-between; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); padding: 1.5rem 0; margin-bottom: 3rem; font-size: 0.95rem; flex-wrap: wrap; gap: 1rem; }
        .art-nav a { color: var(--primary); font-weight: 500; }
        .art-nav a:hover { text-decoration: underline; }
        
        .related-box h3 { font-size: 1.5rem; margin-bottom: 1.5rem; border-left: 4px solid var(--primary); padding-left: 0.75rem; color: var(--text-dark); }
        .related-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
        .rel-card { display: flex; gap: 1rem; align-items: center; background: var(--bg-body); padding: 1rem; border-radius: var(--radius-md); transition: var(--transition); border: 1px solid var(--border-color); }
        .rel-card:hover { border-color: var(--primary-light); background: #fff; box-shadow: var(--shadow-sm); }
        .rel-img { width: 100px; height: 75px; flex-shrink: 0; border-radius: 4px; overflow: hidden; }
        .rel-img img { width: 100%; height: 100%; object-fit: cover; }
        .rel-info h4 { font-size: 1rem; margin-bottom: 0.25rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .rel-info h4 a { color: var(--text-dark); }
        .rel-info h4 a:hover { color: var(--primary); }
        .rel-info span { font-size: 0.75rem; color: var(--text-light); }

        @media (min-width: 768px) {
            .art-header h1 { font-size: 2.5rem; }
            .related-grid { grid-template-columns: repeat(2, 1fr); }
        }