﻿:root { --primary: rgb(139,92,246); --primary-dark: rgb(109, 40, 217); --primary-light: rgba(139,92,246, 0.1); --text-main: #111827; --text-muted: #4b5563; --bg-body: #f9fafb; --bg-white: #ffffff; --border-color: #e5e7eb; }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: -apple-system, sans-serif; background: var(--bg-body); color: var(--text-main); line-height: 1.8; padding-top: 70px; }
        a { text-decoration: none; color: inherit; transition: 0.3s; }
        img { max-width: 100%; height: auto; border-radius: 8px; }
        ul { list-style: none; }
        .container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
        
        .header { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); position: fixed; top: 0; width: 100%; z-index: 100; border-bottom: 1px solid var(--border-color); }
        .header-inner { display: flex; justify-content: space-between; align-items: center; height: 70px; }
        .logo { display: inline-flex; align-items: center; gap: 12px; }
        .logo img { height: 36px; max-width: 150px; object-fit: contain; }
        .logo span { font-size: 20px; font-weight: 800; color: var(--primary-dark); }
        .desktop-nav { display: none; }
        @media (min-width: 992px) { .desktop-nav { display: flex; align-items: center; gap: 30px; } .desktop-nav ul { display: flex; gap: 24px; } .desktop-nav a { font-weight: 500; } .desktop-nav a:hover { color: var(--primary); } .btn-primary { background: var(--primary); color: white !important; padding: 8px 20px; border-radius: 6px; font-weight: 600; } }
        .mobile-menu-btn { display: block; width: 24px; height: 24px; cursor: pointer; }
        .mobile-menu-btn span { display: block; width: 100%; height: 2px; background: var(--text-main); margin-bottom: 5px; }
        @media (min-width: 992px) { .mobile-menu-btn { display: none; } }
        .drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1000; opacity: 0; visibility: hidden; transition: 0.3s; }
        .drawer-overlay.active { opacity: 1; visibility: visible; }
        .drawer { position: fixed; top: 0; left: -280px; width: 280px; height: 100%; background: var(--bg-white); z-index: 1001; transition: 0.3s; display: flex; flex-direction: column; }
        .drawer.active { left: 0; }
        .drawer-header { padding: 20px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; }
        .drawer-close { font-size: 24px; color: var(--text-muted); cursor: pointer; }
        .drawer-nav { padding: 20px; overflow-y: auto; flex: 1; }
        .drawer-nav li { margin-bottom: 15px; }
        .drawer-nav a { display: block; font-weight: 500; padding: 10px; border-radius: 6px; }

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

        .article-main { background: var(--bg-white); border-radius: 16px; padding: 30px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); margin-bottom: 40px; border: 1px solid var(--border-color); }
        @media (min-width: 768px) { .article-main { padding: 50px; } }
        
        .article-header { border-bottom: 1px solid var(--border-color); padding-bottom: 25px; margin-bottom: 30px; }
        .article-header h1 { font-size: 28px; font-weight: 800; line-height: 1.4; margin-bottom: 20px; color: var(--text-main); }
        @media (min-width: 768px) { .article-header h1 { font-size: 36px; } }
        .article-meta-bar { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: #6b7280; }
        .article-meta-item { display: flex; align-items: center; gap: 6px; }
        
        .article-content { font-size: 17px; color: #374151; word-wrap: break-word; }
        .article-content p { margin-bottom: 20px; text-indent: 2em; }
        .article-content h2, .article-content h3 { color: var(--text-main); margin: 40px 0 20px; font-weight: 700; }
        .article-content img { margin: 20px auto; display: block; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
        .article-content blockquote { border-left: 4px solid var(--primary); padding-left: 15px; background: var(--bg-body); padding: 15px; margin: 20px 0; border-radius: 0 8px 8px 0; font-style: italic; }

        .article-tags { margin-top: 40px; padding-top: 20px; border-top: 1px dashed var(--border-color); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
        .article-tags span { font-size: 14px; font-weight: bold; color: var(--text-main); }
        .article-tags a { background: var(--primary-light); color: var(--primary-dark); padding: 6px 12px; border-radius: 6px; font-size: 14px; }
        .article-tags a:hover { background: var(--primary); color: white; }

        .article-nav { display: flex; flex-direction: column; gap: 15px; margin-top: 40px; }
        @media (min-width: 768px) { .article-nav { flex-direction: row; justify-content: space-between; } }
        .article-nav a { background: var(--bg-white); padding: 15px 20px; border-radius: 8px; border: 1px solid var(--border-color); flex: 1; display: flex; flex-direction: column; font-size: 14px; color: var(--text-muted); }
        .article-nav a:hover { border-color: var(--primary); box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
        .article-nav a strong { font-size: 16px; color: var(--text-main); margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        
        .related-articles { margin-top: 60px; margin-bottom: 60px; }
        .related-articles h3 { font-size: 22px; border-left: 4px solid var(--primary); padding-left: 12px; margin-bottom: 25px; }
        .related-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
        @media (min-width: 768px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
        .related-card { background: var(--bg-white); border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; }
        .related-card:hover { border-color: var(--primary-light); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
        .related-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 0; }
        .related-card-content { padding: 15px; }
        .related-card-content h4 { font-size: 16px; margin-bottom: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

        .footer { background: #111827; color: #9ca3af; padding: 60px 0 30px; }
        .footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; }
        .footer-brand .logo span { color: white; }
        .footer-links h4 { color: white; font-weight: 600; margin-bottom: 20px; }
        .footer-links ul { display: flex; flex-direction: column; gap: 10px; }
        .footer-bottom { border-top: 1px solid #374151; padding-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 15px; font-size: 14px; }
        .footer-utils { display: flex; gap: 15px; }
        @media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } .footer-bottom { flex-direction: row; justify-content: space-between; } }