.service-template-page {
  --seo-gold: #e4ad16;
  --seo-ink: var(--copy-title);
  --seo-muted: var(--copy-body);
  --seo-line: #dce1e8;
  --seo-soft: #f4f6f9;
  --seo-dark: #070d18;
}

/* Exact SEO-template mapping for the five existing service-page bodies.
   Values below mirror the approved .seo-* layout; no alternate card design. */
body.service-template-page .svc-section {
  width: var(--tech-content-max, min(1440px, calc(100% - 120px)));
  margin: 0 auto;
  padding: 84px 0 104px;
  border: 0;
  background: #fff;
}

body.service-template-page .svc-section-head {
  width: min(1240px, 100%);
  margin: 0 auto 52px;
  text-align: center;
}

body.service-template-page .svc-section-meta,
body.service-template-page .svc-section-title::before {
  display: none;
}

body.service-template-page .svc-section-title {
  margin: 0;
  color: var(--seo-ink);
  font-size: var(--type-section-title);
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: -.035em;
}

body.service-template-page .svc-section-sub {
  max-width: 780px;
  margin: 22px auto 0;
  color: var(--seo-muted);
  font-size: var(--type-body-large);
  line-height: var(--leading-body);
}

body.service-template-page .svc-modules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 60px;
}

body.service-template-page .svc-module-card,
body.service-template-page .svc-module-card--wide {
  display: flex;
  min-width: 0;
  min-height: 600px;
  grid-column: auto;
  flex-direction: column;
  padding: 0;
  border: 1px solid #dce6f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
}

body.service-template-page .svc-module-card::before {
  display: none;
}

body.service-template-page .svc-module-card:hover {
  transform: none;
  background: #fff;
  box-shadow: none;
}

body.service-template-page .svc-module-head {
  display: contents;
}

