/**
 * 首页样式修复
 * Homepage Style Fixes
 */

/* 优势区块高度调整 */
.eyys {
    padding: 60px 0 !important;
}

.eyys .ystit {
    margin-bottom: 40px;
}

.eyys .eylist .item {
    padding: 30px 25px !important;
}

.eyys .eylist .item .img {
    margin-bottom: 20px;
}

/* 产品中心区块间距调整 */
.prcbox_323 {
    padding: 60px 0 !important;
}

/* PC端产品分类按钮从标题右侧移到标题下方居中，避免动态分类文字偏位 */
@media (min-width: 768px) {
    body.home-page .prcbox_323 .prctit {
        text-align: center !important;
        margin-bottom: 22px !important;
    }

    body.home-page .prcbox_323 .prccon .hd {
        position: static !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        height: auto !important;
        line-height: normal !important;
        margin: 0 auto 34px !important;
        text-align: center !important;
    }

    body.home-page .prcbox_323 .prccon .hd ul {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(190px, 1fr)) !important;
        gap: 18px !important;
        width: min(760px, 100%) !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    body.home-page .prcbox_323 .prccon .hd li {
        float: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 46px !important;
        box-sizing: border-box !important;
        padding: 0 22px !important;
        margin: 0 !important;
        border-radius: 24px !important;
        line-height: 1.25 !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
    }
}

/* 关于我们区块间距调整 */
.about290 {
    padding: 60px 0 !important;
}

/* 案例区块间距调整 */
.case231_main {
    padding: 60px 0 !important;
}

/* 新闻区块间距调整 */
.news_326 {
    padding: 60px 0 !important;
}

/* 导航栏确保正常显示 */
.nav201 .list201 {
    display: flex !important;
    justify-content: center;
}

/* 首页额外性能样式会给所有链接加 padding，需恢复导航原始垂直位置 */
.nav201 .na201 li > a {
    padding: 0 !important;
}

.nav201 .na201 dl dd a {
    padding: 0 !important;
}

/* 查看更多按钮文字居中 */
.pmore,
.prcbox_323 .pmore {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.pmore a,
.prcbox_323 .pmore a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    line-height: 1.2 !important;
    text-align: center !important;
}

/* 移动端保持原有逻辑 */
@media (max-width: 767px) {
    .eyys {
        padding: 40px 0 !important;
    }
    
    .prcbox_323,
    .about290,
    .case231_main,
    .news_326 {
        padding: 40px 0 !important;
    }
    
    .eyys .eylist .item {
        padding: 25px 20px !important;
    }
}
