/* 首页独立作用域：统一内容层级，保留首屏主视觉、业务数字和页脚的专用规格。 */
.home-page.medical-layout.home-index {
  --home-section-size: 38px;
  --home-content-size: 24px;
  --home-card-size: 18px;
  --home-body-size: 16px;
  --home-card-body-size: 15px;
  --home-title-color: #22303a;
  --home-body-color: #52677a;
}

.home-page.medical-layout.home-index :is(.title, .intro-heading h2) {
  color: var(--home-title-color);
  font-size: var(--home-section-size);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  white-space: normal;
}

.home-page.medical-layout.home-index :is(.solution-panel-copy h3, .case-featured .case-title, .contact-heading, .map-legend-title) {
  color: var(--home-title-color);
  font-size: var(--home-content-size);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
}

.home-page.medical-layout.home-index :is(.case-item .case-title, .connection-benefits h3, .region-detail-title) {
  color: var(--home-title-color);
  font-size: var(--home-card-size);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  white-space: normal;
}

.home-page.medical-layout.home-index :is(.hero--platform .hero-description, .intro-strip > p, .solutions-subtitle, .section-description, .cases-subtitle, .reach-description, .connection-heading p, .solution-panel-copy > p) {
  color: var(--home-body-color);
  font-size: var(--home-body-size);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0;
}

.home-page.medical-layout.home-index :is(.case-desc, .region-detail-description, .region-detail-coverage) {
  color: var(--home-body-color);
  font-size: var(--home-card-body-size);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0;
}

.home-page.medical-layout.home-index :is(.case-category, .case-tags > span, .connection-kicker, .service-metrics > div > span) {
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0;
}

.home-page.medical-layout.home-index .case-cta { font-size: 14px; }

@media (max-width: 1100px) {
  .home-page.medical-layout.home-index { --home-section-size: 34px; }
}

@media (max-width: 700px) {
  .home-page.medical-layout.home-index {
    --home-section-size: 28px;
    --home-content-size: 22px;
    --home-card-size: 16px;
    --home-body-size: 14px;
    --home-card-body-size: 14px;
  }
  .home-page.medical-layout.home-index .hero--platform .hero-description { line-height: 1.95; }
  .home-page.medical-layout.home-index .connection-heading .title { white-space: normal; }
  .home-page.medical-layout.home-index .connection-heading p { text-wrap: balance; }
  /* 正文放大后自然撑开案例卡，避免沿用截行规则隐藏关键信息。 */
  .home-page.medical-layout.home-index .case-item .case-desc {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
  }
  .home-page.medical-layout.home-index .solution-tabs button {
    font-size: 14px;
    line-height: 1.5;
    white-space: normal;
  }
}

@media (max-width: 600px) {
  /* 连接服务说明优先占满手机端可用宽度，避免均衡换行拆成两行。 */
  .home-page.medical-layout.home-index .connection-core .connection-heading p {
    font-size: clamp(10px, 3.2vw, 13px);
    text-wrap: nowrap;
    white-space: nowrap;
  }
}

@media (max-width: 300px) {
  .home-page.medical-layout.home-index .connection-core .connection-heading p {
    text-wrap: balance;
    white-space: normal;
  }
}

@media (max-width: 380px) {
  .home-page.medical-layout.home-index { --home-section-size: 26px; }
}
