/* ACTICEE-TPL-LIB-001：模板库列表（article-list--moban，页头沿用 caselist.css）与模板详情（article-detail--moban）。
   全局 a{display:block}（style.css）在这里按需改回行内/弹性；尺寸用 rem（随屏宽缩放，与其它页同一套换算）。 */
.tpl-lib a,
.tpl-show a,
.tpl-types a,
.tpl-cta a {
  text-decoration: none;
  color: inherit;
}

/* ---------- 列表：类型标签与行业筛选（放在 caselist 页头 .servicezhanshi 内） ---------- */
.zhengtizhuans .wfull .undrelative .landing .quanjuzhuans .servicezhanshi .tpl-types {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.zhengtizhuans .wfull .undrelative .landing .quanjuzhuans .servicezhanshi .tpl-types .tpl-type {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  color: #111;
  background: #fff;
  border: solid #555;
  white-space: nowrap;
  font-family: "Manrope", "Noto Sans SC", Arial, sans-serif;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.zhengtizhuans .wfull .undrelative .landing .quanjuzhuans .servicezhanshi .tpl-types .tpl-type:hover {
  border-color: #ff7605;
  color: #ff7605;
}
.zhengtizhuans .wfull .undrelative .landing .quanjuzhuans .servicezhanshi .tpl-types .tpl-type.is-active {
  background: #111;
  border-color: #111;
  color: #fff;
}
.zhengtizhuans .wfull .undrelative .landing .quanjuzhuans .servicezhanshi .tpl-industries {
  display: flex;
  align-items: flex-start;
}
.zhengtizhuans .wfull .undrelative .landing .quanjuzhuans .servicezhanshi .tpl-industries .tpl-industries-label {
  flex: none;
  color: #888;
}
.zhengtizhuans .wfull .undrelative .landing .quanjuzhuans .servicezhanshi .tpl-industries .tpl-industries-list {
  display: flex;
  flex-wrap: wrap;
}
.zhengtizhuans .wfull .undrelative .landing .quanjuzhuans .servicezhanshi .tpl-industries .tpl-chip {
  border: 0;
  background: #f3f3f3;
  color: #444;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.zhengtizhuans .wfull .undrelative .landing .quanjuzhuans .servicezhanshi .tpl-industries .tpl-chip:hover {
  color: #ff7605;
}
.zhengtizhuans .wfull .undrelative .landing .quanjuzhuans .servicezhanshi .tpl-industries .tpl-chip.is-active {
  background: #ff7605;
  color: #fff;
}

/* ---------- 卡片网格（列表与详情页「更多模板」共用） ---------- */
.tpl-grid {
  display: grid;
}
.tpl-card.is-hidden {
  display: none;
}
.tpl-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.tpl-card .tpl-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #f2f2f2;
}
.tpl-card .tpl-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}
.tpl-card > a:hover .tpl-thumb img {
  transform: scale(1.04);
}
.tpl-card .tpl-no {
  position: absolute;
  left: 0;
  top: 0;
  background: rgba(17, 17, 17, 0.82);
  color: #fff;
  font-family: "Manrope", Arial, sans-serif;
  letter-spacing: 0.02em;
}
.tpl-card .tpl-info h3 {
  margin: 0;
  color: #111;
  font-weight: 500;
  line-height: 1.4;
  transition: color 0.2s ease;
}
.tpl-card > a:hover .tpl-info h3 {
  color: #ff7605;
}
.tpl-card .tpl-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.tpl-card .tpl-tag {
  color: #666;
  background: #f3f3f3;
}
.tpl-card .tpl-price {
  margin-left: auto;
  color: #ff7605;
  font-weight: 500;
}
.tpl-empty {
  color: #888;
}

