.case{
    max-width: 1200px;
    padding: 0 20px 50px;
    margin: 0 auto;
}

.case_content{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 25px;
    padding-top: 30px;
    width: 100%;
}

.case_content_item{
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background: #fff;
}

.case_content_item:hover{
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.case_content_item a{
    display: block;
    text-decoration: none;
    color: inherit;
}

.case_content_item img{
    width: 100%;
    height: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
    /* background-color: #f5f5f5; */
}

.case_content_item:hover img{
    transform: scale(1.05);
}

.case_content_item_content{
    padding: 20px;
    text-align: left;
}

.case_content_item_title{
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.case_content_item_tip{
    font-size: 14px;
    color: #666;
    text-align: right;
    margin-top: 8px;
}

@media screen and (max-width: 1200px) {
    .case_content{
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }

    .case_content_item img{
        height: 180px;
        object-fit: contain;
        background-color: #f5f5f5;
    }
}

@media screen and (max-width: 768px) {
    .hyg_banner, .case {
        width: 100%;
        box-sizing: border-box;
    }

    .case{
        padding: 0 10px 30px;
    }

    .case_content{
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 10px;
        padding-top: 20px;
    }

    .case_content_item img{
        height: 120px;
        object-fit: contain;
        background-color: #f5f5f5;
    }

    .case_content_item_content{
        padding: 12px;
    }

    .case_content_item_title{
        font-size: 14px;
        margin-bottom: 4px;
    }

    .case_content_item_tip{
        font-size: 11px;
    }
}

@media screen and (max-width: 480px) {
    .case_content{
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .case_content_item img{
        height: 160px;
        object-fit: contain;
        background-color: #ffffff;
    }

    .case_content_item_content{
        padding: 15px;
    }

    .case_content_item_title{
        font-size: 16px;
        margin-bottom: 6px;
    }

    .case_content_item_tip{
        font-size: 12px;
    }
}
