﻿:root { --primary: rgb(15, 118, 110); --primary-hover: rgb(13, 148, 136); --primary-light: rgba(15, 118, 110, 0.05); --text-dark: #111827; --text-main: #374151; --text-muted: #6b7280; --bg-body: #f9fafb; --bg-white: #ffffff; --border: #e5e7eb; --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05); --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); --radius: 8px; --radius-lg: 16px; --container-width: 1200px; }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background-color: var(--bg-body); color: var(--text-main); line-height: 1.6; -webkit-font-smoothing: antialiased; }
        a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
        ul, ol { list-style: none; }
        img { max-width: 100%; height: auto; display: block; }
        .container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
        h1, h2, h3, h4, h5, h6 { color: var(--text-dark); font-weight: 700; line-height: 1.3; }
        .btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border-radius: var(--radius); font-weight: 600; font-size: 15px; cursor: pointer; transition: all 0.3s; text-align: center; }
        .btn-primary { background-color: var(--primary); color: #fff; box-shadow: 0 4px 14px 0 rgba(15,118,110,0.39); }
        .btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(15,118,110,0.4); }
        .header { background: var(--bg-white); position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm); }
        .header-inner { display: flex; justify-content: space-between; align-items: center; 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(--primary); white-space: nowrap; letter-spacing: 1px; }
        .nav-desktop { display: flex; gap: 32px; align-items: center; }
        .nav-desktop a { font-size: 16px; font-weight: 500; color: var(--text-dark); position: relative; }
        .nav-desktop a:hover { color: var(--primary); }
        .nav-desktop a::after { content: ''; position: absolute; bottom: -6px; left: 0; width: 0; height: 2px; background: var(--primary); transition: width 0.3s; }
        .nav-desktop a:hover::after { width: 100%; }
        .header-actions { display: flex; align-items: center; gap: 16px; }
        .menu-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--text-dark); cursor: pointer; }
        .drawer-mask { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 999; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
        .drawer-mask.active { opacity: 1; visibility: visible; }
        .drawer { position: fixed; top: 0; left: -300px; width: 280px; height: 100%; background: var(--bg-white); z-index: 1000; box-shadow: var(--shadow-lg); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; overflow-y: auto; }
        .drawer.active { transform: translateX(300px); }
        .drawer-header { padding: 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
        .drawer-close { background: none; border: none; font-size: 28px; color: var(--text-muted); cursor: pointer; line-height: 1; }
        .drawer-nav { padding: 20px 0; }
        .drawer-nav a { display: block; padding: 12px 24px; font-size: 16px; font-weight: 500; color: var(--text-dark); border-left: 4px solid transparent; }
        .drawer-nav a:hover { background: var(--primary-light); color: var(--primary); border-left-color: var(--primary); }
        .footer { background: #042F2E; color: #ccfbf1; padding: 64px 0 32px; margin-top: 64px; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
        .footer-brand .logo span { color: #fff; }
        .footer-brand p { margin-top: 16px; font-size: 14px; opacity: 0.8; max-width: 300px; }
        .footer-title { color: #fff; font-size: 18px; font-weight: 600; margin-bottom: 24px; }
        .footer-links li { margin-bottom: 12px; }
        .footer-links a { font-size: 14px; opacity: 0.8; }
        .footer-links a:hover { opacity: 1; color: #5eead4; }
        .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; opacity: 0.7; }
        .footer-bottom-links { display: flex; gap: 16px; }
        @media (max-width: 992px) { .nav-desktop, .header-actions .btn { display: none; } .menu-toggle { display: block; } .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
        @media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; gap: 16px; text-align: center; } }

        
        .breadcrumb-wrap { padding: 20px 0; border-bottom: 1px solid var(--border); background: #fff; }
        .breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-muted); }
        .breadcrumb a:hover { color: var(--primary); }
        .breadcrumb span { opacity: 0.5; }

        .article-layout { display: flex; gap: 40px; padding: 40px 0; align-items: flex-start; }
        .article-main { flex: 1; min-width: 0; background: #fff; padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
        
        .article-header { margin-bottom: 40px; text-align: center; border-bottom: 1px solid var(--border); padding-bottom: 32px; }
        .article-title { font-size: 32px; line-height: 1.4; margin-bottom: 20px; }
        .article-meta-info { display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--text-muted); }
        .article-meta-info div { display: flex; align-items: center; gap: 6px; }
        
        .article-tags-wrap { margin-top: 20px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
        .article-tags-wrap a { background: var(--primary-light); color: var(--primary); padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 500; }
        .article-tags-wrap a:hover { background: var(--primary); color: #fff; }

        .article-content { font-size: 16px; line-height: 1.8; color: var(--text-dark); }
        .article-content p { margin-bottom: 20px; }
        .article-content h2 { font-size: 24px; margin: 40px 0 20px; padding-left: 16px; border-left: 4px solid var(--primary); }
        .article-content h3 { font-size: 20px; margin: 30px 0 16px; }
        .article-content img { border-radius: var(--radius); margin: 24px auto; box-shadow: var(--shadow-sm); display: block; max-width: 100%; height: auto; }
        .article-content ul, .article-content ol { margin-bottom: 20px; padding-left: 24px; }
        .article-content li { margin-bottom: 8px; }
        .article-content blockquote { border-left: 4px solid var(--border); padding: 16px 24px; background: var(--bg-body); color: var(--text-muted); font-style: italic; margin-bottom: 24px; border-radius: 0 var(--radius) var(--radius) 0; }

        .article-nav { display: flex; justify-content: space-between; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 15px; }
        .article-nav a { display: flex; flex-direction: column; max-width: 45%; }
        .article-nav span { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
        .article-nav h4 { font-weight: 600; color: var(--primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        .article-nav a:hover h4 { text-decoration: underline; }
        .nav-next { text-align: right; }

        .related-articles { margin-top: 60px; }
        .related-title { font-size: 24px; margin-bottom: 24px; border-bottom: 2px solid var(--border); padding-bottom: 12px; }
        .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
        .related-card { background: var(--bg-body); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: transform 0.3s; }
        .related-card:hover { transform: translateY(-3px); border-color: var(--primary); }
        .related-img { width: 100%; height: 140px; object-fit: cover; }
        .related-info { padding: 16px; }
        .related-info h4 { font-size: 15px; line-height: 1.4; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .related-meta { font-size: 12px; color: var(--text-muted); display: flex; justify-content: space-between; }

        .sidebar { width: 300px; flex-shrink: 0; }
        .widget { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); margin-bottom: 32px; border: 1px solid var(--border); }
        .widget-title { font-size: 18px; color: var(--text-dark); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--primary-light); position: relative; }
        .widget-title::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 40px; height: 2px; background: var(--primary); }

        @media (max-width: 1024px) {
            .article-layout { flex-direction: column; }
            .sidebar { width: 100%; }
        }
        @media (max-width: 768px) {
            .article-main { padding: 20px; }
            .article-title { font-size: 24px; }
            .related-grid { grid-template-columns: 1fr; }
            .article-nav { flex-direction: column; gap: 16px; }
            .article-nav a { max-width: 100%; }
            .nav-next { text-align: left; }
        }