        :root {
            --primary-color: #2b7de8;
            --bg-color: #f6f7f9;
            --card-bg: #ffffff;
            --text-main: #333333;
            --text-sub: #666666;
            --text-light: #999999;
            --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
            --shadow-hover: 0 8px 16px rgba(0,0,0,0.08);
            --radius: 12px;
        }

        .focus-container {
            width: 100%;
            max-width: 1180px;
            margin: 0 auto;
        
        }

        /* --- 布局网格 --- */
        .top-section {
            display: grid;
            grid-template-columns: 2fr 1.2fr;
            gap: 20px;
            margin-bottom: 24px;
            height: 360px;
        }

        /* --- 1. 轮播图样式 --- */
        .carousel-container {
            position: relative;
            background: #000;
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
        }

        .carousel-track {
            display: flex;
            height: 100%;
            transition: transform 0.5s ease-in-out;
        }

        .carousel-slide {
            min-width: 100%;
            position: relative;
        }
        
        .carousel-slide a {
            display: block;
            width: 100%;
            height: 100%;
            text-decoration: none;
        }

        .carousel-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .carousel-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            background: linear-gradient(transparent, rgba(0,0,0,0.7));
            color: white;
            padding: 40px 24px 24px;
        }

        .carousel-caption h2 {
            margin-bottom: 8px;
            display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
        }

        .carousel-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255,255,255,0.2);
            border: none;
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            backdrop-filter: blur(4px);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s;
            z-index: 10;
        }

        .carousel-btn:hover {
            background: rgba(255,255,255,0.4);
        }

        .carousel-btn.prev { left: 16px; }
        .carousel-btn.next { right: 16px; }

        .carousel-indicators {
            position: absolute;
            bottom: 16px;
            right: 24px;
            display: flex;
            gap: 8px;
            z-index: 10;
        }

        .indicator {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: rgba(255,255,255,0.5);
            cursor: pointer;
            transition: all 0.3s;
        }

        .indicator.active {
            background: white;
            width: 20px;
            border-radius: 4px;
        }

        /* --- 2. 推荐文章样式 --- */
        .article-card {
            background: var(--card-bg);
            border-radius: var(--radius);
            padding: 24px;
            box-shadow: var(--shadow-sm);
            display: flex;
            flex-direction: column;
            position: relative;
            overflow: hidden; /* 防止切换时溢出 */
        }

        .article-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
            padding-bottom: 16px;
            border-bottom: 1px solid #eee;
        }

        .article-header h3 {
            font-size: 18px;
            color: var(--text-main);
            font-weight: 600;
        }

        .article-nav {
            display: flex;
            gap: 8px;
        }

        .nav-btn {
            width: 32px;
            height: 32px;
            border: 1px solid #e0e0e0;
            background: white;
            border-radius: 4px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-sub);
            transition: all 0.2s;
        }

        .nav-btn:hover {
            background: #f5f5f5;
            color: var(--primary-color);
            border-color: var(--primary-color);
        }

        .article-content-wrapper {
            flex: 1;
            position: relative;
        }

        /* 文章组：包含两篇文章的容器 */
        .article-group {
            display: none; /* 默认隐藏 */
            flex-direction: column;
            height: 100%;
           /*  animation: fadeIn 0.4s ease-out;*/
        }

        .article-group.active {
            display: flex; /* 激活时显示 */
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateX(10px); }
            to { opacity: 1; transform: translateX(0); }
        }
        
        .single-article-entry {
            flex: 1;
            display: flex;     
            gap: 20px;      
            padding: 16px 0;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .single-article-entry:last-child {
            border-bottom: none;
        }

        .article-link-wrapper {
            display: flex;
            gap: 16px;
            height: 100%;
            width: 100%;
            text-decoration: none;
            color: inherit;
            transition: opacity 0.2s;
        }
        
        .article-link-wrapper:hover {
            opacity: 0.85;
        }

        .article-thumb {
            width: 150px;
            height: 96px;
            border-radius: 8px;
            object-fit: cover;
            background: #f0f0f0;
            flex-shrink: 0;
        }

        .article-info {
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            flex: 1;
            min-width: 0; /* 防止flex子项溢出 */
        }

        .article-title {
            font-size: 15px;
            font-weight: bold;
            color: var(--text-main);
            margin-bottom: 4px;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .article-desc {
            font-size: 12px;
            color: var(--text-sub);
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            margin-bottom: auto; /* 让meta标签沉底 */
        }

        .article-meta {
            margin-top: 8px;
            font-size: 12px;
            color: var(--text-light);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .article-meta i { font-size:13px;}

        .tag-badge {
            background: rgba(43, 125, 232, 0.1);
            color: var(--primary-color);
            padding: 1px 5px;
            border-radius: 4px;
            font-size: 10px;
        }

        /* --- 3. 底部工具栏样式 --- */
        .tools-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 14px;
        }

        .tool-card {
            background: var(--card-bg);
            border-radius: var(--radius);
            padding: 24px;
            display: flex;
            gap: 16px;
            align-items: flex-start;
            box-shadow: var(--shadow-sm);
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
            text-decoration: none;
            color: inherit;
        }

        .tool-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
        }

        .tool-icon img {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            color: white;
        }

        .bg-orange { background: linear-gradient(135deg, #ff9a44, #fc6076); }
        .bg-purple { background: linear-gradient(135deg, #b721ff, #21d4fd); }
        .bg-green { background: linear-gradient(135deg, #43e97b, #38f9d7); }
        .bg-blue { background: linear-gradient(135deg, #4facfe, #00f2fe); }

        .tool-info h4 {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 6px;
        }

        .tool-info p {
            font-size: 12px;
            color: var(--text-sub);
            line-height: 1.5;
            display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
        }

        .icon-svg {
            width: 24px;
            height: 24px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        /* --- 响应式适配 --- */
        @media (max-width: 900px) {
            .top-section {
                grid-template-columns: 1fr;
                height: auto;
            }
            .carousel-container {
                height: 240px;
            }
            .article-card {
                height: auto;
                min-height: 280px;
            }
            .tools-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .article-thumb {
                width: 120px;
                height: 77px;
            }
            
            .focus-container {
                width: 94%;}
        }

        @media (max-width: 600px) {
            .tools-grid {
                 grid-template-columns: repeat(1, 1fr);
            }
        }