/* ============================================================
   建材行业培训网 · 首页样式
   ============================================================ */

:root{
  --navy-900:#04183a;
  --navy-800:#062654;
  --navy-700:#0a3a7d;
  --blue-600:#1449a0;
  --blue-500:#1b62c4;
  --blue-400:#2f86e8;
  --red-600:#c8102e;
  --red-500:#e0392f;
  --gold:#e9a53a;
  --ink:#16202e;
  --ink-2:#31435a;
  --muted:#6b7c92;
  --line:#e3e9f2;
  --bg:#f2f5fa;
  --radius:8px;
  --shadow-sm:0 2px 8px rgba(10,42,90,.06);
  --shadow-md:0 10px 26px rgba(10,42,90,.12);
  --shadow-lg:0 18px 46px rgba(8,32,72,.18);
  --wrap:1200px;
}

*,*::before,*::after{box-sizing:border-box;}

html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;}

body{
  margin:0;
  font-family:"Microsoft YaHei","PingFang SC","Hiragino Sans GB","Source Han Sans SC",system-ui,sans-serif;
  font-size:15px;
  line-height:1.7;
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
}

a{color:inherit;text-decoration:none;}
ul{margin:0;padding:0;list-style:none;}
h1,h2,h3,p{margin:0;}
img,svg{display:block;max-width:100%;}
button{font-family:inherit;cursor:pointer;border:0;background:none;color:inherit;}

.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 24px;}

/* ============================ 顶部信息条 ============================ */
.topbar{
  background:var(--navy-900);
  color:rgba(255,255,255,.72);
  font-size:13px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.topbar-inner{
  display:flex;align-items:center;justify-content:space-between;
  gap:20px;height:40px;
}
.topbar-left{display:flex;align-items:center;gap:9px;letter-spacing:.2px;}
.topbar-left .dot{
  width:6px;height:6px;border-radius:50%;
  background:#4fc3a1;box-shadow:0 0 0 4px rgba(79,195,161,.18);
}
.topbar-right{display:flex;align-items:center;gap:12px;}
.topbar-right .sep{width:1px;height:12px;background:rgba(255,255,255,.18);}
.topbar-right a{transition:color .2s;}
.topbar-right a:hover{color:#fff;}

.search{
  display:flex;align-items:center;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.16);
  border-radius:20px;overflow:hidden;
  height:26px;padding-left:12px;
  transition:background .2s,border-color .2s;
}
.search:focus-within{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.4);}
.search input{
  width:132px;border:0;background:none;outline:none;
  color:#fff;font-size:12.5px;padding:0;
}
.search input::placeholder{color:rgba(255,255,255,.5);}
.search button{
  width:30px;height:26px;display:grid;place-items:center;
  color:rgba(255,255,255,.8);
}
.search svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;}

/* ============================ 页头 ============================ */
.masthead{
  position:relative;
  background:
    radial-gradient(1100px 260px at 18% 10%,rgba(47,134,232,.38),transparent 70%),
    linear-gradient(100deg,#04152f 0%,#08316b 42%,#0d4a92 74%,#0a2e63 100%);
  color:#fff;
  overflow:hidden;
  border-bottom:3px solid var(--gold);
}
.masthead::after{
  content:"";
  position:absolute;left:0;right:0;top:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(140,200,255,.55),transparent);
}
.masthead-bg{position:absolute;inset:0;pointer-events:none;}
.skyline{
  position:absolute;left:0;right:0;bottom:0;
  width:100%;height:96px;
  opacity:.9;
}

.masthead-inner{
  position:relative;z-index:2;
  display:flex;align-items:center;justify-content:space-between;
  gap:24px;
  padding-top:20px;padding-bottom:26px;
}

/* 标志 */
.brand{display:flex;align-items:center;gap:14px;flex-shrink:0;}
.brand-mark{
  width:62px;height:62px;flex:0 0 62px;
  display:grid;place-items:center;
  background:none;
  border-radius:12px;
}
.brand-mark svg{width:50px;height:50px;}
.brand-mark img{width:54px;height:54px;object-fit:contain;display:block;margin:0 auto;}
.brand-text{display:flex;flex-direction:column;line-height:1.24;}
.brand-domain{
  font-size:13px;font-weight:400;letter-spacing:2.4px;
  color:rgba(178,214,255,.95);
}
.brand-name{
  font-size:28px;font-weight:800;letter-spacing:1px;
  color:#fff;
  text-shadow:0 2px 12px rgba(0,20,50,.4);
}
.brand-slogan{
  font-size:13.5px;font-style:normal;
  letter-spacing:1.6px;
  color:rgba(210,228,255,.86);
  margin-top:2px;
}

