@charset "utf-8";
.page-xxjj {
    --w: 1500px;
    --xxjj-red: #A91720;
    /*--xxjj-deep: #85030B;*/      /* 子导航面包屑底 / 深红块 / 四位一体底 */
    --xxjj-deep: #fff4ef;      /* 子导航面包屑底 / 深红块 / 四位一体底 */
    --xxjj-accent: #920202;    /* 栏目当前项红 / 数据数字红 */
    --xxjj-line: #D8D8D8;      /* 简介板块标题下横线 */
    --xxjj-fa: #FAFAFA;        /* 页面主背景 */
    --xxjj-text: #DDCAC1;      /* 四位一体正文 */
    background: var(--xxjj-fa);
    padding-top: 121px;
}

@media (min-width: 1221px) {
    .page-xxjj .nav-inner {
        justify-content: space-between;
    }
}

/* --------------------------------------------------------------------------
   2. 栏目图 banner
   -------------------------------------------------------------------------- */
.page-xxjj .xxjj-banner {
    position: relative;
    width: 100%;
    height: 640px;
    overflow: hidden;
    background: #f5f5f5;
}
.page-xxjj .xxjj-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-xxjj > .header:not(.list-header) ~ .xxjj-router-container{
    position: relative;
}
.page-xxjj > .header:not(.list-header) ~ .xxjj-router-container .xxjj-router {
    position: relative;
    width: 100%;
    height: 170px;
    /* 上移 170px：整块背景图（透明鹿区 + 白条）叠在 banner 图层之上，
       router 自身不带背景色，透明区域直接透出 banner */
    margin-top: -170px;
    /* 鹿形剪影必须锚在右侧（right bottom）：视口宽变化时始终紧贴右缘红面包屑盒，
       用 center 会让鹿随视口漂移（用户反馈的不正确版） */
    background: url("../images/routerbg.png") no-repeat right bottom / 1920px 170px;
    z-index: 1;
}
.page-xxjj > .header:not(.list-header) ~ .xxjj-router-container .xxjj-router-inner {
    position: static;   /* 不再作定位基准：面包屑红盒要贴视口右缘（相对 .xxjj-router），
                           挂在版心 inner 上会 right:0 到 x1710，右侧漏 210px 空白 */
    width: var(--w);
    height: 100%;
    margin: 0 auto;
    padding-top: 70px;      /* routerbg 上部 70px 是透明鹿区，内容只排白条 100px */
    display: flex;
    align-items: center;
}
/* 左侧：上级栏目名 + 子栏目导航 */
.page-xxjj > .header:not(.list-header) ~ .xxjj-router-container .xxjj-router-left {
    display: flex;
    align-items: center;
    height: 100%;
}
.page-xxjj > .header:not(.list-header) ~ .xxjj-router-container .xxjj-router-cat {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    padding-right: 60px;
    margin-right: 25px;
    border-right: 1px solid #DDDDDD;   /* 上级栏目名与子栏目导航之间的竖线分隔符 */
    white-space: nowrap;
}
.page-xxjj > .header:not(.list-header) ~ .xxjj-router-container .xxjj-router-nav {
    display: flex;
    align-items: center;
    height: 100%;
}
.page-xxjj > .header:not(.list-header) ~ .xxjj-router-container .xxjj-router-nav a {
    display: inline-block;
    font-size: 18px;
    line-height: 22px;
    color: #333;
    padding: 0 30px 25px;
    position: relative;
    white-space: nowrap;
    transition: all .3s;
}
/* 鼠标移入 / 当前页 → #920202 + 文字下边框（下划线距文字底 25px，实测 86-61） */
.page-xxjj > .header:not(.list-header) ~ .xxjj-router-container .xxjj-router-nav a:hover,
.page-xxjj > .header:not(.list-header) ~ .xxjj-router-container .xxjj-router-nav a.active {
    font-weight: bold;
    color: var(--xxjj-accent);
}
.page-xxjj > .header:not(.list-header) ~ .xxjj-router-container .xxjj-router-nav a:hover::after,
.page-xxjj > .header:not(.list-header) ~ .xxjj-router-container .xxjj-router-nav a.active::after {
    content: '';
    position: absolute;
    left: 25px;
    right: 25px;
    bottom: 0;
    height: 4px;
    background: var(--xxjj-accent);
}