body.service-template-page .svc-module-icon {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  order: 1;
  border: 0;
  border-bottom: 1px solid #dce6f0;
  border-radius: 0;
  background-color: #f3f6f8;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

body.service-template-page .svc-module-card:nth-child(1) .svc-module-icon {
  background-image: url("../img/seo/search-audience-v2.png");
}

body.service-template-page .svc-module-card:nth-child(2) .svc-module-icon {
  background-image: url("../img/seo/industry-content-v2.png");
}

body.service-template-page .svc-module-card:nth-child(3) .svc-module-icon {
  background-image: url("../img/seo/data-traceability-v2.png");
}

body.service-page--reputation .svc-module-card:nth-child(1) .svc-module-icon {
  background-image: url("../img/reputation/reputation-redbook-ui-v4.webp");
}

body.service-page--reputation .svc-module-card:nth-child(2) .svc-module-icon {
  background-image: url("../img/reputation/reputation-douyin-ui-v4.webp");
}

body.service-page--reputation .svc-module-card:nth-child(3) .svc-module-icon {
  background-image: url("../img/reputation/reputation-monitor-ui-v5.webp");
}

body.service-page--data .svc-module-card:nth-child(1) .svc-module-icon {
  background-image: url("../img/data/data-mining-ui-v4.webp");
}

body.service-page--data .svc-module-card:nth-child(2) .svc-module-icon {
  background-image: url("../img/data/data-dashboard-ui-v6.webp");
}

body.service-page--data .svc-module-card:nth-child(3) .svc-module-icon {
  background-image: url("../img/data/data-ai-visibility-ui-v7.webp");
}

body.service-page--content .svc-module-card:nth-child(1) .svc-module-icon {
  background-image: url("../img/content/content-creation-ui-v5.webp");
}

body.service-page--content .svc-module-card:nth-child(2) .svc-module-icon {
  background-image: url("../img/content/content-distribution-ui-v5.webp");
}

body.service-page--content .svc-module-card:nth-child(3) .svc-module-icon {
  background-image: url("../img/content/content-optimization-ui-v4.webp");
}

body.service-template-page .svc-module-icon svg {
  display: none;
}

body.service-template-page .svc-module-title {
  order: 3;
  margin: 0 28px 12px;
  color: var(--copy-title);
  font-size: clamp(22px, 1.7vw, 27px);
  font-weight: 760;
  line-height: 1.3;
}

body.service-template-page .svc-module-index {
  order: 2;
  margin: 24px 28px 8px;
  color: #68a7ed;
  font-size: 16px;
  font-weight: 780;
  letter-spacing: .02em;
}

body.service-template-page .svc-module-desc {
  order: 4;
  margin: 0 28px;
  color: #586b82;
  font-size: 15px;
  line-height: 1.72;
}

body.service-template-page .svc-module-metric {
  display: flex;
  min-height: 62px;
  order: 5;
  margin: 20px 28px 0;
  padding: 13px 16px;
  border-radius: 8px;
  align-items: baseline;
  gap: 8px;
  background: #f2f7fd;
}

body.service-template-page .svc-module-metric strong {
  color: #f2a400;
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
}

body.service-template-page .svc-module-metric span {
  color: #506882;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

body.service-template-page .svc-module-sub-list {
  display: flex !important;
  order: 6;
  flex-direction: column;
  gap: 12px;
  margin: 22px 28px 28px;
  padding: 20px 0 0;
  border-top: 1px solid #dce6f0;
}

body.service-template-page .svc-module-sub-item {
  display: flex;
  position: relative;
  min-height: 22px;
  padding-left: 34px;
  align-items: center;
  color: #53677f;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

body.service-template-page .svc-module-sub-item::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  place-items: center;
  background: #f7aa08;
  color: #13223a;
  font-size: 12px;
  font-weight: 900;
}

body.service-template-page .svc-module-sub-item-desc {
  display: none;
}

body.service-template-page .service-advantages {
  width: 100%;
  max-width: none;
  padding: 96px 0 64px;
  background: #f3f5f8;
}

body.service-template-page .service-advantages .svc-section-head {
  width: min(780px, calc(100% - 32px));
}

body.service-template-page .service-advantages .svc-adv-grid {
  display: grid;
  width: var(--tech-content-max, min(1440px, calc(100% - 120px)));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(42px, 5vw, 84px);
  margin: 0 auto;
}

body.service-template-page .svc-adv-card {
  min-width: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  text-align: center;
}

body.service-template-page .svc-adv-card::before {
  display: none;
}

body.service-template-page .svc-adv-card:hover {
  transform: none;
  background: transparent;
  box-shadow: none;
}

body.service-template-page .svc-adv-num {
  width: 124px;
  height: 124px;
  margin: 0 auto 28px;
  background-image: url("../img/seo-advantages-reference.png");
  background-repeat: no-repeat;
  background-size: 1279px 488px;
  color: transparent;
  font-size: 0;
}

body.service-template-page .svc-adv-card:nth-child(1) .svc-adv-num { background-position: -129px -82px; }
body.service-template-page .svc-adv-card:nth-child(2) .svc-adv-num { background-position: -520px -87px; }
body.service-template-page .svc-adv-card:nth-child(3) .svc-adv-num { background-position: -913px -84px; }

body.service-template-page .svc-adv-title {
  margin: 0 0 26px;
  color: var(--copy-title);
  font-size: var(--type-card-title);
  font-weight: 650;
  line-height: 1.35;
}

body.service-template-page .svc-adv-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 1px;
  margin: 26px auto 0;
  background: #8e95a3;
}

body.service-template-page .svc-adv-desc {
  max-width: 390px;
  margin: 0 auto;
  color: var(--copy-body);
  font-size: var(--type-body);
  line-height: var(--leading-body);
}

body.service-template-page > .related-section:not(.seo-related-section) {
  width: var(--tech-content-max, min(1440px, calc(100% - 120px)));
  margin: 0 auto;
  padding: 64px 0 88px;
}

body.service-template-page > .related-section:not(.seo-related-section) .related-head {
  display: none;
}

body.service-template-page > .related-section:not(.seo-related-section) .related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

body.service-template-page > .related-section:not(.seo-related-section) .related-card {
  display: flex;
  min-width: 0;
  min-height: 420px;
  flex-direction: column;
  gap: 16px;
  padding: 30px 28px 26px;
  border: 1px solid rgba(18, 24, 38, .13) !important;
  border-radius: var(--radius-box, 5px) !important;
  background: #fff;
  box-shadow: none !important;
}

body.service-template-page > .related-section:not(.seo-related-section) .related-date {
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(227, 181, 46, .27);
  color: var(--copy-accent);
  font-size: var(--type-body-large);
  font-weight: 750;
}

body.service-template-page > .related-section:not(.seo-related-section) .related-title {
  margin: 0;
  color: var(--seo-ink);
  font-size: var(--type-card-title);
  line-height: 1.5;
}

body.service-template-page > .related-section:not(.seo-related-section) .related-excerpt {
  margin: 0;
  color: var(--copy-body);
  font-size: var(--type-body);
  line-height: var(--leading-body);
}

body.service-template-page > .related-section:not(.seo-related-section) .related-card::after {
  content: "阅读全文  →";
  align-self: flex-start;
  margin-top: auto;
  padding: 13px 22px;
  border-radius: var(--radius-box, 6px);
  background: linear-gradient(135deg, #d79b05, #f0c736);
  color: #111;
  font-size: var(--type-button);
  font-weight: 700;
}

/* 浏览器缩放会改变有效视口宽度；六个业务页统一使用 3 / 2 / 1 列响应式节奏。 */
@media (max-width: 1100px) {
  body.service-template-page .svc-modules-grid,
  body.service-template-page .service-advantages .svc-adv-grid,
  body.service-template-page > .related-section:not(.seo-related-section) .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.service-template-page .svc-modules-grid > :last-child:nth-child(odd),
  body.service-template-page .service-advantages .svc-adv-grid > :last-child:nth-child(odd),
  body.service-template-page > .related-section:not(.seo-related-section) .related-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: min(100%, 520px);
    justify-self: center;
  }
}

@media (max-width: 900px) {
  body.service-template-page .svc-modules-grid,
  body.service-template-page .service-advantages .svc-adv-grid,
  body.service-template-page > .related-section:not(.seo-related-section) .related-grid {
    grid-template-columns: 1fr;
  }

  body.service-template-page .svc-section,
  body.service-template-page .service-advantages .svc-adv-grid,
  body.service-template-page > .related-section:not(.seo-related-section) {
    width: calc(100% - 32px);
  }

  body.service-template-page .service-advantages {
    width: 100%;
  }

  body.service-template-page .svc-modules-grid {
    width: min(520px, 100%);
    margin-inline: auto;
    gap: 36px;
  }

  body.service-template-page .service-advantages .svc-adv-grid,
  body.service-template-page > .related-section:not(.seo-related-section) .related-grid {
    max-width: 620px;
    margin-inline: auto;
  }

  body.service-template-page .svc-modules-grid > :last-child:nth-child(odd),
  body.service-template-page .service-advantages .svc-adv-grid > :last-child:nth-child(odd),
  body.service-template-page > .related-section:not(.seo-related-section) .related-grid > :last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
    justify-self: stretch;
  }

  body.service-template-page .svc-section {
    padding-top: 42px;
  }

  body.service-template-page .svc-section-title {
    font-size: clamp(32px, 5.2vw, 38px);
  }

  body.service-template-page .svc-section-sub {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  body.service-template-page .svc-modules-grid,
  body.service-template-page .service-advantages .svc-adv-grid,
  body.service-template-page > .related-section:not(.seo-related-section) .related-grid {
    grid-template-columns: 1fr;
  }

  body.service-template-page .svc-modules-grid {
    width: min(520px, 100%);
    margin-inline: auto;
    gap: 44px;
  }

  body.service-template-page .svc-module-card,
  body.service-template-page .svc-module-card--wide {
    min-height: 0;
  }

  body.service-template-page .svc-modules-grid > :last-child:nth-child(odd),
  body.service-template-page .service-advantages .svc-adv-grid > :last-child:nth-child(odd),
  body.service-template-page > .related-section:not(.seo-related-section) .related-grid > :last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
    justify-self: stretch;
  }

  body.service-template-page .svc-section-title {
    font-size: 30px;
    line-height: 1.28;
  }

  body.service-template-page .svc-section-sub {
    font-size: 16px;
    line-height: 1.8;
  }

  body.service-template-page .svc-module-title {
    margin-top: 28px;
    font-size: 22px;
  }

  body.service-template-page .svc-module-desc {
    font-size: 15px;
  }

}

