    .CaseBox {
        width: 100%;
        position: relative;
        z-index: 1;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 20px 40px;
    }

    .CaseItem {
        background: #FFF;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .text {
        width: 100%;
        padding: 30px;
    }

    .text h1 {
        font-size: 20px;
        font-weight: 700;
        color: #393b48;
        text-align: center;
    }

    .text span {
        display: block;
        height: 3px;
        width: 50px;
        background: #333;
        margin: 15px auto;
    }

    .text p {
        color: #777;
        font-size: 14px;
        text-align: center;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .img {
        border-top: 6px solid #f2f2f2;
        width: 100%;
    }

    .img img {
        width: 100%;
    }


    @media (max-width: 1200px) {
        .CaseBox {
            grid-gap: 15px;
        }

        .text {
            padding: 15px;
        }

        .text h1 {
            font-size: 18px;
        }

        .text span {
            margin: 10px auto;
        }
    }

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

    @media (max-width: 460px) {}

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