/* ===== 顶部 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; }
}

/* =========================================================
   首页底部导航栏（footer）定制样式
	   说明：index.css 仅首页加载，以下规则用于覆盖 style.css 中
	        共享的 footer 默认样式，避免内联 style 散落在 HTML 中。
	   微调提示：带「微调」注释的属性可直接改值。
	   ========================================================= */

	/* 底部整体背景（深蓝） */
	.footer {
		background: #02192F !important;
	}

	/* 顶部纵向排列：Logo → 短横线 → 导航 */
	.footer .footer_top {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
	}

	/* Logo 位置：向下 / 向右（微调改 margin-top / margin-left） */
	.footer_logo {
		margin-top: 40px;
		margin-left: 120px;
	}

	/* Logo 下方短横线：宽 90%，左右各留 5%（微调改 width / margin） */
	.footer_top > .footer_line {
		width: 90%;
		height: 1px;
		background: #33495e;
		opacity: 1;
		margin: 24px 5% 34px;
	}

	/* 导航 + 右侧图标整行：**不换行** —— 否则窄屏时右侧图标会掉到下一行 */
	.footer .footer_row {
		display: flex;
		flex-wrap: nowrap;
		justify-content: space-between;
		align-items: flex-start;
		width: 100%;
	}

	/* 左侧导航整列右移（微调改 margin-left）。
	   核心：width:auto + flex:1 1 auto —— 导航不再固定 75% 宽，而是占满
	   「整行 − 右侧图标区」的剩余空间；列间距由 space-between 分配余量得到，
	   因此**视口变窄时先压缩的是列间距，而不是把文字挤到折行**。 */
	.footer .footer_nav {
		margin-left: 40px;
		width: auto;
		flex: 1 1 auto;
		flex-wrap: nowrap;
	}

	/* 导航列：宽度 = 内容宽度，禁止被压缩（列被压窄就会导致文字折行） */
	.footer .footer_nav_col {
		flex: 0 0 auto;
	}

	/* 导航与右侧图标之间的旧分隔线：隐藏 */
	.footer .footer_row > .footer_line {
		display: none;
	}

	/* 右侧图标整体左移（微调改 margin-right） */
	.footer .footer_center {
		margin-right: 130px;
	}

	/* 导航文字：偏暗白、非加粗（微调改 color 透明度 0.78） */
	.footer .footer_nav_col a {
		color: rgba(255, 255, 255, 0.78) !important;
		font-weight: normal !important;
		white-space: nowrap;
	}

	/* 灰色版权条：整屏宽、去白线、与上方接壤（微调改 margin-top） */
	.footer .footer_btm {
		background: #1C3044 !important;
		position: static;
		border-top: none;
		width: 100%;
		padding: 22px 0 20px;
		margin-top: 60px;
	}

	/* 版权文字颜色 */
	.footer .footer_btm_left {
		color: rgb(170, 170, 170);
	}

/* ---------------------------------------------------------
   底部导航响应式：① 先压缩列间距 → ② 再收窄两侧留白 → ③ 极限时只留图标
   --------------------------------------------------------- */
@media only screen and (max-width: 1600px) {
	.footer .footer_nav {
		padding: 0 60px;
	}

	.footer .footer_nav_col a {
		padding: 0 14px;
	}

	.footer .footer_center {
		margin-right: 80px;
	}
}

@media only screen and (max-width: 1440px) {
	.footer .footer_nav {
		padding: 0 40px;
	}

	.footer .footer_nav_col a {
		padding: 0 10px;
	}

	.footer .footer_center {
		margin-right: 50px;
	}
}

@media only screen and (max-width: 1280px) {
	.footer .footer_nav {
		padding: 0 20px;
	}

	.footer .footer_nav_col a {
		padding: 0 6px;
	}

	.footer .footer_center {
		margin-right: 30px;
	}
}

/* 压到极限（列间距已收无可收）→ 隐藏导航文字，只保留图标；
   此时 Logo（上方大图标）与图标区一并**水平居中** */
@media only screen and (max-width: 1120px) {
	.footer .footer_nav {
		display: none;
	}

	/* 纵向排版方向上的水平居中（首页 footer_top 是 column） */
	.footer .footer_top {
		align-items: center;
	}

	/* 去掉 Logo 的左侧偏移与右侧内边距，使其真正居中 */
	.footer_logo {
		margin-left: 0;
		padding-right: 0;
	}

	/* 整行只剩图标区 → 居中（并清掉原本贴右/贴左的 margin / padding） */
	.footer .footer_row {
		justify-content: center;
	}

	.footer .footer_center {
		margin-left: 0;
		margin-right: 0;
		padding-left: 0;
	}
}
