/*
Theme Name: Blocksy Child - Diying Print
Theme URI: https://shprint.local
Description: 上海帝盈科技有限公司 · 企业印刷在线报价站子主题
Author: 上海帝盈科技有限公司
Template: blocksy
Version: 2.0.6
Text Domain: blocksy-child
*/

/* =========================================================
   1. 设计变量
   ========================================================= */
:root {
  --dy-pri: #1656a8;
  --dy-pri-d: #0e3f80;
  --dy-pri-l: #eef4fc;
  --dy-dark: #0e2a47;
  --dy-acc: #e8761a;
  --dy-acc-d: #cf6510;
  --dy-acc-l: #fdf3e9;
  --dy-ink: #1a1d21;
  --dy-ink2: #4e555e;
  --dy-ink3: #8b939d;
  --dy-line: #e5e8ec;
  --dy-line2: #eef1f4;
  --dy-bg: #f6f8fb;
  --dy-card: #ffffff;
  --dy-r: 10px;
  --dy-r2: 14px;
  --dy-wrap: 1200px;
  --dy-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 16px rgba(16, 24, 40, .06);
  --dy-shadow-h: 0 4px 8px rgba(16, 24, 40, .06), 0 12px 32px rgba(16, 24, 40, .10);
}

/* =========================================================
   2. 基础排版
   ========================================================= */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--dy-ink);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.dy-wrap {
  max-width: var(--dy-wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.dy-section {
  padding: 64px 0;
}
.dy-section--alt { background: var(--dy-card); border-top: 1px solid var(--dy-line); border-bottom: 1px solid var(--dy-line); }
.dy-section--tight { padding: 44px 0; }

.dy-sec-h {
  margin-bottom: 28px;
}
.dy-sec-h h2 {
  font-size: 26px;
  line-height: 1.35;
  font-weight: 650;
  letter-spacing: -.01em;
  color: var(--dy-ink);
  margin: 0 0 8px;
}
.dy-sec-h p {
  font-size: 14.5px;
  color: var(--dy-ink2);
  margin: 0;
  max-width: 780px;
}
.dy-sec-h--center { text-align: center; }
.dy-sec-h--center p { margin-left: auto; margin-right: auto; }

/* =========================================================
   3. 按钮
   ========================================================= */
.dy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background .18s, border-color .18s, color .18s, box-shadow .18s, transform .18s;
  border: 1px solid transparent;
  cursor: pointer;
}
.dy-btn--pri {
  background: var(--dy-acc);
  color: #fff;
  box-shadow: 0 2px 8px rgba(232, 118, 26, .24);
}
.dy-btn--pri:hover {
  background: var(--dy-acc-d);
  color: #fff;
  box-shadow: 0 4px 14px rgba(232, 118, 26, .32);
  transform: translateY(-1px);
}
.dy-btn--ghost {
  background: #fff;
  color: var(--dy-pri);
  border-color: #c9d8ec;
}
.dy-btn--ghost:hover {
  background: var(--dy-pri-l);
  border-color: var(--dy-pri);
  color: var(--dy-pri-d);
}
.dy-btn--dark {
  background: var(--dy-pri);
  color: #fff;
}
.dy-btn--dark:hover { background: var(--dy-pri-d); color: #fff; }
.dy-btn--lg { padding: 16px 34px; font-size: 16px; }
.dy-btn--sm { padding: 9px 18px; font-size: 13.5px; }

.dy-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================================================
   4. Header（首页 V2：浅色企业导航条）
   ---------------------------------------------------------
   Blocksy 原生 Header 已由子主题 header.php 替换，
   这里只写自有结构，不再覆盖 .ct-header。
   ========================================================= */
.dy-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #fff;
  border-bottom: 1px solid var(--dy-line);
}
.dy-header-in {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 64px;
}
.dy-brand {
  flex: none;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--dy-ink);
  text-decoration: none;
  white-space: nowrap;
}
.dy-brand:hover { color: var(--dy-pri); }

