﻿:root { --primary: rgb(75,85,99); --primary-hover: rgb(55,65,79); --primary-light: rgba(75,85,99,0.08); --text-dark: #111827; --text-main: #374151; --text-muted: #6b7280; --bg-main: #f9fafb; --bg-card: #ffffff; --border-color: #e5e7eb; --radius-md: 8px; --radius-lg: 16px; --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05); --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1); --container: 1000px; }
        * { margin: 0; padding: 0; box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
        body { background-color: var(--bg-main); color: var(--text-main); line-height: 1.8; }
        a { text-decoration: none; color: inherit; transition: all 0.3s; }
        ul { list-style: none; }
        img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-md); margin: 20px 0; }
        .container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
        
        
        .header { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
        .header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
        .logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
        .logo img { display: block; height: 40px; width: auto; max-width: 160px; object-fit: contain; flex-shrink: 0; }
        .logo span { display: inline-block; font-size: 22px; font-weight: 800; line-height: 1; color: var(--text-dark); white-space: nowrap; }
        .desktop-nav { display: flex; gap: 32px; align-items: center; }
        .desktop-nav a { font-weight: 500; color: var(--text-main); }
        .desktop-nav a:hover { color: var(--primary); }
        .mobile-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--text-dark); }
        .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 999; opacity: 0; visibility: hidden; transition: all 0.3s; backdrop-filter: blur(4px); }
        .drawer { position: fixed; top: 0; left: -320px; bottom: 0; width: 280px; background: #fff; z-index: 1000; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: var(--shadow-md); display: flex; flex-direction: column; }
        .drawer.active { left: 0; }
        .drawer-overlay.active { opacity: 1; visibility: visible; }
        .drawer-header { padding: 24px 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border-color); }
        .drawer-close { background: none; border: none; cursor: pointer; color: var(--text-muted); }
        .drawer-nav { padding: 20px; overflow-y: auto; flex: 1; }
        .drawer-nav a { display: block; padding: 16px 0; border-bottom: 1px solid var(--border-color); font-size: 16px; font-weight: 500; }

        
        .article-wrap { background: var(--bg-card); padding: 40px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); margin: 40px auto; border: 1px solid var(--border-color); }
        .breadcrumb { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
        .breadcrumb a { color: var(--primary); }
        .breadcrumb a:hover { text-decoration: underline; }
        .article-header { margin-bottom: 40px; border-bottom: 1px solid var(--border-color); padding-bottom: 24px; }
        .article-title { font-size: 32px; font-weight: 800; color: var(--text-dark); line-height: 1.4; margin-bottom: 16px; }
        .article-meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: var(--text-muted); align-items: center; }
        .article-meta span { display: flex; align-items: center; gap: 6px; }
        .article-tags { margin-top: 12px; }
        .article-tags a { display: inline-block; background: var(--primary-light); color: var(--primary); padding: 2px 10px; border-radius: 4px; font-size: 13px; margin-right: 8px; }
        
        .article-content { font-size: 16px; color: var(--text-main); }
        .article-content h2 { font-size: 24px; color: var(--text-dark); margin: 32px 0 16px; font-weight: 700; border-left: 4px solid var(--primary); padding-left: 12px; }
        .article-content h3 { font-size: 20px; color: var(--text-dark); margin: 24px 0 12px; }
        .article-content p { margin-bottom: 16px; }
        .article-content blockquote { border-left: 4px solid var(--border-color); padding-left: 16px; color: var(--text-muted); font-style: italic; margin: 20px 0; background: var(--bg-main); padding: 16px; border-radius: 0 4px 4px 0; }
        
        
        .post-nav { display: flex; justify-content: space-between; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--border-color); font-size: 15px; }
        .post-nav a { color: var(--text-dark); font-weight: 500; max-width: 48%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .post-nav a:hover { color: var(--primary); }

        
        .related-section { margin: 60px 0; }
        .related-title { font-size: 24px; font-weight: 800; color: var(--text-dark); margin-bottom: 24px; }
        .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
        .rel-card { background: var(--bg-card); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-color); display: flex; flex-direction: column; transition: transform 0.3s; }
        .rel-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
        .rel-img { aspect-ratio: 16/10; overflow: hidden; }
        .rel-img img { width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; }
        .rel-info { padding: 16px; }
        .rel-info h4 { font-size: 15px; margin-bottom: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .rel-info p { font-size: 12px; color: var(--text-muted); margin: 0; }

        
        .footer { background: #1f2937; color: #9ca3af; padding-top: 80px; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 60px; }
        .footer .logo span { color: #fff; }
        .footer-brand p { margin-top: 20px; font-size: 14px; line-height: 1.8; }
        .footer-links h4 { color: #fff; font-size: 18px; font-weight: 600; margin-bottom: 24px; }
        .footer-links ul li { margin-bottom: 12px; }
        .footer-links ul li a:hover { color: #fff; }
        .footer-contact p { margin-bottom: 12px; font-size: 14px; }
        .footer-bottom { border-top: 1px solid #374151; padding: 24px 0; text-align: center; font-size: 14px; }

        @media (max-width: 1024px) {
            .related-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 768px) {
            .desktop-nav { display: none; }
            .mobile-toggle { display: block; }
            .article-wrap { padding: 24px 16px; margin: 20px auto; border-left: none; border-right: none; border-radius: 0; }
            .article-title { font-size: 24px; }
            .related-grid { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr; gap: 32px; }
            .post-nav { flex-direction: column; gap: 16px; }
            .post-nav a { max-width: 100%; }
        }