
        .banner{
            background: url(/images/banner/case-ban.png) no-repeat center center;
        }
        @media (max-width: 768px) {
            .banner{
                background: url(/images/banner/mob/case.jpg) no-repeat center center;
            }   
        }
        .case-body{
            padding: 0 0 80px 0;
        }
        /* 顶部分类Tab栏 */
        .tab-wrap {
            border: 1px solid #ddd;
            padding: 30px 80px;
            background: #fff;
            display: flex;
            flex-wrap: wrap;
            margin-bottom: 40px;
            justify-content: space-between;
            position: sticky;
            top: 100px;
            z-index: 55;
        }
        .tab-item {
            color: #000;
            cursor: pointer;
            position: relative;
            transition: color 0.3s ease;
        }
        /* 当前激活tab */
        .tab-item.active,
        .tab-item:hover {
            color: #d91018;
        }
        .tab-item.active::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -6px;
            width: 100%;
            height: 2px;
            background: #d91018;
            transition: all 0.3s ease;
        }

        /* 卡片网格布局 3列均分 */
        .card-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 60px;
        }
        /* 卡片基础 */
        .case-card {
            background: #fff;
            overflow: hidden;
            position: relative;
            transition: all 0.3s ease;
            box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.08);
            border-bottom: 4px solid #fff;
        }
        .card-img {
            width: 100%;
            overflow: hidden;
            display: flex;
            justify-content: center;
        }
        .card-img img{
            height: 280px;
            max-width: max-content;
            display: block;
            transition: all 0.3s ease;
        }
        .case-card:hover .card-img img{
            transform: scale(1.1);
        }
        .card-text {
            padding: 24px;
        }
        /* 标签组 */
        .card-tags {
            display: flex;
            gap: 10px;
            margin-bottom: 18px;
        }
        .tag {
            background: #E6E6E6;
            padding: 4px 12px;
            color: #4D4D4D;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }
        .card-title {
            font-size: 22px;
            margin-bottom: 16px;
            color: #000;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            word-break: break-word;
            height: 62px;
            line-height: 1.4;
        }

        .card-desc {
            color: #4D4D4D;
            line-height: 1.6;
            margin-bottom: 24px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            word-break: break-word;
            height: 48px;
        }
        /* 按钮通用 */
        .card-btn {
            display: inline-block;
            padding: 12px 28px;
            color: #fff;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        /* 默认黑色按钮 */
        .btn-black {
            background: #000;
        }
        /* hover激活状态：红按钮+底部红边线 */
        .case-card.active,
        .case-card:hover {
            border-color: #d91018;
        }
        .case-card.active .card-btn,
        .case-card:hover .card-btn {
            background: #d91018;
        }

        /* 响应式适配 */
        /* 平板 2列 */
        @media (max-width: 1520px) {
            .container-1520 {
                width: 96%;
            }
        }
        @media (max-width: 1200px) {
            .card-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 40px;
            }
            .tab-wrap {
                gap: 30px;
                justify-content: center;
            }
        }
        /* 手机 1列 */
        @media (max-width: 768px) {
            .card-grid {
                gap: 10px;
            }
            .tab-wrap {
                padding: 15px 20px;
                gap: 16px;
                top: 62px;
            }
            .tab-item {
                font-size: 16px;
            }
            .case-body{
                padding: 0 0 40px 0;
            }
            .card-title{
                font-size: 16px;
                height: auto;
                margin: 0;
            }
            .card-img img{
                height: 120px;
            }
            .card-text{
                padding: 10px;
            }
            .card-tags,.card-desc,.card-btn{
                display: none;
            }
        }

        /* ===== 新增：切换动效（仅添加，不影响原样式） ===== */
        /* 卡片容器包裹层，用于动画过渡 */
        .card-grid-wrapper {
            position: relative;
            min-height: 300px;
        }

        /* 卡片网格的淡入淡出效果 */
        .card-grid {
            opacity: 1;
            transform: translateY(0);
            transition: opacity 0.35s ease, transform 0.35s ease;
        }

        /* 切换时的淡出状态 */
        .card-grid.fade-out {
            opacity: 0;
            transform: translateY(16px);
            pointer-events: none; /* 防止切换过程中点击 */
        }

        /* 无数据占位提示（保留原风格） */
        .no-data {
            text-align: center;
            padding: 60px 20px;
            font-size: 18px;
            color: #999;
            background: #fff;
            grid-column: 1 / -1;
        }

        /* 为tab-item增加点击反馈（微交互） */
        .tab-item:active {
            transform: scale(0.96);
        }



        /* 加载状态 */
        .loading {
            text-align: center;
            padding: 60px 0;
            font-size: 16px;
            color: #999;
        }

        /* 淡出动效 */
        .card-grid.fade-out {
            opacity: 0;
            transform: translateY(10px);
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .card-grid {
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        /* 无数据占位 */
        .no-data {
            text-align: center;
            padding: 80px 0;
            font-size: 18px;
            color: #bbb;
            width: 100%;
        }


        /* ===== Pagination ===== */
        .pagination-wrap {
            display: none;
            justify-content: center;
            padding: 30px 0 10px;
            border-top: 1px solid #eee;
            margin-top: 30px;
        }


        /* ========== 新增手机下拉分类样式 ========== */
        .mobile-category-select {
            display: none;
            width: 100%;
            padding: 14px 16px;
            font-size: 16px;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            margin-bottom: 20px;
            color: var(--text-dark);
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%235b6e8c' viewBox='0 0 16 16'%3e%3cpath d='M8 11L3 6h10l-5 5z'/%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 14px center;
            background-size: 16px;
        }
        .mobile-category-select::-ms-expand {
            display: none;
        }
        @media (max-width: 767px) {
            .tab-wrap {
                display: none !important;
            }
            .mobile-category-select {
                display: block;
            }
        }
