/* 服务网格样式 */
/* m-list02宽度控制 */
.m-list02 .wp {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.ul-service-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 30px 0;
    padding: 0;
    list-style: none;
}

.ul-service-grid li {
    width: 32%;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 10px; /* 圆角矩形 */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ul-service-grid li a {
    display: block;
    padding: 25px 20px;
    text-align: center;
    text-decoration: none;
    color: #333;
    position: relative;
    height: 100%;
    transition: all 0.3s ease;
}

/* 鼠标悬停时整个模块变橙色 */
.ul-service-grid li:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.ul-service-grid li:hover a {
    background-color: #ff6600;
    color: #fff;
}

.service-icon {
    margin-bottom: 15px;
}

.service-icon i {
    font-size: 48px;
    color: #ff6600; /* 改为主色调（橙色） */
    transition: all 0.3s ease;
}

/* 鼠标悬停时图标变色 */
.ul-service-grid li:hover .service-icon i {
    color: #fff;
}

.service-content h3 {
    font-size: 18px;
    margin: 0 0 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-content p {
    font-size: 14px;
    color: #666;
    margin: 0 0 15px;
    line-height: 1.5;
    transition: all 0.3s ease;
}

/* 鼠标悬停时文字变色 */
.ul-service-grid li:hover .service-content h3,
.ul-service-grid li:hover .service-content p {
    color: #fff;
}

/* 了解更多样式 - 文字+下方橙色线条 */
.more-wrapper {
    margin-top: 15px;
    position: relative;
    padding-top: 10px;
    border-top: 1px solid #eee; /* 添加一条浅灰色分隔线 */
}

.more-text {
    display: inline-block;
    font-size: 14px;
    color: #666;
    transition: all 0.3s ease;
    position: relative;
}

.more-line {
    display: block;
    width: 30px; /* 默认就显示一条线 */
    height: 2px;
    background-color: #ff6600; /* 橙色线条 */
    margin: 5px auto 0;
    transition: all 0.3s ease;
}

.ul-service-grid li:hover .more-text {
    color: #fff;
}

.ul-service-grid li:hover .more-line {
    width: 50px;
    background-color: #fff; /* 悬停时线条变白色 */
}

/* 响应式布局 */
@media screen and (max-width: 992px) {
    .ul-service-grid li {
        width: 48%;
    }
}

@media screen and (max-width: 576px) {
    .ul-service-grid li {
        width: 100%;
    }
}