@charset "utf-8";
/* ================================================================
   江苏远程教育协会 - 前台样式
   参考 jssia.org 版式，主色 #1a7f5a
   ================================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif; font-size: 14px; color: #333; line-height: 1.7; }
a { color: #333; text-decoration: none; transition: color .2s; }
a:hover { color: #1a7f5a; }
ul, ol, li { list-style: none; }
img { border: 0; max-width: 100%; display: block; }
.container { width: 1200px; margin: 0 auto; }

/* ---------- 顶部欢迎条 ---------- */
.welcome { background: #f2f5f4; border-bottom: 1px solid #e3e8e6; font-size: 13px; color: #666; }
.welcome .container { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.welcome a { color: #666; }
.welcome a:hover { color: #1a7f5a; }
.welcome .sep { margin: 0 8px; color: #ccc; }

/* ---------- LOGO 区 ---------- */
.header-wrap { background: #fff; }
.logo-wrap { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; }
.logo img { max-height: 78px; }
.logo-text .name { font-size: 30px; font-weight: 700; color: #1a7f5a; letter-spacing: 3px; line-height: 1.2; }
.logo-text .slogan { font-size: 12px; color: #999; letter-spacing: 1px; margin-top: 6px; }
.header-right { display: flex; align-items: center; gap: 18px; }
.btn-apply { display: inline-block; padding: 9px 26px; background: #1a7f5a; color: #fff !important; border-radius: 3px; font-size: 15px; }
.btn-apply:hover { background: #156647; }
.search-box { display: flex; border: 2px solid #1a7f5a; border-radius: 3px; overflow: hidden; }
.search-box input { border: 0; padding: 8px 12px; width: 200px; outline: none; font-size: 13px; }
.search-box button { border: 0; background: #1a7f5a; color: #fff; padding: 0 14px; cursor: pointer; font-size: 15px; }
.search-box button:hover { background: #156647; }
.ewm { width: 76px; height: 76px; object-fit: contain; }

/* ---------- 主导航（支持 hover 下拉） ---------- */
.navbar { background: #1a7f5a; box-shadow: 0 2px 6px rgba(0,0,0,.12); position: relative; z-index: 100; }
.navbar .container { display: flex; }
.wb-nav { display: flex; }
.wb-nav-item { position: relative; }
/* 8 个一级菜单时需在 1200px 容器内留有余量：导航总宽约 1006px，
   900px 视口下容器约 864px，因此左右内边距不能超过 20px */
.wb-nav-item > .wb-nav-link { display: block; padding: 0 20px; line-height: 60px; color: #fff; font-size: 18px; font-weight: 600; letter-spacing: .5px; }
.wb-nav-item > .wb-nav-link:hover,
.wb-nav-item:hover > .wb-nav-link { background: #156647; color: #fff; }
.wb-nav-link.has-dropdown .wb-caret { display: inline-block; margin-left: 6px; border: 5px solid transparent; border-top-color: #fff; vertical-align: middle; }
/* 下拉框：加深背景色 + 左侧色条 + 更强阴影，避免与白色导航栏「糊」在一起 */
.wb-subnav { position: absolute; left: 0; top: 60px; min-width: 178px; background: #f4faf7;
  box-shadow: 0 8px 24px rgba(0,0,0,.22); display: none; border-top: 3px solid #1a7f5a;
  border-radius: 0 0 4px 4px; padding: 4px 0; }
.wb-nav-item:hover .wb-subnav { display: block; }
.wb-subnav li a { display: block; padding: 12px 18px 12px 22px; color: #333; font-size: 15px;
  border-bottom: 1px solid #e2ede8; border-left: 3px solid transparent; transition: all .18s; }
.wb-subnav li a:hover { background: #1a7f5a; color: #fff; padding-left: 26px; border-left-color: #0f5c3f; }
.wb-subnav li:last-child a { border-bottom: 0; }

/* ---------- 轮播 ---------- */
.wb-carousel { position: relative; overflow: hidden; }
.wb-carousel-inner { display: flex; transition: transform .5s ease; }
.wb-carousel-item { flex: 0 0 100%; position: relative; }
.wb-carousel-item a { display: block; }
/* 首页 banner 高度：需求指定 650px */
.wb-carousel-img { width: 100%; height: 650px; object-fit: cover; }
.wb-carousel-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 50px 24px;
  background: linear-gradient(transparent, rgba(0,0,0,.68)); color: #fff; font-size: 20px; }
.wb-carousel-prev, .wb-carousel-next { position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.35); color: #fff; border: 0; width: 40px; height: 56px; font-size: 20px; cursor: pointer; }
.wb-carousel-prev { left: 0; } .wb-carousel-next { right: 0; }
.wb-carousel-prev:hover, .wb-carousel-next:hover { background: #1a7f5a; }
.wb-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.wb-dots span { width: 26px; height: 4px; background: rgba(255,255,255,.5); cursor: pointer; }
.wb-dots span.on { background: #1a7f5a; }

/* ---------- 板块标题 ---------- */
.page-header { padding: 34px 0 18px; }
.wb-title { display: flex; align-items: center; gap: 12px; }
.wb-title .icon { width: 24px; height: 24px; fill: none; stroke: #1a7f5a; stroke-width: 2; }
.wb-title h2 { font-size: 24px; color: #222; font-weight: 700; }
.wb-title .en { font-size: 12px; color: #b9c4c0; letter-spacing: 1px; text-transform: uppercase; }
.wb-title-bar { position: relative; padding-bottom: 12px; }
.wb-title-bar:after { content: ''; position: absolute; left: 0; bottom: 0; width: 46px; height: 3px; background: #1a7f5a; }

/* ---------- 办事窗口（8 宫格） ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #e8ecea;
  border: 1px solid #e8ecea; margin-bottom: 34px; }
.service-item { background: #fff; padding: 30px 20px; text-align: center; transition: all .25s; }
.service-item:hover { background: #f4faf8; transform: translateY(-3px); box-shadow: 0 6px 18px rgba(26,127,90,.14); }
.service-item .ico { width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 50%;
  background: #eaf5f1; display: flex; align-items: center; justify-content: center; }
.service-item .ico svg { width: 24px; height: 24px; stroke: #1a7f5a; fill: none; stroke-width: 1.8; }
.service-item h3 { font-size: 16px; color: #222; font-weight: 600; }
.service-item:hover h3 { color: #1a7f5a; }
.service-item p { font-size: 12px; color: #999; margin-top: 4px; }

/* ---------- 信息中心：左图右文 ---------- */
.news-wrap { display: grid; grid-template-columns: 480px 1fr; gap: 30px; margin-bottom: 36px; }
.sub-title { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #1a7f5a;
  padding-bottom: 9px; margin-bottom: 4px; }
.sub-title h3 { font-size: 18px; color: #1a7f5a; font-weight: 700; position: relative; padding-left: 12px; }
.sub-title h3:before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 17px; background: #1a7f5a; }
.sub-title .more { font-size: 13px; color: #888; }
.sub-title .more:hover { color: #1a7f5a; }
.wb-art-list { padding-top: 6px; }
.wb-art-item { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px dashed #eceeed; }
.wb-art-item:last-child { border-bottom: 0; }
.wb-art-thumb { width: 96px; height: 66px; overflow: hidden; flex-shrink: 0; border-radius: 3px; }
.wb-art-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.wb-art-item:hover .wb-art-thumb img { transform: scale(1.07); }
.wb-art-title { flex: 1; font-size: 14px; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wb-art-item:hover .wb-art-title { color: #1a7f5a; }
.wb-art-date { font-size: 12px; color: #aaa; flex-shrink: 0; }
.wb-art-item .badge { background: #f0f2f1; color: #888; font-size: 12px; padding: 3px 8px; border-radius: 2px; flex-shrink: 0; }

/* ---------- 通知公告（带日期徽标） ---------- */
.list-group { padding-top: 6px; }
.list-group-item { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px dashed #eceeed; }
.list-group-item:last-child { border-bottom: 0; }
.list-group-item .badge { background: #1a7f5a; color: #fff; font-size: 13px; padding: 4px 10px; border-radius: 2px; flex-shrink: 0; min-width: 62px; text-align: center; }
.list-group-item a { flex: 1; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-group-item a:hover { color: #1a7f5a; }

/* ---------- 图文网格 ---------- */
.wb-art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-top: 14px; }
.wb-art-card { border: 1px solid #eef1f0; border-radius: 4px; overflow: hidden; background: #fff; transition: all .25s; }
.wb-art-card:hover { box-shadow: 0 8px 22px rgba(0,0,0,.1); transform: translateY(-3px); }
.wb-art-card .wb-art-thumb { width: 100%; height: 172px; }
.wb-art-card .wb-art-thumb img { width: 100%; height: 100%; object-fit: cover; }
.wb-art-body { padding: 13px 15px 16px; }
.wb-art-cat { display: inline-block; font-size: 12px; color: #1a7f5a; background: #eaf5f1; padding: 2px 8px; border-radius: 2px; margin-bottom: 7px; }
.wb-art-body h3 { font-size: 15px; font-weight: 600; line-height: 1.5; height: 45px; overflow: hidden; }
.wb-art-body h3 a:hover { color: #1a7f5a; }
.wb-art-body p { font-size: 13px; color: #888; margin-top: 7px; height: 40px; overflow: hidden; }
.wb-art-date { display: block; font-size: 12px; color: #aaa; margin-top: 9px; }

/* ---------- 图片网格 ---------- */
.wb-img-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 14px; }
.wb-img-item { position: relative; overflow: hidden; border-radius: 4px; }
.wb-img-item img { width: 100%; height: 150px; object-fit: cover; transition: transform .4s; }
.wb-img-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 14px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,.66)); color: #fff; font-size: 14px; }
.wb-img-item:hover img { transform: scale(1.08); }

/* ---------- 链接列表 ---------- */
.wb-link-list { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 12px; }
.wb-link-list li a { font-size: 14px; color: #666; }
.wb-link-list li a:hover { color: #1a7f5a; }

/* ---------- 办事窗口卡片（4 列 × 2 行） ---------- */
/* 每项用 --h0~--h5 变量控制主色，8 项时自动循环复用，保证视觉有变化又不杂乱 */
.wb-svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 6px;
  /* 办事窗口与下方「三栏资讯」之间需要留白，否则两块视觉上粘在一起 */
  margin-bottom: 46px;
}
.wb-svc-item { min-width: 0; }
.wb-svc-item a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 18px;
  background: #fff;
  border: 1px solid #e8eef4;
  border-radius: 8px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
/* 左侧细色条 */
.wb-svc-item a::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: hsl(var(--h, 210) 72% 48%);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .25s;
}
.wb-svc-item a:hover {
  transform: translateY(-3px);
  border-color: hsl(var(--h, 210) 60% 78%);
  box-shadow: 0 10px 24px rgba(20, 50, 80, .10);
}
.wb-svc-item a:hover::before { transform: scaleY(1); }

/* 图标：渐变圆角方块 */
.wb-svc-ico {
  flex: 0 0 46px;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg,
    hsl(var(--h, 210) 68% 92%),
    hsl(var(--h, 210) 62% 84%));
  color: hsl(var(--h, 210) 70% 36%);
  transition: background .25s, color .25s, transform .25s;
}
.wb-svc-item a:hover .wb-svc-ico {
  background: linear-gradient(135deg,
    hsl(var(--h, 210) 68% 52%),
    hsl(var(--h, 210) 72% 42%));
  color: #fff;
  transform: scale(1.06);
}
.wb-svc-ico .wb-ico { width: 23px; height: 23px; display: block; }
.wb-svc-ico .wb-svc-img,
.wb-svc-ico .wb-img-ph { width: 26px; height: 26px; min-height: 0; border-radius: 5px; font-size: 15px; }
.wb-svc-ico .wb-img-ph { background: rgba(255,255,255,.5); color: inherit; }

/* 文字：中文名 + 英文名 */
.wb-svc-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.wb-svc-txt strong {
  font-size: 16px;
  font-weight: 600;
  color: #26313d;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wb-svc-txt em {
  font-style: normal;
  font-size: 11px;
  color: #9aa7b4;
  letter-spacing: .3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wb-svc-item a:hover .wb-svc-txt strong { color: hsl(var(--h, 210) 70% 32%); }

/* 右侧箭头 */
.wb-svc-arrow {
  margin-left: auto;
  flex: 0 0 auto;
  color: #c3ced8;
  transition: transform .25s, color .25s;
}
.wb-svc-arrow svg { width: 16px; height: 16px; display: block; }
.wb-svc-item a:hover .wb-svc-arrow {
  color: hsl(var(--h, 210) 70% 46%);
  transform: translateX(3px);
}

/* 六组主色：蓝 青 紫 橙 玫红 深蓝 */
.wb-svc-item:nth-child(6n+1) { --h: 210; }
.wb-svc-item:nth-child(6n+2) { --h: 178; }
.wb-svc-item:nth-child(6n+3) { --h: 265; }
.wb-svc-item:nth-child(6n+4) { --h: 28;  }
.wb-svc-item:nth-child(6n+5) { --h: 335; }
.wb-svc-item:nth-child(6n+6) { --h: 196; }

@media (max-width: 1080px) { .wb-svc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px)  { .wb-svc-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 460px)  { .wb-svc-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .wb-svc-item a { padding: 16px 14px; gap: 12px; }
  .wb-svc-txt strong { font-size: 15px; }
  .wb-svc-txt em { display: none; }
}

/* ---------- 页面标题横幅 ---------- */
.page-banner { background: linear-gradient(135deg, #1a7f5a, #2a9d78); padding: 40px 0; color: #fff; margin-bottom: 30px; }
.page-banner h1 { font-size: 28px; font-weight: 700; }
.page-banner .crumb { font-size: 13px; opacity: .9; margin-top: 9px; }
.page-banner .crumb a { color: #fff; }
.page-banner .crumb a:hover { text-decoration: underline; }
.page-banner .crumb span { margin: 0 7px; opacity: .65; }

/* ---------- 列表页 ---------- */
.list-layout { display: grid; grid-template-columns: 1fr 300px; gap: 30px; margin-bottom: 40px; }
.side-box { border: 1px solid #eef1f0; margin-bottom: 20px; }
.side-box h3 { background: #f5f8f7; padding: 13px 18px; font-size: 16px; color: #1a7f5a; border-bottom: 1px solid #eef1f0; }
.side-box ul { padding: 8px 18px 16px; }
.side-box li { line-height: 2.2; font-size: 14px; }
.side-box li a:hover { color: #1a7f5a; }
.side-contact { padding: 18px; font-size: 14px; color: #666; line-height: 2; }
.side-contact strong { color: #333; display: block; margin-bottom: 4px; }

/* ---------- 分页 ---------- */
.wb-pager { text-align: center; padding: 26px 0 44px; color: #666; }
.wb-pager a, .wb-pager span { display: inline-block; min-width: 34px; height: 34px; line-height: 32px;
  padding: 0 11px; border: 1px solid #e0e5e3; margin: 0 3px; border-radius: 3px; font-size: 13px; }
.wb-pager a:hover { border-color: #1a7f5a; color: #1a7f5a; }
.wb-pager .active { background: #1a7f5a; border-color: #1a7f5a; color: #fff; }
.wb-pager .disabled { color: #bbb; background: #f7f8f8; }
.wb-pager-total { border: 0 !important; color: #999; }

/* ---------- 内容页 ---------- */
.content-layout { display: grid; grid-template-columns: 1fr 300px; gap: 30px; margin-bottom: 40px; }
.art-detail { border: 1px solid #eef1f0; padding: 34px 40px 44px; }
.art-detail h1 { font-size: 27px; text-align: center; line-height: 1.45; color: #1a1a1a; }
.art-meta { text-align: center; color: #999; font-size: 13px; padding: 18px 0 22px; border-bottom: 1px solid #eef1f0; margin-bottom: 26px; }
.art-meta span { margin: 0 11px; }
.art-content { font-size: 15px; line-height: 2; color: #333; }
.art-content img { max-width: 100%; height: auto; margin: 12px auto; }
.art-content p { margin-bottom: 15px; }
.art-content h2, .art-content h3 { margin: 26px 0 13px; color: #1a1a1a; }
.art-content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.art-content table td, .art-content table th { border: 1px solid #ddd; padding: 9px 12px; }
.art-content a { color: #1a7f5a; text-decoration: underline; }
.art-nav { margin-top: 34px; padding-top: 22px; border-top: 1px solid #eef1f0; font-size: 14px; color: #666; }
.art-nav div { margin-bottom: 9px; }
.art-nav a { color: #1a7f5a; }

/* ---------- 页脚 ---------- */
.foot-links { background: #f5f8f7; border-top: 3px solid #1a7f5a; padding: 32px 0 26px; }
.foot-links-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot-col h4 { font-size: 15px; color: #1a7f5a; margin-bottom: 13px; }
.foot-col li { font-size: 13px; line-height: 2.1; color: #666; }
.foot-col a { color: #666; } .foot-col a:hover { color: #1a7f5a; }
.copyright { background: #2c3a36; color: #9aa8a4; text-align: center; padding: 17px 0; font-size: 13px; }
.copyright a { color: #9aa8a4; } .copyright a:hover { color: #fff; }

/* ================================================================
   前台标签区块在线编辑（仅登录管理员可见）
   交互：页面任意位置双击 → 进入编辑模式 → 所有可编辑区块显示蓝框
        点击蓝框 → 打开该区块的编辑页
   ================================================================ */
.wb-block { position: relative; }

/* 编辑模式：整站遮罩提示条 */
.wb-edit-tip { position: fixed; left: 50%; top: 14px; transform: translateX(-50%); z-index: 99990;
  background: #1668c4; color: #fff; font-size: 13px; line-height: 1; padding: 10px 18px;
  border-radius: 22px; box-shadow: 0 6px 22px rgba(22,104,196,.42); display: none;
  align-items: center; gap: 12px; white-space: nowrap; }
body.wb-edit-mode .wb-edit-tip { display: flex; }
.wb-edit-tip b { font-weight: 600; }
.wb-edit-tip .wb-tip-x { cursor: pointer; opacity: .8; font-size: 15px; line-height: 1; }
.wb-edit-tip .wb-tip-x:hover { opacity: 1; }

/* 蓝框标识。
   纯 #1668c4 在深色 banner（深藏蓝底）上几乎看不见，
   所以再叠一条 1px 白色内描边：浅底上看不到，深底上立刻显形。 */
body.wb-edit-mode .wb-block {
  outline: 2px solid #1668c4; outline-offset: -2px; cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.8);
}
body.wb-edit-mode .wb-block:hover { outline-color: #0d4c96; background: rgba(22,104,196,.05); }
/* 不可编辑的区块：灰框 + 禁止光标 */
body.wb-edit-mode .wb-block[data-editable="0"] {
  outline: 2px dashed #b6bfca; cursor: not-allowed; box-shadow: none;
}
body.wb-edit-mode .wb-block[data-editable="0"]:hover { background: none; outline-color: #8d97a3; }

/* 蓝框左上角的区块名标签 */
.wb-block-tag { position: absolute; left: 0; top: 0; z-index: 60; display: none;
  background: #1668c4; color: #fff; font-size: 12px; line-height: 1; padding: 4px 10px;
  border-radius: 0 0 4px 0; pointer-events: none; }
body.wb-edit-mode .wb-block-tag { display: block; }
body.wb-edit-mode .wb-block[data-editable="0"] .wb-block-tag { background: #8d97a3; }
.wb-block-tag em { font-style: normal; opacity: .75; margin-left: 6px; font-size: 11px; }

/* 编辑模式下禁止链接抢焦点（否则双击会误跳转） */
body.wb-edit-mode .wb-block a { cursor: pointer; }

/* ---------- 工具类 ---------- */
.wb-more { text-align: right; padding-top: 12px; }
.wb-more a { color: #888; font-size: 13px; }
.wb-more a:hover { color: #1a7f5a; }
.wb-empty { padding: 30px; text-align: center; color: #aaa; }
.mb40 { margin-bottom: 40px; }
.clearfix:after { content: ''; display: block; clear: both; }

/* ---------- 响应式 ---------- */
@media (max-width: 1240px) {
  .container { width: 96%; }
  .news-wrap, .list-layout, .content-layout { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .wb-art-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .wb-nav { flex-wrap: wrap; }
  .wb-nav-item > .wb-nav-link { padding: 0 14px; font-size: 16px; line-height: 46px; }
  /* 移动端下拉是平铺的，hover 深绿会显得突兀，这里只在未悬停时保留浅底 */
  .wb-subnav { position: static; display: block; box-shadow: none; border-top: 0;
    border-radius: 0; background: #f4faf7; padding: 0; min-width: 0; }
  .wb-subnav li a { font-size: 14px; padding: 8px 14px; border-left: 0; }
  .wb-subnav li a:hover { background: #e4f2ec; color: #1a7f5a; padding-left: 14px; }
  .wb-carousel-img { height: 260px; }
  .wb-carousel-img.wb-img-ph { height: 260px; min-height: 260px; }
  .service-grid, .wb-art-grid, .wb-img-grid { grid-template-columns: 1fr; }
  .logo-text .name { font-size: 21px; }
  .search-box input { width: 130px; }
  .header-right .ewm { display: none; }
}

/* 图片占位块：后台未设置图片时替代空 src，避免裂图 */
.wb-img-ph{
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#e8eef5,#d3dfec);
  color:#8aa2bd;font-size:28px;font-weight:600;
  min-height:80px;width:100%;text-align:center;
}
/* 首页 banner 高度 650px（占位块与真实图片保持一致） */
.wb-carousel-img.wb-img-ph{height:650px;min-height:650px}
/* 移动端 banner 压到 260px。
   注意：图片标签上有内联 style="height:650px"（来自区块配置的“高度”），
   内联样式优先级高于普通规则，所以这里必须加 !important 才能覆盖。 */
@media (max-width: 820px) {
  .wb-carousel-img, .wb-carousel-img.wb-img-ph { height: 260px !important; min-height: 260px !important; }
}

/* ================================================================
   首页三栏资讯（教育新闻 / 行业法规 / 会员动态）
   ================================================================ */
.news-cols{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:32px;
  margin-bottom:40px;
}
.news-col{
  border:1px solid #eef1f0;
  border-radius:4px;
  background:#fff;
  display:flex;
  flex-direction:column;
  min-width:0;
  transition:box-shadow .25s,transform .25s;
}
.news-col:hover{box-shadow:0 8px 24px rgba(0,0,0,.08);transform:translateY(-3px)}
.news-col .sub-title{margin:0;padding:14px 18px;border-bottom:2px solid #1a7f5a}
.news-col .sub-title h3{font-size:17px}
.news-col .wb-art-list{padding:6px 18px 0;flex:1}
.news-col .wb-art-item{padding:12px 0}
/* 栏内条目：标题加深、日期减淡，形成「标题可读、日期弱化」的层次 */
.news-col .wb-art-title{
  font-size:14.5px;
  color:#2b2f33;
  line-height:1.55;
  white-space:normal;
  display:-webkit-box;
  -webkit-line-clamp:1;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.news-col .wb-art-date{font-size:12px;color:#a8b0b5;padding-left:8px;white-space:nowrap}
.news-col .wb-more{padding:6px 18px 16px}
/* 悬停整行高亮，点击区域更符合直觉 */
.news-col .wb-art-item{border-bottom:1px dashed #eceeed;transition:background .2s}
.news-col .wb-art-item:hover{background:#f7fbfa}

/* 三栏内的置顶首条：加粗 + 主题色 */
.news-col .wb-art-item:first-child .wb-art-title{font-weight:600}
.news-col .wb-art-item:first-child .wb-art-date{color:#1a7f5a}

@media (max-width:1240px){
  .news-cols{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:820px){
  .news-cols{grid-template-columns:1fr;gap:20px}
}


/* ---------- 栏目说明（列表页顶部的导语块）----------
   用途：政策转载类栏目需要在正文上方醒目说明来源与性质，
   既方便企业理解，也让来源出处一目了然。 */
.cat-intro { background: #f5faf7; border-left: 4px solid #1a7f5a; border-radius: 0 4px 4px 0;
  padding: 16px 22px; margin-bottom: 18px; }
.cat-intro-h { font-size: 15px; font-weight: 700; color: #1a7f5a; margin-bottom: 8px;
  display: flex; align-items: center; gap: 6px; }
.cat-intro-h::before { content: ""; width: 3px; height: 15px; background: #1a7f5a; border-radius: 2px; }
.cat-intro-b { font-size: 13.5px; color: #55605f; line-height: 1.9; }
.cat-intro-b a { color: #1a7f5a; text-decoration: underline; }

/* ---------- 转载文章正文里的原图 ---------- */
.art-content img { max-width: 100%; height: auto; margin: 14px auto; display: block;
  border: 1px solid #eceeed; border-radius: 3px; }
.art-content p { margin-bottom: 14px; }
.art-content p[style*="center"] { text-align: center; }

/* ================================================================
   首页门户版式（仿政府门户：焦点区 + 多栏资讯 + 快捷服务）
   每个区块对应一个 {dede:block} 标签，可在后台独立自定义
   ================================================================ */
.home-focus { background: #fff; padding: 22px 0 8px; }
.home-focus-inner { display: grid; grid-template-columns: 1.7fr 1fr; gap: 22px; align-items: stretch; }
.home-focus-banner { border-radius: 4px; overflow: hidden; min-width: 0; }
/* 焦点区轮播高度收敛，避免 650px 过高 */
.home-focus-banner .wb-carousel-img { height: 392px; }
.home-focus-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.home-headline { flex: 1.2; border: 1px solid #eef1f0; border-radius: 4px; background: #fff; padding: 0 16px 8px; }
.home-notice { flex: 1; border: 1px solid #eef1f0; border-radius: 4px; background: #fff; padding: 0 16px 8px; }
.home-headline .sub-title, .home-notice .sub-title { margin-top: 0; padding: 13px 0 9px; }

/* 惠企服务 + 名单公示 两栏 */
.home-two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 40px; }

/* 资料下载 + 关于中心 + 合作机构 三栏 */
.home-bottom { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
/* 复用新闻卡片的边框风格，让快捷链接区也成「盒子」 */
.home-bottom .home-col { border: 1px solid #eef1f0; border-radius: 4px; background: #fff; }
.home-bottom .home-col .sub-title { margin: 0; padding: 14px 16px; border-bottom: 2px solid #1a7f5a; }
.home-bottom .home-col .sub-title h3 { font-size: 17px; }
.home-bottom .home-col .wb-link-list { padding: 10px 16px 16px; }
.home-bottom .home-col .wb-link-list li { width: 100%; }
.home-bottom .home-col .wb-link-list li a { display: block; padding: 9px 0; border-bottom: 1px dashed #eceeed; }
.home-bottom .home-col .wb-link-list li:last-child a { border-bottom: 0; }
/* 合作机构图片网格在小盒内收敛间距 */
.home-bottom .home-col .wb-img-grid { padding: 14px; gap: 10px; }
.home-bottom .home-col .wb-img-item img { width: 100%; height: auto; border: 1px solid #eef1f0; border-radius: 3px; }

@media (max-width: 1080px) {
  .home-focus-inner { grid-template-columns: 1fr; }
  .home-focus-banner .wb-carousel-img { height: 300px; }
  .home-two { grid-template-columns: 1fr; gap: 20px; }
  .home-bottom { grid-template-columns: 1fr; }
}

