/*---------------------------------------------------------------------- /
巨幕设置-开始
----------------------------------------------------------------------- */

.jm {
    background: url('../images/banner/en-lib.jpg') no-repeat;
    position: relative;
    background-size: cover;
    height: 600px
}


/* 巨幕响应式 */


/* 巨幕响应式-PC */

@media screen and (min-width:2000px) {
    .jm {
        background-position: bottom
    }
}

@media screen and (max-width:1680px) {
    .jm {
        height: 520px;
    }
}

@media screen and (max-width:1440px) {
    .jm {
        height: 450px
    }
}

@media screen and (max-width:1280px) {
    .jm {
        height: 400px
    }
}


/* 巨幕响应式-IPAD */

@media screen and (max-width: 1279px) {
    .jm {
        margin-top: -30px;
        height: 300px;
    }
}

@media screen and (max-width: 810px) {
    .jm {
        margin-top: 0px;
        height: 260px;
    }
}


/* 移动端 */

@media screen and (max-width:580px) {
    .jm {
        background-size: contain;
        background: url('../images/banner/h5/en-lib-iphone.jpg') no-repeat;
        background-position: left;
        height: 200px;
        display: block
    }
}


/*---------------------------------------------------------------------- /
巨幕设置-开始
----------------------------------------------------------------------- */


/*---------------------------------------------------------------------- /
面包屑-开始
----------------------------------------------------------------------- */


/* 面包屑 */

.mbx-row {
    height: 100px;
    border-bottom: 1px solid #e7e7e7;
    margin-bottom: 30px;
    display: flex;
    flex-direction: row;
    align-items: center
}


/* 面包屑文字 */

.mbx-text p {
    font-size: 12px;
    line-height: 20px;
    font-style: normal;
    display: inline-block;
    font-weight: 500;
    padding-top: 10px;
    letter-spacing: 1px;
}


/* 面包屑》》 */

.mbx-text p::after {
    display: inline-block;
    content: '\00bb';
    margin: 0 .6em;
    color: black
}


/* 面包屑》最后一个 */

.mbx-text p:last-child::after {
    display: none
}


/*---------------------------------------------------------------------- /
面包屑-结束
----------------------------------------------------------------------- */

.installation-article {
    width: min(100%, 70rem);
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem) 3rem;
    color: #18342d;
}

.mbx-text {
    padding-inline: max(1rem, calc((100% - 66rem) / 2));
}

.installation-article h1 {
    margin: 0 0 1.75rem;
    font-size: clamp(1.65rem, 4vw, 2.4rem);
    font-weight: 750;
}

.installation-article h2 {
    margin: 0 0 .75rem;
    font-size: clamp(1.25rem, 3vw, 1.55rem);
    font-weight: 700;
}

.installation-article section + section {
    margin-top: 2.75rem;
}

.installation-article p {
    line-height: 1.8;
    margin: 0 0 1.25rem;
}

.installation-pair,
.installation-pipelines {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 3vw, 2rem);
}

.installation-pair + .installation-pair {
    margin-top: 1.5rem;
}

.installation-diagram,
.installation-photo {
    margin: 0;
    min-width: 0;
    padding: .75rem;
    border: 1px solid #d7e5de;
    border-radius: .5rem;
    background: #f5faf7;
}

.installation-picture {
    position: relative;
    background: white;
}

.installation-picture img,
.installation-photo img {
    display: block;
    width: 100%;
    height: auto;
}

.installation-mask {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: var(--w);
    height: var(--h);
    transform: translate(-50%, -50%);
    background: var(--paper, #fff);
    display: grid;
    place-items: center;
    z-index: 1;
}

.installation-pin,
.installation-key {
    display: grid;
    place-items: center;
    width: 1.35rem;
    height: 1.35rem;
    border: 1px solid #fff;
    border-radius: 50%;
    background: #135949;
    color: white;
    font: 700 .75rem/1 system-ui, sans-serif;
    flex: 0 0 auto;
}

.installation-pin {
    position: absolute;
    text-decoration: none;
}

.installation-pin:hover,
.installation-pin:focus-visible,
.installation-pin.is-active {
    background: #0b392f;
    color: white;
    outline: 2px solid #187e65;
    outline-offset: 1px;
}

.installation-diagram figcaption,
.installation-photo figcaption {
    margin: .75rem 0 .5rem;
    font-weight: 700;
}

.installation-photo figcaption,
.installation-examples figure:last-child figcaption {
    text-align: center;
}

.installation-legend {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem 1rem;
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: .9rem;
    line-height: 1.4;
}

.installation-legend li {
    display: flex;
    align-items: center;
    gap: .35rem;
    padding: .2rem .25rem;
    border-radius: .25rem;
    scroll-margin-top: 5rem;
}

.installation-legend li:target {
    background: #d1ebdf;
}

.installation-article .fhbox {
    display: flex;
    width: 200px;
    height: 30px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    color: var(--bs-body-color);
    font-size: 14px;
    line-height: 36px;
}

.installation-examples {
    margin-top: 2.75rem;
}

.installation-article .fhbutton {
    color: black;
    text-decoration: none;
    font-size: 15px;
    line-height: 20px;
    font-weight: 600;
}

.installation-article .fhbox .icon-tiaozhuan5 {
    font-size: 25px;
    line-height: 20px;
    padding-right: 3px;
}
}

@media (min-width: 768px) {
    .installation-pair {
        row-gap: 0;
        grid-template-rows: auto auto auto;
    }

    .installation-pair > figure {
        display: grid;
        grid-row: 1 / span 3;
        grid-template-rows: subgrid;
    }

    .installation-photo-image {
        position: relative;
        background: white;
    }

    .installation-photo img {
        position: absolute;
        inset: 0;
        height: 100%;
        object-fit: contain;
    }
}

@media (max-width: 767px) {
    .installation-pair,
    .installation-pipelines {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 480px) {
    .installation-pin {
        width: 1.1rem;
        height: 1.1rem;
        font-size: .65rem;
    }
}
