/*---------------------------------------------------------------------- /
巨幕设置-开始
----------------------------------------------------------------------- */

.jm {
    background: url('../images/banner/lib.jpg') no-repeat;
    position: relative;
    background-size: cover;
    height: 600px
}


/* 巨幕响应式 */


/* PC端 */

@media screen and (max-width:1680px) {
    .jm {
        height: 525px
    }
}

@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/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
}


/* 面包屑-p文本 */

.mbx-text p {
    font-size: 15px;
    font-style: normal;
    display: inline-block;
    font-weight: 800;
    padding-top: 8px
}


/* 面包屑-h1 */

.mbx-text h1 {
    font-size: 15px;
    display: inline-block;
    font-weight: 800
}


/* 面包屑》》 */

.mbx-text p::after {
    display: inline-block;
    content: '\00bb';
    margin: 0 .6em;
    color: black
}


/* 面包屑》最后一个 */

.mbx-text p:last-child::after {
    display: none
}


/* 响应式布局 */

@media screen and (max-width:580px) {
    .mbx-text p {
        font-size: 13px;
    }
    .mbx-text h1 {
        font-size: 13px;
    }
}


/*---------------------------------------------------------------------- /
面包屑-结束
----------------------------------------------------------------------- */


/*---------------------------------------------------------------------- /
瀑布流-开始
----------------------------------------------------------------------- */


/* 盒子 */


/* 选择按钮 */

.button-group button {
    padding: 20px 30px;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    background-color: transparent;
    /* 默认背景透明 */
    transition: background-color 0.3s ease;
    /* 添加过渡动画，效果更平滑 */
    font-size: 15px;
    line-height: 20px;
    font-weight: 700;
    letter-spacing: 2px;
}


/* 定义激活状态（排他后唯一高亮的按钮）的样式 */

.active {
    background-color: green !important;
    color: white;
}


/* 选择按钮 间距*/

.btn:nth-child(n+2) {
    margin-left: 15px;
}

.btn.active {
    background-color: #00c66c;
    color: white;
}


/* 在你的 CSS 文件中添加 */

.btn-hover-effect {
    background-color: #00c66c;
    color: white;
}


/* 您的 Isotope 容器 */

.innerbox {
    min-height: 900px;
    margin-bottom: 30px;
}


/* 内容盒子*/

.box {
    width: calc(33.333% - 20px);
    /* width: calc(33.333% - 20px); */
    /* 关键：假设一行3列，总间距为 20px x 2 = 40px，每个item减去 40px/3 ≈ 13.33px，这里我们简化一下思路 */
    /* 更简单通用的算法：如果 columnWidth 是固定的，或者知道 margin 值 */
    /* 假设我们希望左右各有 10px 的间距 */
    /* (100/3) 再减去左右 margin 的总和 */
    margin: 12px 12px 12px 0px;
    /* 上下左右各 10px 的间距 */
    color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    font-weight: bold;
    border-radius: 0px;
    border: 1px solid #e7e7e7;
    box-shadow: 0 0px 1px rgba(0, 0, 0, 0.50), 0 1px 2px rgba(0, 0, 0, 0.48);
    height: 380px;
}


/* 内容盒子-图片*/

.box>div:first-child {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.49), 0 3px 6px rgba(0, 0, 0, 0.42);
}


/* 内容盒子 - 文字部分 -h4*/

.box>div:nth-child(2) h4 {
    font-size: 15px;
    line-height: 22px;
    text-align: center;
    font-weight: 600;
    letter-spacing: 1px;
    padding-top: 30px;
}


/* 内容盒子 - 文字部分 -p*/

.box>div:nth-child(2) p {
    text-align: center;
    font-size: 12px;
    line-height: 16px;
    padding-top: 1px;
}


/* 内容盒子 - 文字部分 -超链接*/

.box>div:nth-child(2) p a {
    text-decoration: none;
    color: black;
}


/* 响应式布局 */

@media screen and (max-width:1040px) {
    /* 内容盒子*/
    .box {
        height: 320px;
    }
}

@media screen and (max-width:810px) {
    /* 内容盒子*/
    .box {
        height: 280px;
    }
}

@media screen and (max-width:580px) {
    /* 内容盒子*/
    .box {
        width: 340px;
        height: 330px;
    }
}


/*---------------------------------------------------------------------- /
瀑布流-end
----------------------------------------------------------------------- */