/*比价平台 Materials页面*/
.blog_page.materials{
    margin-top: calc(108px + var(--site-top-banner-offset, 0px));
    overflow: visible;
}
.blog_page.materials .svc-seg-wrap{
    width: 100%;
    position: sticky;
    top: calc(108px + var(--site-top-banner-offset, 0px));
    z-index: 45;
    scroll-margin-top: 120px;
    display: flex;
    justify-content: center;
    margin: 8px 0 4px;
    background: linear-gradient(#f7f5ef 70%, rgba(247,245,239,0));
    padding: 8px 0 16px;
}
.blog_page.materials .svc-seg{
    display: flex;
    width: 100%;
    max-width: 560px;
    padding: 5px;
    gap: 4px;
    box-sizing: border-box;
    border-radius: 999px;
    background: #ebe9e3;
    border: 1px solid rgba(22, 33, 62, 0.08);
}
.blog_page.materials .svc-seg-item{
    flex: 1 1 0;
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 56px;
    margin: 0;
    padding: 10px 18px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #5c6370 !important;
    cursor: pointer;
}
.blog_page.materials .svc-seg-item.is-on{
    background: #fff !important;
    color: #16213e !important;
    box-shadow: 0 4px 14px rgba(22, 33, 62, 0.12) !important;
}
.blog_page.materials .svc-seg-item.is-on .svc-seg-name{color: #e94560;}
.blog_page.materials .svc-seg-name{
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}
.blog_page.materials .svc-seg-note{
    font-size: 11px;
    font-weight: 500;
    color: #8a9099;
}
.blog_page.materials .craft-hub-category{display: none;}
.blog_page.materials .craft-hub-category.is-active{display: block !important;}
.materials-panel-intro{margin: 8px 0 28px;}
.materials-panel-title{font-size: 26px;font-weight: 700;margin: 0 0 12px;}
.materials-panel-intro .description{display: grid;gap: 12px;}
.materials-family-lead{margin: 0 0 16px;color: #3d4450;max-width: 820px;line-height: 1.6;}
.materials-family-filter{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 8px;
}
.materials-family-filter button{
    appearance: none;
    border: 1px solid rgba(22, 33, 62, 0.12);
    background: #fff;
    color: #3d4450;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
}
.materials-family-filter button .materials-family-count{
    font-weight: 500;
    color: #8a9099;
    margin-left: 4px;
}
.materials-family-filter button.is-on{
    background: #e94560;
    color: #fff;
    border-color: #e94560;
}
.materials-family-filter button.is-on .materials-family-count{color: rgba(255,255,255,.85);}
.materials [data-family-item][hidden]{display: none !important;}
.materials .box .ul li.materials-group-head{
    list-style: none;
    padding: 8px 4px 0;
    background: transparent;
    box-shadow: none;
    border: 0;
    display: block;
    scroll-margin-top: 160px;
}
.materials-group-head h3{font-size: 22px;font-weight: 700;margin: 0 0 8px;color: #16213e;}
.materials-group-head p{margin: 0;color: #5c6370;max-width: 820px;line-height: 1.55;}
.materials .top{margin-top:12px;margin-bottom:20px;}
.materials .top .title{font-size:clamp(32px,4vw,44px);line-height:1.15;margin:0 0 12px;color:#16213e;position:relative;z-index:1;}
.materials .top .description{display:block;padding-right:0;max-width:820px;}
.materials .top .description p{margin:0 0 16px;line-height:1.65;color:#3d4450;}
.materials .top .jump-box{
    height: auto !important;
    float: none;
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
    overflow: visible;
}
.materials .top .jump-box ul{
    flex: none;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
}
.materials .top .jump-box ul li{
    height: auto !important;
    min-height: 0;
    width: auto;
    min-width: 0;
    margin: 0;
    flex: 0 1 auto;
    border-radius: 5px;
}
.materials .top .jump-box ul li a{
    height: auto;
    padding: 14px 22px;
    gap: 10px;
    box-sizing: border-box;
    white-space: nowrap;
}
.materials .top .jump-box ul li .bi{
    font-size: 18px;
    line-height: 1;
}
.materials-hero-banner{
    width: 100%;
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 2.4 / 1;
    max-height: min(440px, 42vh);
    background: #eceae4;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 10px 28px rgba(16, 24, 40, 0.08);
}
.materials-hero-banner img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    cursor: zoom-in;
}
.materials .box .ul{gap:50px;display: grid;}
.materials .box .ul li{width: 100%;border-radius: 5px;margin:0;padding:15px;}
.materials .box .ul li.materials-bj-item{
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(220px, 0.95fr);
    gap: 16px 24px;
    align-items: stretch;
}
.materials .box .ul li.materials-bj-item .card-copy{min-width: 0;}
.materials .box .ul li.materials-bj-item[id]{scroll-margin-top: 120px;}
.materials .box .ul li.materials-bj-item.is-anchor-target{
    outline: 2px solid #e94560;
    outline-offset: 4px;
}
.materials .tab-content .tab-pane .top-box{display: flex;justify-content: space-between;align-items: flex-start;gap: 12px;margin-bottom: 20px;flex-wrap: wrap;}
.materials .tab-content .tab-pane .top-box .left{display: flex;align-items: center;gap: 12px 16px;flex-wrap: wrap;min-width: 0;flex: 1 1 220px;}
.materials .tab-content .tab-pane .top-box .left .top-label{background: #000;padding:5px 10px;color: #FFFFFF;display: inline-block;border-radius: 5px;font-weight: bold;}
.materials .tab-content .tab-pane .top-box .left .name{font-size: 22px;margin: 0;}
.materials .tab-content .tab-pane .top-box .right{color: #e94560;flex: 0 0 auto;}
.materials .tab-content .tab-pane .top-box .right .top-text{display: flex;align-items: center;gap: 5px;}
.materials .tab-content .tab-pane .top-box .right .top-text .bi{font-size: 20px;}
.materials .tab-content .tab-pane .middle-box{display: block;}
.materials .tab-content .tab-pane .middle-box .left-box{width: 100%;flex: none;}
.materials .tab-content .tab-pane .middle-box .left{display: flex;padding: 20px 20px;}
.materials .tab-content .tab-pane .middle-box .left-box .text-box{display: flex;align-items: center;padding-right: 12px;}
.materials .tab-content .tab-pane .middle-box .left-box .text-box .left{width: 25%;display: flex;align-items: center;gap: 5px;justify-content: left;padding-right: 20px;}
.materials .tab-content .tab-pane .middle-box .left-box .text-box .left .name{font-size: 16px;font-weight: bold;color: #e94560;}
.materials .tab-content .tab-pane .middle-box .left-box .text-box .right{width: 75%;}
.materials .tab-content .tab-pane .middle-box .left-box .post-processing{border-radius: 5px;padding: 24px 12px 8px 0;}
.materials .tab-content .tab-pane .middle-box .left-box .post-processing .name{display: flex;align-items: center;font-size: 16px;font-weight: bold;color: #e94560;margin-bottom: 16px;justify-content: flex-start;}
.materials .tab-content .tab-pane .middle-box .left-box .post-processing .label-box{display: flex;gap: 15px;flex-wrap: wrap;}
.materials .tab-content .tab-pane .middle-box .left-box .post-processing .label-box span{padding: 5px 10px;color: #FFFFFF;border-radius: 5px;}
.materials .tab-content .tab-pane .middle-box .left-box .post-processing .label-box span:nth-child(odd) {background-color: #000;}
.materials .tab-content .tab-pane .middle-box .left-box .post-processing .label-box span:nth-child(even) {background-color: #e94560;}
.materials .tab-content .tab-pane .right-box.content{
    position: relative;
    min-height: 220px;
    border-radius: 5px;
    overflow: hidden;
    background: #eceae4;
}
.materials .tab-content .tab-pane .right-box.content img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 5px;
    cursor: zoom-in;
}
.materials .tab-content .tab-pane .bottom-box{display: flex;justify-content: space-between;margin-top: 12px;}
.materials .tab-content .tab-pane .bottom-box .left-name{font-size: 16px;font-weight: bold;}
.footers{position: relative;}
.pageSize_1{display: flex;justify-content: center;width: 100%;}

@media (max-width: 767px) {
    .blog_page.materials .svc-seg-wrap{top: calc(72px + var(--site-top-banner-offset, 0px));}
    .materials .top{margin-top:24px;margin-bottom:32px;}
    .materials .top .description{padding-right: 0;}
    .materials-hero-banner{aspect-ratio: 16 / 9;margin-top: 16px;}
    .blog_page .box{padding: 0 15px;}
    .materials .box .ul li{padding:10px;}
    .materials .box .ul li.materials-bj-item{
        grid-template-columns: 1fr;
    }
    .materials .tab-content .tab-pane .top-box{display: grid;}
    .materials .tab-content .tab-pane .middle-box .left-box {
        width: 100%;
        flex: 0 0 100%;
    }
    .materials .tab-content .tab-pane .middle-box .left-box .text-box{display: grid;}
    .materials .tab-content .tab-pane .middle-box .left-box .text-box{padding-right: 0;}
    .materials .tab-content .tab-pane .middle-box .left-box .text-box .right{width: 100%;}
    .materials .tab-content .tab-pane .middle-box .left-box .post-processing{margin-right: 0;}
    .materials .tab-content .tab-pane .middle-box {display: block;}
    .materials .tab-content .tab-pane .top-box .right{display: flex;align-items: center;justify-content: space-between;}
    .materials .tab-content .tab-pane .right-box.content{
        min-height: 200px;
        order: 2;
        grid-row: auto;
    }
}