/* ---------- 列表底部：没有合适的模板 ---------- */
.tpl-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #111;
  color: #fff;
}
.tpl-cta h2 {
  margin: 0;
  font-weight: 500;
}
.tpl-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}
.tpl-cta .tpl-cta-btn {
  display: inline-flex;
  align-items: center;
  flex: none;
  background: #ff7605;
  color: #fff;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}
.tpl-cta .tpl-cta-btn:hover {
  background: #e86600;
}

/* ---------- 详情 ---------- */
.tpl-show {
  background: #fff;
  color: #111;
}
.tpl-show .tpl-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  color: #888;
}
.tpl-show .tpl-crumbs a {
  display: inline;
  color: #888;
}
.tpl-show .tpl-crumbs a:hover {
  color: #ff7605;
}
.tpl-show .tpl-crumbs span {
  color: #111;
}
.tpl-show .tpl-show-main {
  display: grid;
  align-items: start;
}
.tpl-show .tpl-browser {
  border: 1px solid #e5e5e5;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}
.tpl-show .tpl-browser-bar {
  display: flex;
  align-items: center;
  background: #f4f4f4;
  border-bottom: 1px solid #e8e8e8;
}
.tpl-show .tpl-browser-bar i {
  display: block;
  border-radius: 50%;
  background: #d9d9d9;
}
.tpl-show .tpl-browser-view {
  position: relative;
  overflow: hidden;
  background: #f2f2f2;
}
.tpl-show .tpl-browser-view img {
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(0);
  will-change: transform;
}
.tpl-show .tpl-scroll-hint {
  color: #999;
  text-align: center;
}
.tpl-show .tpl-side {
  position: sticky;
}
.tpl-show .tpl-side-no {
  margin: 0;
  color: #ff7605;
  font-family: "Manrope", "Noto Sans SC", Arial, sans-serif;
}
.tpl-show .tpl-side h1 {
  margin: 0;
  font-weight: 500;
  line-height: 1.35;
}
.tpl-show .tpl-side-sum {
  margin: 0;
  color: #555;
}
.tpl-show .tpl-specs {
  margin: 0;
  border-top: 1px solid #eee;
}
.tpl-show .tpl-specs > div {
  display: flex;
  border-bottom: 1px solid #eee;
}
.tpl-show .tpl-specs dt {
  flex: none;
  color: #888;
}
.tpl-show .tpl-specs dd {
  margin: 0;
  color: #222;
}
.tpl-show .tpl-specs .is-price dd {
  color: #ff7605;
  font-weight: 600;
}
.tpl-show .tpl-actions {
  display: flex;
  flex-wrap: wrap;
}
.tpl-show .tpl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.tpl-show .tpl-btn-main {
  background: #ff7605;
  color: #fff;
  border: solid #ff7605;
}
.tpl-show .tpl-btn-main:hover {
  background: #e86600;
  border-color: #e86600;
}
.tpl-show .tpl-btn-line {
  background: #fff;
  color: #111;
  border: solid #111;
}
.tpl-show .tpl-btn-line:hover {
  background: #111;
  color: #fff;
}
.tpl-show .tpl-pwd {
  display: flex;
  align-items: center;
  margin: 0;
  color: #555;
}
.tpl-show .tpl-pwd code {
  background: #fff4eb;
  color: #ff7605;
  font-family: "Manrope", Consolas, monospace;
}
.tpl-show .tpl-pwd button {
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
  cursor: pointer;
  font-family: inherit;
}
.tpl-show .tpl-pwd button:hover {
  border-color: #ff7605;
  color: #ff7605;
}
.tpl-show .tpl-note {
  margin: 0;
  color: #999;
}
.tpl-show .tpl-detail h2,
.tpl-show .tpl-more h2 {
  margin: 0;
  font-weight: 500;
}
.tpl-show .tpl-gallery {
  display: grid;
  align-items: start;
}
.tpl-show .tpl-gallery figure {
  margin: 0;
  border: 1px solid #eee;
  background: #f6f6f6;
  overflow: hidden;
}
.tpl-show .tpl-gallery img {
  display: block;
  width: 100%;
  height: auto;
}
.tpl-show .tpl-body {
  color: #333;
}
.tpl-show .tpl-body h2,
.tpl-show .tpl-body h3 {
  color: #111;
  font-weight: 500;
}
.tpl-show .tpl-body p,
.tpl-show .tpl-body li {
  display: block;
}
.tpl-show .tpl-body ul {
  padding-left: 1.2em;
  list-style: disc outside;
}
.tpl-show .tpl-body li {
  display: list-item;
  list-style: disc outside;
}
.tpl-show .tpl-body li::marker {
  color: #ff7605;
}
.tpl-show .tpl-body a:not(:has(img)) {
  display: inline;
  color: #ff7605;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.tpl-show .tpl-more-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.tpl-show .tpl-more-head a {
  display: inline;
  color: #888;
}
.tpl-show .tpl-more-head a:hover {
  color: #ff7605;
}

/* ---------- 电脑端 ---------- */
@media (min-width: 769px) {
  .zhengtizhuans .wfull .undrelative .landing .quanjuzhuans .servicezhanshi .tpl-types {
    padding: 0 1.5%;
    gap: 0.12rem;
  }
  .zhengtizhuans .wfull .undrelative .landing .quanjuzhuans .servicezhanshi .tpl-types .tpl-type {
    height: 0.52rem;
    padding: 0 0.24rem;
    border-width: 0.01rem;
    border-radius: 0.26rem;
    font-size: 0.18rem;
  }
  .zhengtizhuans .wfull .undrelative .landing .quanjuzhuans .servicezhanshi .tpl-industries {
    padding: 0 1.5%;
    gap: 0.2rem;
  }
  .zhengtizhuans .wfull .undrelative .landing .quanjuzhuans .servicezhanshi .tpl-industries .tpl-industries-label {
    font-size: 0.16rem;
    line-height: 0.4rem;
  }
  .zhengtizhuans .wfull .undrelative .landing .quanjuzhuans .servicezhanshi .tpl-industries .tpl-industries-list {
    gap: 0.1rem;
  }
  .zhengtizhuans .wfull .undrelative .landing .quanjuzhuans .servicezhanshi .tpl-industries .tpl-chip {
    height: 0.4rem;
    padding: 0 0.18rem;
    border-radius: 0.2rem;
    font-size: 0.15rem;
  }
  .tpl-lib {
    padding: 0 1.5% 1rem;
  }
  .tpl-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem 0.3rem;
  }
  .tpl-card .tpl-info {
    padding: 0.2rem 0 0;
  }
  .tpl-card .tpl-info h3 {
    font-size: 0.22rem;
  }
  .tpl-card .tpl-meta {
    gap: 0.08rem;
    margin-top: 0.12rem;
  }
  .tpl-card .tpl-tag {
    padding: 0.03rem 0.1rem;
    border-radius: 0.04rem;
    font-size: 0.14rem;
  }
  .tpl-card .tpl-price {
    font-size: 0.17rem;
  }
  .tpl-card .tpl-no {
    padding: 0.05rem 0.12rem;
    font-size: 0.14rem;
  }
  .tpl-empty {
    padding: 0.6rem 0;
    font-size: 0.18rem;
  }
  .tpl-cta {
    margin: 0 1.5% 1.4rem;
    padding: 0.6rem 0.7rem;
    gap: 0.6rem;
  }
  .tpl-cta h2 {
    font-size: 0.36rem;
  }
  .tpl-cta p {
    margin-top: 0.12rem;
    font-size: 0.18rem;
  }
  .tpl-cta .tpl-cta-btn {
    height: 0.64rem;
    padding: 0 0.4rem;
    font-size: 0.18rem;
  }

  /* 右侧留出全站浮动按钮（获取方案 / 咨询）的宽度，参数栏不被遮住 */
  .tpl-show {
    padding: 1.8rem 1.3rem 1.2rem 1.5%;
  }
  .tpl-show .tpl-crumbs {
    gap: 0.1rem;
    margin-bottom: 0.4rem;
    font-size: 0.15rem;
  }
  .tpl-show .tpl-show-main {
    grid-template-columns: minmax(0, 1fr) 4.6rem;
    gap: 0.7rem;
  }
  .tpl-show .tpl-browser {
    border-radius: 0.12rem;
  }
  .tpl-show .tpl-browser-bar {
    height: 0.36rem;
    padding: 0 0.16rem;
    gap: 0.08rem;
  }
  .tpl-show .tpl-browser-bar i {
    width: 0.11rem;
    height: 0.11rem;
  }
  .tpl-show .tpl-browser-view {
    height: 6.4rem;
  }
  .tpl-show .tpl-scroll-hint {
    margin: 0.16rem 0 0;
    font-size: 0.14rem;
  }
  .tpl-show .tpl-side {
    top: 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.24rem;
  }
  .tpl-show .tpl-side-no {
    font-size: 0.17rem;
  }
  .tpl-show .tpl-side h1 {
    font-size: 0.38rem;
  }
  .tpl-show .tpl-side-sum {
    font-size: 0.17rem;
    line-height: 1.75;
  }
  .tpl-show .tpl-specs > div {
    padding: 0.14rem 0;
    gap: 0.2rem;
    font-size: 0.16rem;
    line-height: 1.6;
  }
  .tpl-show .tpl-specs dt {
    width: 0.9rem;
  }
  .tpl-show .tpl-specs .is-price dd {
    font-size: 0.2rem;
  }
  .tpl-show .tpl-actions {
    gap: 0.14rem;
  }
  .tpl-show .tpl-btn {
    height: 0.6rem;
    padding: 0 0.34rem;
    border-width: 0.01rem;
    border-radius: 0.3rem;
    font-size: 0.17rem;
  }
  .tpl-show .tpl-pwd {
    gap: 0.12rem;
    font-size: 0.15rem;
  }
  .tpl-show .tpl-pwd code {
    padding: 0.04rem 0.12rem;
    border-radius: 0.04rem;
    font-size: 0.16rem;
  }
  .tpl-show .tpl-pwd button {
    padding: 0.04rem 0.14rem;
    border-radius: 0.04rem;
    font-size: 0.14rem;
  }
  .tpl-show .tpl-note {
    font-size: 0.14rem;
    line-height: 1.7;
  }
  .tpl-show .tpl-detail {
    margin-top: 1rem;
    max-width: 10.4rem;
  }
  .tpl-show .tpl-detail h2,
  .tpl-show .tpl-more h2 {
    font-size: 0.4rem;
  }
  .tpl-show .tpl-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.24rem;
    margin-top: 0.4rem;
  }
  .tpl-show .tpl-gallery figure {
    border-radius: 0.1rem;
  }
  .tpl-show .tpl-body {
    margin-top: 0.4rem;
    font-size: 0.17rem;
    line-height: 1.9;
  }
  .tpl-show .tpl-body h2 {
    margin: 0.4rem 0 0.14rem;
    font-size: 0.26rem;
  }
  .tpl-show .tpl-body h3 {
    margin: 0.3rem 0 0.1rem;
    font-size: 0.21rem;
  }
  .tpl-show .tpl-body p {
    margin: 0 0 0.14rem;
  }
  .tpl-show .tpl-more {
    margin-top: 1.1rem;
  }
  .tpl-show .tpl-more-head {
    margin-bottom: 0.4rem;
  }
  .tpl-show .tpl-more-head a {
    font-size: 0.16rem;
  }
  .tpl-show .tpl-more .tpl-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.3rem;
  }
  .tpl-show .tpl-more .tpl-card .tpl-info h3 {
    font-size: 0.18rem;
  }
}

