﻿:root{
    --shell-pad:max(var(--gutter), calc((100% - var(--shell)) / 2));
    --topbar-h:100px;   /* 顶部白色横幅条高度：logo 与顶部链接在其上下居中 */
    --mk-purple:#660874; /* 页面主色（清华紫，沿用二级页） */
  }
  *{margin:0;padding:0;box-sizing:border-box;}
  html{font-size:min(5.5625vw,100px);}   /* 原字号体系：1rem = min(5.5625vw, 100px)（1920 → 100px） */
  body{font-family:var(--ff-sans);background:var(--bg-page);color:var(--text-primary);font-size:.16rem;line-height:1.6;}
  a{text-decoration:none;color:inherit;cursor:pointer;}
  ul{list-style:none;}
  img{display:block;max-width:100%;}
  h1,h2,h3{font-weight:bold;}

  /* ---------- ① 头部：透明压在横幅白条上（与二级页一致） ---------- */
  .toubu{position:absolute;top:0;left:0;right:0;z-index:10;}
  .head_bottom{display:flex;justify-content:space-between;align-items:center;height:var(--topbar-h);padding:0 var(--shell-pad);}
  #logo .box_table{width:2.8rem;}
  #logo img{max-width:100%;width:100%;}
  .hdr-r{display:flex;flex-direction:column;align-items:flex-end;}
  .pc_top{display:flex;align-items:center;height:.4rem;position:relative;}
  .pc_top a{display:flex;align-items:center;font-size:.14rem;color:var(--brand-700);margin-right:.33rem;position:relative;}
  .pc_top a:last-child{margin-right:0;}
  .pc_top a+a::after{content:"";position:absolute;right:-.17rem;top:15%;height:70%;width:1px;background:var(--border-strong);}
  .pc_top a svg{width:.16rem;height:.16rem;margin-right:.07rem;fill:none;stroke:var(--brand-700);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}
  .pc_top a:hover{color:var(--brand-600);}
  .pc_top a:hover svg{stroke:var(--brand-600);}

  /* ---------- ② 横幅（全宽；4haed3 1920×500 与横幅比例完全一致） ---------- */
  .ej_bn_dt{position:relative;z-index:1;aspect-ratio:1920/500;overflow:hidden;}
  .ej_bn_dt img{width:100%;height:100%;object-fit:cover;}
  .ej_bn_dt::before{content:"";position:absolute;top:0;left:0;width:100%;height:var(--topbar-h);background:rgba(255,255,255,.90);z-index:2;pointer-events:none;} /* 白条 90% 不透明（用户裁决） */
  /* 紫色「服务平台」斜切标题卡已按用户裁决移除 */

  /* ---------- ③ 主体：分隔带 + 左正文 + 右最新新闻（左侧紫色菜单栏已移除） ---------- */
  .ej_main_box{position:relative;z-index:3;overflow:hidden;background:#f9f7fc;padding-bottom:.6rem;}
  /* 名称 + 路径行：左栏目标题 / 右 面包屑（房子图标紫色，仿参考截图） */
  .dqwz_out{position:relative;display:flex;justify-content:space-between;align-items:center;padding:.28rem 0 .25rem;margin-bottom:.5rem;}
  .dqwz_out::after{content:"";position:absolute;top:0;left:-50vw;right:-50vw;height:100%;border-bottom:1px solid #e0e0e0;background:#eeeef8;z-index:1;}
  .dqwz_out .lm{position:relative;z-index:3;font-size:.18rem;color:#333;font-weight:bold;letter-spacing:1px;}
  .dqwz{position:relative;z-index:3;display:flex;align-items:center;font-size:.15rem;color:#999;}
  .dqwz .home{display:flex;align-items:center;margin-right:.1rem;}
  .dqwz .home svg{width:.17rem;height:.17rem;fill:var(--mk-purple);stroke:none;transition:.3s;}
  .dqwz .home:hover svg{fill:var(--mk-purple);opacity:.75;}
  .dqwz a{color:#999;transition:.3s;}
  .dqwz a:hover{color:var(--mk-purple);}
  .dqwz em{font-style:normal;margin:0 .06em;color:#999;}
  .dqwz .cur{color:#999;}

  /* ----- 两栏骨架（改按深职大 .detail：右 3.48rem，左占余量，间隔 .3rem） ----- */
  .nry_main{display:flex;justify-content:space-between;align-items:flex-start;gap:.3rem;}

  /* ----- 左：正文区（照抄清华 9277「学院要闻」详情） ----- */
  .ej_nry{width:100%;min-width:0;}
  .ej_nry .box1{border-bottom:1px solid #cbc4cc;}
  .ej_nry .box1 .bt{font-size:.26rem;color:#333;line-height:.45rem;margin-bottom:.16rem;text-align:left;}
  .ej_nry .box1 .xx{display:flex;flex-wrap:wrap;justify-content:flex-start;background:#f9f9f9;padding:0 0 .2rem;}
  .ej_nry .box1 .xx p{font-size:.14rem;color:#737373;margin:0 .14rem;line-height:.2rem;padding-left:.21rem;background:url(../newImages/nry_ico1.png) no-repeat left center;background-size:.14rem;}
  .ej_nry .box1 .xx p+p{background:url(../newImages/nry_ico2.png) no-repeat left center;background-size:.19rem;padding-left:.26rem;}
  .ej_nry .box2{padding:.2rem 0 0;text-align:justify;}
  .ej_nry .box2 p{font-size:.18rem;line-height:.36rem;margin-bottom:.15rem;text-indent:2em;overflow:auto;}
  .ej_nry .box2 p.pic{text-indent:0;margin-bottom:.08rem;}
  .ej_nry .box2 p.pic img{max-width:6.5rem;width:100%;height:auto;margin:0 auto;}
  .ej_nry .box2 p.cap{text-indent:0;text-align:center;font-size:.15rem;color:#555;line-height:.26rem;margin-bottom:.15rem;}
  .nry_main .box3{padding:.3rem 0;}
  .nry_main .box3 a{display:block;}
  .nry_main .box3 p{font-size:.18rem;color:#555;line-height:.38rem;padding:.02rem;transition:.4s;}
  .nry_main .box3 p:hover{color:var(--mk-purple);}

  /* ----- 右：校园公告（深职大 23785 右栏原版参数：橙圆图标 + 粗标题橙线 +
           浅橙竖线 #fce7d1 + 5px 圆点 #ffe4c6（hover #f08918）+ 日期/标题 #555，hover 标题 #ff860b） ----- */
  .nry_news_box{width:3.48rem;flex-shrink:0;}
  /* .tit1：padding-top .6rem-1px 使标题底线与左侧正文标题块底线（1.02rem）齐平 */
  .nry_news_box .tit1{padding-top:calc(.6rem - 1px);margin-bottom:.1rem;border-bottom:1px solid #f08a1b;padding-bottom:.16rem;}
  .nry_news_box .tit1 h3{position:relative;display:flex;align-items:center;padding-left:.15rem;font-weight:normal;}
  .nry_news_box .tit1 h3::before{content:"";position:absolute;left:0;top:2px;bottom:2px;width:4px;background:var(--color-section-bar);border-radius:var(--r-pill);}
  .nry_news_box .tit1 h3 big{font-size:.2rem;font-weight:600;color:var(--text-primary);white-space:nowrap;line-height:1.3;}
  .nry_news_box .tit1 h3 small{font-size:.1rem;color:var(--text-primary);text-transform:uppercase;margin-left:.08rem;letter-spacing:.8px;}
  .list25{position:relative;z-index:1;}
  .list25::before{content:"";position:absolute;left:1.5px;top:0;bottom:0;width:1px;background:#fce7d1;transition:background .5s;}
  .list25 li{padding:.16rem 0;}
  .list25 li .a{display:block;padding:0 0 0 .24rem;position:relative;z-index:1;}
  .list25 li .a::after{content:"";position:absolute;width:5px;height:5px;background:#ffe4c6;border-radius:50%;left:0;top:.04rem;transition:.5s;}
  .list25 li h6{font-size:.14rem;color:#555555;font-weight:normal;}
  .list25 li h4{font-size:.18rem;color:#555555;line-height:.3rem;margin:.12rem 0 0;font-weight:normal;transition:color .5s;} /* 字号与左栏正文一致（.18rem） */
  .list25 li .a:hover::after{background:#f08918;}
  .list25 li .a:hover h4{color:#ff860b;}

  /* ---------- ④ 页脚（沿用二级页 .mk-foot2） ---------- */
  .mk-foot2{position:relative;overflow:hidden;background:var(--bg-card);}
  .mk-foot2 .f2-wal{position:relative;max-width:var(--shell);height:calc(var(--shell)*.113);margin-inline:auto;}
  .mk-foot2 .f2-wal:before{content:"";position:absolute;left:-50vw;right:100%;bottom:0;height:calc(var(--shell)*.083);background:var(--neutral-300);}
  .mk-foot2 .f2-wal:after{content:"";position:absolute;left:0;right:-50vw;bottom:0;height:calc(var(--shell)*.113);background:var(--grad-deep-h);}
  .mk-foot2 .f2-box{position:absolute;z-index:1;left:calc(var(--shell)*.04);top:50%;transform:translateY(-50%);}
  .mk-foot2 .f2-link{font-size:14px;padding-bottom:18px;display:flex;align-items:center;}
  .mk-foot2 .f2-link a{color:var(--on-brand-dim);}
  .mk-foot2 .f2-link a:hover{color:var(--color-on-dark);}
  .mk-foot2 .f2-link em{font-style:normal;padding:0 15px;color:var(--on-brand-line);}
  .mk-foot2 .f2-cr{font-size:12px;line-height:1.9;color:var(--on-brand-dim);}
  .mk-foot2 .f2-cr a{color:var(--on-brand-dim);}
  .mk-foot2 .f2-cr a:hover{color:var(--color-on-dark);}
  .mk-foot2 .f2-brand{position:absolute;z-index:1;right:max(calc(var(--shell)*.02 - 40px),calc((100vw - min(var(--shell),100vw))/-2 + 24px));top:50%;transform:translateY(-50%);display:flex;align-items:center;}
  .mk-foot2 .f2-logoimg{height:min(calc(var(--shell)*.048),4.2vw);width:auto;display:block;}
  .mk-foot2 .f2-motto{height:min(calc(var(--shell)*.048),4.2vw);width:auto;display:block;margin-left:min(calc(var(--shell)*.04),3.5vw);filter:invert(1);opacity:.3;}

  iframe[src*=".pdf"]{
  width:100% !important;
  height:100%; 
  aspect-ratio:1/1.3;      /* 按纸张比例，也可用 3/4 */
}
  /* ---------- 响应式 ---------- */
  @media (max-width:1024px){
    :root{--topbar-h:64px;} /* 顶部白条收缩：原 100px 在手机端比横幅还高，会整条盖住 .ej_bn_dt */
    html{font-size:60px;}
    .pc_top{display:none;}
    .ej_main_box{padding-bottom:.4rem;}
    .nry_main{flex-direction:column;}
    .ej_nry{width:100%;}
    .nry_news_box{width:100%;margin-top:.5rem;padding-top:0;}
    .ej_nry .box2 p.pic img{max-width:100%;}
    /* 页脚转常规流式：深带全出血包住全部内容，灰蓝块隐藏 */
    .mk-foot2 .f2-wal{height:auto;padding:24px var(--shell-pad);}
    .mk-foot2 .f2-wal:before{display:none;}
    .mk-foot2 .f2-wal:after{left:-50vw;right:-50vw;height:100%;}
    .mk-foot2 .f2-brand{position:relative;inset:auto;transform:none;flex-direction:column;align-items:flex-start;gap:16px;margin:0 0 18px;}
    .mk-foot2 .f2-logoimg{height:30px;}
    .mk-foot2 .f2-motto{height:34px;margin-left:0;}
    .mk-foot2 .f2-box{position:relative;inset:auto;transform:none;padding:0;}
  }
  @media (max-width:640px){
    :root{--topbar-h:56px;}
    .ej_bn_dt{aspect-ratio:auto;height:160px;} /* 手机端横幅兜底高度：白条(56px)下方保留约 100px 实景 */
    iframe[src*=".pdf"]{
    aspect-ratio:1/1.6;    /* 手机竖屏拉长一点，减少内部缩放 */
  }