﻿:root {
            --primary-color: rgb(191, 90, 242);
            --primary-hover: rgb(160, 50, 210);
            --primary-light: rgba(191, 90, 242, 0.1);
            --text-main: #2c3e50;
            --text-muted: #7f8c8d;
            --bg-site: #f8f9fa;
            --bg-card: #ffffff;
            --border-color: #eef2f5;
            --max-width: 1200px;
        }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background-color: var(--bg-site); color: var(--text-main); line-height: 1.6; }
        a { color: inherit; text-decoration: none; transition: all 0.3s ease; }
        img { max-width: 100%; height: auto; display: block; }
        
        header { background: var(--bg-card); box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; }
        .header-container { max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 15px 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: 18px; font-weight: 800; line-height: 1; color: var(--text-main); white-space: nowrap; }
        
        nav.desktop-nav { display: flex; align-items: center; gap: 20px; }
        nav.desktop-nav a { font-size: 15px; font-weight: 500; color: var(--text-main); padding: 5px 10px; border-radius: 4px; }
        nav.desktop-nav a:hover { color: var(--primary-color); background: var(--primary-light); }
        
        .menu-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-main); }
        
        .drawer-backdrop { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 998; display: none; opacity: 0; transition: opacity 0.3s ease; }
        .drawer { position: fixed; top: 0; left: -280px; width: 280px; height: 100%; background: var(--bg-card); z-index: 999; box-shadow: 2px 0 10px rgba(0,0,0,0.1); transition: left 0.3s ease; padding: 20px; display: flex; flex-direction: column; gap: 20px; }
        .drawer.active { left: 0; }
        .drawer-backdrop.active { display: block; opacity: 1; }
        .drawer-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border-color); padding-bottom: 15px; }
        .drawer-close { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-muted); }
        .drawer-nav { display: flex; flex-direction: column; gap: 15px; overflow-y: auto; }
        .drawer-nav a { font-size: 16px; font-weight: 500; padding: 10px; border-radius: 6px; }
        .drawer-nav a:hover { background: var(--primary-light); color: var(--primary-color); }

        
        .breadcrumb-container { background: #fff; border-bottom: 1px solid var(--border-color); padding: 15px 20px; }
        .breadcrumbs { max-width: var(--max-width); margin: 0 auto; font-size: 14px; color: var(--text-muted); }
        .breadcrumbs a { color: var(--text-main); }
        .breadcrumbs a:hover { color: var(--primary-color); }

        
        .main-container { max-width: var(--max-width); margin: 30px auto; padding: 0 20px; display: grid; grid-template-columns: 1fr 320px; gap: 30px; }
        
        .content-area { display: flex; flex-direction: column; gap: 25px; }
        .section-title { font-size: 22px; font-weight: 800; color: var(--text-main); margin-bottom: 20px; border-left: 4px solid var(--primary-color); padding-left: 10px; }
        
        .post-card { background: var(--bg-card); border-radius: 12px; border: 1px solid var(--border-color); overflow: hidden; display: flex; gap: 20px; transition: transform 0.3s, box-shadow 0.3s; }
        .post-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.05); }
        .post-thumb { width: 220px; height: 160px; flex-shrink: 0; overflow: hidden; position: relative; }
        .post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
        .post-card:hover .post-thumb img { transform: scale(1.05); }
        .post-body { padding: 20px 20px 20px 0; display: flex; flex-direction: column; justify-content: space-between; flex-grow: 1; }
        .post-meta { display: flex; flex-wrap: wrap; gap: 15px; font-size: 13px; color: var(--text-muted); margin-bottom: 10px; align-items: center; }
        .post-meta a { color: var(--primary-color); background: var(--primary-light); padding: 2px 8px; border-radius: 4px; font-size: 12px; }
        .post-body h2 { font-size: 18px; line-height: 1.4; font-weight: 700; margin-bottom: 10px; color: var(--text-main); }
        .post-body h2 a:hover { color: var(--primary-color); }
        .post-body p { font-size: 14px; color: var(--text-muted); line-height: 1.5; margin-bottom: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .read-more { align-self: flex-start; font-size: 14px; font-weight: 600; color: var(--primary-color); display: inline-flex; align-items: center; gap: 5px; }

        
        .pagination { display: flex; justify-content: center; gap: 10px; margin-top: 40px; flex-wrap: wrap; }
        .pagination a, .pagination span { padding: 8px 16px; border-radius: 6px; border: 1px solid var(--border-color); background: #fff; font-size: 14px; font-weight: 500; }
        .pagination a:hover { border-color: var(--primary-color); color: var(--primary-color); }
        .pagination .current { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
        .pagination .disabled { color: var(--text-muted); background: #fafafa; cursor: not-allowed; }

        
        .sidebar { display: flex; flex-direction: column; gap: 30px; }
        .sidebar-widget { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 20px; }
        .widget-title { font-size: 16px; font-weight: 800; color: var(--text-main); margin-bottom: 15px; border-bottom: 2px solid var(--border-color); padding-bottom: 10px; position: relative; }
        .widget-title::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 40px; height: 2px; background: var(--primary-color); }
        
        .sidebar-intro { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
        .sidebar-intro p { margin-bottom: 12px; }
        .sidebar-intro-btn { display: block; text-align: center; background: var(--primary-color); color: #fff; padding: 8px 15px; border-radius: 6px; font-size: 13px; font-weight: bold; }

        .hot-list { display: flex; flex-direction: column; gap: 15px; }
        .hot-item { display: flex; flex-direction: column; gap: 4px; border-bottom: 1px dashed var(--border-color); padding-bottom: 10px; }
        .hot-item:last-child { border: none; padding-bottom: 0; }
        .hot-item span { font-size: 14px; font-weight: 600; color: var(--text-main); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .hot-item:hover span { color: var(--primary-color); }
        .hot-item small { font-size: 12px; color: var(--text-muted); }

        
        footer { background: #1a1e21; color: #abb2bf; padding: 50px 20px 20px; border-top: 3px solid var(--primary-color); font-size: 14px; }
        .footer-grid { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.1); }
        .footer-brand { display: flex; flex-direction: column; gap: 15px; }
        .footer-brand .logo span { color: #fff; }
        .footer-brand p { font-size: 13px; line-height: 1.6; color: #828a95; }
        .footer-menu, .footer-tags { display: flex; flex-direction: column; gap: 15px; }
        .footer-title { color: #fff; font-size: 15px; font-weight: 700; position: relative; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.1); }
        .footer-menu ul, .footer-tags ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
        .footer-menu a, .footer-tags a { color: #abb2bf; }
        .footer-menu a:hover, .footer-tags a:hover { color: #fff; padding-left: 5px; }
        
        .friend-links { max-width: var(--max-width); margin: 20px auto 0; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
        .friend-title { font-size: 14px; color: #fff; font-weight: bold; margin-bottom: 10px; }
        .friend-content { display: flex; flex-wrap: wrap; gap: 15px; }
        .friend-content a { color: #828a95; font-size: 13px; }
        .friend-content a:hover { color: #fff; }

        .footer-bottom { max-width: var(--max-width); margin: 20px auto 0; text-align: center; font-size: 12px; color: #828a95; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 15px; }

        @media (max-width: 992px) {
            .main-container { grid-template-columns: 1fr; }
            .sidebar { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
        }
        @media (max-width: 768px) {
            .menu-toggle { display: block; }
            .desktop-nav { display: none; }
            .post-card { flex-direction: column; }
            .post-thumb { width: 100%; height: 200px; }
            .post-body { padding: 15px; }
            .footer-grid { grid-template-columns: 1fr; gap: 30px; }
            .footer-bottom { flex-direction: column; }
        }