@charset "utf-8";
/* ==========================================================================
   江西管理职业学院 - 首页 手机端适配
   断点：1221~1539px（版心放不下的补丁） / ≤1220px（平板收缩） / ≤768px（手机）
   PC 端尺寸定义见 style.css，本文件只做覆盖
   ========================================================================== */

/* --------------------------------------------------------------------------
   一、平板 / 小笔记本（≤1220px）
   内容区改为百分比宽，避免横向滚动
   -------------------------------------------------------------------------- */
@media (max-width: 1220px) {
    :root {
        --w: 100%;
    }

    .container,
    .nav-inner {
        width: auto;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }

    /* 导航文字与间距收缩
       [NAV 2026-09-29] 一级栏目增至 7 个：900~1220 区间最窄（900 时内宽仅 860、
       logo 190 居中占 [347.5,537.5]），gap:40 会让左组右沿压到徽标 → 收到 gap:4/padding:4。
       实测（900px）左组右沿 330 ≤ 347.5 ✓ 留 17.5px。 */
    .nav-group {
        gap: 4px;
    }

    .nav-item {
        padding: 0 4px;
    }

    .nav-item>a {
        font-size: 17px;
    }

    .header-logo,
    .header-logo img {
        width: 190px;
    }

    /* 轮播改为按比例缩放 */
    .banner {
        height: auto;
        max-height: 960px;
    }

    .banner .swiper-wrapper,
    .banner .swiper-slide,
    .banner .swiper-slide a,
    .banner .swiper-slide img {
        height: auto;
    }

    .banner .swiper-slide img {
        width: 100%;
        height: auto;
        aspect-ratio: 2 / 1;
        object-fit: cover;
    }

    .banner-ctrl {
        right: 30px;
        bottom: 24px;
    }

    /* 三栏改两栏 */
    .campus-board {
        flex-wrap: wrap;
    }

    .campus-swiper {
        width: 100%;
        padding-left: 0;
    }

    .campus-pic,
    .campus-pic-img,
    .campus-dots {
        width: 100%;
    }

    .campus-pic-img {
        height: auto;
        aspect-ratio: 740 / 420;
    }

    .campus-feature,
    .campus-list {
        width: calc((100% - 25px) / 2);
    }

    /* [NOTICE-SWIPER] 改为横向轮播：不再折行（折行会破坏 Swiper 位移计算），
       一屏 2 张，间距由 spaceBetween(=25) 提供 */
    .notice-list {
        flex-wrap: nowrap;
    }

    .notice-list>li {
        width: calc((100% - 25px) / 2);
        height: auto;
    }

    /* 教学学院：改为纵向堆叠 */
    .section-college {
        height: auto;
        padding: 40px 0 60px;
    }

    .college-inner {
        position: relative;
        left: auto;
        top: auto;
        margin-left: 0;
        width: auto;
        height: auto;
    }

    .college-left,
    .college-right {
        position: relative;
        left: auto;
        top: auto;
        width: auto;
        height: auto;
        margin: 0 auto;
        background-size: 100% 100%;
    }

    .college-left {
        max-width: 1016px;
        padding: 40px 30px;
        box-sizing: border-box;
    }

    .college-right {
        max-width: 556px;
        margin-top: 30px;
        padding-bottom: 40px;
    }

    .college-left-strip,
    .college-right-strip {
        display: none;
    }

    .college-left-word {
        position: static;
        width: 60px;
        margin-bottom: 16px;
    }

    .college-left-body {
        position: static;
        width: auto;
    }

    .college-more {
        position: static;
        margin: 20px 0;
    }

    .college-left-pic,
    .college-left-video {
        position: static;
        width: 100%;
        max-width: 767px;
        margin: 0 auto;
    }

    .college-left-pic img,
    .college-left-video img,
    .college-left-video video {
        width: 100%;
    }

    .college-right-body {
        padding: 50px 40px 0;
    }

    .college-right-title img {
        width: 300px;
    }

    .section-media {
        padding-bottom: 120px;
    }

    .media-list {
        column-gap: 20px;
    }

    /* ---------------- 新增三板块：内容改百分比宽 ---------------- */
    .sec-inner {
        width: auto;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }

    /* 招生宣传：左右两栏改上下 */
    .section-enroll {
        padding-top: 40px;
        padding-bottom: 60px;
        background-size: 100% auto;
    }

    .enroll-body {
        flex-direction: column;
        gap: 30px;
        margin-top: 25px;
    }

    .enroll-video,
    .enroll-video img {
        width: 100%;
        height: auto;
        aspect-ratio: 840 / 472;
    }

    .enroll-list {
        width: 100%;
    }

    .enroll-item>a {
        height: auto;
        padding-top: 20px;
    }

    .enroll-item.active>a {
        height: auto;
        padding: 26px 0;
    }

    .enroll-item.active p {
        max-height: 400px;
    }

    /* 信息公开：两列改一列 */
    .section-info {
        padding-top: 40px;
        padding-bottom: 50px;
    }

    .section-info .section-head-left {
        padding-left: 0;
    }

    .info-list {
        grid-template-columns: 1fr;
        column-gap: 0;
        margin-top: 10px;
    }

    .info-item,
    .info-item:nth-last-child(-n+2) {
        height: auto;
        margin-bottom: 16px;
    }

    .info-item>a {
        height: auto;
    }

    .info-item h3 {
        white-space: normal;
    }

    /* 专题专栏：装饰图缩小，海报变窄 */
    .section-topic {
        padding-top: 40px;
        padding-bottom: 45px;
    }

    .topic-deco {
        width: 130px;
        opacity: .8;
    }

    .topic-swiper {
        margin-top: 24px;
    }

    .topic-swiper .swiper-slide,
    .topic-pic {
        width: 250px;
        height: 334px;
    }

    /* 校园剪影：等比缩放，左右留白收窄 */
    .section-skyline {
        padding: 30px 20px 48px;
    }

    .skyline-box {
        width: 100%;
    }
    /* 学校荣誉：定宽舞台改为两列自适应，取消绝对定位
       背景图整幅按宽度铺满（与桌面一致），贴底；底部留出 30vw 让拱门装饰完整可见，
       不用 cover —— cover 会把 1920×921 的整幅背景横向裁切，露出中段门板暗块且压住文字 */
    .section-honor {
        height: auto;
        padding: 30px 0 30vw;
        background-size: 100% auto;
        background-position: center bottom;
    }

    .honor-stage {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 36px 24px;
        width: auto;
        height: auto;
        max-width: 720px;
        padding: 0 20px;
    }

    .honor-head {
        position: static;
        grid-column: 1 / -1;
        margin-bottom: 6px;
    }

    .honor-head img {
        width: 100%;
        max-width: 480px;
        height: auto;
    }

    .honor-item {
        position: static;
        transform: none;
    }

    .honor-text {
        font-size: 18px;
        line-height: 24px;
        white-space: normal;
    }
    /* 媒体管职院：定宽舞台 → 两列自适应；标题与「更多」同行 */
    .section-rmt {
        padding: 40px 0 0;
    }

    .rmt-bg {
        left: 0;
        width: 280px;
        background-size: 280px 255px;
    }

    .rmt-bg-tl {
        height: 255px;
    }

    .rmt-bg-bt {
        height: 100px;
        bottom: 30px;
    }

    .rmt-stage {
        width: auto;
        height: auto;
        max-width: 720px;
        padding: 0 20px;
    }

    .rmt-head {
        position: static;
        width: auto;
        height: auto;
        margin-bottom: 24px;
    }

    .rmt-title {
        width: auto;
        max-width: 420px;
        height: auto;
    }

    .rmt-more-icon {
        width: 36px;
        height: 13px;
    }

    .rmt-more-txt {
        font-size: 16px;
    }

    .rmt-grid {
        position: static;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: none;
        gap: 10px;
    }

    .rmt-i1,
    .rmt-i2,
    .rmt-i3,
    .rmt-i4,
    .rmt-i5,
    .rmt-i6 {
        grid-column: auto;
        grid-row: auto;
    }

    .rmt-item {
        aspect-ratio: 3 / 2;
    }

    /* 竖图裁切时保留人物上半部 */
    .rmt-i6 .rmt-pic {
        object-position: 50% 22%;
    }

    .rmt-cap {
        height: 46px;
        padding-left: 12px;
    }

    .rmt-icon {
        width: 28px;
        height: 28px;
    }

    .rmt-txt {
        margin-left: 8px;
        font-size: 13px;
    }

}