.page-xxjj > .header:not(.list-header) ~ .xxjj-router-container .xxjj-crumb {
    position: absolute;
    width: 35%;
    right: 0;
    top: 90px;
    display: flex;
    align-items: center;
    height: 50px;
    background: var(--xxjj-deep);
    padding: 0 10%;
    justify-content: flex-end;
}
.page-xxjj > .header:not(.list-header) ~ .xxjj-router-container .xxjj-crumb-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}
.page-xxjj > .header:not(.list-header) ~ .xxjj-router-container .xxjj-crumb a,
.page-xxjj > .header:not(.list-header) ~ .xxjj-router-container .xxjj-crumb span {
    display: inline-block;
    font-size: 15px;
    line-height: 1;
    color: #fff;
}
.page-xxjj > .header:not(.list-header) ~ .xxjj-router-container .xxjj-crumb .xxjj-crumb-sep {
    margin: 0 8px;
    opacity: .7;
}
.page-xxjj > .header:not(.list-header) ~ .xxjj-router-container .xxjj-crumb .xxjj-crumb-cur {
    color: #fff;
}

.xxjj-intro {
    background: var(--xxjj-fa);
    /* padding-top: 60px; */
}
.xxjj-intro-inner {
    width: var(--w);
    margin: 0 auto;
}
.xxjj-intro-body {
    display: flex;
    align-items: center;
    gap: 60px;
}
/* 左栏：jjbg 水印背景 + 标题图 + 横线 + 正文 */
.xxjj-intro-left {
    flex: 1;
    min-width: 0;
    position: relative;
    /* background: #fff; */
    background: url("../images/jjbg.png") no-repeat;
    background-size: 103%;
    background-position: 100% 0;
    padding: 90px 0 100px;
}
/* .xxjj-intro-left::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("../images/jjbg.png") no-repeat center / cover;
    opacity: .14;
    pointer-events: none;
} */
.xxjj-intro-left > * {
    position: relative;         /* 内容盖在水印之上 */
}
.xxjj-intro-title {
    line-height: 0;
}
.xxjj-intro-title img {
    display: block;
    height: 55px;
    width: auto;
    max-width: 100%;
}
/* 标题图下 40px 的 #D8D8D8 横线（左栏内，非通栏） */
.xxjj-intro-line {
    display: block;
    height: 1px;
    background: var(--xxjj-line);
    margin: 40px 0 36px;
}
.xxjj-intro-text {
    font-size: 18px;
    line-height: 2.1;
    color: #333;
    text-align: justify;
    text-indent: 2em;
}
/* 右侧图片：背后 #85030B 底块，向右下偏移 39px */
.xxjj-intro-figure {
    flex: none;
    width: 528px;
    position: relative;
    transform: translateY(-60px);
}
.xxjj-intro-figure::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--xxjj-deep);
    transform: translate(15px, -15px);
    z-index: 0;
}
.xxjj-intro-figure img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
}

.xxjj-yrtx {
    position: relative;
    /* 云纹背景图直接铺在红底上（yrtxbg.png 为半透明白纹，alpha≈27） */
    background: var(--xxjj-deep) url("../images/yrtxbg.png") repeat center / 960px auto;
    padding: 70px 0 524px;
}
.xxjj-yrtx-inner {
    position: relative;
    width: var(--w);
    margin: 0 auto;
}
/* 板块标题（「全面实施"四位一体"育人体系」） */
.xxjj-yrtx-title {
    font-size: 22px;
    font-weight: bold;
    /* color: rgba(221, 202, 193, 1); */
    color: #333;
    /* text-align: center; */
    margin-bottom: 50px;
}
/* 四个小标题卡 */
.xxjj-yrtx-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 40px;
}
.xxjj-yrtx-card {
    display: flex;
    align-items: center;
    height: 80px;
    background: rgba(216, 216, 216, 0.1);
    /* border: 1px solid rgba(255, 244, 239, 0.2); */
    border: 1px solid rgba(146, 2,2,0.2);
    box-sizing: border-box;
}
/* 左侧图标：白色方块（与卡片同高 80×80），印章图标居中其中 */
.xxjj-yrtx-ico {
    flex: none;
    width: 80px;
    height: 80px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.xxjj-yrtx-ico img {
    display: block;
    width: 100%;
    height: 100%;
}
.xxjj-yrtx-card span {
    /* margin-left: 24px; */
    font-size: 24px;
    font-weight: bold;
    color: #85030B;
    white-space: nowrap;
}
.xxjj-yrtx-card span:nth-child(2) {
    margin: auto;
}
/* 正文 */
.xxjj-yrtx-text {
    margin-top: 40px;
    font-size: 18px;
    line-height: 2.0;
    /* color: var(--xxjj-text); */
    color: #333;
    text-align: justify;
    text-indent: 2em;
}

.xxjj-szdw {
    position: relative;
    background: transparent;
}
.xxjj-szdw-inner {
    width: var(--w);
    margin: 0 auto;
    position: relative;
}
.xxjj-szdw-card {
    position: relative;
    background: #fff;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .08);
    padding: 50px 40px;
    margin-top: -483px;     /* 上压四位一体 483px */
    z-index: 2;             /* 浮在 szdw2 背景之上 */
}
.xxjj-szdw-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    /* text-align: center; */
    margin-bottom: 40px;
}
.xxjj-szdw-text {
    font-size: 18px;
    line-height: 2.0;
    color: #333;
    text-align: justify;
    margin-bottom: 36px;
    text-indent: 2em;
}
.xxjj-szdw-figure {
    width: 100%;
}
.xxjj-szdw-figure img {
    display: block;
    width: 100%;
    height: auto;
}

