/* ============================================================
   h5 商学院（#/pages/school/index）主题 v2
   2026-11-02 · 与首页 / 数字经济页视觉统一（现代简约 + 玻璃拟态）
   深青绿→翠绿渐变头 + 深蓝→青绿 Hero + 白色胶囊分类 + 大圆角课程卡
   生效前提：body.rc-bc-school（bamboo-c.js 自动打）
   nginx：本文件须注入在 bamboo-c.css / home-theme.css / talents-theme2.css 之后
   回滚：删本文件 + 删 nginx 的 location 与注入片段
   ============================================================ */

/* ================= 0. 页面底色 ================= */
body.rc-bc-school,
body.rc-bc-school uni-page-body,
body.rc-bc-school uni-page-body .app{
  background:#F1F5F4!important;
}

/* ================= 1. 渐变头部（深青绿 → 翠绿，底部渐变到页面底色） ===== */
body.rc-bc-school .header_top{
  position:relative!important;
  background:transparent!important;
  overflow:hidden!important;
  padding:0 16px 2px!important;
  border:0!important;
  box-shadow:none!important;
}
/* 渐变面板：铺到分类胶囊之上（胶囊留在浅色区） */
body.rc-bc-school .header_top::before{
  content:''!important;
  display:block!important;position:absolute!important;
  left:0!important;right:0!important;top:0!important;bottom:44px!important;
  width:auto!important;height:auto!important;
  opacity:1!important;z-index:0!important;border-radius:0!important;
  background:
    radial-gradient(120% 58% at 96% -12%, rgba(96,240,205,.26), rgba(96,240,205,0) 62%),
    radial-gradient(92% 46% at -8% 16%, rgba(28,110,190,.30), rgba(28,110,190,0) 66%),
    linear-gradient(180deg,
      #04242F 0,#053A44 54px,#07604F 112px,#0B8763 168px,
      #10A477 218px,#15B489 100%)!important;
}
body.rc-bc-school .header_top::after{display:none!important}
body.rc-bc-school .header_top > *{position:relative!important;z-index:1}
body.rc-bc-school .header_top > .rcSchDeco{position:absolute!important;z-index:0!important}

/* 装饰层：光斑 + 同心环线 */
body.rc-bc-school .header_top .rcSchDeco{
  left:0;right:0;top:0;bottom:0;pointer-events:none;overflow:hidden;
}
body.rc-bc-school .header_top .rcSchDeco i{
  position:absolute;right:-110px;top:-118px;width:300px;height:300px;border-radius:50%;
  border:1px solid rgba(255,255,255,.18);text-decoration:none;
  box-shadow:
    0 0 0 26px rgba(255,255,255,.05),
    0 0 0 58px rgba(255,255,255,.035),
    0 0 0 94px rgba(255,255,255,.022);
}
body.rc-bc-school .header_top .rcSchDeco b{
  position:absolute;left:-130px;top:-150px;width:270px;height:270px;border-radius:50%;
  background:radial-gradient(circle,rgba(120,255,225,.16),rgba(120,255,225,0) 66%);
}

/* ================= 2. 标题行 + 铃铛 ================= */
body.rc-bc-school .header_top > uni-view:first-child{height:14px!important}
body.rc-bc-school .header_top .flex_rowL{
  width:100%!important;align-items:center!important;gap:10px!important;
}
body.rc-bc-school .header_top .fontS_17.font_weight_600{
  font-size:21px!important;font-weight:800!important;line-height:28px!important;
  color:#fff!important;letter-spacing:1.2px!important;
  text-shadow:0 2px 10px rgba(0,24,20,.35)!important;
}
/* 铃铛：玻璃圆钮 */
body.rc-bc-school .header_top .flex_rowL::after{
  content:""!important;margin-left:auto!important;flex:0 0 36px!important;
  width:36px!important;height:36px!important;border-radius:50%!important;
  background-color:rgba(255,255,255,.16)!important;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'><path d='M18 8a6 6 0 1 0-12 0c0 7-2.5 8-2.5 8h17S18 15 18 8'/><path d='M10 20a2.2 2.2 0 0 0 4 0'/></svg>")!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:19px 19px!important;
  border:1px solid rgba(255,255,255,.30)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.32)!important;
  -webkit-backdrop-filter:blur(10px) saturate(1.2);
  backdrop-filter:blur(10px) saturate(1.2);
}

