﻿:root {
            --primary: rgb(15,118,110);
            --primary-light: rgba(15,118,110,0.08);
            --bg-color: #f8fafc;
            --text-main: #0f172a;
            --text-muted: #64748b;
            --border-color: #e2e8f0;
            --white: #ffffff;
            --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
        }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body { font-family: -apple-system, sans-serif; background-color: var(--bg-color); color: var(--text-main); line-height: 1.8; }
        a { text-decoration: none; color: inherit; }
        img { max-width: 100%; height: auto; border-radius: 8px; }
        .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        
        .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(--primary); white-space: nowrap; }
        
        .site-header { background: var(--white); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 1000; padding: 15px 0; }
        .header-inner { display: flex; justify-content: space-between; align-items: center; }
        .nav-desktop { display: none; }
        .nav-desktop a { font-size: 16px; font-weight: 500; padding: 8px 12px; border-radius: 6px; }
        .nav-desktop a:hover { color: var(--primary); background: var(--primary-light); }
        .menu-toggle { display: block; background: none; border: none; font-size: 24px; cursor: pointer; }
        @media(min-width: 768px) { .nav-desktop { display: flex; gap: 15px; align-items: center; } .menu-toggle { display: none; } }

        .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 2000; opacity: 0; visibility: hidden; transition: all 0.3s; }
        .drawer-overlay.active { opacity: 1; visibility: visible; }
        .drawer-content { position: absolute; top: 0; left: -300px; width: 280px; height: 100%; background: var(--white); transition: left 0.3s ease; display: flex; flex-direction: column; }
        .drawer-overlay.active .drawer-content { left: 0; }
        .drawer-header { padding: 20px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; }
        .drawer-close { background: none; border: none; font-size: 24px; cursor: pointer; }
        .drawer-nav { padding: 20px; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 15px; }
        .drawer-nav a { display: block; padding: 12px 15px; background: var(--bg-color); border-radius: 8px; font-weight: 500; }

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

        .article-layout { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 80px; }
        @media(min-width: 992px) { .article-layout { grid-template-columns: 3fr 1fr; } }
        
        .article-main { background: var(--white); padding: 40px; border-radius: 12px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }
        .article-header { border-bottom: 1px solid var(--border-color); padding-bottom: 25px; margin-bottom: 30px; }
        .article-title { font-size: 32px; color: var(--text-main); margin-bottom: 15px; line-height: 1.4; }
        .article-meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: var(--text-muted); }
        .article-meta span { display: inline-flex; align-items: center; }
        
        .article-body { font-size: 16px; color: #334155; margin-bottom: 40px; }
        .article-body p { margin-bottom: 20px; }
        .article-body h2, .article-body h3 { color: var(--text-main); margin: 30px 0 15px; }

        .article-tags-wrap { display: flex; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
        .article-tags-wrap a { background: var(--bg-color); border: 1px solid var(--border-color); padding: 6px 12px; border-radius: 20px; font-size: 13px; color: var(--text-muted); }
        .article-tags-wrap a:hover { border-color: var(--primary); color: var(--primary); }

        .article-nav { display: flex; justify-content: space-between; border-top: 1px solid var(--border-color); padding-top: 20px; font-size: 15px; }
        .article-nav a { color: var(--primary); font-weight: 500; }
        .article-nav a:hover { text-decoration: underline; }

        .related-box { margin-top: 40px; }
        .related-box h3 { font-size: 20px; margin-bottom: 20px; border-left: 4px solid var(--primary); padding-left: 15px; }
        .related-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
        @media(min-width: 768px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
        .related-item { background: var(--bg-color); padding: 15px; border-radius: 8px; border: 1px solid var(--border-color); display: flex; gap: 15px; align-items: center; }
        .related-item img { width: 80px; height: 60px; object-fit: cover; flex-shrink: 0; }
        .related-item h4 { font-size: 15px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

        .sidebar-widget { background: var(--white); border-radius: 12px; padding: 25px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); margin-bottom: 30px; }
        .sidebar-widget h3 { font-size: 18px; margin-bottom: 20px; border-bottom: 2px solid var(--border-color); padding-bottom: 10px; position: relative; }
        .sidebar-widget h3::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 40px; height: 2px; background: var(--primary); }

        .site-footer { background: #0f172a; color: #cbd5e1; padding: 60px 0 20px; }
        .footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; }
        @media(min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
        .footer-brand .logo span { color: #fff; }
        .footer-links h3 { color: #fff; font-size: 18px; margin-bottom: 20px; }
        .footer-links ul { list-style:none; display: flex; flex-direction: column; gap: 12px; }
        .footer-links a { color: #94a3b8; font-size: 14px; }
        .footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #1e293b; font-size: 14px; }