/* 本地服务页独立样式；公共头尾与交互沿用 public.css / public.js。 */
.service-main { --service-gutter: var(--gutter-page); color: var(--c-ink); }
/* 服务页独立 Banner，沿用能力页的高度与斜切面板形式。 */
.service-banner { position: relative; isolation: isolate; overflow: hidden; height: var(--application-banner-height); }
.service-banner__image { position: absolute; inset: 0; z-index: -2; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.service-banner__panel { position: absolute; inset: 0; z-index: -1; background: url('../imgs/infobox_blue_left.png') left top / 100% 100% no-repeat; clip-path: polygon(0 0, 46% 0, 41% 100%, 0 100%); }
.service-banner__inner { display: flex; align-items: center; height: 100%; padding-inline: var(--service-gutter); padding-bottom: calc(var(--application-banner-height) * var(--inner-banner-title-lift) * 2); }
.service-banner h1 { max-width: 40%; font-size: var(--fs-6xl); font-weight: 700; line-height: 1.4; }
.service-content { padding: var(--company-space) var(--service-gutter); }
/* 富文本内不依赖编辑器生成专用类名，直接支持常见内容标签。 */
.service-richtext { overflow-wrap: anywhere; font-size: var(--fs-lead); line-height: var(--lh-lead); }
.service-richtext :where(p, li, blockquote, td, th, figcaption, div, span, strong, b, em, i, a) { line-height: inherit; }
.service-richtext strong, .service-richtext b { font-weight: 700; }
.service-richtext em, .service-richtext i { font-style: italic; }
.service-richtext > :first-child { margin-top: 0; }
.service-richtext > :last-child { margin-bottom: 0; }
.service-richtext h2 { margin: var(--sp-6) 0 var(--sp-6); font-size: var(--fs-5xl); font-weight: 700; line-height: 1.4; }
.service-richtext h3 { margin: var(--sp-5) 0 var(--sp-5); font-size: var(--fs-3xl); font-weight: 700; line-height: 1.4; }
.service-richtext h4, .service-richtext h5, .service-richtext h6 { margin: var(--sp-5) 0 var(--sp-4); font-size: var(--fs-2xl); font-weight: 700; line-height: 1.5; }
.service-richtext p, .service-richtext ul, .service-richtext ol, .service-richtext blockquote, .service-richtext figure { margin-block: var(--sp-5); }
.service-richtext ul { list-style: disc; padding-left: 1.5em; }
.service-richtext ol { list-style: decimal; padding-left: 1.5em; }
.service-richtext img, .service-richtext video { display: block; max-width: 100%; height: auto; }
.service-richtext iframe { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.service-richtext table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin-block: var(--sp-5); }
.service-richtext th, .service-richtext td { padding: var(--sp-3); border: 1px solid var(--c-border); }
.service-richtext a { color: var(--c-text); text-decoration: underline; text-underline-offset: 3px; }
.service-richtext blockquote { padding-left: var(--sp-5); border-left: 3px solid var(--c-accent-cyan); color: var(--c-text-2); }
.service-richtext h1 { margin-bottom: var(--sp-6); font-size: var(--fs-6xl); font-weight: 700; line-height: 1.4; }
.service-richtext a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@media (max-width: 768px) {
  .service-main { --service-gutter: 16px; }
  .service-banner__panel { clip-path: polygon(0 0, 70% 0, 57% 100%, 0 100%); }
  .service-banner__image { object-position: 62% center; }
  .service-banner h1 { max-width: 55%; font-size: var(--fs-5xl); }
  .service-richtext h1 { font-size: var(--fs-5xl); }
  .service-richtext h2 { margin-bottom: var(--sp-5); }
}
