/*solution list*/
.solution-container{
    width: 90%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
.solution-list{
    margin-top: 30px;
}
.solution-list ul{
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin: 0 -10px;
    gap: 20px;
}
.solution-list ul li{
    flex: 1;
    background-size: cover;
    background-position: center center;
    transition: all 0.3s ease;
}
.solution-list ul li:hover{
    flex: 0 0 50%;
}
.solution-item{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 480px;
    background: rgba(0,0,0,0.3);
    padding: 0 70px;
    cursor: pointer;
}
.solution-item dl{
    text-align: center;
    color: #FFF;
}
.solution-item dl img{
    width: 65px;
    height: 65px;
}
.solution-list ul li:hover .solution-item dl img {
    width: 65px;
    height: 65px;
}
.solution-item dl dt{
    margin-top: 50px;
    font-size: 20px;
    font-weight: bold;
    position: relative;
    word-break: break-word; /* 长单词换行 */
    overflow-wrap: break-word; /* 更智能的换行 */
}
.solution-container .solution-list ul li:hover{
    flex: 0 0 33.333%;
}
.solution-item dl dd{
    margin-top: 30px;
    transition: all 0.3s ease;
    display: none;
}
.solution-item dl dd a{
    color: #FFF;
}
.solution-list ul li:hover .solution-item dl dd {
    display: block;
}
/*客户案例*/
.case-tab{
    margin-top: 30px;
    display: grid;
    justify-content: center;
}
.case-tab ul{
    display: inline-grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 22px;
}
.case-tab ul li{
    line-height: 44px;
    padding: 0 50px;
    cursor: pointer;
}

.case-tab ul li.active{
    background: var(--blue);
    border-radius: 22px;
    font-weight: bold;
    color: #fff;
}
.case-container{
    transition: opacity 0.3s ease-in-out;
}
.case-container:not(.display-none) {
    opacity: 1;
}
.case-content{
    width: 100%;
}


@media (max-width: 767px) {
    .solution-list ul{
        display: flex;
        margin: 0 -10px;
        gap: 20px;
        flex-wrap: wrap;
    }
    .solution-list ul li{
        flex: 1 0 100%;
        width: 100%;
    }
    .solution-list ul li:hover{
        flex: 0 0 100% !important;
    }
    .solution-item dl dt {
        font-size: 24px; /* 调整移动端字体大小 */
        margin-top: 30px; /* 调整移动端间距 */
    }
    .solution-item dl dd{
        display: block;
    }
    .solution-item{
        padding: 0 50px;
        height: auto;
        min-height: 300px;
    }

    .case-tab {
    }
    /* 选项卡头部 */
    .case-tab ul {
        display: flex;
        list-style: none;
        border-bottom: 2px solid #eaeef2;
        padding-bottom: 8px;
        gap: 8px;
        flex-wrap: wrap;          /* 桌面端允许换行 */
        overflow-x: visible;
    }
    .case-tab ul {
        flex-wrap: nowrap !important;                /* 不换行 */
        overflow-x: auto;                  /* 水平滚动 */
        -webkit-overflow-scrolling: touch;  /* 平滑触摸滑动 */
        white-space: nowrap;                /* 辅助不换行 */
        padding-bottom: 12px !important;               /* 保留一点底部空间（不影响滑动） */
        scrollbar-width: none !important;               /* Firefox 隐藏滚动条 */
        -ms-overflow-style: none !important;            /* IE/Edge 隐藏滚动条 */
        box-shadow:none;
        border-radius:0px;
    }

    .case-tab ul::-webkit-scrollbar {
        display: none;                       /* Chrome/Safari/Opera 隐藏滚动条 */
    }
    /* 选项卡项 */
    .case-tab li {
        padding: 12px !important;
        font-weight: 500 !important;
        color: #5f6b7a !important;
        cursor: pointer !important;
        border-radius: 40px;
        transition: all 0.2s ease !important;
        background: transparent;
        white-space: nowrap !important;          /* 保证每个选项文字不换行 */
        flex-shrink: 0 !important;               /* 防止在滚动容器中被压缩 */
        line-height: 20px !important;
    }

    .case-tab li:hover {
        color: #1e6f9f;
        background: #f0f7ff;
    }

    .case-tab li.active {
        color: #fff !important;
        background: #e1edfa;
        font-weight: 600;
    }
}

