/*
 * Shared section heading component.
 * Canonical visual source: business.html (V10) / “聚焦核心业务发展”.
 * Full usage rules are documented in 官网视觉规范.md.
 */

.section-title-v10,
.pd-heading:has(> :is(
  #cloud-rights-title,
  #cloud-products-title,
  #cloud-features-title,
  #dcim-capabilities-title,
  #dcim-operations-title,
  #dcim-flow-title,
  #dcim-features-title
)) {
  width: 100%;
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-title-v10__row,
.section-title-v10 > h2,
.pd-heading > :is(
  #cloud-rights-title,
  #cloud-products-title,
  #cloud-features-title,
  #dcim-capabilities-title,
  #dcim-operations-title,
  #dcim-flow-title,
  #dcim-features-title
) {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.section-title-v10__row h2,
.section-title-v10 > h2,
.pd-heading > :is(
  #cloud-rights-title,
  #cloud-products-title,
  #cloud-features-title,
  #dcim-capabilities-title,
  #dcim-operations-title,
  #dcim-flow-title,
  #dcim-features-title
) {
  margin: 0;
  color: #384257;
  font-size: 34px;
  font-weight: 680;
  letter-spacing: -.025em;
  line-height: 1.25;
  text-align: center;
}

.section-title-v10__dots,
.section-title-v10 > h2::before,
.section-title-v10 > h2::after,
.pd-heading > :is(
  #cloud-rights-title,
  #cloud-products-title,
  #cloud-features-title,
  #dcim-capabilities-title,
  #dcim-operations-title,
  #dcim-flow-title,
  #dcim-features-title
)::before,
.pd-heading > :is(
  #cloud-rights-title,
  #cloud-products-title,
  #cloud-features-title,
  #dcim-capabilities-title,
  #dcim-operations-title,
  #dcim-flow-title,
  #dcim-features-title
)::after {
  width: 62px;
  height: 19px;
  flex: 0 1 62px;
  content: "";
  opacity: .9;
  background-image: radial-gradient(circle, #758093 1.7px, transparent 1.9px);
  background-position: center;
  background-size: 9px 7px;
}

.section-title-v10__dots:first-child,
.section-title-v10 > h2::before,
.pd-heading > :is(
  #cloud-rights-title,
  #cloud-products-title,
  #cloud-features-title,
  #dcim-capabilities-title,
  #dcim-operations-title,
  #dcim-flow-title,
  #dcim-features-title
)::before {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 62%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 62%);
}

.section-title-v10__dots:last-child,
.section-title-v10 > h2::after,
.pd-heading > :is(
  #cloud-rights-title,
  #cloud-products-title,
  #cloud-features-title,
  #dcim-capabilities-title,
  #dcim-operations-title,
  #dcim-flow-title,
  #dcim-features-title
)::after {
  -webkit-mask-image: linear-gradient(90deg, #000 38%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 38%, transparent 100%);
}

.section-title-v10 > .pd-kicker,
.pd-heading:has(> :is(
  #cloud-rights-title,
  #cloud-products-title,
  #cloud-features-title,
  #dcim-capabilities-title,
  #dcim-operations-title,
  #dcim-flow-title,
  #dcim-features-title
)) > .pd-kicker {
  display: none;
}

.section-title-v10 > p:last-child,
.pd-heading:has(> :is(
  #cloud-rights-title,
  #cloud-products-title,
  #cloud-features-title,
  #dcim-capabilities-title,
  #dcim-operations-title,
  #dcim-flow-title,
  #dcim-features-title
)) > p:last-child {
  max-width: 860px;
  margin: 16px auto 0;
  color: #8e96a5;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.7;
  text-align: center;
}

@media (max-width: 760px) {
  .section-title-v10__row,
  .section-title-v10 > h2,
  .pd-heading > :is(
    #cloud-rights-title,
    #cloud-products-title,
    #cloud-features-title,
    #dcim-capabilities-title,
    #dcim-operations-title,
    #dcim-flow-title,
    #dcim-features-title
  ) {
    gap: 10px;
  }

  .section-title-v10__row h2,
  .section-title-v10 > h2,
  .pd-heading > :is(
    #cloud-rights-title,
    #cloud-products-title,
    #cloud-features-title,
    #dcim-capabilities-title,
    #dcim-operations-title,
    #dcim-flow-title,
    #dcim-features-title
  ) {
    font-size: 28px;
  }

  .section-title-v10__dots,
  .section-title-v10 > h2::before,
  .section-title-v10 > h2::after,
  .pd-heading > :is(
    #cloud-rights-title,
    #cloud-products-title,
    #cloud-features-title,
    #dcim-capabilities-title,
    #dcim-operations-title,
    #dcim-flow-title,
    #dcim-features-title
  )::before,
  .pd-heading > :is(
    #cloud-rights-title,
    #cloud-products-title,
    #cloud-features-title,
    #dcim-capabilities-title,
    #dcim-operations-title,
    #dcim-flow-title,
    #dcim-features-title
  )::after {
    width: 40px;
    height: 16px;
    flex-basis: 40px;
    background-size: 8px 7px;
  }

  .section-title-v10 > p:last-child,
  .pd-heading:has(> :is(
    #cloud-rights-title,
    #cloud-products-title,
    #cloud-features-title,
    #dcim-capabilities-title,
    #dcim-operations-title,
    #dcim-flow-title,
    #dcim-features-title
  )) > p:last-child {
    margin-top: 13px;
    font-size: 13px;
    line-height: 1.65;
  }
}

@media (max-width: 420px) {
  .section-title-v10__dots,
  .section-title-v10 > h2::before,
  .section-title-v10 > h2::after,
  .pd-heading > :is(
    #cloud-rights-title,
    #cloud-products-title,
    #cloud-features-title,
    #dcim-capabilities-title,
    #dcim-operations-title,
    #dcim-flow-title,
    #dcim-features-title
  )::before,
  .pd-heading > :is(
    #cloud-rights-title,
    #cloud-products-title,
    #cloud-features-title,
    #dcim-capabilities-title,
    #dcim-operations-title,
    #dcim-flow-title,
    #dcim-features-title
  )::after {
    width: 28px;
    flex-basis: 28px;
  }
}