.xxjj-szdw2 {
    position: relative;
    background: var(--xxjj-fa) url("../images/szdwbg.png") no-repeat center top / 1920px auto;
    margin-top: -449px;      /* 背景上探到白卡下半部之后 */
    padding: 493px 0 40px;   /* 449 给白卡 + 44 标题与卡底的间距 */
}
.xxjj-szdw2-inner {
    width: var(--w);
    margin: 0 auto;
    position: relative;
}
.xxjj-szdw2-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    /* text-align: center; */
    margin-bottom: 30px;
}
.xxjj-szdw2-content{
    background: #fff;
    padding: 40px;
}
.xxjj-szdw2-text {
    font-size: 18px;
    line-height: 2.0;
    color: #333;
    text-align: justify;
    text-indent: 2em;
}
.xxjj-stats {
    width: 1420px;
    margin: 30px auto 0;
    /* background: rgba(221, 202, 193, .1); */
    transition: background-color .3s;
}
/* .xxjj-stats:hover {
    background: #DDCAC1;
} */
.xxjj-stats-viewport {
    background: #fbf9f8;
    padding: 30px 0 26px;
    overflow: hidden;
}
.xxjj-stats-track {
    display: flex;
    align-items: stretch;
    transition: transform .5s ease;
    will-change: transform;
}
.xxjj-stat-item {
    flex: none;
    width: 284px;               /* 1420 / 5 = 284，一屏正好 5 个 */
    box-sizing: border-box;
    padding: 8px 20px 8px 30px;
}
.xxjj-stat-item + .xxjj-stat-item {
    border-left: 1px solid rgba(146, 2, 2, 0.12);
}
.xxjj-stat-num {
    display: flex;
    align-items: baseline;
}
.xxjj-stat-num .xxjj-stat-val {
    font-weight: bold;
    font-size: 51px;
    line-height: 1;
    color: var(--xxjj-accent);
}
.xxjj-stat-num .xxjj-stat-unit {
    font-size: 16px;
    color: var(--xxjj-accent);
    margin-left: 4px;
}
.xxjj-stat-name {
    margin-top: 14px;
    font-size: 16px;
    color: #333333;
}
/* 底部指示短横线：当前项红色加长，其余浅色 */
.xxjj-stats-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}
.xxjj-stats-dots span {
    width: 18px;
    height: 3px;
    background: #E3D6CE;
    transition: background-color .3s, width .3s;
}
.xxjj-stats-dots span.active {
    width: 26px;
    background: var(--xxjj-accent);
}

.xxjj-bxcg {
    background: var(--xxjj-fa);
    padding: 60px 0 50px;
}
.xxjj-bxcg-inner {
    width: var(--w);
    margin: 0 auto;
}
.xxjj-bxcg-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    /* text-align: center; */
    margin-bottom: 40px;
}
.xxjj-bxcg-body {
    display: flex;
    gap: 40px;                  /* 左图与右栏间隔 40px（设计稿标注） */
    align-items: flex-start;
    background: #FFFFFF;
}
.xxjj-bxcg-figure {
    flex: none;
    width: 750px;               /* 左图 750×530（bxcgpic1 原生 750×529） */
}
.xxjj-bxcg-figure img {
    display: block;
    width: 750px;
    height: 530px;
    object-fit: cover;
}
.xxjj-bxcg-right {
    flex: 1;
    min-width: 0;
    padding-right: 40px;
    padding-top: 28px;
}
.xxjj-bxcg-text {
    font-size: 18px;
    line-height: 2.0;
    color: #333;
    text-indent: 2em;
    text-align: justify;
}
.xxjj-bxcg-thumbs {
    display: flex;
    gap: 22px;
    margin-top: 30px;
    align-items: flex-start;
}
.xxjj-bxcg-thumbs img {
    display: block;
    width: auto;
    height: auto;               /* 原生尺寸：bxcgpic2/3 220 高、鹿 237 高 */
}
.xxjj-bxcg-foot {
    margin-top: 44px;
}
.xxjj-bxcg-foot p {
    font-size: 18px;
    line-height: 2.0;
    color: #333;
    text-align: justify;
    text-indent: 2em;
}
.xxjj-bxcg-foot p + p {
    margin-top: 10px;
}

