@charset "utf-8";

/* ==========================================================================
   corp-site 前台区块皮肤
   视觉语言沿用 gdwy（主色 #0060ae / 1400px 栅格 / 38px 栏目标题）
   仅负责「可配置区块」的呈现，基础框架见 gdwy.css
   ========================================================================== */

:root{
  --blue:#0060ae;
  --blue-dark:#004781;
  --green:#8cc63f;
  --txt:#333;
  --gray:#666;
  --gray-light:#999;
  --line:#e6e8eb;
  --radius:4px;
}

/* ------------------------------- 区块通用 ------------------------------- */
.blk{padding:66px 0;position:relative;}
.blk .wrap{padding:0 10px;}
.theme-light{background:#fff;color:var(--txt);}
.theme-muted{background:#f5f7fa;color:var(--txt);}
.theme-dark{background:#0b1622;color:#e8eefc;}
.theme-dark .sec-title,
.theme-dark .section-title,
.theme-dark .feature-title,
.theme-dark .product-title,
.theme-dark h2,
.theme-dark h3,
.theme-dark h4{color:#fff;}
.theme-dark .section-sub,
.theme-dark .feature-desc,
.theme-dark .product-desc,
.theme-dark p{color:rgba(232,238,252,.78);}
.theme-dark .empty-state{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.14);color:rgba(232,238,252,.7);}

.section-head{margin-bottom:38px;}
.section-head.center{text-align:center;}
.section-title{
  font-size:38px;
  font-weight:400;
  color:#000;
  line-height:2;
  letter-spacing:2px;
}
.section-head.center .section-title{text-align:center;}
.section-sub{
  font-size:16px;
  color:var(--gray);
  line-height:1.9;
  margin-top:2px;
  letter-spacing:1px;
}
.section-more{text-align:center;margin-top:36px;}
.section-more .btn{margin:0;}

@media (max-width:768px){
  .blk{padding:36px 0;}
  .section-title{font-size:28px;}
}

/* ------------------------------- 首屏 Banner ------------------------------- */
.blk-hero{
  position:relative;
  display:flex;
  align-items:center;
  min-height:520px;
  background:#0b1622 center/cover no-repeat;
  color:#fff;
  overflow:hidden;
}
.blk-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(6,22,40,.42),rgba(6,22,40,.10) 55%,rgba(6,22,40,.52));
}
.blk-hero.h-sm{min-height:380px;}
.blk-hero.h-md{min-height:560px;}
.blk-hero.h-lg{min-height:900px;}
.blk-hero .hero-inner{
  position:relative;
  z-index:2;
  width:100%;
  max-width:1400px;
  margin:0 auto;
  padding:0 20px;
}
.blk-hero .hero-title{
  font-size:46px;
  font-weight:400;
  line-height:1.4;
  letter-spacing:3px;
  color:#fff;
  text-shadow:0 2px 14px rgba(0,0,0,.35);
  margin:0;
}
.blk-hero .hero-sub{
  margin-top:18px;
  font-size:20px;
  line-height:1.9;
  letter-spacing:1px;
  color:rgba(255,255,255,.9);
  max-width:760px;
}
.blk-hero .hero-actions{display:flex;flex-wrap:wrap;gap:16px;margin-top:34px;}
.blk-hero.align-center .hero-inner{text-align:center;}
.blk-hero.align-center .hero-sub{margin-inline:auto;}
.blk-hero.align-center .hero-actions{justify-content:center;}
.blk-hero .btn-outline{background:transparent;border-color:rgba(255,255,255,.6);color:#fff;}
.blk-hero .btn-outline:hover{background:rgba(255,255,255,.16);}

@media (max-width:768px){
  .blk-hero,.blk-hero.h-lg,.blk-hero.h-md{min-height:420px;}
  .blk-hero .hero-title{font-size:28px;}
  .blk-hero .hero-sub{font-size:15px;}
}

/* ------------------------------- 企业文化翻转卡 ------------------------------- */
.culture-grid.cols-1{grid-template-columns:1fr;}
.culture-grid.cols-3{grid-template-columns:repeat(3,1fr);}
.flip .flip-b-text{max-height:100%;overflow:auto;}
.flip .flip-sub{
  font-size:18px;
  color:rgba(255,255,255,.9);
  line-height:1.9;
  margin-top:8px;
  letter-spacing:1px;
}
@media (max-width:1200px){
  .culture-grid.cols-3{grid-template-columns:1fr;}
}

/* ------------------------------- 通栏宣传（党建 / 品牌主张） ------------------------------- */
.banner-sec{
  position:relative;
  background:#0b1622 center/cover no-repeat;
  padding:80px 0;
  overflow:hidden;
}
.banner-sec .wrap{position:relative;z-index:2;padding:0 10px;}
.banner-sec .banner-en{
  font-family:"Arial Black",Impact,"Microsoft YaHei",sans-serif;
  font-size:38px;
  line-height:1;
  color:#eeeeee;
  letter-spacing:0;
  user-select:none;
}
.banner-sec .banner-title{
  font-size:38px;
  font-weight:400;
  color:#000;
  line-height:1;
  margin:18px 0 0 10px;
  letter-spacing:2px;
}
.banner-sec .banner-text{
  width:641px;
  max-width:100%;
  margin:32px 0 0 39px;
  font-size:16px;
  line-height:2;
  color:#333;
  text-align:justify;
  text-indent:2em;
}
.banner-sec .banner-actions{margin:36px 0 0 39px;}
.banner-sec .btn{margin:0;}

/* 深色 / 居中变体 */
.banner-sec.tone-dark{color:#fff;}
.banner-sec.tone-dark::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(6,24,44,.10) 40%,rgba(6,24,44,.34));
}
.banner-sec.tone-dark .banner-title{
  color:#fff;
  margin-left:0;
  text-shadow:0 2px 12px rgba(0,0,0,.35);
  letter-spacing:4px;
}
.banner-sec.tone-dark .banner-text{color:rgba(255,255,255,.88);margin-left:0;}
.banner-sec.tone-dark .banner-actions{margin-left:0;}
.banner-sec.align-center{text-align:center;}
.banner-sec.align-center .banner-title{margin-left:0;}
.banner-sec.align-center .banner-text{margin-left:auto;margin-right:auto;text-indent:0;}
.banner-sec.align-center .banner-actions{margin-left:0;}

@media (max-width:768px){
  .banner-sec{padding:44px 0 50px;}
  .banner-sec .banner-en{font-size:20px;white-space:normal;}
  .banner-sec .banner-title{font-size:28px;margin-left:0;margin-top:10px;}
  .banner-sec .banner-text{font-size:14px;margin:18px 0 0;}
  .banner-sec .banner-actions{margin:24px 0 0;}
}

/* ------------------------------- 卡片轮播（业务板块） ------------------------------- */
.business{padding:63px 0 28px;background:#fff;}
.slider-cols-4 .biz-card{width:280px;flex:0 0 280px;}
.biz-slider{position:relative;margin-top:22px;padding:0 10px;}
.biz-more{text-align:center;margin-top:26px;}
.biz-more .btn{margin:0;}
@media (max-width:1200px){
  .slider-cols-4 .biz-card{flex:0 0 calc((100% - 90px)/3);width:calc((100% - 90px)/3);}
}

/* ------------------------------- 优势 / 服务 ------------------------------- */
.feature-grid{
  display:grid;
  gap:30px;
  grid-template-columns:repeat(3,1fr);
}
.feature-grid.cols-2{grid-template-columns:repeat(2,1fr);}
.feature-grid.cols-4{grid-template-columns:repeat(4,1fr);}
.feature-card{
  background:#fff;
  border:1px solid #ececec;
  padding:30px 28px;
  transition:box-shadow .3s ease, transform .3s ease;
}
.feature-card:hover{box-shadow:0 12px 30px rgba(0,96,174,.12);transform:translateY(-4px);}
.feature-icon{
  width:64px;height:64px;
  display:flex;align-items:center;justify-content:center;
  border-radius:50%;
  background:#f1f6fb;
  font-size:28px;
  line-height:1;
  margin-bottom:16px;
}
.feature-icon-img{width:32px;height:32px;object-fit:contain;margin-bottom:16px;}
.feature-title{
  font-size:20px;
  font-weight:bold;
  color:var(--txt);
  line-height:1.75;
  margin-bottom:8px;
}
.feature-desc{font-size:14px;color:var(--gray);line-height:1.9;margin:0;}
@media (max-width:1200px){
  .feature-grid,.feature-grid.cols-4{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:768px){
  .feature-grid,.feature-grid.cols-2,.feature-grid.cols-4{grid-template-columns:1fr;}
  .feature-card{padding:22px 20px;}
}

/* ------------------------------- 数据统计 ------------------------------- */
.stat-grid{display:flex;flex-wrap:wrap;gap:32px 35px;}
.stat-card{
  flex:1 1 200px;
  border:1px solid #ececec;
  background:#fff;
  padding:26px 24px 22px;
  text-align:center;
  transition:box-shadow .3s ease, transform .3s ease;
}
.stat-card:hover{box-shadow:0 12px 30px rgba(0,96,174,.12);transform:translateY(-4px);}
.stat-value{
  font-size:38px;
  font-weight:bold;
  color:var(--blue);
  line-height:1.3;
  letter-spacing:1px;
}
.stat-label{font-size:14px;color:var(--gray);line-height:1.8;margin-top:6px;}
.theme-dark .stat-card{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.12);}
.theme-dark .stat-value{color:#9fd0ff;}

/* ------------------------------- 产品 / 案例 ------------------------------- */
.prod-grid{display:flex;flex-wrap:wrap;gap:33px;}
.prod-card{
  flex:0 0 calc((100% - 66px)/3);
  width:calc((100% - 66px)/3);
  background:#fff;
  overflow:hidden;
  transition:box-shadow .3s ease, transform .3s ease;
}
.prod-grid.cols-2 .prod-card{flex:0 0 calc((100% - 33px)/2);width:calc((100% - 33px)/2);}
.prod-grid.cols-4 .prod-card{flex:0 0 calc((100% - 99px)/4);width:calc((100% - 99px)/4);}
.prod-card:hover{box-shadow:0 14px 34px rgba(0,96,174,.14);transform:translateY(-4px);}
.prod-pic{
  display:block;
  position:relative;
  width:100%;
  height:216px;
  overflow:hidden;
  background:#f1f3f6;
}
.prod-pic img{width:100%;height:100%;object-fit:cover;transition:transform .35s linear;}
.prod-card:hover .prod-pic img{transform:scale(1.1);}
.prod-pic.is-placeholder{
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#0060ae,#3f9be0);
  color:#fff;font-size:24px;letter-spacing:4px;
}
.prod-tag{
  position:absolute;left:0;top:14px;
  background:var(--blue);color:#fff;
  font-size:13px;font-style:normal;
  padding:4px 12px;
}
.prod-body{padding:18px 4px 6px;}
.prod-title{font-size:16px;font-weight:bold;color:#404040;line-height:28px;margin:0;}
.prod-desc{
  font-size:14px;color:#999;line-height:29px;margin:0;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
@media (max-width:1200px){
  .prod-grid.cols-4 .prod-card{flex:0 0 calc((100% - 66px)/3);width:calc((100% - 66px)/3);}
}
@media (max-width:768px){
  .prod-card,.prod-grid.cols-2 .prod-card,
  .prod-grid.cols-4 .prod-card{flex:0 0 100%;width:100%;}
  .prod-grid{gap:16px;}
}

/* ------------------------------- 图片墙 ------------------------------- */
.gal-grid{display:flex;flex-wrap:wrap;gap:26px;}
.gal-item{
  flex:0 0 calc((100% - 52px)/3);
  width:calc((100% - 52px)/3);
  margin:0;
  overflow:hidden;
}
.gal-grid.cols-2 .gal-item{flex:0 0 calc((100% - 26px)/2);width:calc((100% - 26px)/2);}
.gal-grid.cols-4 .gal-item{flex:0 0 calc((100% - 78px)/4);width:calc((100% - 78px)/4);}
.gal-pic{display:block;width:100%;height:222px;overflow:hidden;background:#f1f3f6;}
.gal-pic img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease;}
.gal-item:hover .gal-pic img{transform:scale(1.07);}
.gal-empty{
  height:222px;display:flex;align-items:center;justify-content:center;
  background:#f1f3f6;color:var(--gray-light);font-size:14px;
}
.gal-cap{
  display:block;text-align:center;font-size:15px;color:var(--txt);
  line-height:1.8;margin-top:10px;
}
@media (max-width:1200px){
  .gal-grid.cols-4 .gal-item{flex:0 0 calc((100% - 52px)/3);width:calc((100% - 52px)/3);}
}
@media (max-width:768px){
  .gal-item,.gal-grid.cols-2 .gal-item,.gal-grid.cols-4 .gal-item{flex:0 0 100%;width:100%;}
  .gal-grid{gap:14px;}
}

/* ------------------------------- 合作伙伴 ------------------------------- */
.partner-grid{display:flex;flex-wrap:wrap;gap:20px;}
.partner-item{
  flex:0 0 calc((100% - 80px)/5);
  width:calc((100% - 80px)/5);
  height:110px;
  display:flex;align-items:center;justify-content:center;
  padding:18px;
  background:#fff;
  border:1px solid #ececec;
  font-weight:bold;
  color:var(--gray);
  filter:grayscale(1);
  opacity:.8;
  transition:all .25s ease;
}
.partner-item:hover{filter:none;opacity:1;transform:translateY(-3px);box-shadow:0 12px 26px rgba(0,96,174,.1);}
.partner-item img{max-height:52px;width:auto;object-fit:contain;}
@media (max-width:1200px){
  .partner-item{flex:0 0 calc((100% - 60px)/4);width:calc((100% - 60px)/4);}
}
@media (max-width:768px){
  .partner-item{flex:0 0 calc((100% - 20px)/2);width:calc((100% - 20px)/2);height:90px;}
}

/* ------------------------------- 图文介绍 ------------------------------- */
.rich-grid{display:flex;align-items:flex-start;gap:37px;}
.rich-grid.no-image{display:block;max-width:1000px;}
.rich-grid.img-left .rich-media{order:-1;}
.rich-text{flex:1;min-width:0;}
.rich-media{flex:0 0 46%;width:46%;}
.rich-media img{width:100%;border-radius:2px;}
.rich-body{font-size:16px;color:var(--gray);line-height:2;text-align:justify;}
.rich-body p{margin-bottom:20px;}
.rich-body p:last-child{margin-bottom:0;}
.rich-body img{max-width:100%;height:auto;margin:1em 0;border-radius:2px;}
.theme-dark .rich-body{color:rgba(232,238,252,.82);}
@media (max-width:1200px){
  .rich-grid{flex-direction:column;}
  .rich-grid.img-left .rich-media{order:0;}
  .rich-media{flex:none;width:100%;}
}

/* ------------------------------- 行动号召 ------------------------------- */
.cta-sec{
  position:relative;
  background:var(--blue);
  color:#fff;
  padding:56px 0;
  overflow:hidden;
}
.cta-sec.has-image{background-size:cover;background-position:50% 50%;}
.cta-sec.has-image::before{content:"";position:absolute;inset:0;background:rgba(4,32,60,.62);}
.cta-sec .wrap{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap;padding:0 10px;}
.cta-title{font-size:32px;font-weight:400;letter-spacing:2px;line-height:1.5;margin:0;}
.cta-desc{font-size:16px;color:rgba(255,255,255,.86);line-height:1.9;margin:10px 0 0;max-width:680px;}
.cta-sec .btn{background:#fff;color:var(--blue);border-color:#fff;margin:0;}
.cta-sec .btn:hover{background:#eaf3fb;box-shadow:0 8px 20px rgba(0,0,0,.18);}
.cta-sec.align-center .wrap{justify-content:center;text-align:center;}
.cta-sec.align-center .cta-desc{margin-inline:auto;}
@media (max-width:768px){
  .cta-sec{padding:36px 0;}
  .cta-title{font-size:24px;}
}

/* ------------------------------- 联系我们 ------------------------------- */
.contact-grid{display:flex;gap:60px;align-items:flex-start;}
.contact-grid.no-form{display:block;}
.contact-info{flex:1;min-width:0;}
.contact-list{margin:0;padding:0;}
.contact-list li{display:flex;gap:14px;align-items:flex-start;padding:16px 0;border-bottom:1px dashed #dfe3e8;}
.contact-list li:last-child{border-bottom:0;}
.ci-icon{
  flex:0 0 40px;width:40px;height:40px;
  display:flex;align-items:center;justify-content:center;
  border-radius:50%;background:#f1f6fb;font-size:18px;
}
.contact-list b{display:block;font-size:14px;color:var(--gray-light);font-weight:normal;margin-bottom:2px;}
.contact-list p{margin:0;font-size:16px;color:var(--txt);line-height:1.8;}
.contact-list a:hover{color:var(--blue);}
.contact-form{
  flex:0 0 520px;width:520px;
  background:#fff;
  border:1px solid #ececec;
  padding:32px;
  display:flex;flex-direction:column;gap:16px;
}
.contact-form label{display:flex;flex-direction:column;gap:7px;font-size:14px;color:var(--gray);}
.field-row{display:flex;gap:16px;}
.field-row label{flex:1;min-width:0;}
.contact-form input,.contact-form textarea{
  width:100%;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:2px;
  font-family:inherit;font-size:14px;color:var(--txt);
  background:#fcfdff;
  resize:vertical;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus,.contact-form textarea:focus{
  outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(0,96,174,.1);background:#fff;
}
.contact-form .req{color:#e5484d;}
.contact-form .hp{position:absolute;left:-9999px;opacity:0;height:0;padding:0;border:0;}
.form-tip{margin:0;font-size:13px;min-height:1.3em;}
.form-tip.is-ok{color:#16a34a;}
.form-tip.is-err{color:#dc2626;}
@media (max-width:1200px){
  .contact-grid{flex-direction:column;gap:32px;}
  .contact-form{flex:none;width:100%;}
}
@media (max-width:768px){
  .field-row{flex-direction:column;gap:16px;}
  .contact-form{padding:22px 18px;}
}

/* ------------------------------- 文章区块 ------------------------------- */
.news{min-height:0;padding:66px 0 30px;background:#fff;}
.news.has-bg{
  background-image:url(/img/news-bg.png);
  background-size:cover;
  background-position:50% 50%;
}
.news.theme-muted{background:#f5f7fa;}
.news.theme-dark{background:#0b1622;}
.news .news-more{padding-bottom:40px;}

.art-grid{display:flex;flex-wrap:wrap;gap:33px;}
.art-card{
  flex:0 0 calc((100% - 66px)/3);
  width:calc((100% - 66px)/3);
  overflow:hidden;
  position:relative;
}
.art-grid.cols-4 .art-card{flex:0 0 calc((100% - 99px)/4);width:calc((100% - 99px)/4);}
.art-grid.cols-2 .art-card{flex:0 0 calc((100% - 33px)/2);width:calc((100% - 33px)/2);}
.art-pic{display:block;width:100%;height:216px;overflow:hidden;background:#f1f3f6;position:relative;}
.art-pic img{width:100%;height:100%;object-fit:cover;transition:transform .35s linear;}
.art-card:hover .art-pic img{transform:scale(1.1);}
.art-pic-fallback{
  width:100%;height:100%;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#0060ae,#3f9be0);
  color:#fff;font-size:22px;letter-spacing:4px;
}
.source-badge{
  position:absolute;left:0;top:14px;
  background:var(--blue);color:#fff;
  font-size:12px;font-style:normal;
  padding:3px 10px;
}
.art-tit{
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  font-size:16px;font-weight:bold;color:#404040;line-height:28px;
  padding-top:5px;margin:0;
  transition:color .2s linear;
}
.art-card:hover .art-tit{color:var(--blue);}
.art-info{
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  font-size:14px;color:#999;line-height:29px;font-family:Tahoma,var(--font-cn);margin:0;
}
.art-date{font-size:14px;color:var(--blue);line-height:26px;margin:0;}

/* 列表式文章 */
.art-list{margin:0;padding:0;}
.art-row{
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  padding:22px 0;border-bottom:1px dashed #d5d9de;
}
.art-row:last-child{border-bottom:0;}
.art-row-main{flex:1;min-width:0;}
.art-row .art-tit{padding-top:0;}
.art-row .art-info{-webkit-line-clamp:1;line-height:1.9;}
.art-row .art-date{flex:0 0 auto;color:var(--gray-light);}
.art-row:hover .art-tit{color:var(--blue);}

@media (max-width:1200px){
  .art-grid.cols-4 .art-card{flex:0 0 calc((100% - 66px)/3);width:calc((100% - 66px)/3);}
}
@media (max-width:768px){
  .art-card,.art-grid.cols-2 .art-card,.art-grid.cols-4 .art-card{flex:0 0 100%;width:100%;}
  .art-grid{gap:16px;}
  .art-row{flex-direction:column;align-items:flex-start;gap:6px;}
}

/* 空状态 */
.empty-state{
  text-align:center;
  padding:56px 20px;
  border:1px dashed var(--line);
  color:var(--gray-light);
  background:#fff;
  font-size:15px;
}
.empty-state .btn{margin-top:18px;}

/* ------------------------------- 文章详情 ------------------------------- */
.detail-sec{background:#fff;padding:0 0 96px;}
.detail-card{
  background:#fff;
  border:1px solid #ececec;
  padding:44px 48px 40px;
  overflow:hidden;
}
.detail-head{border-bottom:1px solid #ececec;padding-bottom:22px;margin-bottom:26px;}
.detail-head h1{
  font-size:30px;
  font-weight:bold;
  color:#222;
  line-height:1.5;
  letter-spacing:1px;
  margin:0;
}
.detail-meta{
  display:flex;flex-wrap:wrap;gap:8px 26px;
  margin-top:16px;font-size:14px;color:var(--gray-light);
}
.detail-meta .src{color:var(--blue);}
.detail-desc{
  font-size:15px;color:var(--gray);
  line-height:2;background:#f7f9fb;
  border-left:3px solid var(--blue);
  padding:14px 18px;margin-bottom:26px;
}
.detail-body{font-size:16px;color:#444;line-height:2;}
.detail-body > *:first-child{margin-top:0;}
.detail-body p{margin:0 0 1.1em;}
.detail-body img{max-width:100% !important;height:auto !important;margin:1.2em auto;border-radius:2px;}
.detail-body h1,.detail-body h2,.detail-body h3{margin:1.4em 0 .6em;color:#222;font-size:20px;}
.detail-body blockquote{
  margin:1.2em 0;padding:12px 18px;
  border-left:3px solid var(--blue);background:#f7f9fb;color:var(--gray);
}
.detail-body table{width:100%;border-collapse:collapse;margin:1.2em 0;font-size:15px;}
.detail-body th,.detail-body td{border:1px solid var(--line);padding:10px 12px;}
.detail-body a{color:var(--blue);text-decoration:underline;}
.detail-body section{max-width:100% !important;}
.detail-foot{
  display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;
  margin-top:36px;padding-top:22px;border-top:1px solid #ececec;
  font-size:15px;
}
.detail-foot a{color:var(--blue);}
.detail-foot a:hover{text-decoration:underline;}
@media (max-width:768px){
  .detail-sec{padding-bottom:50px;}
  .detail-card{padding:24px 18px;}
  .detail-head h1{font-size:22px;}
}

/* ------------------------------- 分页 ------------------------------- */
.pagination{display:flex;justify-content:center;gap:8px;margin-top:46px;flex-wrap:wrap;}
.page-btn{
  min-width:38px;height:38px;padding:0 14px;
  display:inline-flex;align-items:center;justify-content:center;
  border:1px solid var(--line);border-radius:2px;
  font-size:14px;color:var(--gray);background:#fff;
  transition:all .25s ease;
}
.page-btn:hover{border-color:var(--blue);color:var(--blue);}
.page-btn.is-active{background:var(--blue);border-color:var(--blue);color:#fff;font-weight:bold;}

/* ------------------------------- 回到顶部 ------------------------------- */
.to-top{
  position:fixed;right:24px;bottom:24px;
  width:44px;height:44px;
  border:0;border-radius:50%;
  background:rgba(0,96,174,.85);color:#fff;
  font-size:18px;cursor:pointer;
  opacity:0;pointer-events:none;
  transform:translateY(10px);
  transition:all .25s ease;
  box-shadow:0 8px 22px rgba(0,0,0,.18);
  z-index:900;
}
.to-top.is-visible{opacity:1;pointer-events:auto;transform:none;}
.to-top:hover{background:var(--blue-dark);}

/* ------------------------------- 滚动入场 ------------------------------- */
.reveal{opacity:0;transform:translateY(30px);transition:opacity .8s cubic-bezier(.22,.61,.36,1),transform .8s cubic-bezier(.22,.61,.36,1);}
.reveal.in{opacity:1;transform:none;}
@media (prefers-reduced-motion:reduce){
  .reveal{opacity:1;transform:none;transition:none;}
  html{scroll-behavior:auto;}
}

/* ------------------------------- 404 ------------------------------- */
.notfound{
  min-height:60vh;
  display:flex;align-items:center;justify-content:center;
  background:url(/img/page-banner.jpg) center/cover no-repeat;
  position:relative;color:#fff;text-align:center;
}
.notfound::before{content:"";position:absolute;inset:0;background:rgba(8,24,42,.66);}
.notfound .wrap{position:relative;z-index:2;padding:80px 20px;}
.notfound h1{font-size:96px;font-weight:bold;letter-spacing:4px;margin:0;}
.notfound p{font-size:17px;color:rgba(255,255,255,.88);margin:16px 0 28px;}
.notfound code{background:rgba(255,255,255,.14);padding:2px 8px;border-radius:4px;}

/* ------------------------------- 预览模式提示条 ------------------------------- */
.preview-flag{
  position:fixed;
  left:50%;bottom:18px;
  transform:translateX(-50%);
  z-index:2000;
  display:flex;align-items:center;gap:12px;
  padding:9px 18px;border-radius:999px;
  background:rgba(20,32,46,.94);color:#fff;
  font-size:13px;
  box-shadow:0 12px 34px rgba(2,8,23,.35);
  white-space:nowrap;
}
.preview-flag a{color:#93c5fd;font-weight:600;}
.preview-flag button{
  border:1px solid rgba(255,255,255,.32);
  background:transparent;color:#fff;
  border-radius:999px;padding:2px 12px;
  cursor:pointer;font-family:inherit;font-size:12px;
}
.preview-flag button:hover{background:rgba(255,255,255,.14);}