/* 主导航 */
.main-nav{
  display:flex;align-items:center;flex-wrap:nowrap;
  gap:1px;
  align-self:flex-end;
  padding-bottom:2px;
}
.main-nav a{
  position:relative;
  display:block;
  padding:9px 12px;
  font-size:15px;
  letter-spacing:.2px;
  color:rgba(255,255,255,.9);
  border-radius:5px;
  transition:background .22s,color .22s;
  white-space:nowrap;
}
.main-nav a::after{
  content:"";
  position:absolute;left:50%;bottom:2px;
  width:0;height:2px;border-radius:2px;
  background:linear-gradient(90deg,#ffd98a,var(--gold));
  transform:translateX(-50%);
  transition:width .25s;
}
.main-nav a:hover{background:rgba(255,255,255,.12);color:#fff;}
.main-nav a:hover::after,
.main-nav a.active::after{width:24px;}
.main-nav a.active{color:#fff;font-weight:700;}

.nav-toggle{
  display:none;flex-direction:column;gap:5px;
  width:44px;height:40px;align-items:center;justify-content:center;
  border-radius:8px;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.35);
}
.nav-toggle span{display:block;width:20px;height:2px;background:#fff;border-radius:2px;transition:.25s;}

/* ============================ 轮播 + 资讯 ============================ */
.hero{padding:26px 0 0;}
.hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.62fr) minmax(0,1fr);
  gap:22px;
  align-items:stretch;
}

/* 轮播 */
.slider{
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  background:var(--navy-800);
  box-shadow:var(--shadow-md);
  min-height:380px;
}
.slides{position:relative;height:100%;min-height:380px;}
.slide{
  position:absolute;inset:0;
  opacity:0;visibility:hidden;
  transition:opacity .7s ease,visibility .7s;
}
.slide.is-active{opacity:1;visibility:visible;}
.slide-art{position:absolute;inset:0;overflow:hidden;background:#0a2a55;}
.slide-art svg{width:100%;height:100%;}
.slide-art img{
  width:100%;height:100%;display:block;
  object-fit:cover;object-position:center 46%;
  transform:scale(1.02);
}
.slide--warm .slide-art img{object-position:center 38%;}
.slide--teal .slide-art img{object-position:center 34%;}
.slide::after{
  content:"";
  position:absolute;inset:0;
  background:
    linear-gradient(90deg,rgba(2,14,34,.92) 0%,rgba(2,14,34,.76) 34%,rgba(2,14,34,.34) 66%,rgba(2,14,34,.12) 100%),
    linear-gradient(0deg,rgba(2,14,34,.45),transparent 55%);
}
.slide-body{
  position:relative;z-index:2;
  display:flex;flex-direction:column;justify-content:center;
  height:100%;
  padding:0 6% 0 6.2%;
  max-width:76%;
  color:#fff;
}
.kicker{
  display:inline-flex;align-items:center;gap:8px;
  font-size:13px;letter-spacing:2px;
  color:#ffd98a;
  margin-bottom:12px;
}
.kicker::before{
  content:"";width:22px;height:2px;background:var(--gold);border-radius:2px;
}
.slide-body h2{
  font-size:34px;line-height:1.32;font-weight:800;
  letter-spacing:1.5px;
  text-shadow:0 4px 18px rgba(0,10,30,.45);
}
.slide-body p{
  margin-top:14px;
  font-size:14.5px;color:rgba(226,238,255,.9);
  letter-spacing:.6px;
}
.btn-ghost{
  display:inline-flex;align-items:center;gap:8px;
  margin-top:22px;align-self:flex-start;
  padding:9px 20px;
  font-size:14px;
  border:1px solid rgba(255,255,255,.55);
  border-radius:3px;
  color:#fff;
  background:rgba(255,255,255,.06);
  backdrop-filter:blur(2px);
  transition:.25s;
}
.btn-ghost i{font-style:normal;transition:transform .25s;}
.btn-ghost:hover{background:var(--gold);border-color:var(--gold);color:#241500;}
.btn-ghost:hover i{transform:translateX(4px);}

.slide-index{
  position:absolute;right:22px;top:16px;z-index:3;
  font-size:34px;font-weight:800;
  color:rgba(255,255,255,.22);
  letter-spacing:2px;
  font-family:Georgia,serif;
}

.slider-arrow{
  position:absolute;top:50%;z-index:4;
  width:38px;height:38px;margin-top:-19px;
  display:grid;place-items:center;
  border-radius:50%;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.28);
  color:#fff;
  opacity:0;transition:.25s;
  backdrop-filter:blur(4px);
}
.slider:hover .slider-arrow{opacity:1;}
.slider-arrow:hover{background:rgba(255,255,255,.9);color:var(--navy-700);}
.slider-arrow.prev{left:14px;}
.slider-arrow.next{right:14px;}
.slider-arrow svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;}

.slider-dots{
  position:absolute;left:6.2%;bottom:18px;z-index:4;
  display:flex;gap:8px;
}
.slider-dots button{
  width:9px;height:9px;padding:0;border-radius:50%;
  background:rgba(255,255,255,.38);
  transition:.28s;
}
.slider-dots button.is-active{
  width:26px;border-radius:6px;background:var(--gold);
}

/* 资讯面板 */
.news-panel{
  display:flex;flex-direction:column;
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
  overflow:hidden;
  min-height:380px;
}
.news-tabs{
  display:flex;align-items:center;
  border-bottom:1px solid var(--line);
  padding:0 14px;
  background:linear-gradient(180deg,#fbfcfe,#f5f8fd);
}
.news-tab{
  position:relative;
  padding:14px 12px 13px;
  font-size:15.5px;font-weight:600;
  color:var(--muted);
  transition:color .2s;
}
.news-tab::after{
  content:"";position:absolute;left:12px;right:12px;bottom:-1px;height:2px;
  background:var(--blue-500);border-radius:2px;
  transform:scaleX(0);transition:transform .25s;
}
.news-tab:hover{color:var(--blue-600);}
.news-tab.active{color:var(--navy-700);}
.news-tab.active::after{transform:scaleX(1);}
.news-more{
  margin-left:auto;font-size:12.5px;color:var(--muted);
  display:inline-flex;align-items:center;gap:2px;
  transition:color .2s;
}
.news-more i{font-style:normal;font-size:14px;}
.news-more:hover{color:var(--blue-500);}

.news-body{flex:1;padding:10px 16px 6px;}
.news-list{display:none;}
.news-list.active{display:block;}
.news-list.active.anim{animation:fadeUp .34s ease;}
@keyframes fadeUp{from{opacity:0;transform:translateY(6px);}to{opacity:1;transform:none;}}

.news-list li{border-bottom:1px dashed #eef2f7;}
.news-list li:last-child{border-bottom:0;}
.news-list a{
  display:flex;align-items:center;gap:10px;
  padding:11px 2px;
  font-size:14.5px;
  color:#26364a;
  transition:color .2s,padding-left .2s;
}
.news-list .t{
  flex:1;min-width:0;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  position:relative;padding-left:13px;
}
.news-list .t::before{
  content:"";position:absolute;left:0;top:50%;transform:translateY(-50%) rotate(45deg);
  width:5px;height:5px;background:#c7d4e4;transition:background .2s;
}
.news-list .d{
  flex:0 0 auto;font-size:12.5px;color:#7d8ea3;
  font-variant-numeric:tabular-nums;
  transition:color .2s;
}
.news-list a:hover{color:var(--blue-600);padding-left:5px;}
.news-list a:hover .t::before{background:var(--blue-500);}
.news-list a:hover .d{color:var(--blue-500);}

.news-foot{
  display:flex;align-items:center;gap:8px;
  margin:0 16px 14px;
  padding:9px 12px;
  border-radius:5px;
  background:#f4f8ff;
  font-size:12.5px;color:#63788f;
}
.news-foot b{color:var(--blue-600);font-size:14px;}
.live{
  width:6px;height:6px;border-radius:50%;background:var(--blue-500);
  box-shadow:0 0 0 3px rgba(27,98,196,.16);
}

/* ============================ 机构横幅 ============================ */
.orgs{padding-top:22px;}
.orgs-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;}

.org-card{
  position:relative;
  display:flex;align-items:center;gap:16px;
  padding:18px 54px 18px 22px;
  border-radius:var(--radius);
  color:#fff;
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  transition:transform .28s,box-shadow .28s;
}
.org-card::before{
  content:"";position:absolute;inset:0;z-index:0;
  background:repeating-linear-gradient(115deg,rgba(255,255,255,.05) 0 2px,transparent 2px 26px);
  pointer-events:none;
}
.org-card::after{
  content:"";position:absolute;right:-40px;top:-60px;z-index:0;
  width:190px;height:190px;border-radius:50%;
  background:rgba(255,255,255,.09);
}
.org-card--blue{background:linear-gradient(100deg,#0a3a7d,#1b62c4 60%,#2f86e8);}
.org-card--orange{background:linear-gradient(100deg,#c2410c,#e2632a 55%,#f0921f);}
.org-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-md);}

.org-ico{
  flex:0 0 42px;width:42px;height:42px;
  display:grid;place-items:center;
  border-radius:10px;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.28);
  position:relative;z-index:1;
}
.org-ico svg{width:24px;height:24px;}
.org-txt{display:flex;flex-direction:column;position:relative;z-index:1;min-width:0;}
.org-txt strong{font-size:18px;font-weight:700;letter-spacing:.6px;}
.org-txt em{
  font-style:normal;font-size:12.5px;letter-spacing:1px;
  color:rgba(255,255,255,.78);margin-top:2px;
}
.org-arrow{
  margin-left:auto;position:relative;z-index:1;
  font-size:18px;color:rgba(255,255,255,.72);
  transition:transform .28s;
}
.org-card:hover .org-arrow{transform:translateX(6px);color:#fff;}

/* ============================ 证书查询 ============================ */
.cert{
  margin-top:22px;
  padding:6px 0;
  position:relative;
}
.cert-inner{
  position:relative;
  padding:34px 24px 40px;
  background:
    radial-gradient(700px 200px at 50% 0%,rgba(27,98,196,.06),transparent 70%),
    linear-gradient(#ffffff,#f8fbff);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:0 8px 22px rgba(15,45,90,.06);
}
.cert-inner::before{
  content:"";position:absolute;inset:0;
  background-image:
    linear-gradient(rgba(27,98,196,.045) 1px,transparent 1px),
    linear-gradient(90deg,rgba(27,98,196,.045) 1px,transparent 1px);
  background-size:34px 34px;
  mask-image:radial-gradient(70% 80% at 50% 50%,#000,transparent 85%);
  pointer-events:none;
}

.sec-title{
  position:relative;z-index:1;
  display:flex;align-items:center;justify-content:center;gap:18px;
  font-size:25px;font-weight:800;letter-spacing:6px;
  color:var(--navy-700);
}
.sec-title .line{
  width:120px;height:1px;
  background:linear-gradient(90deg,transparent,#b9cbe3);
}
.sec-title .line:last-child{background:linear-gradient(90deg,#b9cbe3,transparent);}
.sec-title .txt{position:relative;padding:0 2px;}
.sec-title .txt::after{
  content:"";position:absolute;left:50%;bottom:-9px;transform:translateX(-50%);
  width:34px;height:3px;border-radius:3px;
  background:linear-gradient(90deg,var(--blue-500),var(--gold));
}
.sec-sub{
  position:relative;z-index:1;
  margin:18px auto 0;
  max-width:640px;
  text-align:center;
  font-size:13.5px;line-height:1.9;color:var(--muted);letter-spacing:.4px;
  padding:0 4px;
}

.cert-grid{
  position:relative;z-index:1;
  margin-top:26px;
  display:grid;grid-template-columns:repeat(4,1fr);
  gap:20px;
}
.cert-btn{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
  padding:16px 10px 15px;
  border-radius:6px;
  color:#fff;
  background:linear-gradient(180deg,#1e6acd,#0f4291);
  border:1px solid rgba(9,44,98,.5);
  box-shadow:0 6px 16px rgba(15,66,145,.24),inset 0 1px 0 rgba(255,255,255,.22);
  transition:transform .25s,box-shadow .25s,filter .25s;
  position:relative;overflow:hidden;
}
.cert-btn::after{
  content:"";position:absolute;top:0;left:-60%;
  width:40%;height:100%;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.32),transparent);
  transform:skewX(-18deg);
  transition:left .55s ease;
}
.cert-btn:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 26px rgba(15,66,145,.34),inset 0 1px 0 rgba(255,255,255,.3);
}
.cert-btn:hover::after{left:120%;}
.cert-btn .ci svg{width:26px;height:26px;color:rgba(255,255,255,.95);}
.cert-btn .ct{font-size:19px;font-weight:700;letter-spacing:3px;margin-top:5px;}
.cert-btn small{
  font-size:11.5px;color:rgba(255,255,255,.72);
  letter-spacing:.4px;
}

/* ============================ 红色标语 ============================ */
.slogan{
  color:#fff;
  padding:6px 0;
}
.slogan-inner{
  position:relative;z-index:1;
  display:flex;align-items:center;gap:26px;
  padding:13px 24px;
  background:
    radial-gradient(700px 160px at 20% 0%,rgba(255,180,120,.22),transparent 70%),
    linear-gradient(100deg,#8c0f1e,#c8102e 34%,#e0392f 58%,#a90f22);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:0 10px 26px rgba(140,15,30,.22);
}
.slogan-inner::before{
  content:"";position:absolute;inset:0;
  background:repeating-linear-gradient(115deg,rgba(255,255,255,.06) 0 1px,transparent 1px 22px);
  pointer-events:none;
}
.slogan-inner::after{
  content:"";position:absolute;left:0;right:0;top:0;height:2px;
  background:linear-gradient(90deg,transparent,rgba(255,224,180,.7),transparent);
}
.slogan-inner p{
  flex:1;
  font-size:17px;line-height:1.6;font-weight:700;
  letter-spacing:1px;
  text-shadow:0 2px 10px rgba(90,0,10,.35);
}
.slogan-more{
  flex:0 0 auto;
  display:inline-flex;align-items:center;gap:6px;
  font-size:13.5px;
  padding-bottom:2px;
  border-bottom:1px solid rgba(255,255,255,.5);
  opacity:.92;
}
.slogan-more i{font-style:normal;transition:transform .25s;}
.slogan-inner:hover .slogan-more i{transform:translateX(4px);}

/* ============================ 三张内容卡 ============================ */
.cards{padding:34px 0 10px;}
.cards-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}

.card{
  display:flex;flex-direction:column;
  background:#fff;
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  border:1px solid #e8eef7;
  transition:transform .3s,box-shadow .3s,border-color .3s;
}
.card:hover{transform:translateY(-5px);box-shadow:var(--shadow-lg);border-color:#cfe0f5;}
.card-img{
  position:relative;display:block;
  height:164px;overflow:hidden;
}
.card-img svg{width:100%;height:100%;transition:transform .5s ease;}
.card:hover .card-img svg{transform:scale(1.05);}
.card-ico{
  position:absolute;left:16px;bottom:14px;
  width:34px;height:34px;
  display:grid;place-items:center;
  border-radius:8px;
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.35);
  color:#fff;
  backdrop-filter:blur(3px);
}
.card-ico svg{width:19px;height:19px;}
.card-big{
  position:absolute;inset:0;
  display:grid;place-items:center;
  font-size:26px;font-weight:800;color:#fff;
  letter-spacing:4px;
  text-shadow:0 3px 14px rgba(0,20,50,.4);
  pointer-events:none;
}
.card-body{
  display:flex;flex-direction:column;
  padding:16px 18px 18px;
}
.card-body em{
  font-style:normal;font-size:13px;color:var(--muted);
  margin-top:4px;letter-spacing:.3px;
}
.card-link{
  margin-top:14px;
  display:inline-flex;align-items:center;gap:6px;
  font-size:13px;color:var(--blue-500);
  padding-top:12px;
  border-top:1px dashed var(--line);
}
.card-link i{font-style:normal;transition:transform .25s;}
.card:hover .card-link i{transform:translateX(5px);}

/* ============================ 友情链接 ============================ */
.links{padding:26px 0 40px;}
.sec-title--sm{font-size:18px;letter-spacing:4px;}
.sec-title--sm .line{width:80px;}
.sec-title--sm .txt::after{width:24px;height:2px;bottom:-7px;}

.links-grid{
  margin-top:22px;
  display:grid;grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.link-card{
  display:flex;align-items:center;gap:12px;
  padding:14px 14px;
  background:#fff;
  border:1px solid #e6edf7;
  border-radius:6px;
  transition:border-color .25s,box-shadow .25s,transform .25s;
}
.link-card:hover{
  border-color:#b9d3f2;
  box-shadow:0 8px 20px rgba(16,58,120,.1);
  transform:translateY(-2px);
}
.lc-logo{
  flex:0 0 46px;width:46px;height:46px;
  display:grid;place-items:center;
  border-radius:5px;
  font-size:13px;font-weight:800;letter-spacing:.5px;
  color:#fff;
}
.lc-logo--red{background:linear-gradient(145deg,#c8102e,#8c0f1e);font-size:12px;}
.lc-logo--crimson{background:linear-gradient(145deg,#e0392f,#a5121f);font-size:12px;}
.lc-logo--blue{background:linear-gradient(145deg,#1b62c4,#08306b);font-size:11px;}
.lc-logo--green{background:linear-gradient(145deg,#158a5a,#0b5e3d);font-size:11px;}
.lc-txt{display:flex;flex-direction:column;min-width:0;}
.lc-txt strong{
  font-size:13px;font-weight:600;color:var(--ink-2);
  line-height:1.4;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.lc-txt em{
  font-style:normal;font-size:11.5px;color:#9aa9bb;margin-top:2px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}

/* ============================ 页脚 ============================ */
.site-footer{
  background:linear-gradient(180deg,#062654,#04183a);
  color:rgba(214,230,250,.78);
  border-top:3px solid var(--gold);
  margin-top:6px;
}
.footer-inner{
  padding-top:30px;padding-bottom:32px;
  text-align:center;
}
.f-org{
  font-size:13.5px;font-weight:normal;color:inherit;letter-spacing:.4px;
  margin-bottom:6px;
}
.f-line{font-size:13.5px;line-height:2;letter-spacing:.4px;}
.f-beian a{color:rgba(214,230,250,.72);transition:color .2s;}
.f-beian a:hover{color:#fff;}
.f-beian span{margin:0 8px;opacity:.4;}

/* ============================ 滚动渐显 ============================ */
.reveal-init{opacity:0;transform:translateY(14px);}
.reveal-in{opacity:1;transform:none;transition:opacity .6s ease,transform .6s ease;}

/* ============================ 返回顶部 ============================ */
.to-top{
  position:fixed;right:26px;bottom:34px;z-index:60;
  width:44px;height:44px;
  display:grid;place-items:center;
  border-radius:50%;
  background:#fff;
  color:var(--navy-700);
  box-shadow:0 8px 22px rgba(8,32,72,.18);
  opacity:0;visibility:hidden;transform:translateY(10px);
  transition:.3s;
}
.to-top.show{opacity:1;visibility:visible;transform:none;}
.to-top:hover{background:var(--navy-700);color:#fff;}
.to-top svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;}

/* ============================ 响应式 ============================ */
@media (max-width:1120px){
  .main-nav a{font-size:14.5px;padding:8px 10px;}
  .brand-name{font-size:26px;}
  .slide-body h2{font-size:28px;}
  .sec-title{font-size:22px;letter-spacing:4px;}
}

@media (max-width:1040px){
  .masthead-inner{flex-wrap:wrap;padding-bottom:20px;gap:12px;}
  .main-nav{
    order:3;width:100%;align-self:auto;
    justify-content:flex-start;flex-wrap:wrap;
    gap:0;
    border-top:1px solid rgba(255,255,255,.14);
    padding-top:8px;
  }
  .main-nav a{padding:8px 12px 8px 0;font-size:14.5px;margin-right:14px;}
  .main-nav a::after{left:0;bottom:0;transform:none;}
  .nav-toggle{display:none;}

  .hero-grid{grid-template-columns:1fr;}
  .slider,.slides{min-height:340px;}
  .news-panel{min-height:auto;}
  .orgs-grid{grid-template-columns:1fr;grid-auto-rows:1fr;}
  .cert-grid{grid-template-columns:repeat(2,1fr);}
  .cards-grid{grid-template-columns:1fr;}
  .card{flex-direction:row;align-items:stretch;}
  .card-img{width:220px;height:auto;flex:0 0 220px;}
  .links-grid{grid-template-columns:repeat(2,1fr);}
  .slogan-inner p{font-size:16px;}
}

@media (max-width:720px){
  .wrap{padding:0 14px;}
  .topbar-left{display:none;}
  .topbar-inner{justify-content:center;height:36px;}
  .topbar-right .sep,.topbar-right a{display:none;}
  .search input{width:110px;}

  .brand-mark{width:52px;height:52px;flex-basis:52px;border-radius:10px;}
  .brand-mark svg{width:42px;height:42px;}
  .brand-mark img{width:46px;height:46px;}
  .brand-name{font-size:21px;}
  .brand-domain{font-size:11.5px;letter-spacing:1.6px;}
  .brand-slogan{font-size:11.5px;letter-spacing:.8px;}

  .main-nav{
    display:none;
    flex-direction:column;align-items:stretch;
    padding-bottom:6px;
  }
  .main-nav.open{display:flex;}
  .main-nav a{
    margin:0;padding:10px 4px;border-bottom:1px solid rgba(255,255,255,.08);
    font-size:15px;
  }
  .nav-toggle{display:flex;margin-left:auto;}

  .slider,.slides{min-height:300px;}
  .slide-body{max-width:100%;padding:0 22px;}
  .slide-body h2{font-size:22px;letter-spacing:.8px;}
  .slide-body p{font-size:13px;}
  .slide-index{font-size:24px;right:14px;}
  .slider-dots{left:22px;bottom:14px;}

  .news-tab{padding:12px 8px;font-size:14.5px;}
  .news-more{display:none;}

  .org-card{padding:14px 40px 14px 16px;}
  .org-txt strong{font-size:14.5px;line-height:1.5;letter-spacing:.2px;}
  .org-txt em{font-size:11.5px;letter-spacing:.3px;}
  .org-ico{flex-basis:36px;width:36px;height:36px;}
  .org-ico svg{width:20px;height:20px;}

  .cert{padding:4px 0;}
  .cert-inner{padding:26px 16px 30px;}
  .sec-title{font-size:19px;letter-spacing:3px;}
  .sec-title .line{width:34px;}
  .cert-grid{gap:12px;}
  .cert-btn{padding:12px 6px;}
  .cert-btn .ct{font-size:16px;letter-spacing:1.5px;}
  .cert-btn small{display:none;}

  .slogan-inner{flex-direction:column;align-items:flex-start;gap:12px;padding-top:20px;padding-bottom:20px;}
  .slogan-inner p{font-size:14.5px;line-height:1.8;letter-spacing:.6px;}

  .card{flex-direction:column;}
  .card-img{width:100%;height:150px;flex:none;}

  .links-grid{grid-template-columns:1fr;}

  .f-org{font-size:16px;letter-spacing:1px;}
  .f-line{font-size:12.5px;}
  .to-top{right:14px;bottom:20px;}
}

/* ---- 标语换行控制 ---- */
.br-desk{display:none;}
@media (min-width:721px){.br-desk{display:inline;}}

/* ---- 细节微调 ---- */
.main-nav{gap:2px;}
.topbar-right{color:rgba(255,255,255,.8);}
.cert-btn .ci{opacity:.95;}

/* ============================================================
   内页（单位介绍等）
   ============================================================ */
.page{padding:26px 0 40px;}

.page-card{
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
  border:1px solid #e8eef7;
  min-height:520px;
  padding-bottom:34px;
}

.page-head{padding:32px 64px 0;}
.page-tag{
  display:inline-block;
  margin:0;
  padding:10px 34px;
  font-size:19px;
  font-weight:600;
  letter-spacing:3px;
  color:#fff;
  border-radius:6px;
  background:linear-gradient(180deg,#1c6cc9,#1558b0);
  box-shadow:0 5px 14px rgba(21,88,176,.26),inset 0 1px 0 rgba(255,255,255,.2);
}

.page-divider{
  margin:18px 64px 0;
  height:1px;
  background:#e9eff9;
}

.page-body{padding:26px 64px 0;}
.page-body p{
  margin:0 0 14px;
  font-size:16.5px;
  line-height:2.1;
  color:#2b3b4e;
  text-align:justify;
  text-indent:2em;
  letter-spacing:.3px;
}
.page-body p:last-child{margin-bottom:0;}

@media (max-width:1040px){
  .page-head{padding:26px 36px 0;}
  .page-divider{margin:16px 36px 0;}
  .page-body{padding:22px 36px 0;}
  .page-body p{font-size:16px;line-height:2;}
}

@media (max-width:720px){
  .page{padding:16px 0 26px;}
  .page-card{min-height:0;padding-bottom:24px;}
  .page-head{padding:20px 20px 0;}
  .page-tag{font-size:16px;padding:8px 22px;letter-spacing:2px;}
  .page-divider{margin:14px 20px 0;}
  .page-body{padding:18px 20px 0;}
  .page-body p{font-size:15px;line-height:1.95;text-indent:2em;text-align:left;}
}

/* ---- 列表页（通知公告等文档列表） ---- */
.doc-list{padding-top:2px;}
.doc-list li{border-bottom:1px dashed #edf2f9;}
.doc-list li:last-child{border-bottom:0;}
.doc-list a{
  display:flex;align-items:center;gap:16px;
  padding:13px 6px;
  font-size:16px;
  color:#26364a;
  border-radius:4px;
  transition:background .2s,color .2s;
}
.doc-list .t{
  position:relative;
  flex:1;min-width:0;
  padding-left:20px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  transition:color .2s;
}
.doc-list .t::before{
  content:"";
  position:absolute;left:1px;top:50%;
  width:8px;height:8px;
  background:#1a6ec4;
  transform:translateY(-50%) rotate(45deg);
  transition:background .2s;
}
.doc-list .d{
  flex:0 0 auto;min-width:98px;
  text-align:right;
  font-size:15px;
  color:#1a6ec4;
  font-variant-numeric:tabular-nums;
  letter-spacing:.3px;
}
.doc-list a:hover{background:#f7fafe;}
.doc-list a:hover .t{color:#1558b0;}
.doc-list a:hover .t::before{background:#c8102e;}

/* 职业培训工种列表 */
.voc-list{padding-top:2px;}
.voc-list li{
  display:flex;align-items:center;gap:16px;
  padding:15px 6px;
  font-size:17px;font-weight:600;letter-spacing:1px;
  color:#1866c1;
  border-bottom:1px dashed #edf2f9;
  border-radius:4px;
}
.voc-list li:last-child{border-bottom:0;}
.voc-list .t{
  position:relative;
  flex:1;min-width:0;
  padding-left:24px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  color:inherit;text-decoration:none;
}
.voc-list li:hover .t{text-decoration:underline;}
.voc-list .t::before{
  content:"";
  position:absolute;left:2px;top:50%;
  width:9px;height:9px;
  background:#1866c1;
  transform:translateY(-50%) rotate(45deg);
}

.pager{
  display:flex;justify-content:center;align-items:center;gap:8px;
  padding:30px 0 10px;
}
.pager a{
  min-width:36px;height:36px;
  display:inline-flex;align-items:center;justify-content:center;
  padding:0 12px;
  font-size:14px;
  color:#31435a;
  background:#fff;
  border:1px solid #e2eaf5;
  border-radius:4px;
  transition:.2s;
}
.pager a:hover{border-color:#9dc0ea;color:#1558b0;}
.pager a.active{
  background:linear-gradient(180deg,#1c6cc9,#1558b0);
  border-color:#1558b0;color:#fff;font-weight:600;
}
.pager a.is-disabled{color:#b4c0cf;pointer-events:none;}

@media (max-width:720px){
  .doc-list a{padding:12px 2px;gap:10px;font-size:14.5px;align-items:flex-start;}
  .doc-list .t{
    padding-left:16px;
    white-space:normal;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
    line-height:1.65;
  }
  .doc-list .t::before{top:9px;width:6px;height:6px;}
  .doc-list .d{min-width:76px;font-size:12.5px;padding-top:2px;}
  .pager{padding:22px 0 6px;gap:6px;}
  .pager a{min-width:32px;height:32px;font-size:13px;padding:0 8px;}
}

/* ---- 详情页（正文） ---- */
a.page-tag{text-decoration:none;transition:filter .2s,transform .2s;}
a.page-tag:hover{filter:brightness(1.08);transform:translateY(-1px);}

.article{padding:6px 64px 0;}

.article-title{
  margin:12px 0 0;
  font-size:26px;
  font-weight:600;
  line-height:1.6;
  letter-spacing:.5px;
  text-align:center;
  color:#1a6ec4;
}

.article-meta{
  display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:6px 22px;
  margin-top:22px;padding-bottom:16px;
  font-size:13px;color:#8b9aad;letter-spacing:.3px;
  border-bottom:1px solid #f1f5fb;
}

.article-body{padding-top:10px;}
/* 清除正文内图片的浮动，避免后台粘贴图片带 float:left 时容器高度塌陷、图片溢出压住页脚 */
.article-body::after{content:'';display:block;clear:both;}
.article-body img{float:none !important;max-width:100%;height:auto !important;}
/* 一个段落里并列多张图时（后台用空格分隔），前台改为行内排列，保持后台的多图网格效果。
   仅命中含2张以上图片的段落，单图文章（含之前修复的 float 图片）不受影响。 */
.article-body p:has(> img ~ img){text-indent:0;font-size:0;line-height:0;}
.article-body p:has(> img ~ img) > img{display:inline-block !important;vertical-align:top;margin:6px 8px;}
.article-body p{
  margin:12px 0;
  font-size:16.5px;
  line-height:2.05;
  color:#2b3b4e;
  text-indent:2em;
  text-align:justify;
  letter-spacing:.3px;
}
.article-body h2{
  margin:26px 0 8px;
  font-size:17px;
  font-weight:700;
  line-height:1.9;
  color:#16202e;
  text-indent:2em;
}

.article-figure{margin:26px 0 22px;text-align:center;}
.article-figure img{
  width:100%;max-width:520px;
  margin:0 auto;
  border-radius:6px;
  box-shadow:0 8px 22px rgba(12,44,96,.14);
}
.article-figure figcaption{
  margin-top:10px;
  font-size:12.5px;
  color:#8b9aad;
  letter-spacing:.3px;
}

.article-attach{color:#31435a;}
.article-attach a{
  color:#1a6ec4;
  border-bottom:1px solid rgba(26,110,196,.35);
}
.article-attach a:hover{color:#0f4f94;border-bottom-color:#0f4f94;}

.article-sign{
  margin-top:34px !important;
  padding-right:6px;
  text-align:right !important;
  text-indent:0 !important;
  line-height:2 !important;
  color:#31435a;
}

.article-foot{
  display:flex;align-items:flex-start;justify-content:space-between;gap:28px;
  margin-top:38px;padding-top:18px;
  border-top:1px solid #eef3fa;
}
.btn-back{
  flex:0 0 auto;
  display:inline-flex;align-items:center;
  padding:8px 18px;
  font-size:13.5px;
  color:#1558b0;
  border:1px solid #cfe0f5;
  border-radius:4px;
  background:#f7fafe;
  transition:.2s;
}
.btn-back:hover{background:#1558b0;border-color:#1558b0;color:#fff;}

.article-nav{
  display:flex;flex-direction:column;gap:6px;
  max-width:620px;
  font-size:13px;
  text-align:right;
}
.article-nav a{
  display:block;
  color:#5c6d82;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  transition:color .2s;
}
.article-nav a:hover{color:#1a6ec4;}
.article-nav em{font-style:normal;color:#9aa9bb;}

@media (max-width:1040px){
  .article{padding:4px 36px 0;}
  .article-title{font-size:23px;}
  .article-body p{font-size:16px;line-height:2;}
}

@media (max-width:720px){
  .article{padding:2px 20px 0;}
  .article-title{font-size:19px;line-height:1.55;margin-top:14px;text-align:left;}
  .article-meta{justify-content:flex-start;gap:4px 14px;font-size:12px;padding-bottom:12px;}
  .article-body p{font-size:15px;line-height:1.95;text-align:left;margin:10px 0;}
  .article-body h2{font-size:15.5px;margin:20px 0 6px;}
  .article-figure{margin:18px 0 16px;}
  .article-sign{margin-top:26px !important;padding-right:0;}
  .article-foot{flex-direction:column;align-items:stretch;gap:16px;margin-top:28px;}
  .article-nav{text-align:left;max-width:none;}
}

/* ============================================================
   建筑建材职业（表格页）
   ============================================================ */
.table-intro{
  margin:0 0 20px;
  font-size:15px;
  line-height:2;
  color:#5c6d82;
  letter-spacing:.3px;
}

.table-wrap{
  border-radius:6px;
  overflow:hidden;
  box-shadow:0 2px 10px rgba(20,58,110,.06);
}

/* 兜底：后台编辑器保存后外层 table-wrap 可能被剥离，
   直接放在 page-body 下的 job-table 也要有同样的圆角与阴影 */
.page-body > table.job-table{
  border-radius:6px;
  overflow:hidden;
  box-shadow:0 2px 10px rgba(20,58,110,.06);
}

.job-table{
  width:100%;
  border-collapse:collapse;
  table-layout:fixed;
  font-size:15.5px;
  color:#26364a;
  background:#fff;
  border:1px solid #dbe6f4;
}
.job-table col.c-no{width:9%;}
.job-table col.c-job{width:26%;}
.job-table col.c-work{width:39%;}
.job-table col.c-lv{width:26%;}

.job-table th{
  padding:13px 10px;
  font-size:15.5px;
  font-weight:600;
  color:#1a3b63;
  letter-spacing:1px;
  text-align:center;
  background:linear-gradient(180deg,#f4f9ff,#e9f1fc);
  border:1px solid #dbe6f4;
  white-space:nowrap;
}

.job-table td{
  padding:11px 12px;
  line-height:1.7;
  border:1px solid #e3ecf8;
  text-align:center;
  vertical-align:middle;
  word-break:break-word;
}

.job-table tbody tr:nth-child(even) td{background:#fbfdff;}
.job-table tbody tr:hover td{background:#f2f8ff;}

.job-table td.num{
  color:#6d7f94;
  font-variant-numeric:tabular-nums;
  font-size:14.5px;
}
.job-table td.job{
  font-weight:600;
  color:#1558b0;
  background:#f7fbff !important;
  letter-spacing:.5px;
}
.job-table td.work{text-align:center;color:#000;}
.job-table td.lv{
  color:#2f4a6b;
  font-variant-numeric:tabular-nums;
  letter-spacing:.5px;
}

/* 兼容后台可视化编辑：单元格不带 class 时按位置自动套用样式
   （序号=第1格；职业=带合并的第2格；等级=带合并的第3/4格） */
.job-table td:first-child{
  color:#6d7f94;
  font-variant-numeric:tabular-nums;
  font-size:14.5px;
}
.job-table td[rowspan]:nth-child(2){
  font-weight:600;
  color:#1558b0;
  background:#f7fbff !important;
  letter-spacing:.5px;
}
.job-table td[rowspan]:nth-child(3),
.job-table td[rowspan]:nth-child(4){
  color:#2f4a6b;
  font-variant-numeric:tabular-nums;
  letter-spacing:.5px;
}
/* 后期整段粘贴的行 class 会全部变成 num，按位置与合并数兜底：
   职业名=第2格且跨行合并(rowspan>1) → 保持蓝色加粗浅蓝底，与 .job 一致；
   工种名=第2格或第3格且 rowspan=1 → 统一纯黑普通字重，与 .work 一致。
   这样无论单元格带的是正确 class 还是被粘贴打回 num，工种名称列都显示黑色，
   后台以后新增行也会自动套用。 */
.job-table td.num[rowspan="1"]:nth-child(2),
.job-table td.num[rowspan="1"]:nth-child(3){
  color:#000 !important;
  font-weight:400 !important;
  background:transparent !important;
  letter-spacing:0;
}
.job-table td.num[rowspan="1"]:nth-child(2) span,
.job-table td.num[rowspan="1"]:nth-child(3) span{
  color:#000 !important;
  font-weight:400 !important;
}
/* 职业名称列统一蓝色：职业名行是 4 格结构（序号|职业名|工种名|等级），
   工种名行只有 2/3 格。用结构 :has(第4格) 精确识别职业名，
   单行职业名(rowspan=1)也能命中，后期新增按同样结构自动套用。
   特异性高于上面的黑色兜底规则，确保职业名不被误染黑。 */
.job-table tr:has(> td:nth-child(4)) > td.num[rowspan]:nth-child(2),
.job-table tr:has(> td:nth-child(4)) > td.num[rowspan]:nth-child(2) span{
  color:#1558b0 !important;
  font-weight:600 !important;
  background:#f7fbff !important;
  letter-spacing:.5px;
}
@media (max-width:1040px){
  .job-table td:first-child{font-size:13.5px;}
}
@media (max-width:720px){
  .job-table td:first-child{font-size:11.5px;}
  .job-table td[rowspan]:nth-child(2),
  .job-table td[rowspan]:nth-child(3),
  .job-table td[rowspan]:nth-child(4){letter-spacing:0;}
}

/* 兼容后台可视化编辑：单元格不带 class 时按位置自动套用样式
   （序号=第1格；职业=带合并的第2格；等级=带合并的第3/4格） */
.job-table td:first-child{
  color:#6d7f94;
  font-variant-numeric:tabular-nums;
  font-size:14.5px;
}
.job-table td[rowspan]:nth-child(2){
  font-weight:600;
  color:#1558b0;
  background:#f7fbff !important;
  letter-spacing:.5px;
}
.job-table td[rowspan]:nth-child(3),
.job-table td[rowspan]:nth-child(4){
  color:#2f4a6b;
  font-variant-numeric:tabular-nums;
  letter-spacing:.5px;
}

/* ---- 附件下载 ---- */
.attach-box{
  margin-top:30px;
  padding:18px 22px 16px;
  border:1px solid #e4edf8;
  border-radius:6px;
  background:#fafcff;
}
.attach-head{
  display:flex;align-items:baseline;gap:10px;
  padding-bottom:12px;
  border-bottom:1px dashed #e0eaf6;
}
.attach-head strong{
  position:relative;
  padding-left:13px;
  font-size:16px;
  font-weight:600;
  color:#1a3b63;
  letter-spacing:1px;
}
.attach-head strong::before{
  content:"";
  position:absolute;left:0;top:50%;
  width:4px;height:15px;
  background:linear-gradient(180deg,#1c6cc9,#1558b0);
  border-radius:2px;
  transform:translateY(-50%);
}
.attach-head span{font-size:12.5px;color:#9aa9bb;}

.attach-list{margin:0;padding:6px 0 0;}
.attach-list li{border-bottom:1px dashed #eef3fa;}
.attach-list li:last-child{border-bottom:0;}
.attach-list a{
  display:flex;align-items:center;gap:12px;
  padding:11px 8px;
  font-size:15px;
  color:#26364a;
  border-radius:4px;
  transition:background .2s;
}
.attach-list a:hover{background:#f1f7ff;}
.attach-list .ico{
  flex:0 0 auto;
  display:inline-flex;align-items:center;justify-content:center;
  width:42px;height:26px;
  font-size:10.5px;
  font-weight:700;
  letter-spacing:.5px;
  color:#fff;
  border-radius:3px;
}
.attach-list .ico-doc{background:linear-gradient(180deg,#3d7fd1,#2a5fa8);}
.attach-list .ico-pdf{background:linear-gradient(180deg,#d7433f,#b32b27);}
.attach-list .nm{
  flex:1;min-width:0;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  transition:color .2s;
}
.attach-list a:hover .nm{color:#1558b0;}
.attach-list .sz{flex:0 0 auto;font-size:12.5px;color:#9aa9bb;}

@media (max-width:1040px){
  .table-intro{font-size:14.5px;}
  .job-table{font-size:14.5px;}
  .job-table th{font-size:14.5px;padding:11px 8px;}
  .job-table td{padding:9px 8px;}
}

@media (max-width:720px){
  .table-intro{font-size:13.5px;line-height:1.9;margin-bottom:14px;}
  .job-table{font-size:12px;}
  .job-table col.c-no{width:9%;}
  .job-table col.c-job{width:29%;}
  .job-table col.c-work{width:36%;}
  .job-table col.c-lv{width:26%;}
  .job-table th{font-size:12px;padding:9px 2px;letter-spacing:0;}
  .job-table td{padding:8px 3px;line-height:1.55;letter-spacing:0;}
  .job-table td.num{font-size:11.5px;}
  .job-table td.job{font-size:12px;letter-spacing:0;}
  .job-table td.work{letter-spacing:0;}
  .job-table td.lv{font-size:11px;letter-spacing:0;}

  .attach-box{margin-top:22px;padding:14px 14px 10px;}
  .attach-head strong{font-size:15px;}
  .attach-list a{font-size:13.5px;gap:10px;padding:10px 2px;}
  .attach-list .ico{width:36px;height:23px;font-size:9.5px;}
  .attach-list .nm{white-space:normal;line-height:1.5;}
  .attach-list .sz{display:none;}
}

/* ============================================================
   职业标准（外链清单）
   ============================================================ */
.table-intro.is-lead{
  text-indent:0;
  text-align:left;
  margin-bottom:16px;
  font-size:14.5px;
  color:#5c6d82;
}
.std-list{
  margin:0;
  padding:0;
  border-top:1px solid #eef3fa;
}
.std-list li{border-bottom:1px solid #eef3fa;}
.std-list a{
  display:flex;align-items:center;gap:14px;
  padding:17px 10px 17px 4px;
  border-radius:4px;
  transition:background .22s;
}
.std-list a:hover{background:#f7fafe;}

.std-list .name{
  position:relative;
  flex:0 1 auto;
  padding-left:20px;
  font-size:17.5px;
  font-weight:600;
  color:#22364d;
  letter-spacing:.5px;
  transition:color .2s;
}
.std-list .name::before{
  content:"";
  position:absolute;left:0;top:50%;
  width:9px;height:9px;
  background:#1a6ec4;
  transform:translateY(-50%) rotate(45deg);
  border-radius:1px;
  transition:background .2s;
}
.std-list .sub{
  flex:0 0 auto;
  padding:2px 9px;
  font-size:12px;
  color:#5b7fa8;
  background:#eef5fd;
  border:1px solid #dbe9f8;
  border-radius:3px;
  letter-spacing:.3px;
  white-space:nowrap;
}
.std-list .go{
  flex:0 0 auto;
  margin-left:auto;
  display:inline-flex;align-items:center;gap:4px;
  font-size:13.5px;
  color:#9aa9bb;
  transition:color .2s,transform .2s;
}
.std-list .go i{
  font-style:normal;
  font-size:17px;
  line-height:1;
}
.std-list a:hover .name{color:#1558b0;}
.std-list a:hover .name::before{background:#c8102e;}
.std-list a:hover .go{color:#1a6ec4;transform:translateX(3px);}

.std-tip{
  margin:22px 0 0 !important;
  padding:12px 16px;
  font-size:13px;
  line-height:1.9 !important;
  color:#7d8ea3;
  text-indent:0 !important;
  text-align:left !important;
  background:#f8fafd;
  border-left:3px solid #dbe6f4;
  border-radius:0 4px 4px 0;
}

@media (max-width:720px){
  .std-list a{flex-wrap:wrap;gap:6px 10px;padding:14px 4px;}
  .std-list .name{font-size:16px;padding-left:18px;}
  .std-list .name::before{width:8px;height:8px;}
  .std-list .sub{font-size:11px;padding:1px 7px;}
  .std-list .go{
    flex:0 0 100%;
    margin-left:0;padding-left:18px;
    font-size:12.5px;color:#1a6ec4;
  }
  .std-tip{font-size:12.5px;padding:10px 12px;margin-top:18px !important;}
}

/* ============================================================
   技能竞赛（简要条目列表）
   ============================================================ */
.brief-list{
  margin:6px 0 0;
  padding:0;
}
.brief-list li{margin-bottom:2px;}
.brief-list a{
  display:inline-flex;align-items:center;
  padding:9px 12px 9px 0;
  border-radius:4px;
  transition:background .2s,padding-left .2s;
}
.brief-list .name{
  position:relative;
  padding-left:24px;
  font-size:19.5px;
  font-weight:600;
  color:#1a6ec4;
  letter-spacing:.6px;
  transition:color .2s;
}
.brief-list .name::before{
  content:"";
  position:absolute;left:2px;top:50%;
  width:10px;height:10px;
  background:#1a6ec4;
  transform:translateY(-50%) rotate(45deg);
  border-radius:1px;
  transition:background .2s,transform .2s;
}
.brief-list a:hover{padding-left:6px;}
.brief-list a:hover .name{color:#0f4f94;}
.brief-list a:hover .name::before{background:#c8102e;transform:translateY(-50%) rotate(45deg) scale(1.08);}

@media (max-width:720px){
  .brief-list a{padding:8px 10px 8px 0;}
  .brief-list .name{font-size:16.5px;padding-left:20px;line-height:1.6;}
  .brief-list .name::before{left:1px;width:8px;height:8px;}
}

/* ============================================================
   资料下载
   ============================================================ */
.dl-list{margin:8px 0 0;padding:0;}
.dl-list li{margin-bottom:2px;}
.dl-list a{
  display:flex;align-items:center;gap:12px;
  padding:11px 12px 11px 0;
  border-radius:4px;
  transition:background .2s,padding-left .2s;
}
.dl-list .name{
  position:relative;
  flex:1 1 auto;min-width:0;
  padding-left:24px;
  font-size:19.5px;
  font-weight:600;
  color:#1a6ec4;
  letter-spacing:.6px;
  transition:color .2s;
}
.dl-list .name::before{
  content:"";
  position:absolute;left:2px;top:50%;
  width:10px;height:10px;
  background:#1a6ec4;
  transform:translateY(-50%) rotate(45deg);
  border-radius:1px;
  transition:background .2s;
}
.dl-list .meta{
  flex:0 0 auto;
  display:inline-flex;align-items:center;gap:10px;
}
.dl-list .fmt{
  display:inline-flex;align-items:center;justify-content:center;
  width:46px;height:24px;
  font-size:10.5px;font-weight:700;letter-spacing:.5px;
  color:#fff;
  background:linear-gradient(180deg,#3d7fd1,#2a5fa8);
  border-radius:3px;
}
.dl-list .sz{
  min-width:52px;
  font-size:12.5px;
  color:#9aa9bb;
  font-variant-numeric:tabular-nums;
  text-align:right;
}
.dl-list .dl{
  display:inline-flex;align-items:center;
  padding:4px 12px;
  font-size:12.5px;
  color:#1a6ec4;
  border:1px solid #cfe0f5;
  border-radius:3px;
  background:#f7fafe;
  transition:.2s;
}
.dl-list a:hover{padding-left:6px;background:#f7fafe;}
.dl-list a:hover .name{color:#0f4f94;}
.dl-list a:hover .name::before{background:#c8102e;}
.dl-list a:hover .dl{background:#1558b0;border-color:#1558b0;color:#fff;}

@media (max-width:720px){
  .dl-list a{padding:10px 6px 10px 0;gap:8px;flex-wrap:wrap;}
  .dl-list .name{font-size:16.5px;padding-left:20px;line-height:1.5;flex:1 1 100%;}
  .dl-list .name::before{left:1px;width:8px;height:8px;}
  .dl-list .meta{margin-left:20px;gap:8px;}
  .dl-list .fmt{width:42px;height:22px;font-size:10px;}
  .dl-list .sz{min-width:0;font-size:11.5px;}
  .dl-list .dl{padding:3px 10px;font-size:12px;}
}

/* ============================================================
   联系我们
   ============================================================ */
.contact-grid{
  display:grid;
  grid-template-columns:0.92fr 1.08fr;
  gap:44px;
  align-items:start;
}

.cinfo-org{
  margin:2px 0 18px;
  font-size:22px;
  font-weight:600;
  line-height:1.5;
  letter-spacing:1px;
  color:#1c2c3f;
}

.cinfo-list{margin:0;padding:0;}
.cinfo-list li{
  display:flex;
  gap:2px;
  margin-bottom:12px;
  font-size:17px;
  line-height:1.85;
  color:#2b3b4e;
  letter-spacing:.3px;
}
.cinfo-list .lb{flex:0 0 auto;color:#41546b;}
.cinfo-list .vl{flex:1 1 auto;min-width:0;}
.cinfo-list a{
  color:#1a6ec4;
  border-bottom:1px solid rgba(26,110,196,.4);
  transition:color .2s,border-color .2s;
  word-break:break-all;
}
.cinfo-list a:hover{color:#0f4f94;border-bottom-color:#0f4f94;}

/* 二维码 */
.qr-block{
  margin-top:26px;
  text-align:center;
}
.qr-block img{
  display:block;
  width:134px;height:134px;
  margin:0;
  border-radius:6px;
  box-shadow:0 3px 12px rgba(15,45,90,.12);
}
.qr-cap{
  margin:12px 0 0;
  font-size:14px;
  line-height:1.8;
  color:#2b3b4e;
  letter-spacing:.5px;
}
/* 覆盖 .page-body p 的 justify/2em 缩进/16.5px；
   二维码+说明文字整体靠左（用户指定移到左侧，距栏左缘约 40px） */
.page-body .qr-block{
  text-align:left;
  padding-left:40px;
}
.page-body .qr-cap{
  margin:12px 0 0;
  font-size:14px;
  line-height:1.8;
  letter-spacing:.5px;
  text-align:left;
  text-indent:0;
}
.page-body .qr-cap span{
  font-size:12.5px;
  letter-spacing:.3px;
}
.qr-cap span{
  display:inline-block;
  margin-top:2px;
  font-size:12.5px;
  color:#8b9aad;
  letter-spacing:.3px;
}

/* 办公楼照片 */
.office-figure{margin:0;}
.office-figure img{
  display:block;
  width:100%;
  height:auto;
  border-radius:6px;
  box-shadow:0 6px 20px rgba(15,45,90,.14);
}

@media (max-width:1040px){
  .contact-grid{grid-template-columns:1fr;gap:30px;}
  .office-figure{order:2;}
  .cinfo-org{font-size:20px;}
  .cinfo-list li{font-size:16px;}
}

@media (max-width:720px){
  .contact-grid{gap:24px;}
  .cinfo-org{font-size:17px;letter-spacing:.5px;margin-bottom:12px;}
  .cinfo-list li{font-size:14.5px;margin-bottom:8px;line-height:1.8;}
  .qr-block{margin-top:18px;}
  .page-body .qr-block{padding-left:0;}
  .qr-block img{width:120px;height:120px;}
  .qr-cap{font-size:13px;}
  .office-figure img{border-radius:5px;}
}

/* ============================================================
   指导中心（栏目页与制度页）
   ============================================================ */
.guide-list .name{font-size:18px;}
.guide-list .name::before{top:.88em;}

/* 编号列表（主要职责） */
.num-list{
  margin:6px 0 16px;
  padding:0;
  counter-reset:n;
}
.num-list li{
  position:relative;
  margin:0 0 4px;
  padding:9px 12px 9px 46px;
  list-style:none;
  font-size:16px;
  line-height:1.95;
  color:#2b3b4e;
  letter-spacing:.3px;
  text-align:justify;
  border-radius:4px;
  counter-increment:n;
  transition:background .2s;
}
.num-list li::before{
  content:counter(n);
  position:absolute;left:10px;top:11px;
  width:24px;height:24px;
  display:flex;align-items:center;justify-content:center;
  font-size:12.5px;font-weight:700;font-style:normal;
  color:#fff;
  background:linear-gradient(180deg,#1c6cc9,#1558b0);
  border-radius:50%;
  font-variant-numeric:tabular-nums;
}
.num-list li:nth-child(n+10)::before{content:counter(n);}
.num-list li:hover{background:#f7fafe;}

/* 流程步骤 */
.flow-steps{
  margin:8px 0 6px;
  padding:0;
  counter-reset:s;
}
.flow-steps li{
  position:relative;
  margin:0;
  padding:14px 18px 14px 56px;
  list-style:none;
  border-left:2px solid #dbe7f6;
  counter-increment:s;
}
.flow-steps li:last-child{border-left-color:transparent;}
.flow-steps li::before{
  content:counter(s,decimal-leading-zero);
  position:absolute;left:-17px;top:13px;
  width:32px;height:32px;
  display:flex;align-items:center;justify-content:center;
  font-size:12px;font-weight:700;
  color:#1558b0;
  background:#fff;
  border:2px solid #bcd7f4;
  border-radius:50%;
  font-variant-numeric:tabular-nums;
  box-shadow:0 2px 6px rgba(21,88,176,.12);
}
.flow-steps strong{
  display:block;
  font-size:16px;
  font-weight:600;
  color:#1a3b63;
  letter-spacing:.5px;
  line-height:1.7;
}
.flow-steps span{
  display:block;
  margin-top:2px;
  font-size:15px;
  line-height:1.95;
  color:#4b5d72;
  text-align:justify;
  letter-spacing:.2px;
}

/* 规章制度：章标题居中 */
.article-body.regulation h2{
  text-align:center;
  text-indent:0;
  letter-spacing:2px;
  margin:30px 0 10px;
}
.article-body.regulation h2:first-of-type{margin-top:22px;}
.article-body.regulation p{letter-spacing:.4px;}

/* 制度文件的适用范围行 */
.doc-sub{
  margin:0 0 6px !important;
  font-size:14px !important;
  line-height:1.9 !important;
  color:#8b9aad !important;
  text-indent:0 !important;
  text-align:center !important;
  letter-spacing:.3px;
}

@media (max-width:1040px){
  .num-list li{font-size:15.5px;}
  .flow-steps span{font-size:14.5px;}
}

@media (max-width:720px){
  .guide-list .name{font-size:16px;}
  .guide-list .name::before{top:.9em;}
  .num-list li{
    padding:7px 6px 7px 36px;
    font-size:14.5px;
    line-height:1.9;
    text-align:left;
  }
  .num-list li::before{
    left:4px;top:9px;
    width:20px;height:20px;
    font-size:11px;
  }
  .flow-steps li{
    padding:11px 8px 11px 40px;
  }
  .flow-steps li::before{
    left:-13px;top:10px;
    width:26px;height:26px;
    font-size:10.5px;
    border-width:2px;
  }
  .flow-steps strong{font-size:14.5px;}
  .flow-steps span{font-size:14px;line-height:1.85;text-align:left;}
  .doc-sub{font-size:12.5px !important;text-align:left !important;}
}

/* ---- 正文内嵌链接 ---- */
.article-body a{
  color:#1a6ec4;
  border-bottom:1px solid rgba(26,110,196,.4);
  transition:color .2s,border-color .2s;
}
.article-body a:hover{color:#0f4f94;border-bottom-color:#0f4f94;}

/* ============================================================
   行指委（栏目页 / 委员名单）
   ============================================================ */
.brief-list li.is-sep{margin-top:22px;}

.roster-table{
  width:100%;
  border-collapse:collapse;
  table-layout:fixed;
  font-size:15px;
  color:#26364a;
  background:#fff;
  border:1px solid #dbe6f4;
}
.roster-table col.c-no{width:9%;}
.roster-table col.c-name{width:16%;}
.roster-table col.c-unit{width:51%;}
.roster-table col.c-role{width:24%;}

.roster-cap{
  caption-side:top;
  padding:2px 0 12px;
  font-size:15px;
  font-weight:600;
  color:#1a3b63;
  letter-spacing:.5px;
  text-align:left;
}

.roster-table th{
  padding:12px 10px;
  font-size:15px;
  font-weight:600;
  color:#1a3b63;
  letter-spacing:1px;
  text-align:center;
  background:linear-gradient(180deg,#f4f9ff,#e9f1fc);
  border:1px solid #dbe6f4;
  white-space:nowrap;
}
.roster-table td{
  padding:11px 12px;
  line-height:1.7;
  border:1px solid #e3ecf8;
  text-align:center;
  word-break:break-word;
}
.roster-table td:nth-child(3){text-align:left;}
.roster-table tbody tr:nth-child(even) td{background:#fbfdff;}
.roster-table tbody tr:hover td{background:#f2f8ff;}
.roster-table td.num{
  color:#6d7f94;
  font-variant-numeric:tabular-nums;
  font-size:14px;
}

@media (max-width:1040px){
  .roster-table{font-size:14px;}
  .roster-table th{font-size:14px;padding:10px 8px;}
  .roster-table td{padding:9px 8px;}
}

@media (max-width:720px){
  .brief-list li.is-sep{margin-top:16px;}
  .roster-cap{font-size:13px;line-height:1.6;padding-bottom:8px;}
  .roster-table{font-size:12.5px;}
  .roster-table col.c-no{width:11%;}
  .roster-table col.c-name{width:19%;}
  .roster-table col.c-unit{width:44%;}
  .roster-table col.c-role{width:26%;}
  .roster-table th{font-size:12px;padding:8px 3px;letter-spacing:0;}
  .roster-table td{padding:8px 4px;line-height:1.55;letter-spacing:0;}
  .roster-table td.num{font-size:11.5px;}
}

/* ============================================================
   证书查询页（培训证书查询 / 查询结果）
   ============================================================ */
.cert-page{padding:26px 0 40px;}

.cert-box{
  background:#fff;
  border:1px solid #e8eef7;
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
  padding-bottom:36px;
}

/* ---- 顶部页签条 ---- */
.cert-head{
  display:flex;
  align-items:flex-end;
  gap:56px;
  padding:26px 40px 0;
  border-bottom:1px solid #dde6f2;
}
.cert-tab{
  flex:0 0 auto;
  align-self:flex-end;
  margin-bottom:-1px;
  padding:13px 26px;
  font-size:17px;
  font-weight:600;
  letter-spacing:2px;
  color:#fff;
  background:linear-gradient(180deg,#1668c4,#12559f);
  border-radius:3px 3px 0 0;
  box-shadow:0 3px 10px rgba(18,85,159,.28);
}

/* ---- 水彩蓝查询区 ---- */
.cert-art{
  position:relative;
  overflow:hidden;
  margin:0;
  padding:44px 24px 46px;
  min-height:482px;
  background:
    radial-gradient(120% 95% at 12% 16%, #3d84cd 0%, rgba(61,132,205,0) 58%),
    radial-gradient(95% 80% at 88% 6%, #5ba0dc 0%, rgba(91,160,220,0) 52%),
    radial-gradient(110% 100% at 76% 96%, #1c5cad 0%, rgba(28,92,173,0) 62%),
    radial-gradient(80% 70% at 4% 92%, #2f74c0 0%, rgba(47,116,192,0) 60%),
    linear-gradient(158deg,#2f74c0 0%,#1e5da8 42%,#2a6cb6 100%);
}
.cert-art::before{
  content:"";
  position:absolute;
  inset:-10%;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='320' height='320' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  opacity:.26;
  mix-blend-mode:overlay;
  pointer-events:none;
}
.cert-art::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(42% 34% at 22% 30%, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 70%),
    radial-gradient(38% 30% at 78% 58%, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 72%),
    radial-gradient(50% 40% at 46% 88%, rgba(9,42,92,.25) 0%, rgba(9,42,92,0) 70%),
    radial-gradient(30% 26% at 62% 20%, rgba(9,42,92,.20) 0%, rgba(9,42,92,0) 70%);
  pointer-events:none;
}

.cert-form{
  position:relative;
  z-index:1;
  width:100%;
  max-width:560px;
  margin:0 auto;
}

.cert-title{
  margin:0 0 34px;
  font-size:21px;
  font-weight:600;
  letter-spacing:4px;
  text-align:center;
  color:#fff;
  text-shadow:0 2px 6px rgba(6,36,78,.4);
}

.cert-row{
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:22px;
}
.cert-row label{
  flex:0 0 auto;
  width:104px;
  padding-right:12px;
  font-size:17px;
  letter-spacing:.5px;
  text-align:right;
  color:#fff;
  text-shadow:0 1px 4px rgba(6,36,78,.35);
}
.cert-row input{
  flex:0 1 336px;
  height:42px;
  padding:0 12px;
  font-family:inherit;
  font-size:16px;
  color:#16202e;
  background:#fff;
  border:1px solid #ffffff;
  border-radius:2px;
  outline:none;
  transition:box-shadow .2s,border-color .2s;
}
.cert-row input::placeholder{color:#a9b6c6;font-size:14px;}
.cert-row input:focus{
  border-color:#0a3a7d;
  box-shadow:0 0 0 3px rgba(10,58,125,.28);
}

.cert-tip{
  margin:26px 0 0;
  padding-left:64px; /* 与上方表单行标签左缘对齐 */
  font-size:16.5px;
  letter-spacing:.6px;
  color:#fff;
  text-shadow:0 1px 4px rgba(6,36,78,.35);
}

.cert-err{
  margin:12px 0 0;
  padding-left:64px;
  font-size:15px;
  color:#ffe0e0;
  text-shadow:0 1px 4px rgba(6,36,78,.5);
}

/* 结果页（白底）提示：深红高对比，去掉为深底设计的阴影 */
.cert-err--light{
  padding-left:0;
  color:#c8102e;
  font-weight:600;
  text-shadow:none;
}

.cert-actions{text-align:center;margin-top:34px;}
.cert-submit{
  min-width:168px;
  height:46px;
  padding:0 30px;
  font-size:17px;
  letter-spacing:4px;
  color:#fff;
  background:linear-gradient(180deg,#3b4198,#2a2f74);
  border-radius:4px;
  box-shadow:0 6px 16px rgba(8,18,62,.35),inset 0 1px 0 rgba(255,255,255,.16);
  transition:.2s;
}
.cert-submit:hover{background:linear-gradient(180deg,#454ba8,#31367f);}
.cert-submit:active{transform:translateY(1px);}

/* ---- 查询结果 ---- */
.cert-box--result{padding-bottom:44px;}
.cert-result-wrap{padding:36px 86px 0;}
.cert-result{
  padding:54px 56px 62px;
  min-height:400px;
  background:#fff;
  border:5px solid #1b5fb0;
}
.cert-res-title{
  margin:0 0 34px;
  font-size:20px;
  font-weight:600;
  letter-spacing:2px;
  text-align:center;
  color:#16202e;
}
.cert-res-list li{
  display:flex;
  align-items:flex-start;
  margin-bottom:18px;
  font-size:17px;
  line-height:1.9;
  color:#16202e;
}
.cert-res-list li:last-child{margin-bottom:0;}
.cert-res-list .lb{
  flex:0 0 132px;
  padding-right:8px;
  white-space:nowrap;
  letter-spacing:.5px;
  text-align:left;
  color:#1f3348;
}
.cert-res-list .vl{flex:1;min-width:0;word-break:break-all;}

.cert-back{
  margin:22px 0 0;
  text-align:center;
  font-size:15px;
}
.cert-back a{color:#1558b0;}
.cert-back a:hover{color:#c8102e;text-decoration:underline;}

@media (max-width:1040px){
  .cert-head{gap:34px;padding:22px 30px 0;}
  .cert-tab{font-size:16px;padding:11px 22px;}
  .cert-art{padding:36px 20px 40px;min-height:440px;}
  .cert-result-wrap{padding:28px 40px 0;}
  .cert-result{padding:44px 40px 50px;}
}

@media (max-width:720px){
  .cert-page{padding:14px 0 26px;}
  .cert-box{padding-bottom:22px;}
  .cert-head{gap:16px;padding:16px 16px 0;align-items:flex-end;}
  .cert-tab{font-size:14px;padding:9px 16px;letter-spacing:1px;}
  .cert-art{padding:28px 16px 34px;min-height:0;}
  .cert-title{margin-bottom:24px;font-size:18px;letter-spacing:3px;}
  .cert-row{margin-bottom:16px;}
  .cert-row label{width:86px;padding-right:8px;font-size:15px;}
  .cert-row input{flex:1 1 auto;min-width:0;height:38px;font-size:15px;}
  .cert-tip{margin-top:20px;padding-left:0;font-size:14px;}
  .cert-actions{margin-top:26px;}
  .cert-submit{min-width:150px;height:42px;font-size:16px;}
  .cert-result-wrap{padding:20px 16px 0;}
  .cert-result{padding:26px 16px 32px;min-height:0;border-width:4px;}
  .cert-res-title{margin-bottom:22px;font-size:16.5px;letter-spacing:1px;}
  .cert-res-list li,.cert-res-list .lb{font-size:14.5px;}
  .cert-res-list .lb{flex:0 0 104px;font-size:13px;}
  .cert-res-list li{margin-bottom:12px;}
}

/* 校验未通过的输入框 */
.cert-row input[aria-invalid="true"]{
  border-color:#ffb6b6;
  box-shadow:0 0 0 3px rgba(200,16,46,.26);
}

/* ============================================================
   培训资源页（实景图 + 教材封面）
   ============================================================ */
.res-box{padding-bottom:0;}
.res-body{padding:32px 40px 44px;}

.res-photos{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.res-photos figure{
  margin:0;
  aspect-ratio:3/2;
  overflow:hidden;
  background:#eef2f7;
  box-shadow:0 2px 10px rgba(10,42,90,.09);
}
.res-photos img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.res-books{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:26px;
  margin-top:30px;
}
.res-books figure{
  margin:0;
  aspect-ratio:176/250;
  overflow:hidden;
  background:#f2f5f9;
  box-shadow:0 3px 14px rgba(10,42,90,.12);
}
.res-books img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

@media (max-width:1040px){
  .res-body{padding:26px 30px 34px;}
  .res-photos{gap:12px;}
  .res-books{gap:18px;margin-top:24px;}
}

@media (max-width:720px){
  .res-body{padding:18px 16px 26px;}
  .res-photos{grid-template-columns:1fr;gap:12px;}
  .res-books{grid-template-columns:repeat(3,1fr);gap:12px;margin-top:20px;}
  .res-books figure{aspect-ratio:176/250;}
}

/* ============================================================
   CMS 适配（PbootCMS 模板输出的补充样式）
   ============================================================ */

/* ---- 轮播：序号用 CSS 计数器，标题支持换行 ---- */
.slides{counter-reset:slide;}
.slide{counter-increment:slide;}
.slide-index::before{content:counter(slide,decimal-leading-zero);}
.slide-body h2{white-space:pre-line;}
.slide-body .btn-ghost{margin-top:26px;}

/* ---- 友情链接徽标配色（按顺序循环） ---- */
.links-grid .link-card:nth-child(4n+1) .lc-logo{background:linear-gradient(145deg,#c8102e,#8c0f1e);font-size:12px;}
.links-grid .link-card:nth-child(4n+2) .lc-logo{background:linear-gradient(145deg,#e0392f,#a5121f);font-size:12px;}
.links-grid .link-card:nth-child(4n+3) .lc-logo{background:linear-gradient(145deg,#1b62c4,#08306b);font-size:11px;}
.links-grid .link-card:nth-child(4n+4) .lc-logo{background:linear-gradient(145deg,#158a5a,#0b5e3d);font-size:11px;}
.link-card{margin:0;}

/* ---- CMS 分页条 ---- */
.pager .page-status,
.pager .page-index,
.pager .page-pre,
.pager .page-numbar,
.pager .page-next,
.pager .page-last{
  display:inline-block;
  margin:0 3px;
}
.pager .page-status{
  margin-right:12px;
  color:#7b8ca1;
  font-size:13.5px;
}
.pager .page-index a,
.pager .page-pre a,
.pager .page-next a,
.pager .page-last a,
.pager .page-num{
  display:inline-block;
  min-width:34px;
  padding:0 10px;
  height:32px;
  line-height:30px;
  font-size:13.5px;
  text-align:center;
  color:#33506f;
  background:#fff;
  border:1px solid #dbe5f3;
  border-radius:3px;
  transition:.2s;
}
.pager .page-index a:hover,
.pager .page-pre a:hover,
.pager .page-next a:hover,
.pager .page-last a:hover,
.pager .page-num:hover{
  color:#12559f;
  border-color:#a9c6e8;
  background:#f3f8ff;
}
.pager .page-num-current,
.pager .page-num-current:hover{
  color:#fff;
  background:linear-gradient(180deg,#1c6cc9,#1558b0);
  border-color:#1558b0;
}
.pager a[href="javascript:;"]{
  color:#b6c2d1;
  background:#f6f8fb;
  cursor:default;
}

/* ---- 单页/详情正文中的富文本元素 ---- */
.page-body img,
.article-body img{max-width:100%;height:auto;}
.page-body h2,
.article-body h2{font-size:19px;}
.page-body ul:not([class]),
.article-body ul:not([class]){margin:0 0 16px;padding-left:1.6em;list-style:disc;}
.page-body ul:not([class]) > li,
.article-body ul:not([class]) > li{
  margin-bottom:8px;
  font-size:16px;
  line-height:2;
  color:#2b3b4e;
}
.page-body blockquote,
.article-body blockquote{
  margin:16px 0;
  padding:12px 18px;
  background:#f5f9ff;
  border-left:3px solid #1b62c4;
  color:#33506f;
}
.article-body table,
.page-body table{max-width:100%;}

@media (max-width:720px){
  .slide-body .btn-ghost{margin-top:18px;padding:7px 16px;font-size:13px;}
  .pager .page-status{display:block;margin:0 0 8px;}
  .page-body h2,.article-body h2{font-size:17px;}
  .page-body ul:not([class])>li,.article-body ul:not([class])>li{font-size:15px;}
}

/* 友情链接：等高对齐 */
.links-grid{align-items:stretch;}
.links-grid .link-card{height:100%;}