.section-skyline{
    padding-bottom: 0;
}
.skyline-box{
    margin-bottom: -4px;
}
.section-skyline{
    background: var(--xxjj-fa);
}

/* [MOBILE-ADAPT 2026-11-08] 5. 响应式（≤1220 / ≤768） */

/* --------------------------------------------------------------------------
   5. 响应式（≤1220 / ≤768）                    [MOBILE-ADAPT 2026-11-08]

   本页是长文页，桌面靠「定宽 1500 + 负 margin 叠层」拼版：
     .xxjj-yrtx 底部留 524 给白卡上压（.xxjj-szdw-card margin-top:-483）
     .xxjj-szdw2 margin-top:-449 + padding-top:493 让背景上探到白卡下半部
   窄屏这些数值全是按 1920 设计的，直接沿用会出现「白卡压住文字」「背景图
   只露一条」。所以 ≤1220 / ≤768 各给一套：**取消所有负 margin 叠层**，
   让各 section 顺排，再用 section 自己的 padding 造呼吸。
   ⚠ 数据轮播的项宽由 js/xxjj.js 运行时量（原来写死 284），这里只负责改宽度。
   -------------------------------------------------------------------------- */
@media (max-width: 1560px) {

    /* 1221~1560：版心退到 1400 左右，两处写死像素宽的块先改成百分比，
       否则右侧会被裁（1440 实测数据轮播溢出 76px、缩略图溢出 76px） */
    .xxjj-stats {
        width: 100%;
    }

    .xxjj-stat-item {
        width: 20%;
    }

    .xxjj-bxcg-thumbs img {
        width: calc((100% - 24px) / 3);
        height: auto;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }
}

@media (max-width: 1220px) {

    .xxjj-intro-inner,
    .xxjj-yrtx-inner,
    .xxjj-szdw-inner,
    .xxjj-szdw2-inner,
    .xxjj-bxcg-inner {
        width: 100%;
        padding: 0 24px;
        box-sizing: border-box;
    }

    .xxjj-intro-body {
        gap: 32px;
    }

    .xxjj-intro-left {
        padding: 48px 0 56px;
        background-size: cover;
    }

    .xxjj-intro-figure {
        width: 44%;
        transform: translateY(-24px);
    }

    .xxjj-intro-text,
    .xxjj-yrtx-text,
    .xxjj-szdw-text,
    .xxjj-szdw2-text,
    .xxjj-bxcg-text,
    .xxjj-bxcg-foot p {
        font-size: 16px;
        line-height: 1.9;
    }

    .xxjj-yrtx {
        padding: 48px 0 64px;
    }

    .xxjj-yrtx-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .xxjj-yrtx-card {
        height: 68px;
    }

    .xxjj-yrtx-ico {
        width: 68px;
        height: 68px;
    }

    /* .xxjj-yrtx-ico img {
        width: 56px;
        height: 54px;
    } */

    .xxjj-yrtx-card span {
        font-size: 20px;
    }

    /* 平板上也取消叠层：负 margin 是按 1500 版心的留白算的，
       窄屏一改宽度就会把白卡推到上一段文字上 */
    .xxjj-szdw-card {
        margin-top: 0;
        padding: 32px 24px;
    }

    .xxjj-szdw2 {
        margin-top: 0;
        padding: 40px 0 32px;
        background-size: cover;
        background-position: center top;
    }

    .xxjj-stats {
        width: 100%;
    }

    .xxjj-stat-item {
        width: 25%;
        padding: 8px 12px 8px 16px;
    }

    .xxjj-stat-num .xxjj-stat-val {
        font-size: 38px;
    }

    .xxjj-bxcg-body {
        gap: 20px;
    }

    .xxjj-bxcg-figure {
        width: 52%;
    }

    .xxjj-bxcg-figure img {
        width: 100%;
        height: auto;
    }

    .xxjj-bxcg-right {
        padding: 0 12px 0 0;
    }

    .xxjj-bxcg-thumbs {
        gap: 12px;
    }

    /* 三张缩略图是原生尺寸（220 / 237 宽），右栏在平板上只剩 400 出头 →
       按行宽三等分，统一 4:3 裁切，底边齐平 */
    .xxjj-bxcg-thumbs img {
        width: calc((100% - 24px) / 3);
        height: auto;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }
}

