﻿:root { --primary: rgb(219,39,119); --primary-hover: rgb(190, 20, 90); --text-main: #1f2937; --text-muted: #6b7280; --bg-body: #f9fafb; --border-color: #e5e7eb; --radius: 8px; --container-width: 1000px; }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: sans-serif; color: var(--text-main); background: var(--bg-body); line-height: 1.8; }
        a { text-decoration: none; color: inherit; transition: 0.3s; }
        ul, li { list-style: none; }
        img { max-width: 100%; height: auto; border-radius: 4px; }
        .container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
        
        
        .header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
        .header-inner { display: flex; justify-content: space-between; align-items: center; height: 70px; }
        .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: 20px; font-weight: 800; line-height: 1; color: var(--text-main); white-space: nowrap; }
        .desktop-nav { display: flex; gap: 30px; align-items: center; }
        .desktop-nav a { font-size: 16px; font-weight: 500; position: relative; padding: 5px 0; }
        .desktop-nav a:hover { color: var(--primary); }
        .btn-download-sm { background: var(--primary); color: #fff !important; padding: 8px 20px; border-radius: 20px; font-weight: bold; }
        .menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; }
        .menu-toggle span { width: 24px; height: 2px; background: var(--text-main); transition: 0.3s; }
        
        .mobile-drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 998; opacity: 0; visibility: hidden; }
        .mobile-drawer-overlay.active { opacity: 1; visibility: visible; }
        .mobile-drawer { position: fixed; top: 0; left: -300px; width: 280px; height: 100vh; background: #fff; z-index: 999; transition: 0.3s; display: flex; flex-direction: column; }
        .mobile-drawer.active { transform: translateX(300px); }
        .drawer-header { padding: 20px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; }
        .drawer-close { font-size: 24px; cursor: pointer; color: var(--text-muted); }
        .drawer-body { padding: 20px; overflow-y: auto; flex: 1; }
        .drawer-nav li { margin-bottom: 15px; border-bottom: 1px dashed var(--border-color); padding-bottom: 10px; }

        
        .breadcrumb { font-size: 14px; color: var(--text-muted); margin: 20px 0; }
        .breadcrumb a:hover { color: var(--primary); }

        .article-main { background: #fff; padding: 40px; border-radius: var(--radius); box-shadow: 0 4px 10px rgba(0,0,0,0.03); margin-bottom: 40px; }
        .article-header { border-bottom: 1px solid var(--border-color); padding-bottom: 20px; margin-bottom: 30px; text-align: center; }
        .article-title { font-size: 32px; font-weight: bold; color: #111; margin-bottom: 15px; line-height: 1.4; }
        .article-meta { font-size: 14px; color: var(--text-muted); display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
        .article-content { font-size: 16px; color: #333; line-height: 1.8; overflow-wrap: break-word; }
        .article-content p { margin-bottom: 20px; }
        .article-content h2, .article-content h3 { margin: 30px 0 15px; color: #111; }
        .article-content a { color: var(--primary); text-decoration: underline; }
        
        .article-footer { margin-top: 50px; padding-top: 20px; border-top: 1px dashed var(--border-color); }
        .article-tags { display: flex; gap: 10px; align-items: center; margin-bottom: 20px; }
        .article-tags span { font-weight: bold; font-size: 14px; color: var(--text-muted); }
        .article-tags a { background: rgba(219,39,119,0.05); color: var(--primary); padding: 5px 12px; border-radius: 4px; font-size: 13px; border: 1px solid rgba(219,39,119,0.1); }
        .article-tags a:hover { background: var(--primary); color: #fff; }
        
        .article-nav { display: flex; justify-content: space-between; gap: 20px; background: var(--bg-body); padding: 20px; border-radius: var(--radius); }
        .nav-item { flex: 1; font-size: 14px; }
        .nav-item span { color: var(--text-muted); display: block; margin-bottom: 5px; }
        .nav-item a { color: #111; font-weight: bold; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .nav-item a:hover { color: var(--primary); }
        .nav-next { text-align: right; }

        .related-section { margin-bottom: 60px; }
        .related-title { font-size: 20px; font-weight: bold; margin-bottom: 20px; padding-left: 10px; border-left: 4px solid var(--primary); }
        .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
        .related-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 5px rgba(0,0,0,0.02); transition: 0.3s; border: 1px solid var(--border-color); }
        .related-card:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.08); border-color: var(--primary); }
        .related-img { width: 100%; height: 140px; object-fit: cover; background: #eee; }
        .related-body { padding: 15px; }
        .related-body h4 { font-size: 15px; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .related-meta { font-size: 12px; color: #999; display: flex; justify-content: space-between; }

        
        .footer { background: #111827; color: #d1d5db; padding: 60px 0 20px; margin-top: auto; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
        .footer-brand .logo span { color: #fff; }
        .footer-title { color: #fff; font-size: 18px; font-weight: bold; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
        .footer-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--primary); }
        .footer-links li { margin-bottom: 12px; }
        .footer-bottom { border-top: 1px solid #374151; padding-top: 20px; text-align: center; font-size: 14px; color: #6b7280; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;}

        @media (max-width: 768px) {
            .desktop-nav { display: none; }
            .menu-toggle { display: flex; }
            .article-main { padding: 20px; }
            .article-title { font-size: 24px; }
            .article-nav { flex-direction: column; }
            .nav-next { text-align: left; }
            .related-grid { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr; text-align: center; }
            .footer-title::after { left: 50%; transform: translateX(-50%); }
            .footer-bottom { flex-direction: column; justify-content: center; }
        }