.dy-nav { margin-left: auto; }
.dy-nav .dy-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.dy-nav .dy-menu > li > a {
  display: block;
  padding: 8px 11px;
  font-size: 14.5px;
  color: var(--dy-ink2);
  text-decoration: none;
  border-radius: 6px;
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.dy-nav .dy-menu > li > a:hover,
.dy-nav .dy-menu > li.current-menu-item > a {
  color: var(--dy-pri);
  background: var(--dy-pri-l);
}

.dy-header-act {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dy-header-quote { padding: 9px 20px; font-size: 14.5px; }

/* 汉堡按钮（桌面隐藏） */
.dy-burger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.dy-burger span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--dy-ink);
  transition: transform .2s ease, opacity .2s ease;
}
.dy-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.dy-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.dy-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 移动端菜单面板（默认隐藏，由 [hidden] 控制） */
.dy-mnav {
  display: none;
  background: #fff;
  border-top: 1px solid var(--dy-line);
  padding: 4px 0 18px;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}
.dy-mnav-list { list-style: none; margin: 0; padding: 0; }
.dy-mnav-list > li > a {
  display: block;
  padding: 14px 2px;
  font-size: 15.5px;
  color: var(--dy-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--dy-line2);
}
.dy-mnav-list > li.current-menu-item > a { color: var(--dy-pri); }
.dy-mnav-quote {
  display: block;
  width: 100%;
  margin-top: 16px;
  text-align: center;
}

/* =========================================================
   5. 首页 Hero（V2：降低高度，右侧改为报价流程展示卡）
   ========================================================= */
.dy-hero {
  position: relative;
  background: linear-gradient(135deg, #0e2a47 0%, #1656a8 62%, #1e6bc4 100%);
  color: #fff;
  overflow: hidden;
  padding: 44px 0 42px;
}
.dy-hero::after {
  content: "";
  position: absolute;
  right: -160px;
  top: -140px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 68%);
  pointer-events: none;
}
.dy-hero-in {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 46px;
  align-items: center;
}
.dy-hero h1 {
  font-size: 37px;
  line-height: 1.24;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 0 0 16px;
  color: #fff;
}
.dy-hero-sub {
  font-size: 15.5px;
  line-height: 1.75;
  color: rgba(255,255,255,.86);
  margin: 0 0 26px;
  max-width: 560px;
}
.dy-hero .dy-btn--ghost {
  background: rgba(255,255,255,.10);
  color: #fff;
  border-color: rgba(255,255,255,.34);
}
.dy-hero .dy-btn--ghost:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.6);
  color: #fff;
}

/* 核心能力标签 */
.dy-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  color: rgba(255,255,255,.82);
}
.dy-hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dy-hero-points li::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: none;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23ffffff' d='M6.5 11.2 3.3 8l1.1-1.1 2.1 2.1 4.9-4.9L12.5 5z'/%3E%3C/svg%3E");
  background-size: 15px 15px;
}

/* 右侧：在线报价展示卡（流程示意，不显示价格） */
.dy-hero-quote {
  background: #fff;
  border-radius: 14px;
  padding: 20px 22px 16px;
  color: var(--dy-ink);
  box-shadow: 0 18px 44px rgba(4, 20, 42, .30);
}
.dy-hq-top b {
  display: block;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.dy-hq-top span {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--dy-ink3);
  line-height: 1.6;
}
.dy-hq-form {
  margin-top: 12px;
  border-top: 1px solid var(--dy-line2);
}
.dy-hq-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  border-bottom: 1px solid var(--dy-line2);
  font-size: 13px;
}
.dy-hq-row span { color: var(--dy-ink3); }
.dy-hq-row em {
  font-style: normal;
  font-weight: 600;
  color: var(--dy-ink);
}
.dy-hq-calc {
  margin-top: 12px;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--dy-pri-l);
  border: 1px solid #d6e3f5;
  color: var(--dy-pri);
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
}
/* 流程：横向排列，步骤之间用 ↓ 连接；换行后仍能读出顺序 */
.dy-hq-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 7px;
  margin: 11px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
  color: var(--dy-ink2);
}
.dy-hq-flow li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.dy-hq-flow li:not(:last-child)::after {
  content: "↓";
  font-size: 11px;
  line-height: 1;
  color: #8ba7c8;
}
.dy-hq-go {
  display: block;
  margin-top: 14px;
  padding: 11px 16px;
  border-radius: 8px;
  background: var(--dy-acc);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background .15s;
}
.dy-hq-go span { margin-left: 4px; }
.dy-hq-go:hover { background: var(--dy-acc-d); color: #fff; }
.dy-hq-note {
  margin: 9px 0 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--dy-ink3);
  text-align: center;
}

/* =========================================================
   5b. 企业定位模块
   ========================================================= */
