﻿:root {
            --primary: rgb(139,233,253);
            --primary-dark: #5ee0fa;
            --text-main: #1a1a1a;
            --text-sub: #666;
            --bg-light: #f4f6f8;
            --bg-white: #ffffff;
            --border: #e2e8f0;
        }
        * { box-sizing: border-box; }
        body { font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif; color: var(--text-main); background: var(--bg-light); line-height: 1.6; margin: 0; padding: 0; }
        a { color: inherit; text-decoration: none; transition: 0.3s; }
        a:hover { color: var(--primary-dark); }
        img { max-width: 100%; height: auto; display: block; }
        
        .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: 20px; font-weight: 800; line-height: 1; color: var(--text-main); white-space: nowrap; }

        .header { background: var(--bg-white); box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; }
        .header-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; height: 70px; padding: 0 20px; }
        .desktop-nav { display: flex; gap: 24px; align-items: center; }
        .desktop-nav a { font-weight: 500; font-size: 16px; }
        .desktop-nav a:hover { color: var(--primary-dark); }
        .menu-btn { display: none; font-size: 28px; cursor: pointer; color: var(--text-main); }

        .mobile-drawer { position: fixed; top: 0; left: -320px; width: 300px; height: 100vh; background: var(--bg-white); z-index: 999; transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 2px 0 15px rgba(0,0,0,0.1); overflow-y: auto; padding: 20px; }
        .mobile-drawer.active { left: 0; }
        .drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; padding-bottom: 15px; border-bottom: 1px solid var(--border); }
        .drawer-close { font-size: 28px; cursor: pointer; color: var(--text-sub); }
        .drawer-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 16px; font-weight: 500; }
        .drawer-overlay { 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: 0.3s; }
        .drawer-overlay.active { display: block; opacity: 1; }

        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        .page-header { background: var(--bg-white); padding: 50px 0; border-bottom: 1px solid var(--border); margin-bottom: 40px; box-shadow: 0 5px 15px rgba(0,0,0,0.02); }
        .breadcrumb { font-size: 14px; color: var(--text-sub); margin-bottom: 20px; }
        .breadcrumb a { color: var(--text-main); font-weight: 500; }
        .breadcrumb a:hover { color: var(--primary-dark); }
        .page-title { font-size: 36px; font-weight: 800; margin-bottom: 15px; }
        .page-desc { font-size: 16px; color: var(--text-sub); max-width: 800px; }

        .main-layout { display: flex; gap: 40px; margin-bottom: 80px; align-items: flex-start; }
        .content-area { flex: 1; }
        .sidebar { width: 320px; background: var(--bg-white); padding: 30px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); position: sticky; top: 100px; }

        .article-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
        .article-card { background: var(--bg-white); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.04); display: flex; flex-direction: column; transition: 0.3s; }
        .article-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
        .article-img { display: block; width: 100%; height: 200px; overflow: hidden; position: relative; }
        .article-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
        .article-card:hover .article-img img { transform: scale(1.08); }
        .article-body { padding: 25px; flex: 1; display: flex; flex-direction: column; }
        .article-meta { font-size: 13px; color: var(--text-sub); margin-bottom: 12px; display: flex; justify-content: space-between; }
        .article-title { font-size: 20px; font-weight: bold; margin-bottom: 12px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .article-desc { font-size: 15px; color: var(--text-sub); margin-bottom: 20px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
        .article-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 15px; font-size: 13px; }
        .article-tags { color: var(--primary-dark); font-weight: 500; }

        .pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; flex-wrap: wrap; }
        .pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 15px; background: var(--bg-white); border: 1px solid var(--border); border-radius: 6px; font-size: 15px; color: var(--text-main); font-weight: 500; }
        .pagination a:hover, .pagination .current { background: var(--primary); color: #111; border-color: var(--primary); }
        .pagination .disabled { opacity: 0.5; cursor: not-allowed; }

        .widget-title { font-size: 20px; font-weight: bold; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); display: inline-block; }
        .hot-list { list-style: none; padding: 0; margin: 0; }
        .hot-list li { margin-bottom: 15px; }
        .hot-list a { display: flex; gap: 15px; align-items: center; font-size: 14px; font-weight: 500; line-height: 1.4; }
        .hot-list img { width: 80px; height: 60px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }

        .footer { background: #1a1a1a; color: #aaa; padding: 60px 20px 20px; border-top: 5px solid #222; }
        .footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
        .footer-logo .logo span { color: #fff; }
        .footer-desc { margin-top: 20px; font-size: 14px; line-height: 1.8; max-width: 400px; }
        .footer-title { color: #fff; font-size: 18px; margin-bottom: 20px; font-weight: bold; }
        .footer-nav { list-style: none; padding: 0; margin: 0; }
        .footer-nav li { margin-bottom: 12px; }
        .footer-nav a { color: #aaa; }
        .footer-nav a:hover { color: var(--primary); padding-left: 5px; }
        .footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid #333; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; flex-wrap: wrap; gap: 15px; }
        .footer-links a { color: #aaa; margin-left: 15px; }
        .footer-links a:hover { color: var(--primary); }

        @media(max-width: 992px) {
            .desktop-nav { display: none; }
            .menu-btn { display: block; }
            .main-layout { flex-direction: column; }
            .sidebar { width: 100%; position: static; }
            .article-list { grid-template-columns: 1fr; }
            .footer-inner { grid-template-columns: 1fr; }
        }