.service-template-page .seo-service-nav {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 10px;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 84px 0 0;
  border-bottom: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.service-template-page .seo-service-nav::-webkit-scrollbar { display: none; }

.service-template-page .seo-service-nav a {
  flex: 0 0 146px;
  width: 146px;
  min-width: 146px;
  height: 48px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(227, 181, 46, 0.75);
  border-radius: var(--radius-box, 6px);
  background: #fff;
  color: #9d6b00;
  font-size: clamp(15px, 1.3vw, 17px);
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
  scroll-snap-align: start;
  text-align: center;
  text-decoration: none;
  transform: none;
  box-shadow: none;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.service-template-page .seo-service-nav a:hover,
.service-template-page .seo-service-nav a:focus-visible {
  border-color: var(--tech-gold-bright, #e3b52e);
  background: var(--tech-gold, #e3b52e);
  color: var(--tech-ink, #151004);
  transform: none;
  box-shadow: none;
}

.service-template-page .seo-service-nav a.is-active {
  border-color: var(--tech-gold-bright, #e3b52e);
  background: var(--tech-gold, #e3b52e);
  color: var(--tech-ink, #151004);
  transform: none;
  box-shadow: none;
}

.service-template-page .seo-overview {
  width: var(--tech-content-max, min(1440px, calc(100% - 120px)));
  margin: 0 auto;
  padding: 84px 0 104px;
}

.service-template-page .seo-section-heading {
  width: min(780px, 100%);
  margin: 0 auto 52px;
  text-align: center;
}

@media (min-width: 901px) {
  .service-template-page .seo-overview > .seo-section-heading {
    width: min(1240px, 100%);
  }

  .service-template-page .seo-overview > .seo-section-heading h2 {
    white-space: nowrap;
  }
}

.service-template-page .seo-section-kicker {
  display: inline-block;
  margin-bottom: 16px;
  color: #a46f00;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
}

.service-template-page .seo-section-heading h2 {
  margin: 0;
  color: var(--seo-ink);
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.service-template-page .seo-section-heading p {
  margin: 22px auto 0;
  color: var(--seo-muted);
  font-size: 17px;
  line-height: 1.9;
}

.service-template-page .seo-module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 60px;
}

.service-template-page .seo-module-card {
  min-width: 0;
  background: #fff;
}

.service-template-page .seo-module-visual {
  width: 100%;
  aspect-ratio: 338 / 239;
  border-radius: var(--radius-box, 6px);
  background-color: #f3f6f8;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.service-template-page .seo-module-visual--audience {
  background-image: url("../img/seo/search-audience-v2.png");
}

.service-template-page .seo-module-visual--content {
  background-image: url("../img/seo/industry-content-v2.png");
}

.service-template-page .seo-module-visual--data {
  background-image: url("../img/seo/data-traceability-v2.png");
}

.service-template-page .seo-module-copy {
  position: relative;
  min-height: 246px;
  padding: 38px 14px 42px;
}

.service-template-page .seo-module-copy h3 {
  margin: 0 0 16px;
  color: var(--copy-title);
  font-size: var(--type-card-title);
  font-weight: 740;
  line-height: 1.3;
}

.service-template-page .seo-module-copy p {
  margin: 0;
  color: var(--copy-body);
  font-size: var(--type-body);
  line-height: var(--leading-body);
}

.service-template-page .seo-module-quote {
  position: absolute;
  right: 10px;
  bottom: 4px;
  color: #dff6e5;
  font-family: Georgia, serif;
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
}

.service-template-page .seo-advantages {
  position: relative;
  z-index: 1;
  padding: 108px 0 90px;
  background: #0a0f1e;
  overflow: hidden;
}

.service-template-page .seo-advantages::after {
  display: none;
}

.service-template-page .seo-advantages-inner {
  width: var(--tech-content-max, min(1440px, calc(100% - 120px)));
  margin: 0 auto;
}

.service-template-page .seo-section-heading--light h2 {
  color: #e8edf7;
  text-wrap: balance;
}
.service-template-page .seo-section-heading--light p { color: #94a3b8; }
.service-template-page .seo-section-heading--light .seo-section-kicker { color: #d8a817; }

.service-template-page .seo-adv-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.service-template-page .seo-adv-grid::before {
  position: absolute;
  top: 48px;
  right: 16.666%;
  left: 16.666%;
  z-index: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(189, 130, 0, .28), #bd8200 50%, rgba(189, 130, 0, .28));
  content: "";
}

.service-template-page .seo-adv-item {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 0 clamp(28px, 4vw, 64px);
  text-align: center;
}

.service-template-page .seo-adv-item:not(:last-child)::after {
  position: absolute;
  top: 44px;
  right: -5px;
  width: 9px;
  height: 9px;
  border-top: 2px solid #bd8200;
  border-right: 2px solid #bd8200;
  content: "";
  transform: rotate(45deg);
}

.service-template-page .seo-adv-visual {
  display: grid;
  width: 112px;
  height: 96px;
  margin: 0 auto 26px;
  padding: 0 12px;
  background: #0a0f1e;
  background-image: none;
  box-sizing: content-box;
  color: #e8edf7;
  place-items: center;
}

.service-template-page .seo-adv-visual svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.service-template-page .seo-adv-visual .seo-adv-accent { stroke: #bd8200; }
.service-template-page .seo-adv-visual .seo-adv-accent-fill {
  fill: #e0b431;
  stroke: none;
}

.service-template-page .seo-adv-item h3 {
  margin: 0;
  color: #e8edf7;
  font-size: clamp(21px, 1.6vw, 26px);
  font-weight: 720;
  line-height: 1.35;
}

.service-template-page .seo-adv-divider {
  display: block;
  width: 36px;
  height: 1px;
  margin: 20px auto;
  background: rgba(232, 237, 247, .34);
}

.service-template-page .seo-adv-item p {
  max-width: 340px;
  margin: 0 auto;
  color: #aebbd0;
  font-size: var(--type-body);
  line-height: 1.85;
  text-align: left;
}

.service-template-page .service-adv-action {
  display: flex;
  margin-top: 52px;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.service-template-page .service-adv-cta {
  display: inline-flex;
  height: 48px;
  padding: 0 26px;
  border: 1px solid rgba(227, 181, 46, .72);
  border-radius: var(--radius-box, 6px);
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--tech-gold, #e3b52e);
  color: #171208;
  font-size: var(--type-button, 15px);
  font-weight: 650;
  text-decoration: none;
  transition: border-color .22s ease, background .22s ease, color .22s ease;
  box-shadow: none;
}

.service-template-page .service-adv-cta:hover,
.service-template-page .service-adv-cta:focus-visible {
  border-color: var(--tech-gold-bright, #f2cd52);
  background: var(--tech-gold-bright, #f2cd52);
  color: #151004;
}

.service-template-page .service-adv-cta:focus-visible {
  outline: 2px solid var(--tech-gold-bright, #f2cd52);
  outline-offset: 4px;
}

.service-template-page .service-adv-action p {
  margin: 0;
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

body.service-template-page .seo-related-section {
  width: var(--tech-content-max, min(1440px, calc(100% - 120px)));
  padding: 64px 0 88px;
}

.service-template-page .seo-related-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--seo-line);
}

.service-template-page .seo-related-heading span {
  color: #a46f00;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
}

.service-template-page .seo-related-heading h2 {
  margin: 0;
  color: var(--seo-ink);
  font-size: 34px;
}

.service-template-page .seo-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* 与 news.html 行业洞察列表保持同一视觉规则。 */
body.service-template-page .seo-related-grid .news-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 360px;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto 1fr auto;
  column-gap: 18px;
  row-gap: 20px;
  padding: 30px 28px 26px;
  border: 1px solid rgba(18, 24, 38, .13);
  border-radius: var(--radius-box, 6px);
  background: #fff;
  color: var(--seo-ink);
  box-shadow: none;
  text-decoration: none;
  transform: none !important;
  transition: background-color .25s ease, border-color .25s ease;
}

body.service-template-page .seo-related-grid .news-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--seo-gold);
  opacity: 0;
  transition: opacity .22s ease;
}

body.service-template-page .seo-related-grid .news-card:hover,
body.service-template-page .seo-related-grid .news-card:focus-within {
  background: #fbfcfd;
  border-color: rgba(18, 24, 38, .13) !important;
  box-shadow: none !important;
  transform: none !important;
}

body.service-template-page .seo-related-grid .news-card:hover::before,
body.service-template-page .seo-related-grid .news-card:focus-within::before { opacity: .8; }

body.service-template-page .seo-related-grid .news-card .news-date {
  grid-column: 1;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 0;
  border: 0;
}

body.service-template-page .seo-related-grid .news-card .news-day {
  color: var(--copy-accent);
  font-size: 30px;
  font-weight: 750;
  line-height: 1;
}

body.service-template-page .seo-related-grid .news-card .news-month {
  color: var(--copy-muted);
  font-size: var(--type-caption);
  font-weight: 500;
  letter-spacing: .05em;
}

body.service-template-page .seo-related-grid .news-card .news-category-tag {
  grid-column: 2;
  align-self: center;
  justify-self: end;
  margin: 0;
  padding: 6px 11px;
  border: 1px solid rgba(196, 145, 28, .3);
  border-radius: 4px;
  background: #fffaf0;
  color: #76530a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .04em;
  white-space: nowrap;
}

body.service-template-page .seo-related-grid .news-card .news-title {
  grid-column: 1 / -1;
  display: block;
  min-height: 62px;
  overflow: visible;
  color: var(--copy-title);
  font-size: var(--type-card-title);
  font-weight: 750;
  line-height: 1.42;
  letter-spacing: -.01em;
}

body.service-template-page .seo-related-grid .news-card:hover .news-title,
body.service-template-page .seo-related-grid .news-card:focus-within .news-title { color: #121826; }

body.service-template-page .seo-related-grid .news-card .news-excerpt {
  grid-column: 1 / -1;
  display: block;
  overflow: visible;
  color: var(--copy-body);
  font-size: var(--type-body);
  font-weight: 450;
  line-height: var(--leading-body);
}

body.service-template-page .seo-related-grid .news-card .news-more {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  justify-self: end;
  width: 134px;
  min-width: 134px;
  height: 48px;
  margin: 0;
  padding: 0 20px;
  gap: 10px;
  border: 1px solid rgba(227, 181, 46, .75);
  border-radius: var(--radius-box, 6px);
  background: #fff;
  color: #000;
  font-size: var(--type-button);
  font-weight: 650;
  line-height: 1;
  letter-spacing: .03em;
  white-space: nowrap;
  box-shadow: none !important;
  transform: none !important;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

body.service-template-page .seo-related-grid .news-card:hover .news-more,
body.service-template-page .seo-related-grid .news-card:focus-within .news-more,
body.service-template-page .seo-related-grid .news-card .news-more:hover,
body.service-template-page .seo-related-grid .news-card .news-more:focus-visible {
  border-color: var(--seo-gold);
  background: var(--seo-gold);
  color: #111;
  box-shadow: none !important;
  transform: none !important;
}

body.service-template-page .seo-related-grid .news-card:hover .news-more > span,
body.service-template-page .seo-related-grid .news-card:focus-within .news-more > span {
  transform: none !important;
}

/* SEO 页面结构独立，断点放在其基础规则之后，避免被三列默认值覆盖。 */
@media (max-width: 1100px) {
  .service-template-page .seo-module-grid,
  .service-template-page .seo-adv-grid,
  .service-template-page .seo-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-template-page .seo-module-grid > :last-child:nth-child(odd),
  .service-template-page .seo-adv-grid > :last-child:nth-child(odd),
  .service-template-page .seo-related-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: min(100%, 520px);
    justify-self: center;
  }
}

@media (max-width: 900px) {
  .service-template-page .seo-service-nav {
    justify-content: flex-start;
    gap: 8px;
    width: calc(100% - 32px);
    padding: 42px 0 0;
  }

  .service-template-page .seo-overview,
  .service-template-page .seo-advantages-inner,
  body.service-template-page .seo-related-section {
    width: calc(100% - 32px);
  }

  .service-template-page .seo-overview { padding: 42px 0 80px; }
  .service-template-page .seo-module-grid {
    grid-template-columns: 1fr;
    width: min(520px, 100%);
    margin-inline: auto;
    gap: 36px;
  }
  .service-template-page .seo-adv-grid,
  .service-template-page .seo-related-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin-inline: auto;
  }
  .service-template-page .seo-module-grid > :last-child:nth-child(odd),
  .service-template-page .seo-adv-grid > :last-child:nth-child(odd),
  .service-template-page .seo-related-grid > :last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
    justify-self: stretch;
  }
  .service-template-page .seo-module-card { display: block; }
  .service-template-page .seo-module-visual { min-height: 0; border: 0; }
  .service-template-page .seo-module-copy p { min-height: 0; }
  .service-template-page .seo-advantages { padding: 88px 0 76px; }
  .service-template-page .seo-adv-grid {
    position: relative;
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-inline: auto;
  }
  .service-template-page .seo-adv-grid::before {
    top: 40px;
    right: auto;
    bottom: 40px;
    left: 49px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(189, 130, 0, .25), #bd8200 50%, rgba(189, 130, 0, .25));
  }
  .service-template-page .seo-adv-item {
    display: grid;
    grid-template-columns: 98px minmax(0, 1fr);
    column-gap: 28px;
    padding: 34px 0;
    text-align: left;
  }
  .service-template-page .seo-adv-item:first-child { padding-top: 0; }
  .service-template-page .seo-adv-item:not(:last-child)::after { display: none; }
  .service-template-page .seo-adv-item + .seo-adv-item {
    border-top: 0;
    border-left: 0;
  }
  .service-template-page .seo-adv-visual {
    grid-row: 1 / 4;
    grid-column: 1;
    width: 88px;
    height: 76px;
    margin: 0;
    padding: 0 5px;
  }
  .service-template-page .seo-adv-item h3,
  .service-template-page .seo-adv-divider,
  .service-template-page .seo-adv-item p { grid-column: 2; }
  .service-template-page .seo-adv-divider { margin: 16px 0; }
  .service-template-page .seo-adv-item p {
    max-width: none;
    margin: 0;
  }
}

@media (min-width: 641px) and (max-width: 1100px) {
  .service-template-page .seo-service-nav {
    overflow-x: visible;
  }

  .service-template-page .seo-service-nav a {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    height: 44px;
    padding-inline: 6px;
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .service-template-page .seo-service-nav {
    flex-wrap: wrap;
    overflow-x: visible;
    scroll-snap-type: none;
  }

  .service-template-page .seo-module-grid,
  .service-template-page .seo-adv-grid,
  .service-template-page .seo-related-grid {
    grid-template-columns: 1fr;
  }

  .service-template-page .seo-module-grid {
    width: min(520px, 100%);
    margin-inline: auto;
    gap: 44px;
  }

  .service-template-page .seo-module-grid > :last-child:nth-child(odd),
  .service-template-page .seo-adv-grid > :last-child:nth-child(odd),
  .service-template-page .seo-related-grid > :last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
    justify-self: stretch;
  }

  .service-template-page .seo-service-nav a {
    flex: 0 0 calc((100% - 16px) / 3);
    width: calc((100% - 16px) / 3);
    min-width: 0;
    height: 44px;
    padding: 0 6px;
    font-size: 14px;
  }
  .service-template-page .seo-overview { padding-top: 42px; }
  .service-template-page .seo-section-heading { margin-bottom: 36px; }
  .service-template-page .seo-section-heading h2 {
    font-size: 30px;
    line-height: 1.28;
  }
  .service-template-page .seo-section-heading p {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.8;
  }
  .service-template-page .seo-module-card { display: block; }
  .service-template-page .seo-module-visual {
    min-height: 0;
    border-right: 0;
    border-bottom: 0;
  }
  .service-template-page .seo-module-copy {
    min-height: 0;
    padding: 28px 12px 48px;
  }
  .service-template-page .seo-module-copy p { min-height: 0; }
  .service-template-page .seo-advantages .seo-section-heading h2 {
    font-size: 28px;
    letter-spacing: -.03em;
  }
  .service-template-page .seo-adv-grid::before { left: 43px; }
  .service-template-page .seo-adv-item {
    min-height: 0;
    grid-template-columns: 86px minmax(0, 1fr);
    column-gap: 18px;
    padding-block: 30px;
  }
  .service-template-page .seo-adv-visual {
    width: 76px;
    height: 68px;
  }
  .service-template-page .service-adv-action {
    margin-top: 36px;
    padding-inline: 16px;
  }
  .service-template-page .service-adv-cta {
    width: 100%;
    max-width: 347px;
  }
  .service-template-page .seo-related-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .service-template-page .seo-related-heading h2 { font-size: 30px; }
  body.service-template-page .seo-related-grid .news-card {
    min-height: 0;
    padding: 22px 20px 20px;
    row-gap: 16px;
  }
  body.service-template-page .seo-related-grid .news-card .news-day { font-size: 27px; }
  body.service-template-page .seo-related-grid .news-card .news-title {
    min-height: 0;
    font-size: 20px;
    line-height: 1.45;
  }
  body.service-template-page .seo-related-grid .news-card .news-excerpt {
    font-size: 14px;
    line-height: 1.72;
  }
  body.service-template-page .seo-related-grid .news-card .news-more {
    width: 140px;
    min-width: 140px;
    height: 46px;
    font-size: 14px;
  }
}