/* ================= 3. 搜索框（白色胶囊，放大镜在左） ================= */
body.rc-bc-school .header_top .scroll_panel{
  height:44px!important;margin:10px 0 0!important;
  padding:0 16px 0 14px!important;
  background:#FFFFFF!important;
  border:0!important;border-radius:22px!important;
  box-shadow:0 14px 30px -20px rgba(2,32,42,.75),inset 0 1px 0 rgba(255,255,255,.8)!important;
  display:flex!important;flex-direction:row!important;
  align-items:center!important;justify-content:flex-start!important;
}
body.rc-bc-school .header_top .scroll_panel .search_icon{
  order:-1!important;flex:0 0 18px!important;width:18px!important;height:18px!important;
  margin:0 10px 0 0!important;display:flex!important;align-items:center!important;justify-content:center!important;
}
body.rc-bc-school .header_top .scroll_panel .uicon-search{
  font-size:18px!important;color:#8A9C93!important;line-height:18px!important;
}
body.rc-bc-school .header_top .scroll_panel uni-input{
  flex:1 1 auto!important;padding-left:0!important;
}
body.rc-bc-school .header_top .scroll_panel .uni-input-input{
  font-size:13.5px!important;color:#16302A!important;height:22px!important;
}
body.rc-bc-school .header_top .scroll_panel .uni-input-placeholder{
  font-size:13.5px!important;color:#93A49B!important;line-height:22px!important;
}

