/* ============ prod-armorgroup 站点二次改造样式（叠加层，不修改 base/entry） ============ */
:root{--theme-ink:#1e2540;--theme-ink-2:#2a3358;--theme-accent:#d72554;--theme-accent-d:#b81d49;--theme-surface:#f5f6fa;--theme-line:#e7e8ef;--theme-muted:#5a6072;--theme-radius:10px;--t2-font:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans CJK SC",sans-serif}

html{-webkit-text-size-adjust:100%}
body{font-family:var(--t2-font);color:var(--theme-ink);line-height:1.7}
h1,h2,h3,h4,h5,h6{font-family:var(--t2-font);line-height:1.35}
a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid var(--theme-accent);outline-offset:2px}
img{max-width:100%}

/* ---------- 版心 ---------- */
.container{width:100%;max-width:1180px;margin-inline:auto;padding-inline:20px}

/* ---------- 页头与导航 ---------- */
.site-header{background:#fff;border-bottom:1px solid var(--theme-line);box-shadow:0 2px 14px rgba(30,37,64,.05)}
.site-header__inner{align-items:center;display:flex;gap:1.6rem;justify-content:space-between;min-height:74px}
.site-brand{color:var(--theme-ink);font-size:1.2rem;font-weight:700;text-decoration:none;display:flex;align-items:center;flex-shrink:1;min-width:0}
.site-brand img{display:block;max-height:44px;max-width:210px;width:auto;height:auto}
.site-brand span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.site-nav{display:flex;flex-wrap:wrap;gap:.35rem;list-style:none;margin:0;padding:0;align-items:center}
.site-nav__item{position:relative}
.site-nav__link{color:var(--theme-ink);text-decoration:none;font-weight:500;font-size:.98rem;display:inline-flex;align-items:center;gap:.28rem;padding:.55rem .72rem;border-radius:6px}
.site-nav__link:hover{color:var(--theme-accent);background:rgba(215,37,84,.06)}
.site-nav__item.is-current>.site-nav__link{color:var(--theme-accent);font-weight:700}
.site-nav__caret{width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid currentColor;transition:transform .18s ease}
.site-subnav{display:none;position:absolute;top:calc(100% + 4px);left:0;min-width:168px;background:#fff;border:1px solid var(--theme-line);border-radius:8px;box-shadow:0 14px 34px rgba(30,37,64,.14);list-style:none;margin:0;padding:.45rem 0;z-index:60}
.site-subnav a{display:block;padding:.5rem 1rem;color:var(--theme-ink);text-decoration:none;font-size:.93rem;white-space:nowrap}
.site-subnav a:hover,.site-subnav a:focus-visible{color:var(--theme-accent);background:rgba(215,37,84,.05)}
@media(hover:hover) and (min-width:1024px){
  .site-nav__item:hover>.site-subnav,.site-nav__item:focus-within>.site-subnav{display:block}
  .site-nav__item:hover>.site-nav__link .site-nav__caret,.site-nav__item:focus-within>.site-nav__link .site-nav__caret{transform:rotate(180deg)}
}
.site-nav-toggle{display:none;background:none;border:1px solid var(--theme-line);border-radius:8px;padding:.55rem .6rem;cursor:pointer;flex-direction:column;gap:4px}
.site-nav-toggle__bar{display:block;width:20px;height:2px;background:var(--theme-ink);border-radius:2px}
@media(max-width:1023px){
  .site-nav-toggle{display:flex}
  .site-header__inner{flex-wrap:wrap;padding-block:.8rem}
  #mainNav{display:none;width:100%}
  #mainNav.is-open{display:block}
  #mainNav.is-open .site-nav{flex-direction:column;align-items:stretch;gap:.15rem;padding-bottom:.6rem}
  .site-nav__link{padding:.6rem .4rem;justify-content:space-between}
  .site-subnav{display:block;position:static;box-shadow:none;border:none;border-left:2px solid var(--theme-line);border-radius:0;margin:.1rem 0 .1rem .9rem;min-width:0;padding:.1rem 0}
}

/* ---------- 按钮 ---------- */
.t2-btn{display:inline-block;background:var(--theme-accent);color:#fff;text-decoration:none;padding:.72rem 1.7rem;border-radius:8px;font-weight:600;font-size:.98rem;border:1px solid var(--theme-accent);transition:background .15s ease,color .15s ease;cursor:pointer}
.t2-btn:hover{background:var(--theme-accent-d);border-color:var(--theme-accent-d);color:#fff}
.t2-btn--ghost{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.65);color:#fff}
.t2-btn--ghost:hover{background:rgba(255,255,255,.18);border-color:#fff;color:#fff}

/* ---------- 首页 Hero ---------- */
.t2-hero{position:relative;overflow:hidden;background:var(--theme-ink);display:flex;align-items:center;min-height:560px}
.t2-hero__bg{position:absolute;inset:0;background-size:cover;background-position:center right}
.t2-hero__bg::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,19,38,.88) 0%,rgba(15,19,38,.72) 42%,rgba(15,19,38,.28) 75%,rgba(15,19,38,.15) 100%)}
.t2-hero__inner{position:relative;z-index:2;padding-block:5.5rem;color:#fff;max-width:760px}
.t2-hero__kicker{display:inline-block;margin:0 0 1.1rem;font-size:.92rem;letter-spacing:.08em;color:rgba(255,255,255,.92);border-left:3px solid var(--theme-accent);padding-left:.7rem}
.t2-hero__title{color:#fff;font-size:clamp(1.9rem,4.2vw,3.2rem);margin:0 0 1rem;font-weight:800}
.t2-hero__sub{color:rgba(255,255,255,.88);font-size:1.05rem;margin:0 0 2rem;max-width:40rem}
.t2-hero__actions{display:flex;flex-wrap:wrap;gap:.9rem}
@media(max-width:768px){
  .t2-hero{min-height:480px}
  .t2-hero__bg{background-position:64% center}
  .t2-hero__inner{padding-block:3.6rem}
}

/* ---------- 通用分区 ---------- */
.t2-sec{padding:4rem 0}
.t2-sec--soft{background:var(--theme-surface)}
.t2-sec__head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin-bottom:1.8rem;flex-wrap:wrap}
.t2-sec__head h2{margin:0;font-size:1.55rem}
.t2-sec__note{color:var(--theme-muted);margin:0;font-size:.95rem}
.t2-sec__more{color:var(--theme-accent);text-decoration:none;font-weight:600;font-size:.93rem;white-space:nowrap}
.t2-sec__more:hover{color:var(--theme-accent-d)}

/* ---------- 网格与卡片 ---------- */
.t2-grid{display:grid;gap:1.4rem}
.t2-grid--4{grid-template-columns:repeat(4,1fr)}
.t2-grid--3{grid-template-columns:repeat(3,1fr)}
.t2-grid--2{grid-template-columns:repeat(2,1fr)}
@media(max-width:1023px){.t2-grid--4{grid-template-columns:repeat(2,1fr)}.t2-grid--3{grid-template-columns:repeat(2,1fr)}}
@media(max-width:639px){.t2-grid--4,.t2-grid--3,.t2-grid--2{grid-template-columns:1fr}}

.t2-typecard{background:#fff;border:1px solid var(--theme-line);border-radius:var(--theme-radius);padding:1.5rem 1.3rem;text-decoration:none;color:var(--theme-ink);display:flex;flex-direction:column;gap:.7rem;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.t2-typecard:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(30,37,64,.12);border-color:transparent;color:var(--theme-ink)}
.t2-typecard__ico{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:12px;background:rgba(215,37,84,.08);color:var(--theme-accent)}
.t2-typecard h3{margin:0;font-size:1.06rem}
.t2-typecard__more{color:var(--theme-accent);font-size:.88rem;margin-top:auto}

.t2-pcard{background:#fff;border:1px solid var(--theme-line);border-radius:var(--theme-radius);overflow:hidden;transition:transform .18s ease,box-shadow .18s ease}
.t2-pcard:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(30,37,64,.12)}
.t2-pcard a{display:flex;flex-direction:column;height:100%;color:var(--theme-ink);text-decoration:none}
.t2-pcard__img{aspect-ratio:4/3;background:var(--theme-surface)}
.t2-pcard__img img{width:100%;height:100%;object-fit:cover;display:block}
.t2-pcard__noimg{width:100%;height:100%;min-height:120px;display:flex;align-items:center;justify-content:center;color:#9aa0b5;font-size:.88rem;background:repeating-linear-gradient(45deg,#eef0f6,#eef0f6 10px,#e8eaf2 10px,#e8eaf2 20px)}
.t2-pcard__noimg--lg{aspect-ratio:4/3;border-radius:var(--theme-radius)}
.t2-pcard h2,.t2-pcard h3{margin:1rem 1.1rem .4rem;font-size:1.02rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.t2-pcard p{margin:0 1.1rem 1.2rem;color:var(--theme-muted);font-size:.9rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

.t2-card{background:#fff;border:1px solid var(--theme-line);border-radius:var(--theme-radius);padding:1.5rem 1.4rem;transition:transform .18s ease,box-shadow .18s ease}
.t2-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(30,37,64,.12)}
.t2-card a{display:flex;flex-direction:column;height:100%;color:var(--theme-ink);text-decoration:none}
.t2-card h2,.t2-card h3{margin:0 0 .7rem;font-size:1.08rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.t2-card p{margin:0 0 1rem;color:var(--theme-muted);font-size:.92rem;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;flex:1}
.t2-card__more{color:var(--theme-accent);font-size:.88rem}

/* ---------- 内页横幅 ---------- */
.t2-banner{position:relative;overflow:hidden;background:var(--theme-ink)}
.t2-banner__bg{position:absolute;inset:0;background-size:cover;background-position:center}
.t2-banner__bg::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,19,38,.86) 0%,rgba(15,19,38,.62) 55%,rgba(15,19,38,.4) 100%)}
.t2-banner .container{position:relative;z-index:2;padding-block:3.2rem}
.t2-crumb{font-size:.86rem;color:rgba(255,255,255,.78);margin-bottom:.9rem}
.t2-crumb a{color:rgba(255,255,255,.85);text-decoration:none}
.t2-crumb a:hover{color:#fff}
.t2-banner h1{color:#fff;margin:0;font-size:clamp(1.5rem,3vw,2.2rem);max-width:46rem}
.t2-banner__desc{color:rgba(255,255,255,.85);margin:.8rem 0 0;max-width:46rem;font-size:.95rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media(max-width:768px){.t2-banner .container{padding-block:2.4rem}}

/* ---------- 子栏目切换 ---------- */
.t2-subnav{display:flex;flex-wrap:wrap;gap:.6rem;margin-bottom:2rem}
.t2-subnav:empty{display:none}
.t2-subnav__item{display:inline-block;padding:.5rem 1.1rem;border:1px solid var(--theme-line);border-radius:999px;text-decoration:none;color:var(--theme-ink);font-size:.92rem;background:#fff;transition:all .15s ease}
.t2-subnav__item:hover{border-color:var(--theme-accent);color:var(--theme-accent)}
.t2-subnav__item.is-current{background:var(--theme-accent);border-color:var(--theme-accent);color:#fff;font-weight:600}

/* ---------- 搜索表单 ---------- */
.t2-search{display:flex;gap:.7rem;margin-bottom:2rem;max-width:560px}
.t2-search input{flex:1;min-width:0;padding:.68rem 1rem;border:1px solid var(--theme-line);border-radius:8px;font-size:.96rem;font-family:inherit;background:#fff}
.t2-search input:focus{border-color:var(--theme-accent);outline:none;box-shadow:0 0 0 3px rgba(215,37,84,.12)}

/* ---------- 文字列表行 ---------- */
.t2-list{display:flex;flex-direction:column}
.t2-row{border-bottom:1px solid var(--theme-line)}
.t2-row:first-child{border-top:1px solid var(--theme-line)}
.t2-row a{display:block;padding:1.25rem .4rem;text-decoration:none;color:var(--theme-ink);transition:background .15s ease}
.t2-row a:hover{background:rgba(215,37,84,.035)}
.t2-row h2{margin:0 0 .45rem;font-size:1.08rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.t2-row p{margin:0 0 .5rem;color:var(--theme-muted);font-size:.92rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.t2-row__more{color:var(--theme-accent);font-size:.86rem}

/* ---------- 相关推荐 ---------- */
.t2-related{margin-top:3rem;border:1px solid var(--theme-line);border-radius:var(--theme-radius);padding:1.5rem 1.5rem 1.2rem;background:#fff}
.t2-related__head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin-bottom:.9rem}
.t2-related__head h2{margin:0;font-size:1.15rem}
.t2-related__more{color:var(--theme-accent);text-decoration:none;font-size:.9rem;font-weight:600;white-space:nowrap}
.t2-related__more:hover{color:var(--theme-accent-d)}
.t2-lines{list-style:none;margin:0;padding:0}
.t2-lines li{border-bottom:1px dashed var(--theme-line)}
.t2-lines li:last-child{border-bottom:none}
.t2-lines a{display:block;padding:.6rem .1rem;color:var(--theme-ink);text-decoration:none;font-size:.95rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.t2-lines a::before{content:"›";color:var(--theme-accent);margin-right:.5rem;font-weight:700}
.t2-lines a:hover{color:var(--theme-accent)}

/* ---------- 空状态 ---------- */
.t2-empty{border:1px dashed #c9cede;border-radius:var(--theme-radius);padding:2.4rem 1.4rem;text-align:center;color:var(--theme-muted);margin:1rem 0}
.t2-empty p{margin:.2rem 0}
.t2-empty--auto{display:none}
.t2-list:not(:has(article))+.t2-empty--auto{display:block}

/* ---------- 详情页 ---------- */
.t2-narrow{max-width:880px}
.t2-detail{display:grid;grid-template-columns:400px 1fr;gap:2.2rem;align-items:start}
.t2-detail__media img{width:100%;border-radius:var(--theme-radius);border:1px solid var(--theme-line);display:block}
.t2-prevnext{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;border-top:1px solid var(--theme-line);margin-top:2.2rem;padding-top:1.1rem}
.t2-prevnext a{color:var(--theme-accent);text-decoration:none;font-size:.92rem;max-width:48%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.t2-prevnext a:hover{color:var(--theme-accent-d)}
.t2-back{margin-top:.8rem}
.t2-back a{color:var(--theme-muted);text-decoration:none;font-size:.9rem}
.t2-back a:hover{color:var(--theme-accent)}
.t2-article__ico{display:block;width:100%;border-radius:var(--theme-radius);margin-bottom:1.4rem}
@media(max-width:900px){.t2-detail{grid-template-columns:1fr}}

/* ---------- 关于页 ---------- */
.t2-about{display:grid;grid-template-columns:1fr 1.25fr;gap:2.4rem;align-items:start}
.t2-about__figure{margin:0}
.t2-about__figure img{width:100%;border-radius:var(--theme-radius);border:1px solid var(--theme-line);display:block}
@media(max-width:900px){.t2-about{grid-template-columns:1fr}}

/* ---------- 联系页 ---------- */
.t2-contact{display:grid;grid-template-columns:1.5fr 1fr;gap:2.4rem;align-items:start}
.t2-contact__list{list-style:none;margin:2rem 0 0;padding:0;border-top:1px solid var(--theme-line)}
.t2-contact__list li{display:flex;gap:1.2rem;padding:.95rem .2rem;border-bottom:1px solid var(--theme-line);flex-wrap:wrap}
.t2-contact__label{min-width:64px;color:var(--theme-muted);font-size:.92rem}
.t2-contact__list a{color:var(--theme-accent);text-decoration:none}
.t2-contact__list a:hover{color:var(--theme-accent-d)}
.t2-contact__side{display:flex;flex-direction:column;gap:1.4rem}
.t2-contact__photo{width:100%;border-radius:var(--theme-radius);border:1px solid var(--theme-line);display:block;object-fit:cover}
.t2-contact__qr{margin:0;text-align:center;background:#fff;border:1px solid var(--theme-line);border-radius:var(--theme-radius);padding:1.2rem}
.t2-contact__qr img{width:160px;height:160px;display:block;margin:0 auto}
.t2-contact__qr figcaption{color:var(--theme-muted);font-size:.9rem;margin-top:.6rem}
@media(max-width:900px){.t2-contact{grid-template-columns:1fr}}

/* ---------- CTA 横条 ---------- */
.t2-cta{position:relative;overflow:hidden;background:var(--theme-ink)}
.t2-cta__bg{position:absolute;inset:0;background-size:cover;background-position:center}
.t2-cta__bg::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,19,38,.9) 0%,rgba(15,19,38,.74) 48%,rgba(15,19,38,.42) 100%)}
.t2-cta__inner{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:1.6rem;padding-block:3.4rem;flex-wrap:wrap}
.t2-cta__text h2{color:#fff;margin:0 0 .5rem;font-size:1.5rem}
.t2-cta__text p{color:rgba(255,255,255,.85);margin:0;max-width:34rem}
.t2-cta__actions{display:flex;gap:.9rem;flex-wrap:wrap}

/* ---------- 正文排版 ---------- */
.theme-main{padding:3.2rem 0}
.theme-prose{line-height:1.9;max-width:900px}
.theme-prose h2,.theme-prose h3{margin:1.6em 0 .6em}
.theme-prose p{margin:0 0 1em}
.theme-prose img{height:auto;max-width:100%;border-radius:6px}
.theme-prose a{color:var(--theme-accent)}
.theme-prose ul,.theme-prose ol{padding-left:1.4em}

/* ---------- 分页 ---------- */
.theme-pager{margin-top:2.4rem}
.theme-pager:empty{display:none}
.theme-pager a,.theme-pager span{display:inline-block;padding:.4rem .85rem;margin:.15rem;border:1px solid var(--theme-line);border-radius:6px;text-decoration:none;color:var(--theme-ink);font-size:.9rem;background:#fff}
.theme-pager span{background:var(--theme-ink);color:#fff;border-color:var(--theme-ink)}
.theme-pager a:hover{border-color:var(--theme-accent);color:var(--theme-accent)}

/* ---------- 页脚 ---------- */
.site-footer{background:var(--theme-ink);color:#fff;padding:3.2rem 0 1.6rem}
.site-footer a{color:rgba(255,255,255,.88);text-decoration:none}
.site-footer a:hover{color:#fff}
.site-footer__cols{display:grid;grid-template-columns:1.2fr 1fr 1.1fr;gap:2.4rem;margin-bottom:2rem}
.site-footer__logo{display:block;max-height:40px;max-width:180px;width:auto;height:auto;background:#fff;border-radius:6px;padding:4px 8px}
.site-footer__sub{margin:.9rem 0 0;color:rgba(255,255,255,.85)}
.site-footer__company{margin:.3rem 0 0;color:rgba(255,255,255,.68);font-size:.92rem}
.site-footer__nav{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:.45rem 1rem}
.site-footer__nav a{font-size:.94rem}
.site-footer__contact{display:flex;flex-direction:column;gap:.4rem;font-size:.93rem;align-items:flex-start}
.site-footer__contact p{margin:0;color:rgba(255,255,255,.88)}
.site-footer__qr{height:96px;width:96px;border-radius:8px;background:#fff;padding:4px;margin-top:.7rem}
.site-footer__copyright{border-top:1px solid rgba(255,255,255,.16);padding-top:1.2rem;margin:0;color:rgba(255,255,255,.62);font-size:.86rem}
@media(max-width:900px){.site-footer__cols{grid-template-columns:1fr;gap:1.8rem}}

/* ---------- 动效克制 ---------- */
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* ---------- 兼容保留（service/tag 等旧模板仍在使用的类） ---------- */
.theme-grid{display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
.theme-card{background:#fff;box-shadow:0 10px 28px rgba(30,37,64,.08);padding:1.35rem}
.theme-card a{color:var(--theme-ink);text-decoration:none}
.theme-card h2,.theme-card h3{margin:1rem 0 .6rem}
.theme-empty{color:var(--theme-muted);padding:1rem 0}