/* --------------------------------------------------------------------------
   一·补 版心 1540 / 导航条放不下的两段补丁（放在 ≤1220 之后，才压得住里面的 logo 尺寸）
   ⚠️ 为什么必须专门处理：common.css 里 body{overflow-x:hidden} 会把溢出**静默裁掉**，
      不产生横向滚动条 —— 只测 documentElement.scrollWidth 是查不出来的，
      必须比较元素 getBoundingClientRect().right 与 innerWidth。
   -------------------------------------------------------------------------- */

/* ① 1221~1539px：.nav-inner 固定 1540 宽 → 1366 的笔记本上最右栏目「信息公开」被切掉。
   [NAV 2026-09-29] 7 个栏目后此处还要再收一档：1221 时内宽 1181、logo 占 [527.5,693.5]，
   实测 gap 24 / padding 12 下左组右沿 516 ≤ 527.5 ✓（原 gap:40/padding:16 会压 48px）。
   1539 边界处左组 512 ≤ logo 左沿 687，同样安全。 */
@media (min-width: 1221px) and (max-width: 1539px) {
    .nav-inner {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .nav-group {
        gap: 24px;
    }

    .nav-item {
        padding: 0 12px;
    }
}

/* ② 769~899px：导航条 + 居中 logo 一起放不下 → 压缩首尾间距 / 字号 / logo
   [NAV 2026-09-29] 7 个栏目后这里空间最紧张（769 时内宽 729）：
   logo 收到 112 + gap 4 / padding 6 → 左组 304 ≤ logo 左沿 328.5 ✓ 留 24.5px */
@media (min-width: 769px) and (max-width: 899px) {
    .nav-group {
        gap: 4px;
    }

    .nav-item {
        padding: 0 6px;
    }

    .nav-item>a {
        font-size: 15px;
        letter-spacing: 0;
    }

    /* [NAV 2026-09-29] 7 个栏目后 130px 徽标太占位 → 收到 112，给左组让出空隙 */
    .header-logo,
    .header-logo img {
        width: 112px;
    }
}

/* ③ 下拉面板越界 [NAV-SUBMENU v2 2026-09-21]：
   最右栏目（信息公开）的面板水平居中于栏目，视窗略窄时会顶出右边缘被裁。
   窄于 1650px 时改成「右对齐栏目右沿」。限定 ≥769px，不干扰 ≤768 的抽屉手风琴。 */
@media (min-width: 769px) and (max-width: 1650px) {
    .nav-right .nav-item:last-child .sub-menu {
        left: auto;
        right: 0;
        transform: translateY(14px);
    }

    .nav-right .nav-item:last-child:hover .sub-menu {
        transform: translateY(0);
    }
}

/* --------------------------------------------------------------------------
   二、手机端（≤768px）
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {

    /* ---------------- 2.1 头部 ---------------- */
    .header-top {
        display: none;
    }

    .header-nav {
        height: 60px;
    }

    .nav-inner {
        width: auto;
        padding: 0 15px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* logo 回归文档流并左对齐（裁成圆形徽标，避免文字过小） */
    .header-logo {
        position: static;
        transform: none;
        width: 52px;
        height: 52px;
        margin: 0;
        overflow: hidden;
        flex: none;
    }

    .header-logo img {
        width: 82px;
        max-width: none;
        height: auto;
        margin: -3px 0 0 -15px;
    }

    /* 汉堡按钮 */
    .nav-tools {
        display: flex;
        align-items: center;
        gap: 14px;
        flex: none;
    }

    /* 手机端搜索按钮：深色描边，适配白底导航 */
    .search-btn-m {
        width: 32px;
        height: 32px;
        margin-left: 0;
        border-color: rgba(169, 23, 32, .45);
    }

    .search-btn-m:hover {
        background: rgba(169, 23, 32, .08);
        border-color: rgba(169, 23, 32, .45);
    }

    .search-btn-m img {
        width: 15px;
        height: 16px;
        /* search.png 为白色线性图标，浅底上反色为深红 */
        filter: invert(14%) sepia(72%) saturate(3600%) hue-rotate(345deg) brightness(85%) contrast(95%);
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 26px;
        height: 20px;
        cursor: pointer;
        flex: none;
    }

    .nav-toggle span {
        display: block;
        height: 2px;
        background: var(--nav-red);
        border-radius: 2px;
        transition: transform .3s, opacity .3s;
    }

    .nav-toggle.on span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .nav-toggle.on span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.on span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* 导航面板：抽屉式，从右侧滑入 */
    .nav-panel {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        top: 60px;
        bottom: 0;
        background: #fff;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateX(100%);
        transition: transform .32s ease;
        z-index: 1000;
        padding: 0;
    }

    .nav-panel.open {
        transform: translateX(0);
    }

    .nav-group {
        display: block;
        height: auto;
        gap: 0;
    }

    .nav-item {
        height: auto;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-item>a {
        height: 50px;
        line-height: 50px;
        font-size: 16px;
        padding: 0 18px;
        position: relative;
    }

    /* 有子菜单的项加一个指示箭头 */
    .nav-item:has(.sub-menu)>a::after {
        content: "";
        position: absolute;
        right: 20px;
        top: 50%;
        width: 8px;
        height: 8px;
        border-right: 2px solid var(--nav-red);
        border-bottom: 2px solid var(--nav-red);
        transform: translateY(-70%) rotate(45deg);
        transition: transform .3s;
    }

    .nav-item.open:has(.sub-menu)>a::after {
        transform: translateY(-30%) rotate(-135deg);
    }

    /* 子菜单：手风琴
       [NAV-SUBMENU v2 2026-09-21]
       ① 一并覆盖 .nav-item:hover .sub-menu：手机端点按会残留 :hover 状态，
          桌面端的 transform:translateX(-50%) 会把整块子菜单左移半宽（实测 768 宽下 -360px），
          文字被推出可视区、整块变空白 —— 这里用等权重的组合选择器压过去。
       ② 同时清掉 v2 新加的渐变面板 / 金色顶沿 / 圆角 / 阴影与逐项入场位移。 */
    .sub-menu,
    .nav-item:hover .sub-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        min-width: 0;
        display: none;
        padding: 0;
        background: #faf7f7;
        border-top: 1px solid #f0f0f0;
        border-radius: 0;
        box-shadow: none;
    }

    .nav-item.open .sub-menu {
        display: block;
    }

    .sub-menu a,
    .nav-item:hover .sub-menu a,
    .nav-item.open .sub-menu a {
        line-height: 46px;
        padding: 0 34px;
        font-size: 15px;
        color: #333;
        opacity: 1;
        transform: none;
        letter-spacing: 0;
    }

    /* 桌面端的错峰入场延迟在浅色抽屉里无意义，显式归零 */
    .nav-item:hover .sub-menu a:nth-child(n) {
        transition-delay: 0s;
    }

    /* 浅色底上不适用金色指示条与渐隐分隔线 */
    .sub-menu a::before,
    .nav-item.open .sub-menu a::before {
        display: none;
    }

    .sub-menu a+a::after,
    .nav-item.open .sub-menu a+a::after {
        background: none;
    }

    .sub-menu a:hover,
    .nav-item.open .sub-menu a:hover {
        background: rgba(222, 196, 137, .25);
        color: var(--nav-red);
        padding-left: 34px;
    }

    /* 三级栏目（群团组织 → 历史沿革）[NAV 2026-09-29]
       桌面端是向右展开的浮层；移动端没有浮层空间，直接静态展开、加深缩进列出。 */
    .sub-menu-3,
    .sub-menu a.has-child~.sub-menu-3 {
        position: static;
        display: block;
        min-width: 0;
        margin: 0;
        padding: 0;
        background: #ece5e5;
        border-top: 1px solid #e2d9d9;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }

    /* 桌面用的「向左 8px 无缝桥」是 absolute 的，静态排布下会溢出抽屉、挡住上方项的点击 */
    .sub-menu-3::before {
        display: none;
    }

    .sub-menu .sub-menu-3 a,
    .sub-menu .sub-menu-3 a:hover,
    .nav-item.open .sub-menu .sub-menu-3 a,
    .nav-item.open .sub-menu .sub-menu-3 a:hover {
        padding-left: 52px;
        font-size: 14px;
        color: #666;
    }

    /* 桌面的金色指示条在浅色抽屉里被隐藏，这里给三级项补一个左侧小圆点做层级标识 */
    .sub-menu .sub-menu-3 a::before,
    .nav-item.open .sub-menu .sub-menu-3 a::before {
        content: "";
        display: block;
        position: absolute;
        left: 36px;
        top: 50%;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: #bfb2b2;
        transform: translateY(-50%);
    }

    /* 静态展开时右侧箭头无意义 */
    .sub-menu a .sub-arrow {
        display: none;
    }

    /* 打开抽屉时锁定背景滚动 */
    body.nav-lock {
        overflow: hidden;
    }

    /* ---------------- 2.2 搜索遮罩 ---------------- */
    .search-box {
        width: calc(100% - 40px);
        height: 44px;
    }

    .search-mask-close {
        right: 16px;
        top: 16px;
    }

    /* ---------------- 2.3 轮播 ---------------- */
    .banner .swiper-slide img {
        aspect-ratio: 2 / 1;
        min-height: 190px;
    }

    .banner-ctrl {
        right: 15px;
        bottom: 12px;
        transform: scale(.72);
        transform-origin: right bottom;
    }

    .banner-shade {
        height: 80px;
    }

    /* ---------------- 2.4 校园新闻 + 通知公告 ---------------- */
    .section-news {
        padding-top: 26px;
        padding-bottom: 26px;
    }

    .section-head {
        height: auto;
        margin-bottom: 18px;
    }

    .section-title img {
        width: auto;
        height: 56px;
    }

    .section-more img {
        width: 30px;
        margin-right: 6px;
    }

    .section-more span {
        font-size: 13px;
    }

    .section-head-left {
        padding-left: 0;
    }

    .section-head-left .section-more {
        right: 0;
    }

    .campus-board {
        gap: 0;
        margin-top: 0;
    }

    .campus-pic-img {
        aspect-ratio: 740 / 420;
        height: auto;
    }

    .campus-pic-txt {
        height: auto;
        line-height: 1.6;
        padding: 12px 4px;
        font-size: 15px;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .campus-dots {
        bottom: auto;
        top: 46%;
        left: 0;
    }

    .campus-feature,
    .campus-list {
        width: 100%;
        margin-top: 16px;
    }

    .campus-feature-img {
        width: 100%;
        height: auto;
        aspect-ratio: 355 / 202;
    }

    .campus-feature-txt {
        height: auto;
        padding: 18px 16px;
    }

    .campus-feature-txt h3 {
        font-size: 17px;
        margin-bottom: 10px;
    }

    .campus-feature-txt p {
        font-size: 13px;
        line-height: 1.9;
        -webkit-line-clamp: 5;
    }

    .campus-list {
        height: auto;
    }

    .campus-list li {
        min-height: 62px;
        padding: 10px 0;
    }

    .campus-list li a {
        font-size: 15px;
        padding: 0 18px;
    }

    .notice {
        margin-top: 30px;
    }

    /* [NOTICE-SWIPER] 一屏 1 张（横向轮播，不再单列堆叠） */
    .notice-list>li {
        width: 100%;
        height: auto;
        margin-bottom: 0;
    }

    .notice-card {
        height: auto;
        margin-top: 20px;
        padding: 16px 14px;
    }

    .notice-card h3 {
        font-size: 16px;
    }

    .notice-card p {
        font-size: 13px;
        line-height: 1.9;
        -webkit-line-clamp: 3;
    }

    /* ---------------- 2.5 右侧便捷跳转 ---------------- */
    /* 手机端收纳为右下角悬浮按钮，点开后完整显示 */
    .quick-links {
        top: auto;
        bottom: 20px;
        right: 10px;
        transform: none;
        width: 60px;
        padding-bottom: 8px;
        border-radius: 6px;
        max-height: 70vh;
        overflow-y: auto;
        transition: width .3s;
        /* 移动端保持点按展开的交互，不受桌面滚动淡入影响 */
        opacity: 1;
        pointer-events: auto;
    }

    .quick-links.open {
        width: 96px;
    }

    /* 移动端：滚动过 600px 时桌面 .show 的 translateY(-50%) 会盖掉 bottom:20px 的悬浮定位，
       显式清掉 transform，保持右下角悬浮按钮布局（transform 改由内联 style 为空交还此处） */
    .quick-links.show {
        transform: none;
    }

    .quick-logo {
        position: static;
        transform: none;
        width: 100%;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .quick-logo img {
        width: 34px;
    }

    .quick-list,
    .quick-top {
        display: none;
    }

    .quick-links.open .quick-list {
        display: block;
        padding-top: 4px;
    }

    .quick-links.open .quick-top {
        display: flex;
    }

    /* ---------------- 2.6 媒体聚焦 ---------------- */
    .section-media {
        /* [NOTICE-MEDIA v2] 桌面 margin-top:-104 级联到这里后，
           标题须随红带起点下移：130 = bg2 透明插画区高 104 + 红带内缩 26（与桌面一致） */
        padding-top: 130px;
        padding-bottom: 60px;
    }

    .section-media .section-head {
        height: auto;
    }

    .media-list {
        /* [适配 2026-09-22] 同 style.css 的理由：1fr 下限是 min-content，
           单列时标题固有宽度会把列撑到 483px，375 视口下溢出 148px */
        grid-template-columns: minmax(0, 1fr);
        row-gap: 0;
        margin-top: 10px;
    }

    .media-list li {
        height: auto;
        padding: 16px 0;
    }

    .media-list li+li {
        border-top: 1px solid rgba(255, 255, 255, .14);
    }

    .media-line {
        display: none;
    }

    .media-pic {
        width: 110px;
        height: 67px;
    }

    .media-txt {
        padding-left: 12px;
    }

    .media-txt h3 {
        font-size: 14px;
        -webkit-line-clamp: 2;
    }

    .media-txt p {
        font-size: 12px;
        line-height: 1.7;
        -webkit-line-clamp: 2;
    }

    /* ---------------- 2.7 教学学院 ---------------- */
    .section-college {
        padding: 26px 0 40px;
    }

    .college-left {
        padding: 24px 16px 30px;
        background-size: 100% 100%;
    }

    .college-left-word {
        width: 46px;
        margin-bottom: 12px;
    }

    .college-left-body p {
        font-size: 13px;
        line-height: 2;
    }

    .college-more {
        font-size: 14px;
        margin: 16px 0;
    }

    .college-right {
        margin-top: 22px;
        padding-bottom: 30px;
    }

    .college-right-body {
        padding: 36px 20px 0;
    }

    .college-right-title img {
        width: 200px;
    }

    .college-list {
        margin-top: 12px;
        margin-left: 0;
    }

    .college-list li a {
        line-height: 48px;
        font-size: 15px;
    }

    /* [COLLEGE-LIST v3] .college-list-head 规则随表头删除 */

    /* ---------------- 2.9 招生宣传 / 信息公开 / 专题专栏 ---------------- */
    .section-enroll {
        padding-top: 26px;
        padding-bottom: 40px;
    }

    .enroll-body {
        gap: 20px;
        margin-top: 4px;
    }

    .enroll-date {
        flex: 0 0 92px;
        padding-left: 0;
        font-size: 14px;
        line-height: 22px;
    }

    .enroll-item>a {
        padding-top: 16px;
    }

    .enroll-item h3 {
        font-size: 16px;
        line-height: 22px;
    }

    .enroll-item.active>a {
        padding: 20px 0;
    }

    .enroll-item.active h3 {
        font-size: 19px;
        line-height: 28px;
        margin-bottom: 12px;
    }

    .enroll-item p {
        font-size: 14px;
        line-height: 24px;
    }

    .enroll-item.active p {
        max-height: 400px;
        margin-bottom: 12px;
    }

    .section-info {
        padding-top: 26px;
        padding-bottom: 34px;
    }

    .info-list {
        margin-top: 4px;
    }

    .info-item h3 {
        font-size: 15px;
        line-height: 24px;
    }

    .info-date {
        padding-left: 12px;
        font-size: 14px;
        line-height: 24px;
        letter-spacing: 1px;
    }

    .section-topic {
        padding-top: 26px;
        padding-bottom: 34px;
    }

    .topic-deco {
        width: 110px;
    }

    .topic-swiper {
        margin-top: 4px;
    }

    .topic-swiper .swiper-slide,
    .topic-pic {
        width: 200px;
        height: 267px;
    }

    /* 校园剪影 */
    .section-skyline {
        padding: 22px 16px 36px;
    }
    /* 学校荣誉：单列排布 */
    .section-honor {
        padding: 24px 0 32vw;
    }

    .honor-stage {
        grid-template-columns: 1fr;
        gap: 26px;
        max-width: 420px;
    }

    .honor-head img {
        max-width: 320px;
    }

    .honor-ring {
        width: 118px;
        height: 118px;
        margin: -59px 0 0 -59px;
    }

    .honor-text {
        font-size: 16px;
        line-height: 22px;
        margin-top: 18px;
    }
    /* 媒体管职院：单列卡片 */
    .section-rmt {
        padding: 24px 0 0;
    }

    .rmt-bg-tl {
        width: 200px;
        height: 182px;
        background-size: 200px 182px;
    }

    .rmt-bg-bt {
        display: none;
    }

    .rmt-stage {
        max-width: 420px;
        padding: 0 16px;
    }

    .rmt-head {
        margin-bottom: 16px;
    }

    .rmt-title {
        max-width: 300px;
    }

    .rmt-more-icon {
        width: 32px;
        height: 12px;
    }

    .rmt-more-txt {
        font-size: 15px;
        margin-left: 8px;
    }

    .rmt-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .rmt-line {
        height: 2px;
        background-size: auto 2px;
    }

}

/* --------------------------------------------------------------------------
   三、超小屏（≤375px）微调
   -------------------------------------------------------------------------- */
@media (max-width: 375px) {
    .header-logo {
        width: 46px;
        height: 46px;
    }

    .header-logo img {
        width: 73px;
        margin: -3px 0 0 -13px;
    }

    .media-pic {
        width: 92px;
        height: 56px;
    }

    .college-right-title img {
        width: 170px;
    }

    /* 超小屏：专题海报再收一档 */
    .topic-deco {
        width: 90px;
    }

    .topic-swiper .swiper-slide,
    .topic-pic {
        width: 170px;
        height: 227px;
    }

    /* 超小屏：校园剪影留白再收一档 */
    .section-skyline {
        padding: 16px 12px 28px;
    }
    /* 学校荣誉：超小屏再收一档 */
    .honor-stage {
        max-width: 320px;
    }

    .honor-head img {
        max-width: 260px;
    }

    .honor-ring {
        width: 104px;
        height: 104px;
        margin: -52px 0 0 -52px;
    }

    .honor-text {
        font-size: 15px;
        line-height: 21px;
        margin-top: 14px;
    }
    /* 媒体管职院：超小屏再收一档 */
    .rmt-stage {
        max-width: 320px;
        padding: 0 12px;
    }

    .rmt-title {
        max-width: 230px;
    }

    .rmt-more-icon {
        width: 28px;
        height: 10px;
    }

    .rmt-more-txt {
        font-size: 14px;
    }

    .rmt-cap {
        height: 40px;
        padding-left: 10px;
    }

    .rmt-icon {
        width: 24px;
        height: 24px;
    }

    .rmt-txt {
        font-size: 12px;
        margin-left: 6px;
    }

}

/* ==========================================================================
   三、大屏适配（≥1921px）                                  [WIDE 2026-09-22]
   body 的 1920 上限已去掉（见 common.css），通栏背景（红顶栏 / 栏目图 / 页脚红底 /
   身份页背景）随屏幕铺满；版心仍按设计稿宽度居中、尺寸不变。
   这里只把「按 1920 画布右对齐」的顶栏钉回虚拟 1920 画布，避免在宽屏上跑位。
   ========================================================================== */
@media (min-width: 1921px) {

    .header-top-inner {
        width: 1920px;
        margin: 0 auto;
    }

    /* 通栏装饰背景：1920 定宽 → 随屏幕铺满（只横向等比拉伸，不裁切） */
    .section-news,
    .section-media {
        background-size: 100% auto;
    }

    /* 底部通栏点阵带：left:calc(50% - 960px) 会把 100% 宽的它整块推到视口右侧之外 */
    .rmt-bg-bt {
        left: 0;
    }
}

/* ==========================================================================
   四、1920 / 1540 定宽画布等比收缩（1221~1919px）           [CANVAS 2026-09-22]
   学校荣誉 .honor-stage、媒体管职院 .rmt-stage 是 1920 定宽画布 + 绝对定位子元素，
   教学学院 .college-inner 是 1540 定宽画布 + 绝对定位子元素 —— 直接改流式会散架。
   改用 zoom 整体等比缩小：绝对定位坐标、背景尺寸、子元素宽高一起缩，
   且布局高度同步变小（zoom 参与布局计算，不像 transform:scale 会在下方留空）。
   ≤1220 已由本文件第二段的流式重排接管，故下限锁在 1221。
   ========================================================================== */
:root {
    --k1920: 1;
    /* 1920 定宽画布的缩放比 */
    --k1540: 1;
    /* 1540 定宽画布的缩放比 */
}

@media (min-width: 1221px) {

    .honor-stage,
    .rmt-stage {
        zoom: var(--k1920, 1);
    }

    .college-inner {
        zoom: var(--k1540, 1);
    }
}

/* 点阵装饰：窄屏没有「1920 画布」可依，left:calc(50% - 960px) 会把它整块推到视口左侧之外
   （1366 时只剩 146px 可见）；≤1919 直接贴真实左沿（≤1220 已由第二段贴过） */
@media (min-width: 1221px) and (max-width: 1919px) {
    .rmt-bg {
        left: 0;
    }
}

/* 1920 画布：取「保证 1920 × k ≤ 视口宽」的那一档 */
@media (max-width: 1919px) {
    :root {
        --k1920: .95;
    }
}

@media (max-width: 1823px) {
    :root {
        --k1920: .9;
    }
}

@media (max-width: 1727px) {
    :root {
        --k1920: .85;
    }
}

@media (max-width: 1631px) {
    :root {
        --k1920: .8;
    }
}

@media (max-width: 1535px) {
    :root {
        --k1920: .75;
    }
}

@media (max-width: 1439px) {
    :root {
        --k1920: .7;
    }
}

@media (max-width: 1343px) {
    :root {
        --k1920: .65;
    }
}

@media (max-width: 1247px) {
    :root {
        --k1920: .6;
    }
}

/* 1540 画布（教学学院卡片组）：≥1540 时本来就放得下 */
@media (max-width: 1539px) {
    :root {
        --k1540: .95;
    }
}

@media (max-width: 1462px) {
    :root {
        --k1540: .9;
    }
}

@media (max-width: 1385px) {
    :root {
        --k1540: .85;
    }
}

@media (max-width: 1308px) {
    :root {
        --k1540: .8;
    }
}

@media (max-width: 1231px) {
    :root {
        --k1540: .75;
    }
}

/* ==========================================================================
   五、1221~1539px：1540 版心放不下 → 版心改流式，内部模块同步收缩
                                                            [MID 2026-09-22]
   原状态：.container 写死 1540，body{overflow-x:hidden} 把右侧静默裁掉
   （1366 笔记本上裁掉 174px，最右栏目直接看不见）。
   注意：这里只改 .container 本身，不动 :root 的 --w —— .college-inner
   要用 --w=1540 配合第四段的 zoom 等比收缩，跟着变 100% 反而会散架。
   ========================================================================== */
@media (min-width: 1221px) and (max-width: 1539px) {

    .container {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }

    /* 招生宣传 / 信息公开 / 专题专栏共用的 1500 内容宽 */
    .sec-inner {
        width: 100%;
    }

    /* 校园新闻：740 + 365 + 365（间距 25）→ 按 48.7% / 24% / 24% 分配 */
    .campus-board {
        gap: 20px;
    }

    .campus-swiper {
        width: 48.7%;
        flex: 0 1 auto;
    }

    .campus-pic,
    .campus-pic-img {
        width: 100%;
    }

    .campus-pic-img {
        height: auto;
        aspect-ratio: 37 / 21;
    }

    .campus-pic-txt {
        font-size: 20px;
    }

    .campus-dots {
        left: 0;
        width: 100%;
    }

    .campus-feature {
        width: 24%;
    }

    .campus-feature-img {
        width: 100%;
        height: auto;
        aspect-ratio: 365 / 208;
    }

    .campus-feature-txt {
        height: 352px;
        padding: 24px 20px;
    }

    .campus-feature-txt h3 {
        font-size: 20px;
    }

    .campus-list {
        width: 24%;
    }

    .campus-list li a {
        padding: 0 20px;
        font-size: 19px;
    }

    /* 媒体聚焦：网格列必须允许收缩，否则内容固有宽度会把列顶出视口 */
    .media-list>li {
        min-width: 0;
    }

    .media-txt {
        min-width: 0;
    }

    /* 招生宣传：视频 840 + 列表 594（间距 66） */
    .enroll-body {
        gap: 40px;
    }

    .enroll-video {
        width: 55%;
        height: auto;
        aspect-ratio: 840 / 472;
        flex: 1 1 auto;
    }

    .enroll-list {
        width: 38%;
        flex: 1 1 auto;
    }

    /* 信息公开两列网格同理 */
    .info-list>li {
        min-width: 0;
    }
}

/* ==========================================================================
   六、页脚适配（≤1700 / ≤1220 / ≤768）                   [FOOTER 2026-09-22]
   .footer-inner 原为定宽 1660，内部 logo / 校训 / 友情链接 / 横线 / 服务导航 /
   二维码全部按设计稿坐标绝对定位，屏幕窄于 1660 时右侧被静默裁切，且此前没有任何
   响应式规则（六个页面共用同一段页脚，越界都出在这里）。现按三档处理：
     ≤1700：版心改流式（左右各 40），绝对定位元素改为贴边 / 右对齐，下拉按余宽均分；
     ≤1220：整块改纵向流式（取消绝对定位），下拉两列；
     ≤768 ：进一步收窄留白，下拉单列。
   ========================================================================== */
@media (max-width: 1700px) {

    .footer-inner {
        width: 100%;
        padding: 0 40px;
        box-sizing: border-box;
    }

    /* [FOOTER v2] 校徽校名桌面端已居中（left:50% + translateX），
       窄屏保持居中，只收窄宽度 */
    .footer-logo {
        width: 340px;
    }

    /* [FOOTER v2] 校训书法字已按新设计稿删除，规则不再需要 */

    .footer-links,
    .footer-divider,
    .footer-service {
        left: 40px;
        width: calc(100% - 80px);
    }

    /* 二维码不钉在 left:1535，改贴版心右沿；服务导航让出右侧 170 不与之相撞 */
    .footer-qr {
        left: auto;
        right: 40px;
    }

    .footer-service {
        padding-right: 170px;
        box-sizing: border-box;
    }

    /* [FOOTER-ADDR v1] 桌面端地址钉在二维码左侧（left:1050），窄屏放不下 →
       改为服务导航下方一整行，页脚高度相应加高 */
    .footer-main,
    .footer-inner {
        height: 570px;
    }

    .footer-addrs {
        left: 40px;
        right: 220px;
        top: 445px;
        width: auto;
    }

    .footer-addr {
        height: 34px;
    }

    /* 4 个下拉：原 355 定宽 ×4 + 38.5 间隙 = 1535.5，窄屏放不下 → 按余宽均分 */
    .footer-selects {
        flex: 1;
        gap: 20px;
        min-width: 0;
    }

    .footer-select {
        width: auto;
        flex: 1 1 0;
        min-width: 0;
    }

    .footer-select-menu {
        width: 100%;
    }
}

@media (max-width: 1220px) {

    /* 绝对定位撑不起高度 → 整块改纵向流式 */
    .footer-main {
        height: auto;
    }

    .footer-inner {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 26px;
        height: auto;
        padding: 44px 40px 48px;
    }

    .footer-logo,
    .footer-links,
    .footer-divider,
    .footer-service,
    .footer-addrs,
    .footer-qr {
        position: static;
    }

    .footer-logo {
        width: 300px;
        margin: 0 auto;          /* [FOOTER v2] 纵向流式下校徽也居中 */
        transform: none;         /* 清掉桌面端 left:50% + translateX(-50%) 的位移残留 */
    }

    .footer-links {
        width: 100%;
        height: auto;
        flex-wrap: wrap;
        gap: 14px 20px;
    }

    .footer-selects {
        flex: 1 1 100%;
        flex-wrap: wrap;
        gap: 16px;
    }

    .footer-select {
        flex: 1 1 calc(50% - 8px);
    }

    .footer-divider {
        width: 100%;
    }

    .footer-service {
        width: 100%;
        padding-right: 0;
    }

    .footer-srv-row {
        height: auto;
        flex-wrap: wrap;
        align-items: center;
        row-gap: 10px;
    }

    .icon-bszn {
        margin-left: 24px;
    }

    .icon-zjgzy {
        margin-left: 0;
    }

    .footer-qr {
        width: 125px;
        height: 125px;
    }

    /* [FOOTER-ADDR v1] 纵向流式：地址三行铺满整行，行高放开 */
    .footer-addrs {
        width: 100%;
    }

    .footer-addr {
        height: auto;
        padding: 6px 0;
        line-height: 1.6;
    }

    /* 版权条：定高 85 放不下折行后的文字 */
    .footer-copy .footer-inner {
        height: auto;
        padding: 24px 40px;
    }
}

@media (max-width: 768px) {

    .footer-inner {
        gap: 20px;
        padding: 34px 20px 36px;
    }

    .footer-logo {
        width: 240px;
    }

    /* [FOOTER-ADDR v1] 手机端：地址 + 邮编允许换行 */
    .footer-addr {
        flex-wrap: wrap;
        gap: 2px 16px;
        font-size: 13px;
    }

    .footer-selects {
        gap: 12px;
    }

    .footer-select {
        flex: 1 1 100%;
    }

    .footer-srv-main-1 {
        letter-spacing: 2px;
    }

    .footer-qr {
        width: 108px;
        height: 108px;
    }

    /* 移动端四行文字的基线微调不再适用 */
    .footer-srv-main,
    .footer-srv-txt,
    .footer-srv-sep {
        top: 0;
    }

    .footer-copy .footer-inner {
        padding: 20px;
    }

    .footer-copy-txt {
        top: 0;
        font-size: 13px;
        line-height: 1.7;
    }
}