/* ================= 4. Hero Banner（深蓝 → 青绿 · 光斑 + 环线 + 轮播） ===== */
body.rc-bc-school .header_top .rcSchHero{
  position:relative;height:178px;margin:14px 0 0;
  border-radius:22px;overflow:hidden;
  background:
    radial-gradient(118% 94% at 90% 2%, rgba(96,240,205,.40), rgba(96,240,205,0) 60%),
    radial-gradient(96% 76% at 2% 102%, rgba(26,110,200,.52), rgba(26,110,200,0) 70%),
    linear-gradient(128deg,#0A2A55 0%,#0C3C5F 34%,#0D6A6C 68%,#12A37C 100%);
  box-shadow:0 22px 42px -22px rgba(2,32,42,.70),inset 0 0 0 1px rgba(255,255,255,.14);
}
body.rc-bc-school .header_top .rcSchHero::before{
  content:'';position:absolute;right:-84px;bottom:-120px;width:246px;height:246px;border-radius:50%;
  background:radial-gradient(circle,rgba(150,255,232,.32),rgba(150,255,232,0) 66%);
}
body.rc-bc-school .header_top .rcSchHero::after{
  content:'';position:absolute;right:-70px;top:-84px;width:232px;height:232px;border-radius:50%;
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 0 0 24px rgba(255,255,255,.05),0 0 0 52px rgba(255,255,255,.032);
}
body.rc-bc-school .header_top .rcSchHero .hs{
  position:absolute;left:0;right:0;top:0;bottom:0;z-index:1;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:0 20px 10px;
  opacity:0;transition:opacity .45s ease;
}
body.rc-bc-school .header_top .rcSchHero .hs.on{opacity:1}
body.rc-bc-school .header_top .rcSchHero .tag{
  display:inline-flex;align-items:center;gap:7px;height:26px;padding:0 14px;
  border-radius:999px;margin-bottom:12px;
  background:rgba(6,42,60,.52);border:1px solid rgba(255,255,255,.20);
  -webkit-backdrop-filter:blur(9px);
  backdrop-filter:blur(9px);
  font-size:11.5px;font-weight:600;letter-spacing:.6px;
  color:#EAF7F2;
  text-shadow:0 1px 6px rgba(0,0,0,.35);
}
body.rc-bc-school .header_top .rcSchHero .tag i{
  width:5px;height:5px;border-radius:50%;background:#F7D774;
  box-shadow:0 0 8px 1px rgba(247,215,116,.85);
}
body.rc-bc-school .header_top .rcSchHero .hs b{
  display:block;
  font-size:clamp(26px,8.1vw,33px);font-weight:800;line-height:1.14;
  color:#fff;letter-spacing:3px;text-indent:3px;
  text-shadow:0 6px 20px rgba(0,26,20,.40);
  white-space:nowrap;
}
body.rc-bc-school .header_top .rcSchHero .hs em{
  display:block;margin-top:10px;
  font-style:normal;font-size:13.5px;font-weight:500;letter-spacing:2.4px;
  color:rgba(255,255,255,.88);
  text-shadow:0 2px 10px rgba(0,26,20,.35);
  white-space:nowrap;
}
body.rc-bc-school .header_top .rcSchHero .hdots{
  position:absolute;left:0;right:0;bottom:13px;z-index:2;
  display:flex;align-items:center;justify-content:center;gap:6px;
}
body.rc-bc-school .header_top .rcSchHero .hdots i{
  width:6px;height:5px;border-radius:3px;background:rgba(255,255,255,.45);
  transition:width .3s ease,background .3s ease;
}
body.rc-bc-school .header_top .rcSchHero .hdots i.on{width:16px;background:#fff}

/* ================= 5. 分类胶囊（浅色区，白底 / 当前项渐变绿） ============ */
body.rc-bc-school .header_top .nav_panel{
  background:transparent!important;border:0!important;box-shadow:none!important;
  padding:0!important;margin:12px 0 0!important;height:auto!important;width:100%!important;
}
body.rc-bc-school .header_top .nav_panel > uni-view{
  display:flex!important;flex-wrap:nowrap!important;justify-content:flex-start!important;
  gap:5px!important;padding:0!important;height:auto!important;
  overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
body.rc-bc-school .header_top .nav_panel > uni-view::-webkit-scrollbar{display:none;height:0}
body.rc-bc-school .header_top .nav_panel .textC{
  flex:0 0 auto!important;width:auto!important;height:34px!important;
  padding:0 8px!important;border-radius:12px!important;
  border:1px solid #E6EDE8!important;background:#FFFFFF!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  box-shadow:0 2px 8px -4px rgba(16,42,27,.14)!important;
  transition:background .2s ease,box-shadow .2s ease,transform .2s ease;
}
body.rc-bc-school .header_top .nav_panel .textC.rc-chip-on{
  background:linear-gradient(150deg,#16B98D,#0E9E6E)!important;
  border-color:transparent!important;
  box-shadow:0 12px 22px -12px rgba(14,158,110,.85),inset 0 1px 0 rgba(255,255,255,.35)!important;
}
body.rc-bc-school .header_top .nav_panel .textC > uni-view:first-child{
  width:auto!important;height:auto!important;display:block!important;
}
body.rc-bc-school .header_top .nav_panel .nav_icon{display:none!important}
/* 选中指示条：必须保留可测量的宽度（bamboo-c.js 用它的宽度判断当前项），
   所以只做「不可见 + 脱流」，不能用 display:none */
body.rc-bc-school .header_top .nav_panel .flex_rowC{
  display:block!important;
  position:absolute!important;left:0!important;top:0!important;
  width:20px!important;height:1px!important;
  overflow:hidden!important;opacity:0!important;
  pointer-events:none!important;
}
body.rc-bc-school .header_top .nav_panel .textC > uni-view:first-child > uni-view{
  font-size:11.5px!important;font-weight:600!important;color:#48594F!important;
  line-height:16px!important;height:auto!important;width:auto!important;white-space:nowrap!important;
  letter-spacing:.2px;
}
body.rc-bc-school .header_top .nav_panel .textC.rc-chip-on > uni-view:first-child > uni-view{
  color:#FFFFFF!important;font-weight:700!important;
}

/* ================= 6. 课程列表（单列大卡 + 横向行） ================= */
body.rc-bc-school .PLR_2.MT_3.PB_20{
  padding:0 16px 30px!important;margin-top:14px!important;
}
body.rc-bc-school .flex_rows_start{
  display:block!important;
  padding:4px!important;
  background:#FFFFFF!important;
  border-radius:22px!important;
  overflow:hidden!important;
  box-shadow:0 22px 44px -34px rgba(3,42,48,.55),0 1px 2px rgba(16,42,27,.05)!important;
}
body.rc-bc-school .flex_rows_start > uni-view.W_50{
  width:100%!important;padding:0!important;margin:0!important;display:block!important;
}
body.rc-bc-school .list_item{
  display:flex!important;align-items:center!important;gap:14px!important;
  width:100%!important;margin:0!important;padding:12px!important;
  border:0!important;border-radius:18px!important;
  background:#FFFFFF!important;
  box-shadow:none!important;
  overflow:visible!important;
}
/* 行分隔线 */
body.rc-bc-school .flex_rows_start > uni-view.W_50 + uni-view.W_50 .list_item{position:relative}
body.rc-bc-school .flex_rows_start > uni-view.W_50 + uni-view.W_50 .list_item::before{
  content:'';position:absolute;left:10px;right:10px;top:0;height:1px;
  background:linear-gradient(90deg,rgba(16,42,27,0),rgba(16,42,27,.09) 12%,rgba(16,42,27,.09) 88%,rgba(16,42,27,0));
}
/* 课程封面：92 圆角方图 */
body.rc-bc-school .list_item .item_img{
  flex:0 0 92px!important;width:92px!important;height:92px!important;
  border-radius:16px!important;overflow:hidden!important;
  background:linear-gradient(150deg,#0E3B63,#0B7C74)!important;
  box-shadow:0 14px 24px -18px rgba(3,42,48,.7),inset 0 0 0 1px rgba(255,255,255,.16)!important;
}
body.rc-bc-school .list_item .item_img > uni-image,
body.rc-bc-school .list_item .item_img > uni-image > div,
body.rc-bc-school .list_item .item_img img{
  width:92px!important;height:92px!important;
  background-size:cover!important;background-position:center!important;
}
body.rc-bc-school .list_item .item_img img{object-fit:cover!important;display:block}
/* 文案区 */
body.rc-bc-school .list_item > .PLR_2.PTB_3{
  flex:1 1 auto!important;min-width:0!important;
  padding:0!important;
  display:flex!important;flex-direction:column!important;
}
body.rc-bc-school .list_item .title1{
  font-size:16px!important;font-weight:700!important;line-height:1.36!important;
  height:auto!important;color:#12261F!important;
  white-space:normal!important;overflow:hidden!important;
  display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;
  letter-spacing:.2px;
}
body.rc-bc-school .list_item .title2{
  margin:5px 0 0!important;font-size:12px!important;line-height:16px!important;
  color:#8B968F!important;font-weight:500!important;
}
body.rc-bc-school .list_item .flex_rowL{
  margin-top:9px!important;align-items:center!important;gap:8px!important;
}
body.rc-bc-school .list_item .tag2{
  padding-right:0!important;
  font-size:18px!important;font-weight:800!important;color:#E0572B!important;
  letter-spacing:-.2px;
}
body.rc-bc-school .list_item .tag3{
  background:#EAF7F1!important;color:#0E8259!important;border:0!important;
  font-size:11px!important;font-weight:700!important;border-radius:999px!important;
  padding:2px 9px!important;height:auto!important;line-height:15px!important;
}

/* ================= 7. 空状态 / 列表尾部提示 ================= */
body.rc-bc-school .rcSchEmpty{
  display:none;
  padding:34px 20px 38px;text-align:center;
  background:#FFFFFF;border-radius:22px;
  box-shadow:0 22px 44px -34px rgba(3,42,48,.55),0 1px 2px rgba(16,42,27,.05);
}
body.rc-sch-empty .flex_rows_start{display:none!important}
/* 应用自带「暂无数据」（margin-top:200px 的 u-empty）与新空态重复，隐藏之 */
body.rc-sch-empty .PLR_2.MT_3.PB_20 .u-empty{display:none!important}
body.rc-sch-empty .rcSchEmpty{display:block!important}
body.rc-bc-school .rcSchEmpty i{
  display:block;width:66px;height:66px;margin:0 auto 14px;border-radius:22px;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M22 9 12 4 2 9l10 5 10-5z'/><path d='M6 11.5V16c0 1.7 2.7 3 6 3s6-1.3 6-3v-4.5'/></svg>"),
    linear-gradient(150deg,#35D6A3,#0E9E6E 74%);
  background-size:30px 30px,100% 100%;
  background-position:center,center;background-repeat:no-repeat,no-repeat;
  box-shadow:0 18px 30px -18px rgba(14,158,110,.85);
}
body.rc-bc-school .rcSchEmpty b{
  display:block;font-size:15.5px;font-weight:700;color:#17302A;letter-spacing:.3px;
}
body.rc-bc-school .rcSchEmpty em{
  display:block;margin-top:6px;font-style:normal;font-size:12.5px;color:#8B968F;line-height:1.6;
}
body.rc-bc-school .rcSchMore{
  display:none;text-align:center;margin:16px 0 0;
  font-size:12px;color:#9AA8A0;letter-spacing:.4px;
}
body.rc-sch-short .rcSchMore{display:block}

/* ================= 8. 小屏适配（≤359px） ================= */
@media (max-width:359px){
  body.rc-bc-school .header_top .fontS_17.font_weight_600{font-size:19px!important}
  body.rc-bc-school .header_top .rcSchHero .hs b{letter-spacing:2px;text-indent:2px}
  body.rc-bc-school .header_top .rcSchHero .hs em{font-size:12px;letter-spacing:1.8px}
  body.rc-bc-school .list_item .item_img{flex:0 0 84px!important;width:84px!important;height:84px!important}
  body.rc-bc-school .list_item .item_img > uni-image,
  body.rc-bc-school .list_item .item_img > uni-image > div,
  body.rc-bc-school .list_item .item_img img{width:84px!important;height:84px!important}
  body.rc-bc-school .list_item .title1{font-size:15px!important}
  body.rc-bc-school .list_item .tag2{font-size:16.5px!important}
  /* 小屏胶囊放不下时，右侧渐隐提示可横向滑动 */
  body.rc-bc-school .header_top .nav_panel{position:relative!important}
  body.rc-bc-school .header_top .nav_panel::after{
    content:''!important;display:block!important;position:absolute!important;
    right:0!important;top:0!important;bottom:0!important;width:26px!important;
    background:linear-gradient(90deg,rgba(241,245,244,0),#F1F5F4 72%)!important;
    pointer-events:none!important;
  }
}
