/* =========================================================
   school-pro.css —— 院校详情页视觉增强（覆盖 school.css）
   作用域仅限院校详情页，不影响全站其它页面
   ========================================================= */

/* ---------- 页面底 ---------- */
.gary_out{
    background: #f3f4f6;
    padding-bottom: 80px;
    padding-top: 0;
}
.gary_out .w_1200{ width: 1260px; }

/* ---------- 首屏主视觉 ---------- */
.sch-hero{
    position: relative;
    min-height: 430px;
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    overflow: hidden;
    isolation: isolate;
}
.sch-hero::before{
    content:"";
    position:absolute; inset:0;
    background:
        linear-gradient(100deg, rgba(12,14,20,.92) 0%, rgba(12,14,20,.72) 46%, rgba(189,26,45,.45) 100%),
        repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 4px);
    z-index: 1;
}
.sch-hero::after{
    content:"";
    position:absolute; left:0; right:0; bottom:0; height:140px;
    background: linear-gradient(to bottom, transparent, rgba(243,244,246,1));
    z-index: 2;
}
.sch-hero-in{
    position: relative;
    z-index: 3;
    width: 1260px;
    margin: 0 auto;
    padding: 96px 20px 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    min-height: 430px;
    padding-bottom: 76px;
    box-sizing: border-box;
}
.sch-hero-main{ flex: 1 1 auto; min-width: 0; }
.sch-hero-badge{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 34px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(189,26,45,.92);
    box-shadow: 0 6px 22px rgba(189,26,45,.36);
    color:#fff;
    font-size: 13px;
    letter-spacing: .08em;
}
.sch-hero-badge i{
    width:6px;height:6px;border-radius:50%;background:#ffd7dc;
    box-shadow:0 0 0 3px rgba(255,215,220,.25);
    font-style:normal;
}
.sch-hero-name{
    margin: 20px 0 14px;
    font-size: 52px;
    line-height: 1.16;
    font-weight: 800;
    color: #fff;
    letter-spacing: .02em;
    text-shadow: 0 8px 30px rgba(0,0,0,.42);
    word-break: break-word;
}
.sch-hero-line{
    width: 76px; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg,#BD1A2D,#ff6a7c 60%,rgba(255,255,255,0));
    margin-bottom: 18px;
}
.sch-hero-meta{
    display: flex; flex-wrap: wrap; gap: 10px 26px;
    color: rgba(255,255,255,.9);
    font-size: 15px;
}
.sch-hero-meta span{ display:inline-flex; align-items:center; gap:8px; }
.sch-hero-meta span::before{
    content:""; width:5px;height:5px;border-radius:50%;
    background:#ff9aa7; box-shadow:0 0 8px rgba(255,154,167,.8);
}
.sch-hero-acts{ display:flex; gap:14px; margin-top: 26px; }
.sch-btn{
    display:inline-flex; align-items:center; justify-content:center;
    height:46px; padding:0 26px; border-radius:999px;
    font-size:15px; text-decoration:none; transition:.25s ease;
    box-sizing:border-box;
}
.sch-btn-primary{
    background:#fff; color:#BD1A2D; font-weight:700;
    box-shadow:0 10px 26px rgba(0,0,0,.22);
}
.sch-btn-primary:hover{ transform:translateY(-2px); box-shadow:0 16px 34px rgba(0,0,0,.3); }
.sch-btn-ghost{
    border:1px solid rgba(255,255,255,.45); color:#fff;
    background: rgba(255,255,255,.08); backdrop-filter: blur(6px);
}
.sch-btn-ghost:hover{ background: rgba(255,255,255,.18); border-color:#fff; }

/* 右侧数据卡 */
.sch-hero-side{
    flex: 0 0 320px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 20px;
    padding: 22px 22px 18px;
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 50px rgba(0,0,0,.28);
}
.sch-hero-side h4{
    margin:0 0 14px; font-size:14px; font-weight:600; color:#fff;
    letter-spacing:.14em; opacity:.92;
}
.sch-stat{ display:flex; align-items:baseline; justify-content:space-between; padding:11px 0; border-bottom:1px dashed rgba(255,255,255,.18); }
.sch-stat:last-child{ border-bottom:none; }
.sch-stat b{ font-size:15px; color:#fff; font-weight:600; max-width:200px; text-align:right; word-break:break-all; }
.sch-stat i{ font-style:normal; font-size:13px; color:rgba(255,255,255,.68); flex:0 0 auto; }

/* ---------- 四入口导航（吸顶） ---------- */
.top_tag{
    position: sticky; top: 0; z-index: 30;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px;
    background: #fff;
    padding: 16px;
    margin: -46px auto 18px;
    border-radius: 18px;
    box-shadow: 0 14px 40px rgba(18,22,34,.09);
    box-sizing: border-box;
}
.top_tag li{
    display:flex; align-items:center; gap:12px;
    padding: 14px 16px;
    border-radius: 14px;
    background:#f7f8fa;
    cursor:pointer;
    transition:.22s ease;
    border:1px solid transparent;
}
.top_tag li:hover{
    background:#fff; border-color: rgba(189,26,45,.22);
    box-shadow: 0 10px 26px rgba(189,26,45,.12);
    transform: translateY(-2px);
}
.top_tag li img{
    width: 40px !important; height: 40px;
    margin-right: 0 !important;
    border-radius: 12px;
    background: #fff;
    padding: 8px;
    box-shadow: 0 4px 14px rgba(18,22,34,.08);
    box-sizing: border-box;
    object-fit: contain;
}
.top_tag_ri p:nth-child(1){
    font-size: 16px !important;
    font-weight: 700;
    color:#17202f;
    margin-bottom: 4px !important;
}
.top_tag_ri p:nth-child(2){
    font-size: 12.5px;
    color:#8b93a3;
    line-height:1.4;
}

/* ---------- 章节标题 ---------- */
.school_ttl{
    text-align: left !important;
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 18px !important;
    padding-left: 14px;
    position: relative;
    font-size: 0;
}
.school_ttl::before{
    content:"";
    position:absolute; left:0; top:50%; transform:translateY(-50%);
    width:4px; height:22px; border-radius:4px;
    background: linear-gradient(180deg,#BD1A2D,#e8495f);
    box-shadow: 0 0 12px rgba(189,26,45,.35);
}
.school_ttl img{ display:none !important; }
.school_ttl span{
    display:inline-block !important;
    font-size: 26px !important;
    font-weight: 800;
    color:#151a26 !important;
    letter-spacing:.01em;
}

/* ---------- 学校信息卡 ---------- */
.info, .about, .fg{
    background:#fff;
    border-radius: 20px;
    padding: 28px 30px 34px;
    margin-bottom: 18px;
    box-shadow: 0 10px 32px rgba(18,22,34,.06);
    border: 1px solid rgba(18,22,34,.04);
}
.info_inner{
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    min-height: 320px;
    padding: 34px 40px 120px 40px !important;
    background-size: cover !important;
    background-position: center !important;
    box-shadow: 0 18px 46px rgba(18,22,34,.16);
}
.info_inner::after{
    content:"";
    position:absolute; inset:0;
    background: linear-gradient(90deg, rgba(9,11,17,.88) 0%, rgba(9,11,17,.55) 54%, rgba(9,11,17,.18) 100%);
    z-index: 1;
}
.img_msak{ display:none !important; }
.img_msak_bt{
    position: relative; z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px 34px;
    max-width: 760px;
}
.img_msak_bt p{
    color: rgba(255,255,255,.94) !important;
    font-size: 15px !important;
    line-height: 1.7;
    margin: 0 !important;
    padding-left: 14px;
    border-left: 2px solid rgba(255,255,255,.22);
    word-break: break-word;
}

/* 学校名片条（替换原“听得见的招生简章”） */
.info_inner_bt{
    position: relative;
    z-index: 2;
    display: flex !important;
    align-items: center;
    gap: 18px;
    background: rgba(255,255,255,.96) !important;
    border-radius: 16px;
    padding: 16px 22px !important;
    margin-top: 28px;
    box-shadow: 0 12px 30px rgba(0,0,0,.16) !important;
    bottom: auto !important;
}
.info_inner_bt img{
    width: 62px; height: 62px; border-radius: 14px;
    object-fit: contain; background:#fff; border:1px solid #eef0f4;
}
.info_inner_bt_mid{ flex:1 1 auto; min-width:0; }
.info_inner_bt_mid p:nth-child(1){
    font-size: 20px !important; font-weight: 800; color:#151a26 !important;
    margin-bottom: 6px !important;
}
.info_inner_bt_mid p:nth-child(2){
    font-size: 13.5px !important; color:#7c8494 !important; line-height:1.5;
}
.info_inner_bt_ri{ flex:0 0 auto; }
.info_inner_bt_ri a{
    display:inline-flex; align-items:center; justify-content:center;
    height: 40px; padding: 0 20px; border-radius: 999px;
    background:#BD1A2D; color:#fff; font-size:13.5px; text-decoration:none;
    box-shadow:0 8px 20px rgba(189,26,45,.28);
    transition:.2s;
}
.info_inner_bt_ri a:hover{ transform:translateY(-1px); box-shadow:0 12px 26px rgba(189,26,45,.38); }
.info_inner_bt_ri a img{ display:none; }

/* ---------- 简介 tab ---------- */
.about_tabs{ margin-top: 6px; }
.about_tab_nav{
    display: flex !important; gap: 8px;
    border-bottom: 1px solid #eceff4;
    padding-bottom: 0 !important;
    margin-bottom: 24px;
}
.about_tab_nav li{
    position: relative;
    padding: 12px 22px !important;
    font-size: 15px; font-weight: 600; color:#6b7280;
    cursor: pointer; border-radius: 12px 12px 0 0;
    transition:.2s;
}
.about_tab_nav li:hover{ color:#BD1A2D; background:#fdf3f4; }
.about_tab_nav li.on{
    color:#BD1A2D !important;
    background:#fdf3f4;
}
.about_tab_nav li.on::after{
    content:""; position:absolute; left:14px; right:14px; bottom:-1px; height:3px;
    background:#BD1A2D; border-radius:3px 3px 0 0;
}

/* ---------- 正文排版 ---------- */
.about_tabs_bd{ font-size: 16px; color:#333a48; line-height: 1.95; }
.about_tabs_bd p{ margin: 0 0 16px; line-height: 1.95; }
.about_tabs_bd p:last-child{ margin-bottom: 0; }
.about_tabs_bd h2{
    font-size: 20px; color:#151a26; margin: 28px 0 14px;
    padding-left: 12px; position:relative; line-height:1.5; font-weight:700;
}
.about_tabs_bd h2::before{
    content:""; position:absolute; left:0; top:6px; bottom:6px; width:4px;
    border-radius:3px; background:#BD1A2D;
}
.about_tabs_bd h3{
    font-size: 17px; color:#1f2735; margin: 22px 0 10px; font-weight:700;
}
.about_tabs_bd ul, .about_tabs_bd ol{ margin: 0 0 16px; padding-left: 22px; }
.about_tabs_bd li{ margin-bottom: 9px; line-height:1.9; }
.about_tabs_bd strong{ color:#BD1A2D; font-weight:700; }
.about_tabs_bd table{
    width: 100% !important; border-collapse: collapse; margin: 18px 0;
    font-size: 15px; border-radius: 12px; overflow: hidden;
    box-shadow: 0 4px 18px rgba(18,22,34,.05);
    display: table !important;
}
.about_tabs_bd th{
    background: linear-gradient(135deg,#BD1A2D,#a5142a);
    color:#fff; font-weight:600; padding: 12px 14px; text-align:left;
    border: 1px solid rgba(255,255,255,.14);
}
.about_tabs_bd td{
    padding: 11px 14px; border: 1px solid #eceff4; color:#3b4353; vertical-align: top;
}
.about_tabs_bd tr:nth-child(even) td{ background:#fafbfc; }
.about_tabs_bd img{ max-width: 100% !important; height:auto; border-radius: 12px; }

/* ---------- 校园风光画廊 ---------- */
.sw_box{
    display: flex; flex-wrap: wrap; gap: 14px;
}
.sw_box p{
    margin: 0 !important;
    width: calc((100% - 28px) / 3);
    line-height: 0;
}
.sw_box img,
.about_tabs_bd .sw_box img{
    width: 100% !important;
    height: 220px !important;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    box-shadow: 0 8px 24px rgba(18,22,34,.1);
    transition: transform .35s ease, box-shadow .35s ease;
}
.sw_box p:hover img{
    transform: scale(1.02);
    box-shadow: 0 16px 38px rgba(18,22,34,.18);
}
.sw_empty{
    width:100%;
    padding: 46px 0;
    text-align:center;
    color:#98a0b0;
    font-size: 14px;
    background:#f7f8fa;
    border-radius: 16px;
    border:1px dashed #e3e6ec;
}

/* ---------- 响应式 ---------- */
@media screen and (max-width: 1300px){
    .gary_out .w_1200, .sch-hero-in{ width: 96%; }
    .sch-hero-name{ font-size: 42px; }
    .sch-hero-side{ flex: 0 0 280px; }
}
@media screen and (max-width: 992px){
    .sch-hero{ min-height: 380px; }
    .sch-hero-in{ min-height: 380px; padding-top: 84px; padding-bottom: 60px; flex-direction: column; align-items: flex-start; }
    .sch-hero-name{ font-size: 34px; }
    .sch-hero-side{ width: 100%; flex: 1 1 auto; margin-top: 8px; }
    .top_tag{ grid-template-columns: repeat(2,1fr); }
    .sw_box p{ width: calc((100% - 14px) / 2); }
    .sw_box img{ height: 180px !important; }
    .img_msak_bt{ grid-template-columns: 1fr; }
}
@media screen and (max-width: 640px){
    .sch-hero-name{ font-size: 26px; }
    .sch-hero-meta{ font-size: 13px; gap: 8px 16px; }
    .sch-btn{ height: 42px; padding: 0 18px; font-size: 14px; }
    .sch-hero-acts{ flex-wrap: wrap; gap: 10px; }
    .top_tag{ grid-template-columns: 1fr; padding: 12px; }
    .info, .about, .fg{ padding: 20px 16px 24px; border-radius: 16px; }
    .school_ttl span{ font-size: 22px !important; }
    .info_inner{ padding: 24px 20px 100px 20px !important; }
    .info_inner_bt{ flex-wrap: wrap; padding: 14px 16px !important; }
    .info_inner_bt_ri{ width:100%; }
    .info_inner_bt_ri a{ width:100%; }
    .sw_box p{ width: 100%; }
    .sw_box img{ height: 200px !important; }
    .about_tabs_bd{ font-size: 15px; }
    .about_tab_nav li{ padding: 10px 14px !important; font-size: 14px; }
}


/* ===== 院校名片条（替换原音乐文案） ===== */
.info_inner_bt_mid.sch-card{ display:flex !important; flex-wrap:wrap; align-items:center; gap:6px 22px; flex:1; min-width:0; padding-right:12px; }
.sch-card-name{ font-size:20px !important; font-weight:700; color:#1a1a1a; line-height:1.3; margin:0; flex:0 0 auto; letter-spacing:.3px; }
.sch-card-rows{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 18px; flex:1 1 auto; min-width:0; }
.sch-card-rows span{ font-size:13px; color:#5a5a5a; display:inline-flex; align-items:center; gap:7px; line-height:1.6; }
.sch-card-rows em{ font-style:normal; font-size:11px; color:#BD1A2D; background:rgba(189,26,45,.07); border:1px solid rgba(189,26,45,.13); padding:1px 6px; border-radius:3px; white-space:nowrap; }
.sch-card-addr{ flex:1 1 100%; }
.sch-card-btn{ flex:0 0 auto; display:inline-flex; align-items:center; gap:6px; height:34px; padding:0 16px; border-radius:999px; background:linear-gradient(135deg,#BD1A2D,#8f1122); color:#fff !important; font-size:13px; text-decoration:none !important; box-shadow:0 6px 16px rgba(189,26,45,.24); transition:.25s; white-space:nowrap; }
.sch-card-btn:hover{ transform:translateY(-2px); box-shadow:0 10px 22px rgba(189,26,45,.32); background:linear-gradient(135deg,#a5162a,#7d0e1e); }
.sch-card-btn i{ font-style:normal; font-size:15px; line-height:1; }
@media (max-width:992px){ .info_inner_bt_mid.sch-card{ gap:8px 14px; } .sch-card-btn{ height:30px; padding:0 13px; font-size:12px; } }