/* ---------- 手机 ---------- */
@media (max-width: 768px) {
  .zhengtizhuans .wfull .undrelative .landing .quanjuzhuans .servicezhanshi .tpl-types {
    padding: 0 5%;
    gap: 0.4rem;
  }
  .zhengtizhuans .wfull .undrelative .landing .quanjuzhuans .servicezhanshi .tpl-types .tpl-type {
    height: 1.7rem;
    padding: 0 0.7rem;
    border-width: 0.05rem;
    border-radius: 0.85rem;
    font-size: 0.66rem;
  }
  .zhengtizhuans .wfull .undrelative .landing .quanjuzhuans .servicezhanshi .tpl-industries {
    padding: 0 5%;
    flex-direction: column;
    gap: 0.4rem;
  }
  .zhengtizhuans .wfull .undrelative .landing .quanjuzhuans .servicezhanshi .tpl-industries .tpl-industries-label {
    font-size: 0.62rem;
  }
  .zhengtizhuans .wfull .undrelative .landing .quanjuzhuans .servicezhanshi .tpl-industries .tpl-industries-list {
    gap: 0.35rem;
  }
  .zhengtizhuans .wfull .undrelative .landing .quanjuzhuans .servicezhanshi .tpl-industries .tpl-chip {
    height: 1.4rem;
    padding: 0 0.55rem;
    border-radius: 0.7rem;
    font-size: 0.6rem;
  }
  .tpl-lib {
    padding: 0 5% 2rem;
  }
  .tpl-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.4rem;
  }
  .tpl-card .tpl-info {
    padding: 0.5rem 0 0;
  }
  .tpl-card .tpl-info h3 {
    font-size: 0.78rem;
  }
  .tpl-card .tpl-meta {
    gap: 0.3rem;
    margin-top: 0.35rem;
  }
  .tpl-card .tpl-tag {
    padding: 0.1rem 0.35rem;
    border-radius: 0.15rem;
    font-size: 0.56rem;
  }
  .tpl-card .tpl-price {
    font-size: 0.64rem;
  }
  .tpl-card .tpl-no {
    padding: 0.15rem 0.4rem;
    font-size: 0.56rem;
  }
  .tpl-empty {
    padding: 2rem 0;
    font-size: 0.66rem;
  }
  .tpl-cta {
    margin: 0 5% 3rem;
    padding: 1.2rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }
  .tpl-cta h2 {
    font-size: 0.95rem;
  }
  .tpl-cta p {
    margin-top: 0.35rem;
    font-size: 0.62rem;
    line-height: 1.7;
  }
  .tpl-cta .tpl-cta-btn {
    height: 1.9rem;
    padding: 0 0.9rem;
    font-size: 0.64rem;
  }

  .tpl-show {
    padding: 4.4rem 5% 2.4rem;
  }
  .tpl-show .tpl-crumbs {
    gap: 0.3rem;
    margin-bottom: 0.9rem;
    font-size: 0.56rem;
  }
  .tpl-show .tpl-show-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.2rem;
  }
  .tpl-show .tpl-browser {
    border-radius: 0.4rem;
  }
  .tpl-show .tpl-browser-bar {
    height: 1.1rem;
    padding: 0 0.5rem;
    gap: 0.25rem;
  }
  .tpl-show .tpl-browser-bar i {
    width: 0.34rem;
    height: 0.34rem;
  }
  .tpl-show .tpl-browser-view {
    height: 11rem;
  }
  .tpl-show .tpl-scroll-hint {
    display: none;
  }
  .tpl-show .tpl-side {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
  }
  .tpl-show .tpl-side-no {
    font-size: 0.62rem;
  }
  .tpl-show .tpl-side h1 {
    font-size: 1.05rem;
  }
  .tpl-show .tpl-side-sum {
    font-size: 0.64rem;
    line-height: 1.75;
  }
  .tpl-show .tpl-specs > div {
    padding: 0.45rem 0;
    gap: 0.6rem;
    font-size: 0.62rem;
    line-height: 1.6;
  }
  .tpl-show .tpl-specs dt {
    width: 3rem;
  }
  .tpl-show .tpl-specs .is-price dd {
    font-size: 0.72rem;
  }
  .tpl-show .tpl-actions {
    gap: 0.45rem;
  }
  .tpl-show .tpl-btn {
    flex: 1 1 auto;
    height: 2rem;
    padding: 0 0.8rem;
    border-width: 0.05rem;
    border-radius: 1rem;
    font-size: 0.64rem;
  }
  .tpl-show .tpl-pwd {
    gap: 0.4rem;
    font-size: 0.6rem;
  }
  .tpl-show .tpl-pwd code {
    padding: 0.12rem 0.4rem;
    border-radius: 0.15rem;
    font-size: 0.62rem;
  }
  .tpl-show .tpl-pwd button {
    padding: 0.12rem 0.45rem;
    border-radius: 0.15rem;
    font-size: 0.56rem;
  }
  .tpl-show .tpl-note {
    font-size: 0.56rem;
    line-height: 1.7;
  }
  .tpl-show .tpl-detail {
    margin-top: 2.2rem;
  }
  .tpl-show .tpl-detail h2,
  .tpl-show .tpl-more h2 {
    font-size: 0.95rem;
  }
  .tpl-show .tpl-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 0.9rem;
  }
  .tpl-show .tpl-gallery figure {
    border-radius: 0.3rem;
  }
  .tpl-show .tpl-body {
    margin-top: 0.9rem;
    font-size: 0.64rem;
    line-height: 1.85;
  }
  .tpl-show .tpl-body h2 {
    margin: 1rem 0 0.4rem;
    font-size: 0.8rem;
  }
  .tpl-show .tpl-body h3 {
    margin: 0.8rem 0 0.3rem;
    font-size: 0.7rem;
  }
  .tpl-show .tpl-body p {
    margin: 0 0 0.45rem;
  }
  .tpl-show .tpl-more {
    margin-top: 2.4rem;
  }
  .tpl-show .tpl-more-head {
    margin-bottom: 0.9rem;
  }
  .tpl-show .tpl-more-head a {
    font-size: 0.6rem;
  }
  .tpl-show .tpl-more .tpl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 0.5rem;
  }
  .tpl-show .tpl-more .tpl-card .tpl-info h3 {
    font-size: 0.62rem;
  }
  .tpl-show .tpl-more .tpl-card .tpl-price {
    margin-left: 0;
  }
}
