/* ===== 顶部 banner：高度改为跟随封面图比例，彻底消除裁切 =====
   封面图 img/Humanistic/jkBan.webp 是 1920×1080（16:9）。
   style.css 里 #nyBan 固定 height:100vh，当窗口比 16:9 更宽时（例如最大化浏览器、
   带鱼屏），.banImg 的 object-fit:cover 只能靠裁掉上下部分来填满 ——
   实测在 2.1:1 的窗口下只显示了图片 84.5% 的高度（上下各裁 103px）。
   改成 aspect-ratio:16/9 后，banner 高度由自身宽度算出，正好等于图片比例：
     · 16:9 的窗口  → 结果与原来基本一致（≈100vh），零变化
     · 更宽的窗口    → banner 比一屏略高一点（需轻微滚动），图片 100% 不裁
     · 更高的窗口    → banner 略矮于一屏（露出一点下方内容），同样 100% 不裁
   用 aspect-ratio 而不是 56.25vw：vw 含滚动条宽度，会多出约 1% 的横向裁切。
   若以后更换封面图（比例变了），这里的 16/9 要同步改。 */
/*@media only screen and (min-width: 1101px) {*/
/*    #nyBan {*/
/*        height: auto;*/
/*        aspect-ratio: 16 / 9;*/
/*    }*/
/*}*/