.dy-position { background: var(--dy-bg); }
.dy-pos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.dy-pos-card {
  background: var(--dy-card);
  border: 1px solid var(--dy-line);
  border-radius: var(--dy-r2);
  padding: 22px 20px;
  box-shadow: var(--dy-shadow);
}
.dy-pos-ico {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--dy-pri-l);
  color: var(--dy-pri);
  margin-bottom: 13px;
}
.dy-pos-ico svg { width: 21px; height: 21px; }
.dy-pos-card h3 {
  font-size: 15.5px;
  font-weight: 650;
  margin: 0 0 7px;
  color: var(--dy-ink);
}
.dy-pos-card p {
  margin: 0;
  font-size: 13.2px;
  line-height: 1.72;
  color: var(--dy-ink2);
}

/* 无详情页的行业卡：不可点击，视觉与可点击卡保持一致 */
/* 无独立详情页的行业：明确呈现为「非链接」，与可点击卡片一眼可辨
   注意：必须写成 .dy-ind.dy-ind--static，单类名会被后面的 .dy-ind 的
   border:1px solid 覆盖（同优先级、后定义胜出）。 */
.dy-ind.dy-ind--static {
  cursor: default;
  background: #f7f9fc;
  border-style: dashed;
  border-color: #c6d2e2;
}
.dy-ind.dy-ind--static:hover {
  transform: none;
  box-shadow: none;
  border-color: #c6d2e2;
  color: var(--dy-ink);
}
.dy-ind.dy-ind--static .dy-ind-ico { background: #eef1f6; color: #8b94a2; }
.dy-ind.dy-ind--static b { color: #4a5361; }
.dy-ind-tag {
  align-self: flex-start;
  margin-top: 2px;
  padding: 0 7px;
  border-radius: 999px;
  background: #eef1f6;
  color: #7d8794;
  font-size: 11px;
  line-height: 1.7;
}

/* =========================================================
   6. 流程 6 步
   ========================================================= */
.dy-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  counter-reset: dy-step;
}
.dy-step {
  background: var(--dy-card);
  border: 1px solid var(--dy-line);
  border-radius: var(--dy-r);
  padding: 22px 18px 20px;
  position: relative;
  transition: border-color .18s, box-shadow .18s;
}
.dy-step:hover { border-color: #c9d8ec; box-shadow: var(--dy-shadow); }
.dy-step-n {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--dy-pri-l);
  color: var(--dy-pri);
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.dy-step h3 { font-size: 14.5px; font-weight: 600; margin: 0 0 6px; color: var(--dy-ink); }
.dy-step p { font-size: 12.8px; color: var(--dy-ink3); margin: 0; line-height: 1.65; }

/* =========================================================
   7. 产品卡
   ========================================================= */
.dy-grid-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.dy-pcard {
  background: var(--dy-card);
  border: 1px solid var(--dy-line);
  border-radius: var(--dy-r2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.dy-pcard:hover {
  box-shadow: var(--dy-shadow-h);
  transform: translateY(-2px);
  border-color: #d4e0ef;
}
.dy-pcard-thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #eef4fc, #dfeaf8);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.dy-pcard-thumb span {
  font-size: 24px;
  font-weight: 700;
  color: var(--dy-pri);
  opacity: .5;
  letter-spacing: .06em;
  padding: 0 14px;
  text-align: center;
  line-height: 1.3;
}
.dy-pcard-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.dy-pcard-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.dy-pcard-body h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
  line-height: 1.4;
}
.dy-pcard-body h3 a { color: var(--dy-ink); text-decoration: none; }
.dy-pcard-body h3 a:hover { color: var(--dy-pri); }
.dy-pcard-body p {
  font-size: 13px;
  color: var(--dy-ink3);
  margin: 0 0 14px;
  line-height: 1.65;
  flex: 1;
}
.dy-pcard-act {
  display: flex;
  gap: 8px;
  align-items: center;
}
.dy-pcard-act .dy-btn { flex: 1; padding: 9px 10px; font-size: 13px; }
.dy-pcard-act .dy-link {
  font-size: 13px;
  color: var(--dy-ink2);
  text-decoration: none;
  white-space: nowrap;
  padding: 9px 4px;
}
.dy-pcard-act .dy-link:hover { color: var(--dy-pri); }

/* =========================================================
   8. 卖点
   ========================================================= */
.dy-grid-feat {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 1fr;
  gap: 16px;
}
.dy-feat {
  background: var(--dy-card);
  border: 1px solid var(--dy-line);
  border-radius: var(--dy-r);
  padding: 24px 22px;
}
.dy-feat-ico {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--dy-acc-l);
  color: var(--dy-acc);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.dy-feat-ico svg { width: 20px; height: 20px; }
.dy-feat h3 { font-size: 15.5px; font-weight: 600; margin: 0 0 7px; }
.dy-feat p { font-size: 13.2px; color: var(--dy-ink2); margin: 0; line-height: 1.7; }
.dy-feat em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: var(--dy-acc);
  margin-top: 8px;
  font-weight: 500;
}

/* =========================================================
   9. 行业卡
   ========================================================= */
.dy-grid-ind {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.dy-ind {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--dy-card);
  border: 1px solid var(--dy-line);
  border-radius: var(--dy-r);
  padding: 18px 18px;
  text-decoration: none;
  color: var(--dy-ink);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.dy-ind:hover {
  border-color: #c9d8ec;
  box-shadow: var(--dy-shadow);
  transform: translateY(-1px);
  color: var(--dy-pri);
}
.dy-ind-ico {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--dy-pri-l);
  color: var(--dy-pri);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.dy-ind-ico svg { width: 18px; height: 18px; }
.dy-ind-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dy-ind b { font-size: 14px; font-weight: 600; }
.dy-ind em {
  font-style: normal;
  font-size: 12px;
  line-height: 1.5;
  color: var(--dy-ink2);
}

/* =========================================================
   10. 案例
   ========================================================= */
.dy-grid-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.dy-case {
  background: var(--dy-card);
  border: 1px solid var(--dy-line);
  border-radius: var(--dy-r2);
  overflow: hidden;
}
.dy-case-img {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #f0f4f9, #e3ebf4);
  display: flex; align-items: center; justify-content: center;
  color: var(--dy-ink3);
  font-size: 13px;
}
.dy-case-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dy-case-b { padding: 16px 18px 18px; }
.dy-case-b h3 { font-size: 15px; font-weight: 600; margin: 0 0 8px; }
.dy-case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: var(--dy-ink3);
}
.dy-case-meta span {
  background: var(--dy-bg);
  border-radius: 4px;
  padding: 3px 8px;
}

/* =========================================================
   11. 区域
   ========================================================= */
.dy-grid-area {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.dy-area {
  display: block;
  text-align: center;
  padding: 12px 8px;
  border: 1px solid var(--dy-line);
  border-radius: 8px;
  background: var(--dy-card);
  font-size: 13.5px;
  color: var(--dy-ink2);
  text-decoration: none;
  transition: .16s;
}
.dy-area:hover {
  border-color: var(--dy-pri);
  color: var(--dy-pri);
  background: var(--dy-pri-l);
}

/* =========================================================
   12. 文章
   ========================================================= */
.dy-grid-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.dy-post {
  background: var(--dy-card);
  border: 1px solid var(--dy-line);
  border-radius: var(--dy-r2);
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.dy-post:hover { border-color: #c9d8ec; box-shadow: var(--dy-shadow); transform: translateY(-1px); }
.dy-post-date { font-size: 12px; color: var(--dy-ink3); margin-bottom: 8px; }
.dy-post h3 { font-size: 15.5px; font-weight: 600; line-height: 1.5; margin: 0 0 8px; }
.dy-post p { font-size: 13px; color: var(--dy-ink3); margin: 0; line-height: 1.7; }

/* =========================================================
   13. 底部 CTA 区块
   ========================================================= */
.dy-cta {
  background: linear-gradient(135deg, #0e2a47, #1656a8);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.dy-cta h2 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 0 0 12px;
  color: #fff;
}
.dy-cta p {
  font-size: 15px;
  color: rgba(255,255,255,.82);
  margin: 0 0 26px;
}
.dy-cta .dy-btn-row { justify-content: center; }
.dy-cta .dy-btn--ghost {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(255,255,255,.34);
}
.dy-cta .dy-btn--ghost:hover { background: rgba(255,255,255,.18); color: #fff; }

/* =========================================================
   14. Footer
   ========================================================= */
.dy-footer {
  background: #0d1f33;
  color: rgba(255,255,255,.66);
  font-size: 13px;
  padding: 52px 0 0;
  line-height: 1.8;
}
.dy-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.dy-footer h4 {
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  margin: 0 0 14px;
  letter-spacing: .01em;
}
.dy-footer ul { list-style: none; margin: 0; padding: 0; }
.dy-footer li { margin-bottom: 8px; }
.dy-footer a { color: rgba(255,255,255,.66); text-decoration: none; transition: color .15s; }
.dy-footer a:hover { color: #fff; }
.dy-footer-brand {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}
.dy-footer-desc { font-size: 12.8px; color: rgba(255,255,255,.5); line-height: 1.8; max-width: 300px; }
.dy-footer-contact { margin-top: 14px; font-size: 13px; }
.dy-footer-contact b { color: #fff; font-weight: 600; font-size: 16px; }
.dy-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  font-size: 12.3px;
  color: rgba(255,255,255,.42);
}
.dy-footer-bottom a { color: rgba(255,255,255,.42); }

/* =========================================================
   15. 移动端底部固定 CTA
   ========================================================= */
.dy-mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: rgba(255,255,255,.97);
  border-top: 1px solid var(--dy-line);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  gap: 8px;
  box-shadow: 0 -4px 16px rgba(16,24,40,.08);
}
.dy-mobile-cta .dy-btn { flex: 1; padding: 12px 10px; font-size: 14.5px; }
.dy-mobile-cta .dy-btn--tel {
  flex: 0 0 88px;
  background: var(--dy-pri-l);
  color: var(--dy-pri);
  border: 1px solid #c9d8ec;
}

/* =========================================================
   16. 面包屑
   ========================================================= */
.dy-crumb {
  font-size: 12.5px;
  color: var(--dy-ink3);
  padding: 14px 0;
  border-bottom: 1px solid var(--dy-line2);
  background: var(--dy-card);
}
.dy-crumb a { color: var(--dy-ink3); text-decoration: none; }
.dy-crumb a:hover { color: var(--dy-pri); }
.dy-crumb span.sep { margin: 0 7px; color: #c3c9d1; }
.dy-crumb em { font-style: normal; color: var(--dy-ink2); }

/* =========================================================
   17. 通用内容区（用于产品/行业/区域页）
   ========================================================= */
.dy-page-head {
  background: linear-gradient(135deg, #f4f8fd, #eaf1fa);
  border-bottom: 1px solid var(--dy-line);
  padding: 44px 0 40px;
}
.dy-page-head h1 {
  font-size: 32px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -.015em;
  margin: 0 0 12px;
  color: var(--dy-ink);
}
.dy-page-head p {
  font-size: 15.5px;
  color: var(--dy-ink2);
  margin: 0 0 22px;
  max-width: 820px;
}
.dy-prose { max-width: 860px; }
.dy-prose h2 { font-size: 22px; font-weight: 650; margin: 40px 0 14px; letter-spacing: -.01em; }
.dy-prose h3 { font-size: 17.5px; font-weight: 600; margin: 28px 0 10px; }
.dy-prose p { margin: 0 0 14px; color: var(--dy-ink2); }
.dy-prose ul, .dy-prose ol { margin: 0 0 16px; padding-left: 22px; color: var(--dy-ink2); }
.dy-prose li { margin-bottom: 6px; }
.dy-prose a { color: var(--dy-pri); }

.dy-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 8px 0 20px;
}
.dy-spec-table th, .dy-spec-table td {
  border: 1px solid var(--dy-line);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}
.dy-spec-table th {
  background: var(--dy-bg);
  font-weight: 600;
  color: var(--dy-ink);
  white-space: nowrap;
  width: 150px;
}
.dy-spec-table td { color: var(--dy-ink2); }

/* =========================================================
   18. FAQ
   ========================================================= */
.dy-faq { max-width: 860px; }
.dy-faq-item {
  border: 1px solid var(--dy-line);
  border-radius: var(--dy-r);
  background: var(--dy-card);
  margin-bottom: 10px;
  overflow: hidden;
}
.dy-faq-item summary {
  cursor: pointer;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--dy-ink);
  list-style: none;
  position: relative;
  padding-right: 46px;
}
.dy-faq-item summary::-webkit-details-marker { display: none; }
.dy-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--dy-ink3);
  font-weight: 300;
  line-height: 1;
}
.dy-faq-item[open] summary::after { content: "−"; }
.dy-faq-item .dy-faq-a {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--dy-ink2);
  line-height: 1.8;
}
.dy-faq-item[open] summary { color: var(--dy-pri); }

/* =========================================================
   19. 响应式
   ========================================================= */
/* Header：导航放不下时切换为汉堡菜单 */
@media (max-width: 1024px) {
  .dy-nav { display: none; }
  .dy-burger { display: flex; }
  .dy-header-quote { display: none; }
  .dy-header-act { margin-left: auto; }
  .dy-mnav:not([hidden]) { display: block; }
}

@media (max-width: 1100px) {
  .dy-grid-products { grid-template-columns: repeat(3, 1fr); }
  .dy-grid-ind { grid-template-columns: repeat(3, 1fr); }
  .dy-grid-feat { grid-template-columns: repeat(3, 1fr); }
  .dy-steps { grid-template-columns: repeat(3, 1fr); }
  .dy-pos-grid { grid-template-columns: repeat(2, 1fr); }
  .dy-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .dy-hero { padding: 42px 0 44px; }
  .dy-hero-in { grid-template-columns: 1fr; gap: 32px; }
  .dy-hero h1 { font-size: 30px; }
  .dy-hero-sub { font-size: 15px; }
  .dy-hero-quote { max-width: 520px; }
  .dy-section { padding: 46px 0; }
  .dy-sec-h h2 { font-size: 22px; }
  .dy-grid-products { grid-template-columns: repeat(2, 1fr); }
  .dy-grid-feat { grid-template-columns: repeat(2, 1fr); }
  .dy-grid-cases { grid-template-columns: repeat(2, 1fr); }
  .dy-grid-posts { grid-template-columns: repeat(2, 1fr); }
  .dy-grid-area { grid-template-columns: repeat(3, 1fr); }
  .dy-page-head h1 { font-size: 25px; }
  .dy-cta h2 { font-size: 24px; }
}

@media (max-width: 620px) {
  .dy-wrap { padding: 0 18px; }
  .dy-section { padding: 38px 0; }
  .dy-hero { padding: 34px 0 38px; }
  .dy-hero h1 { font-size: 26px; }
  .dy-hero-quote { max-width: none; padding: 18px 18px 14px; }
  .dy-hero .dy-btn-row { flex-direction: column; align-items: stretch; }
  .dy-hero .dy-btn { width: 100%; }
  .dy-pos-grid { grid-template-columns: 1fr; }
  .dy-grid-products { grid-template-columns: 1fr; }
  .dy-grid-feat { grid-template-columns: 1fr; }
  .dy-grid-cases { grid-template-columns: 1fr; }
  .dy-grid-posts { grid-template-columns: 1fr; }
  .dy-grid-ind { grid-template-columns: repeat(2, 1fr); }
  .dy-steps { grid-template-columns: 1fr; }
  .dy-grid-area { grid-template-columns: repeat(2, 1fr); }
  .dy-footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .dy-footer-bottom { flex-direction: column; }
  .dy-spec-table th { width: 108px; }
  /* 移动端底部 CTA 显示 */
  .dy-mobile-cta { display: flex; }
  body { padding-bottom: 68px; }
}

/* 移动端 CTA 出现时，避免被 Blocksy 自带元素遮挡 */
@media (max-width: 620px) {
  .dy-mobile-cta ~ * { z-index: auto; }
}

/* =========================================================
   20. 覆盖 Blocksy 默认布局（页面内容自带 H1 与全宽区块）
   ========================================================= */

/* 页面标题由内容区自带的 H1 承担，隐藏主题输出的重复 H1 */
body.page .hero-section { display: none; }

/* 解除 Gutenberg 内容宽度约束，让自定义 section 全宽 */
.page .entry-content.is-layout-constrained > *,
.page .entry-content > * {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* 内容区上下留白交给自定义 section 控制 */
.page .entry-content { padding-top: 0; padding-bottom: 0; }

/* 首页：Blocksy 容器默认有 60px 上下内边距，
   会让 Hero 与 Header 之间露出一条白带、Footer 上方也空一截。
   首页的 section 自带内边距，这里清零。 */
body.home .ct-container-full { padding-top: 0; padding-bottom: 0; }

/* Blocksy 内容容器在页面上的宽度限制 */
.page .ct-container-full { padding-left: 0; padding-right: 0; }

/* 移动端底部 CTA 与 Blocksy 固定元素不冲突 */
.dy-mobile-cta { transition: transform .22s ease; }

/* 强制自定义区块占满内容宽度（覆盖 Gutenberg 的 content-size 约束） */
.page .entry-content.is-layout-constrained > .dy-hero,
.page .entry-content.is-layout-constrained > section,
.page .entry-content.is-layout-constrained > .dy-cta,
.page .entry-content.is-layout-constrained > .dy-page-head {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* 修复：is-layout-constrained 会同时限制普通块，统一放开 */
.page .entry-content.is-layout-constrained > * {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* =========================================================
   22. 产品页 8 段模板（Phase 3）
   ========================================================= */
.dy-scene-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 22px;
}
.dy-scene-list li {
  position: relative;
  padding-left: 20px;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--dy-ink2);
}
.dy-scene-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dy-pri);
  opacity: .5;
}

/* 产品页 FAQ 与正文之间留出呼吸 */
.dy-prose .dy-faq { margin: 16px 0 28px; }

/* 相关产品 / 相关行业内链段落 */
.dy-prose p strong { color: var(--dy-ink); font-weight: 600; }

@media (max-width: 620px) {
  .dy-scene-list { grid-template-columns: 1fr; gap: 8px; }
}

/* =========================================================
   23. 行业页 / 区域页（Phase 4）
   ========================================================= */
.dy-combo-table th:first-child,
.dy-combo-table td.c1 {
  width: 170px;
  font-weight: 600;
  color: var(--dy-ink);
  white-space: nowrap;
}
.dy-combo-table thead th {
  background: var(--dy-bg);
  font-weight: 600;
  white-space: nowrap;
  width: auto;
}
.dy-combo-table td { vertical-align: top; }

@media (max-width: 620px) {
  .dy-combo-table th:first-child,
  .dy-combo-table td.c1 { width: 108px; white-space: normal; }
  .dy-combo-table { font-size: 13px; }
  .dy-combo-table th, .dy-combo-table td { padding: 9px 10px; }
}

/* =========================================================
   24. 文章与案例模板（Phase 4）
   ========================================================= */
.dy-post-meta {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--dy-ink3);
}
.dy-article { max-width: 860px; }
.dy-article > h2 { margin-top: 36px; }
.dy-article > h3 { margin-top: 26px; }
.dy-article ul, .dy-article ol { margin: 0 0 18px; }
.dy-article li { margin-bottom: 8px; line-height: 1.8; }
.dy-article blockquote {
  margin: 18px 0;
  padding: 12px 18px;
  border-left: 3px solid var(--dy-pri);
  background: var(--dy-pri-l);
  color: var(--dy-ink2);
  border-radius: 0 8px 8px 0;
}
.dy-article blockquote p:last-child { margin-bottom: 0; }
.dy-article table { width: 100%; }
.dy-article img { max-width: 100%; height: auto; }

/* =========================================================
   25. 报价直达提示（Phase 5）
   ========================================================= */
.dy-quote-hint {
  margin: 12px 0 0;
  font-size: 13px;
  color: #6b7480;
  line-height: 1.6;
}

/* =========================================================
   26. 服务说明 GEO 区块（Phase 6）
   ========================================================= */
.dy-geo-table th {
  width: 120px;
  white-space: nowrap;
  color: #0e3f80;
  background: #f7fafd;
}
.dy-geo-table td { color: #4e555e; }

/* =========================================================
   27. 「查看全部印刷产品」统一入口（产品区末尾内链）
   视觉权重明显低于「立即在线报价」主按钮：无实色底、无阴影、无图标
   ========================================================= */
.dy-all-products {
  margin: 24px 0 0;
  text-align: center;
}
.dy-all-products a {
  display: inline-block;
  min-height: 44px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  color: #0e3f80;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #e5e8ec;
  border-radius: 14px;
  transition: border-color .18s, background .18s, color .18s;
}
.dy-all-products a:hover,
.dy-all-products a:focus {
  color: #0e3f80;
  background: #eef4fc;
  border-color: #1656a8;
}
/* 正文段落里的链接默认样式优先级相同，这里显式压过 */
.dy-prose .dy-all-products a,
.dy-prose p.dy-all-products a { color: #0e3f80; }

@media (max-width: 620px) {
  .dy-all-products { margin: 20px 0 0; }
  .dy-all-products a {
    display: block;
    padding: 13px 16px;
    font-size: 15px;
  }
}