@media (max-width: 768px) {

    .xxjj-intro-inner,
    .xxjj-yrtx-inner,
    .xxjj-szdw-inner,
    .xxjj-szdw2-inner,
    .xxjj-bxcg-inner {
        padding: 0 15px;
    }

    /* 一、简介：图文改上下排，装饰块右下偏移收一半 */
    .xxjj-intro-body {
        display: block;
    }

    .xxjj-intro-left {
        padding: 28px 0 32px;
        background-size: cover;
    }

    .xxjj-intro-title img {
        height: 40px;
    }

    .xxjj-intro-line {
        margin: 22px 0 18px;
    }

    .xxjj-intro-text {
        font-size: 15px;
        line-height: 1.9;
    }

    .xxjj-intro-figure {
        width: 100%;
        margin-top: 26px;
        transform: none;
    }

    .xxjj-intro-figure::before {
        transform: translate(8px, -8px);
    }

    /* 二、四位一体：2×2，图标块 56 */
    .xxjj-yrtx {
        padding: 32px 0 40px;
    }

    .xxjj-yrtx-title {
        font-size: 18px;
        margin-bottom: 20px;
        padding: 0 15px;
    }

    .xxjj-yrtx-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .xxjj-yrtx-card {
        height: 56px;
    }

    .xxjj-yrtx-ico {
        width: 56px;
        height: 56px;
    }

    /* .xxjj-yrtx-ico img {
        width: 44px;
        height: 42px;
    } */

    .xxjj-yrtx-card span {
        font-size: 15px;
        letter-spacing: 0;
    }

    .xxjj-yrtx-text {
        margin-top: 18px;
        font-size: 15px;
        line-height: 1.9;
    }

    /* 三、四：取消叠层，白卡正常排在红块下面 */
    .xxjj-szdw-card {
        margin-top: 0;
        padding: 24px 16px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, .07);
    }

    .xxjj-szdw-title,
    .xxjj-szdw2-title,
    .xxjj-bxcg-title {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .xxjj-szdw-text,
    .xxjj-szdw2-text,
    .xxjj-bxcg-text,
    .xxjj-bxcg-foot p {
        font-size: 15px;
        line-height: 1.9;
    }

    .xxjj-szdw-figure img {
        margin-top: 16px;
    }

    .xxjj-szdw2 {
        margin-top: 0;
        padding: 32px 0 24px;
        background-size: cover;
        background-position: center top;
    }

    .xxjj-szdw2-content {
        padding: 18px 16px;
    }

    /* 五、数据轮播：一屏 2 个（项宽 50%，js 运行时量实际宽度） */
    .xxjj-stats {
        margin-top: 18px;
    }

    .xxjj-stats-viewport {
        padding: 16px 0 12px;
    }

    .xxjj-stat-item {
        width: 50%;
        padding: 6px 10px 6px 14px;
    }

    .xxjj-stat-num .xxjj-stat-val {
        font-size: 30px;
    }

    .xxjj-stat-num .xxjj-stat-unit {
        font-size: 13px;
    }

    .xxjj-stat-name {
        margin-top: 6px;
        font-size: 13px;
        line-height: 1.5;
    }

    .xxjj-stats-dots {
        gap: 6px;
        margin-top: 14px;
    }

    .xxjj-stats-dots span {
        width: 12px;
    }

    .xxjj-stats-dots span.active {
        width: 18px;
    }

    /* 六、办学成果：图在上、文在下，三张小图一行 */
    .xxjj-bxcg {
        padding: 28px 0 32px;
    }

    .xxjj-bxcg-body {
        display: block;
    }

    .xxjj-bxcg-figure {
        width: 100%;
    }

    .xxjj-bxcg-right {
        padding: 16px 16px 0;
    }

    .xxjj-bxcg-thumbs {
        gap: 8px;
        margin-top: 14px;
        align-items: flex-start;
    }

    /* 三张原图比例各不相同（220/237 高），只给宽度会让底边参差 →
       统一 4:3 裁切，底边齐平 */
    .xxjj-bxcg-thumbs img {
        width: calc((100% - 16px) / 3);
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }

    .xxjj-bxcg-foot {
        margin-top: 20px;
    }

    /* 两段「办学成果」之间原本靠 3 个 <br> 撑开；手机把 <br> 全去掉后
       两段会粘在一起，改用 margin 给间距 */
    .xxjj-bxcg-inner+.xxjj-bxcg-inner {
        margin-top: 32px;
    }

    /* 模板里用 <br> 当段间距，手机上这些空行会撑出大片空白 */
    .xxjj-bxcg br {
        display: none;
    }
}
/* [END MOBILE-ADAPT] */