.mkBox1 {
    position: relative;
    background-image: url(../img/Humanistic/bg_fuzi.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.mk1_tp {
    color: #222;
    text-align: center;
}

.mk1_wrap {
    padding: 100px 0 130px 0;
    position: relative;
    z-index: 9;
}

.mk1_t1 {
    margin-top: 20px;
    padding: 0 6%;
}

.mk1_con {
    /* margin: 0 -7.5px; */
    margin-top: 80px;
}

.mk1_con ul {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.mk1_con ul li {
    cursor: pointer;
    flex: 0 0 32%;
    display: flex;
    background-color: #fff;
    padding: 30px 0 30px 40px;
    margin-bottom: 15px;
    align-items: center;
}

.mk1_con_t {
    margin-left: 35px;
}

.mkBox1_img {
    position: absolute;
    left: 0;
    top: 18%;
    width: 100%;
    height: 43%;
}

.active_img {
    display: none;
    min-height: 45px;
}

.mk1_img {
    display: block;
    min-height: 45px;
}

.mk1_con ul li {
    position: relative;
}

.mk1_con ul li:hover .active_img {
    display: block;
}

.mk1_con ul li:hover .mk1_img {
    display: none;
}

.mk1_con ul li:hover {
    background-color: rgb(22, 79, 143);
}

.mk1_con ul li:hover {
    color: #fff;
}

.mk1_con ul li:hover .active_con {
    display: block;
}

.active_con {
    background-color: #fff;
    padding: 30px 35px;
    position: absolute;
    left: 0;
    top: 99px;
    z-index: 5;
    width: 100%;
    display: none;
}

.active_con img {
    width: 100%;
    height: 100%;
}

.active_con p {
    margin-top: 24px;
    line-height: 32px;
    color: #222;
    height: 90px;
    overflow-y: auto;
    overflow: auto;
    /* 确保内容超出时显示滚动条 */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* Internet Explorer 10+ */
}

.mk2_tp {
    color: #fff;
    text-align: center;
}

.mk2_wrap {
    padding: 100px 0 130px 0;
    position: relative;
    z-index: 9;
}

.mkBox2 {
    position: relative;
    background-image: url(../img/Humanistic/bg_img3.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.mk2_con {
    color: #fff;
}

.mk2_con ul {
    display: flex;
    justify-content: space-between;
    margin-top: 80px;
}

.mk2_con ul li .box_img {
    overflow: hidden;
    transition: all .3s;
}

.mk2_con ul li .box_img:hover img {
    transform: scale(1.05);
}

/* =====================================================================
   三列显式定宽（2026-09-22）
   原写法 li 没有宽度 → 列宽由「图片原始尺寸」决定，而 img 又是 width:100%，
   构成循环依赖：图片的「内在尺寸」一变（换图、或图片被加了带 w 描述符的
   srcset），列宽就跟着变 —— 服务器上「中间的图片特别大」就是这个原因
   （srcset 的 480w 描述符让浏览器按 sizes=100vw 推算，把 480px 的图当成
   1920px 的图，中列从 720 被撑到 1063）。
   这里按当前实际版式换算成百分比定宽，让布局与图片内在尺寸彻底解耦：
     左右列 341/1440 ≈ 23.7%   中列 720/1440 = 50%
   ===================================================================== */
.mk2_con ul li {
    width: 23.7%;
}

.mk2_con ul li:nth-child(2) {
    width: 50%;
}

.mk2_con ul li img {
    width: 100%;
    display: block;
    /* max-height: 245px; */
}

.mk2_con ul li:nth-child(2) img {
    width: 100%;
    /* max-height: 565px; */
}

.mk2_t {
    margin-top: 15px;
    margin-bottom: 25px;
    text-align: center;
}

@media screen and (max-width: 1600px) {
    /* 原来这里把图片缩到 90% / 93% —— 那是为「li 被内容撑宽」打的补丁
       （缩图片 => 列跟着变窄）。列宽已改为百分比定宽，补丁不再需要，
       去掉以免列内留出空隙。 */
    .mk2_t {
        width: 90%;
    }
}

@media screen and (max-width: 768px) {
    .mk1_wrap {
        padding: 50px 0 65px 0;
    }

    .mk1_t1 {
        padding: 0;
    }

    .mk1_con ul li {
        width: 100%;
        flex: 0 0 100%;
        padding: 20px;
    }

    .active_con{
        padding: 10px;
    }
    .mk1_con {
        margin-top: 30px;

    }

    .mk2_wrap {
        padding: 50px 0 65px 0;
    }

    .mk2_con ul {
        flex-direction: column;
    }

    /* 竖排后三列都要铺满，否则会继承上面的 23.7% / 50% 定宽 */
    .mk2_con ul li,
    .mk2_con ul li:nth-child(2) {
        width: 100%;
    }

    .mk2_con ul li img {
        width: 100%;
    }

    .mk2_t {
        width: 100%;
    }

    .mk2_con ul li:nth-child(2) img {
        width: 100%;
    }
    .mk2_con ul{
        margin-top: 30px;
    }
}
/* ===== 金雷福利 - 设计稿还原（福利.psd / 明细 18标签） ===== */
.mk1_con ul li.fuzi_tag {
    flex: 0 0 32%;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    padding: 25px 15px 25px 25px;
    margin-bottom: 20px;
    cursor: default;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}
.fuzi_tag_icon {
    width: 54px;
    height: 54px;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.fuzi_tag_icon img { max-width: 100%; max-height: 100%; display: block; }
.mk1_con ul li .fuzi_tag_name {
    font-size: 24px;
    color: #212121;
    margin-left: 0;
    white-space: nowrap;
}

@media screen and (max-width: 1024px) {
    .mk1_con ul li.fuzi_tag { flex: 0 0 48%; }
}
@media screen and (max-width: 768px) {
    .mk1_con ul li.fuzi_tag { flex: 0 0 100%; }
    .fuzi_tag_icon { width: 44px; height: 44px; }
    .mk1_con ul li .fuzi_tag_name { font-size: 20px; }
}

/* ===== 移动端补充（2026-10-19）=====
   .mkBox1_img 是装饰底纹（1920×405），桌面用 top:18% / height:43% 的百分比贴合区块。
   区块一旦变高（平板/手机卡片换行），43% 就把 16:9 的图纵向拉伸（1024 下 4.74→1.50，
   手机上更是拉成 0.36）。分两档处理，均只裁不拉伸。 */
@media screen and (max-width: 1100px) {
    .mkBox1_img {
        object-fit: cover;
    }
}

@media screen and (max-width: 768px) {
    .mkBox1_img {
        /* 手机上区块高达 2400px，百分比高度已无意义 → 收敛成顶部一条与图同比例的装饰带 */
        top: 0;
        height: auto;
        aspect-ratio: 1920 / 405;
    }
}
