/* Six independent product pages, using the same frame as the About and Business sections. */
/* Inherit the shared .page-cover height at every breakpoint.
   Keep the supplied photo proportional, with scenery filling the remaining space. */
.health-cover {
  display: flex;
  justify-content: center;
  background: #e5eae3;
}
.health-cover::before {
  content: "";
  position: absolute;
  inset: -6px;
  z-index: -1;
  background: url('./assets/hero/products-courtyard-expanded-20261027.png') center / cover no-repeat;
  filter: blur(5px);
}
.health-cover-image {
  flex: none;
  width: auto;
  height: 100%;
  max-width: none;
  aspect-ratio: 952 / 666;
  object-fit: contain;
  mask-image: linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);
}
.health-breadcrumb-band { background: #edf5f4; border-bottom: 1px solid #dae8e6; }
.health-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 48px; padding-block: 10px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.health-breadcrumb a:hover { color: var(--teal); }
.health-breadcrumb [aria-current="page"] { color: var(--teal); font-weight: 600; }
.health-layout { display: grid; grid-template-columns: 260px minmax(0,1fr); align-items: start; gap: 56px; padding-block: 64px 88px; min-height: 560px; }
.health-sidebar { position: sticky; top: calc(var(--header-h) + 28px); min-width: 0; }
.health-side-nav a { display: block; padding: 14px 16px; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; color: #486376; font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }
.health-side-nav a:hover { color: var(--teal); background: #f3f8f7; }
.health-side-nav a[aria-current="page"] { border-left-color: var(--teal); background: #edf5f4; color: var(--teal); font-weight: 600; }
.health-content { min-width: 0; scroll-margin-top: calc(var(--header-h) + 24px); }
.health-content > h1 { margin-bottom: 36px; color: var(--navy); font-size: 36px; line-height: 1.45; text-align: center; overflow-wrap: anywhere; }
.health-content > h1::after { content: ""; display: block; width: 48px; height: 2px; background: var(--teal); margin: 18px auto 0; }
.health-content > section { padding: 0; background: transparent; }
.health-content > section > .shell { width: 100%; max-width: none; }
.health-content-area { min-height: 280px; }
/* 子页正文里的 h2 只作为区块小标题，避免与页面 h1 抢视觉层级 */
.health-content [data-health-panel] h2:not(.subheading) { font-size: 24px; font-weight: 650; line-height: 1.5; color: var(--navy); }
.health-content [data-health-panel] .section-heading { margin-bottom: 28px; max-width: none; }
.health-content [data-health-panel] .section-heading > p { margin-top: 12px; font-size: 15px; line-height: 1.85; }
.health-content [data-health-panel] .food-feature h3 { font-size: 22px; }
/* 形态卡片下方的英文小注在英文界面会与标题重复，英文下隐藏 */
html[lang="en"] .product-forms small { display: none; }
.health-page #nav-dropdown-health { width: 300px; }

/* ---------- 产品页内容组件（20261027-product-content） ---------- */
.product-lead { max-width: 860px; margin: 0 auto 46px; color: var(--muted); font-size: 17px; line-height: 1.95; text-align: center; }
.raccoon-feature .raccoon-product-image { margin: 0; padding: 0; background: #fff; }
.raccoon-feature .raccoon-product-image img { width: 100%; max-width: 300px; mix-blend-mode: normal; filter: brightness(1.004); }
.raccoon-feature .product-lead, .family-feature .product-lead { max-width: none; margin: 0 0 22px; text-align: left; }
.raccoon-feature-copy h2, .family-feature-copy h2 { margin-bottom: 12px; }
.family-feature .family-feature-image img { display: block; width: auto; max-width: 100%; max-height: 420px; margin-inline: auto; object-fit: contain; }
.product-block { margin-top: 54px; padding-top: 54px; border-top: 1px solid var(--line); }
.product-block:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.product-block-head { margin-bottom: 30px; }
.product-block-head > p { margin-top: 12px; max-width: 820px; font-size: 15px; line-height: 1.9; }
.product-block > p { max-width: 860px; font-size: 15px; line-height: 1.95; }

.product-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-block: 1px solid var(--line); margin-bottom: 30px; }
.product-stats > div { min-width: 0; padding: 24px 20px; border-left: 1px solid var(--line); }
.product-stats > div:first-child { padding-left: 0; border-left: 0; }
.product-stats strong { display: block; color: var(--navy); font-size: 30px; font-weight: 650; line-height: 1.25; letter-spacing: -.02em; }
.product-stats strong small { margin-left: 2px; font-size: 14px; font-weight: 600; letter-spacing: 0; }
.product-stats span { display: block; margin-top: 9px; color: var(--muted); font-size: 13px; line-height: 1.7; }

.product-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.product-cards--two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.product-cards > article { min-width: 0; padding: 28px 26px; background: var(--pale); }
.product-cards .num { display: block; margin-bottom: 14px; color: var(--teal); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.product-cards h3 { margin-bottom: 12px; color: var(--navy); font-size: 18px; line-height: 1.5; }
.product-cards p { font-size: 14px; line-height: 1.85; }

.product-feature { display: grid; grid-template-columns: 1.12fr 1fr; gap: 44px; align-items: center; padding: 32px; background: #fff; border: 0; }
.product-feature + .product-feature { margin-top: 24px; }
.product-feature--reverse { grid-template-columns: 1fr 1.12fr; }
.product-feature--reverse .product-media { order: 2; }
.product-media { min-width: 0; margin: 0; }
.product-media img { width: 100%; height: auto; }
.product-media figcaption { margin-top: 14px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.product-copy { min-width: 0; }
.product-block > .product-copy { max-width: 860px; margin-bottom: 26px; }
.product-copy h3 { margin-bottom: 16px; color: var(--navy); font-size: 21px; line-height: 1.5; }
.product-copy > p { margin-bottom: 14px; font-size: 14px; line-height: 1.9; }
.product-copy > p:last-child { margin-bottom: 0; }
.product-copy .check-list { margin-top: 16px; }
.product-copy .check-list > li { font-size: 13px; }

.product-figure { margin: 0; }
.product-figure img { width: 100%; height: auto; background: #fff; border: 0; }
.product-figure--flush img { padding: 0; border: 0; }
.product-figure--app picture { display: block; }
.product-figure--app img { display: block; max-width: 760px; margin-inline: auto; }
.product-figure figcaption { margin-top: 14px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.product-figure + .product-figure { margin-top: 26px; }

.product-empty { padding: 46px 36px; background: var(--pale); border: 1px dashed #c9d7e0; text-align: center; }
.product-empty strong { display: block; margin-bottom: 12px; color: var(--navy); font-size: 16px; font-weight: 650; }
.product-empty p { max-width: 560px; margin: 0 auto; font-size: 14px; line-height: 1.9; }
.product-empty .text-link { margin-top: 22px; font-size: 13px; }

.product-partner { display: flex; align-items: center; gap: 22px; margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.product-partner img { width: 68px; height: 68px; object-fit: contain; flex: none; }
.product-partner p { font-size: 13px; line-height: 1.8; }
.product-partner strong { color: var(--navy); }
/* 子页里的 .family-grid 落在白色背景上，改用浅底以免卡片边界消失 */
.health-content .family-grid > article { background: var(--pale); }

@media (max-width: 1100px) {
  .product-feature { grid-template-columns: 1fr; gap: 26px; padding: 26px; }
  .product-feature--reverse { grid-template-columns: 1fr; }
  .product-feature--reverse .product-media { order: 0; }
  .product-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-stats > div { padding: 20px 18px; }
  .product-stats > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .product-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .product-stats strong { font-size: 26px; }
}
@media (max-width: 767px) {
  .product-lead { margin-bottom: 32px; font-size: 15px; line-height: 1.9; }
  .family-feature .family-feature-image img { max-height: 360px; }
  .product-block { margin-top: 38px; padding-top: 38px; }
  .product-block-head { margin-bottom: 24px; }
  .product-block-head > p { font-size: 14px; }
  .product-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-stats > div { padding: 18px 14px; }
  .product-stats > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .product-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .product-stats strong { font-size: 24px; }
  .product-stats span { font-size: 12px; }
  .product-cards { grid-template-columns: 1fr; gap: 16px; }
  .product-cards > article { padding: 24px 22px; }
  .product-cards h3 { font-size: 17px; }
  .product-feature { padding: 22px 20px; gap: 22px; }
  .product-copy h3 { font-size: 19px; }
  .product-empty { padding: 32px 22px; }
  .product-partner { gap: 16px; }
  .product-partner img { width: 56px; height: 56px; }
}

@media (max-width: 1100px) {
  .health-layout { grid-template-columns: 210px minmax(0,1fr); gap: 32px; padding-block: 48px 64px; }
  .health-side-nav a { padding-inline: 12px; font-size: 14px; }
}
/* 三屏并排的界面图在窄屏上每屏过小，改为只展示单屏 */
@media (max-width: 1023px) {
  .product-figure--app img { max-width: 360px; }
}
@media (max-width: 767px) {
  /* Use only the courtyard's left wing behind the complete original photo. */
  .health-cover::before { background-size: auto 200%; background-position: left center; }
  .health-cover-image { width: 100%; height: 100%; mask-image: none; }
  .health-layout { display: block; padding-block: 24px 48px; min-height: 0; }
  .health-sidebar { position: static; margin-bottom: 32px; }
  .health-side-nav ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .health-side-nav li { display: flex; min-width: 0; }
  .health-side-nav a { display: flex; align-items: center; justify-content: center; width: 100%; padding: 12px 10px; border-left: 0; border-bottom-width: 2px; font-size: 13px; text-align: center; }
  .health-side-nav a[aria-current="page"] { border-bottom-color: var(--teal); }
  .health-content > h1 { font-size: 27px; margin-bottom: 28px; }
  .health-content > h1::after { margin-top: 14px; }
  .health-content-area { min-height: 220px; }
  .health-page #nav-dropdown-health { width: auto; }
  /* 手机端再收一档，单屏也不至于顶满 */
  .product-figure--app img { max-width: 320px; }
}
@media print {
  .health-cover,.health-breadcrumb-band,.health-sidebar { display: none; }
  .health-layout { display: block; padding: 0; }
}

/* 抑郁症产品页：连续的图文介绍 */
.depression-feature p:last-child { margin-bottom: 0; }
.depression-content { margin-top: 36px; }
.depression-content p { font-size: 15px; line-height: 1.95; margin: 0 0 24px; }
.depression-content figure { margin: 28px auto 36px; max-width: 820px; }
.depression-content figure img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) {
  .depression-content { margin-top: 28px; }
  .depression-content p { font-size: 14px; }
  .depression-content figure { margin: 22px auto 28px; }
}

/* AD 产品页的连续图文介绍 */
.ad-feature p:last-child { margin-bottom: 0; }
.ad-content { margin-top: 36px; }
.ad-content p { font-size: 15px; line-height: 1.95; margin: 0 0 24px; }
@media (max-width: 767px) {
  .ad-content { margin-top: 28px; }
  .ad-content p { font-size: 14px; }
}

/* 双花甘露页使用连续的产品介绍 */
.food-intro p:last-child { margin-bottom: 0; }
.food-narrative { margin-top: 36px; }
.food-narrative p { font-size: 15px; line-height: 1.95; margin: 0 0 24px; }
.food-narrative figure { margin: 28px auto 36px; max-width: 820px; }
.food-narrative figure img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) {
  .food-narrative { margin-top: 28px; }
  .food-narrative p { font-size: 14px; }
  .food-narrative figure { margin: 22px auto 28px; }
}

/* 自闭症陪伴家长助手页的连续图文介绍 */
.family-feature-copy p:last-child { margin-bottom: 0; }
.family-narrative { margin-top: 36px; }
.family-narrative p { font-size: 15px; line-height: 1.95; margin: 0 0 24px; }
.family-narrative figure { margin: 28px auto 36px; max-width: 820px; }
.family-narrative figure img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) {
  .family-narrative { margin-top: 28px; }
  .family-narrative p { font-size: 14px; }
  .family-narrative figure { margin: 22px auto 28px; }
}

/* 支架术后再狭窄页面的连续图文介绍 */
.restenosis-feature p:last-child { margin-bottom: 0; }
.restenosis-narrative { margin-top: 36px; }
.restenosis-narrative p { font-size: 15px; line-height: 1.95; margin: 0 0 24px; }
.restenosis-narrative figure { margin: 28px auto 36px; max-width: 820px; }
.restenosis-narrative figure img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) {
  .restenosis-narrative { margin-top: 28px; }
  .restenosis-narrative p { font-size: 14px; }
  .restenosis-narrative figure { margin: 22px auto 28px; }
}

.restenosis-feature figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.6; text-align: center; }

/* 小浣熊陪护机器人的连续图文介绍 */
.raccoon-feature-copy p:last-child { margin-bottom: 0; }
.raccoon-narrative { margin-top: 36px; }
.raccoon-narrative p { font-size: 15px; line-height: 1.95; margin: 0 0 24px; }
.raccoon-narrative figure { margin: 28px auto 36px; max-width: 820px; }
.raccoon-narrative figure img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) {
  .raccoon-narrative { margin-top: 28px; }
  .raccoon-narrative p { font-size: 14px; }
  .raccoon-narrative figure { margin: 22px auto 28px; }
}

.raccoon-narrative .raccoon-audience-figure { max-width: 540px; }
