.hospital-page {
  --hospital-ink: #3e4144;
  --hospital-blue: #0868ff;
  position: relative;
  overflow: clip;
  color: var(--hospital-ink);
  background: #fff;
  line-height: 1.6;
}
.hospital-page *, .hospital-page *::before, .hospital-page *::after { box-sizing: border-box; }
.hospital-page button, .hospital-page a { -webkit-tap-highlight-color: transparent; }
.hospital-page button { font: inherit; }
.hospital-page :is(h1,h2,h3,p):not(.solution-hero__kicker) { margin: 0; }
.hospital-page img { display: block; max-width: 100%; }
.hospital-page :is(a,button,[tabindex]):focus-visible { outline: 3px solid var(--hospital-blue); outline-offset: 5px; }
.hospital-shell { width: min(70%, 1320px); margin-inline: auto; }
.hospital-heading { margin-bottom: clamp(28px, 2.6vw, 48px) !important; font-size: clamp(24px, 2.35vw, 42px); font-weight: 600; letter-spacing: .035em; line-height: 1.45; white-space: pre-line; }
.hospital-intro { background: linear-gradient(180deg, #cfd4d9 0%, #edf1f4 100%); }
/* 首屏布局和文字排版复用 solution.css；这里只保留医院素材的配色和渐变。 */
/* 显式定位优先于后台 [data-tina-field-overlay] 的 relative，防止空背景层高度归零。
   clip 同时禁止编辑器点选时 scrollIntoView 滚动裁切容器，避免背景临时偏位。 */
.hospital-hero .hospital-hero__artwork { position: absolute; inset: 0; z-index: 0; overflow: clip; }
/* 后台文案容器不遮挡背景点选，文字字段继续独立响应编辑。 */
body.__tina-quick-editing-enabled .hospital-hero .solution-hero__content { pointer-events: none; }
body.__tina-quick-editing-enabled .hospital-hero__copy [data-tina-field] { pointer-events: auto; }
.hospital-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 16%; background: linear-gradient(transparent, #dce1e5); pointer-events: none; }
.hospital-hero :is(.solution-hero__kicker,.solution-hero__title) { color: #62676d; }
/* 空眉标只在后台由通用占位样式显示；公开页不留白。 */
.hospital-hero__kicker:empty { display: none; }
.hospital-models { padding-block: clamp(44px, 4.3vw, 80px) clamp(64px, 5.8vw, 110px); }
.hospital-models__carousel { --hospital-model-gap: clamp(16px, 1.5vw, 28px); position: relative; }
.hospital-models__grid { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--hospital-model-gap)) / 3); gap: var(--hospital-model-gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hospital-models__grid::-webkit-scrollbar { display: none; }
.hospital-models__grid[data-scrollable] .hospital-model { cursor: grab; }
.hospital-models__grid.is-dragging { scroll-snap-type: none; user-select: none; }
.hospital-models__grid.is-dragging .hospital-model { cursor: grabbing; }
.hospital-model { display: block; color: inherit; text-decoration: none; text-align: center; min-width: 0; scroll-snap-align: start; }
.hospital-page .hospital-model:focus-visible { outline-offset: -3px; }
.hospital-models__arrow { position: absolute; z-index: 2; top: calc(50% - 34px); display: grid; place-items: center; width: 48px; height: 48px; padding: 0; transform: translateY(-50%); border: 1px solid #d9dde2; border-radius: 50%; background: #fff; color: var(--hospital-ink); box-shadow: 0 4px 14px rgb(38 58 75 / .12); cursor: pointer; transition: color .2s ease, opacity .2s ease; }
.hospital-models__arrow[hidden] { display: none; }
.hospital-models__arrow--prev { left: -68px; }
.hospital-models__arrow--next { right: -68px; }
.hospital-models__arrow:hover:not(:disabled) { color: var(--hospital-blue); }
.hospital-model__image-wrap { aspect-ratio: 4 / 5; background: #fff; border-radius: 15px; overflow: hidden; }
.hospital-model__image-wrap img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.hospital-model--linked:hover .hospital-model__image-wrap img { transform: scale(1.035); }
.hospital-model__name { margin-top: 20px !important; font-size: clamp(17px, 1.5vw, 27px); font-weight: 500; }
.hospital-model__description { margin-top: 5px !important; font-size: clamp(14px, 1.3vw, 23px); white-space: pre-line; }
.hospital-model__details { display: inline-block; margin-top: 16px; padding: 7px 40px; border-radius: 999px; background: #fff; color: #777; font-size: clamp(14px, 1.1vw, 18px); line-height: 1.4; transition: color .2s ease, background .2s ease; }
.hospital-model--linked:hover .hospital-model__details { background: #fff9e5; color: #b59000; }
.hospital-capabilities { padding-block: clamp(56px, 5vw, 94px); background: #fff; }
.hospital-capabilities__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; align-items: start; }
.hospital-feature { overflow: hidden; border-radius: 14px; }
.hospital-feature__button { display: block; width: 100%; border: 0; padding: 0; background: transparent; color: white; text-align: left; cursor: pointer; }
.hospital-feature__media { position: relative; display: block; aspect-ratio: 1.55; overflow: hidden; border-radius: 14px; background: #d8dde1; }
.hospital-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.hospital-feature__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / .4), transparent 65%); }
.hospital-feature__title { position: absolute; top: 22px; left: 22px; right: 18px; font-size: clamp(16px, 1.5vw, 26px); font-weight: 600; line-height: 1.4; }
.hospital-feature__detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; background: #f6f6f6; }
.hospital-feature__detail-inner { min-height: 0; overflow: hidden; }
.hospital-feature__detail p { padding: 12px 20px 16px; font-size: clamp(14px, 1.1vw, 19px); white-space: pre-line; }
.hospital-feature[data-open="true"] .hospital-feature__detail { grid-template-rows: 1fr; }
.hospital-feature__button:focus-visible { outline-offset: -4px !important; border-radius: 14px; }
.hospital-scenes { padding-block: clamp(64px, 6vw, 112px) clamp(80px, 8vw, 150px); background: #edf1f4; }
.hospital-scenes__layout { display: grid; grid-template-columns: minmax(180px, 23%) minmax(0, 1fr); background: #fff; border-radius: 22px; min-height: 360px; }
.hospital-scenes__tabs { position: relative; z-index: 1; display: flex; flex-direction: column; padding-block: 0; background: #fff; border-radius: 22px; box-shadow: 0 6px 18px rgb(38 58 75 / .13); }
.hospital-scenes__tab { position: relative; display: flex; align-items: center; justify-content: space-between; flex: 1; width: 100%; min-height: 66px; padding: 22px 30px; border: 0; background: transparent; color: #27292b; text-align: left; font-size: clamp(17px, 1.45vw, 25px) !important; font-weight: 600 !important; cursor: pointer; }
.hospital-scenes__tab:not(:last-child)::after { position: absolute; content: ""; left: 18px; right: 18px; bottom: 0; height: 1px; background: #d9dde2; }
.hospital-scenes__tab[aria-selected="true"] { border-radius: 22px; background: linear-gradient(#8ac1ff, #0060ff); color: #fff; box-shadow: 0 5px 8px rgb(23 62 94 / .25); }
.hospital-scenes__tab[aria-selected="true"]::after { display: none; }
.hospital-scenes__arrow { visibility: hidden; margin-left: 12px; font-size: 1.2em; }
.hospital-scenes__tab[aria-selected="true"] .hospital-scenes__arrow { visibility: visible; }
.hospital-scenes__panels { min-width: 0; padding: 20px; align-self: stretch; }
.hospital-scenes__panel { height: 100%; border-radius: 10px; overflow: hidden; }
.hospital-scenes__panel[hidden] { display: none; }
.hospital-scenes__panel :is(img,video) { display: block; width: 100%; height: 100%; min-height: 320px; max-height: 520px; object-fit: cover; border-radius: 10px; }
.hospital-scenes__panel video { object-fit: contain; background: #000; }
.hospital-scenes__video-error { padding: 12px 8px; font-size: 15px; }
.hospital-scenes__video-error[hidden] { display: none; }
.hospital-scenes__video-error a { color: var(--hospital-blue); text-decoration: underline; }
.hospital-scenes__description { padding: 18px 8px 4px; font-size: 18px; white-space: pre-line; }
.hospital-scenes__panel:has(.hospital-scenes__description) :is(img,video) { height: auto; aspect-ratio: 1.65; }
@media (max-width: 1100px) {
  .hospital-shell { width: calc(100% - 72px); }
  .hospital-models__arrow { width: 40px; height: 40px; }
  .hospital-models__arrow--prev { left: -28px; }
  .hospital-models__arrow--next { right: -28px; }
  .hospital-scenes__tab { padding: 18px 22px; }
  .hospital-feature__title { top: 16px; left: 16px; }
}
@media (max-width: 768px) {
  .hospital-hero .hospital-hero__artwork { background-image: var(--hospital-hero-bg-mobile); }
}
@media (max-width: 767px) {
  .hospital-shell { width: calc(100% - 40px); }
  .hospital-heading { font-size: 25px; letter-spacing: .02em; }
  .hospital-models__carousel { --hospital-model-gap: 16px; }
  .hospital-models__grid { grid-auto-columns: 100%; }
  .hospital-models__arrow--prev { left: 8px; }
  .hospital-models__arrow--next { right: 8px; }
  .hospital-model__name { margin-top: 12px !important; font-size: 18px; }
  .hospital-model__description { font-size: 14px; }
  .hospital-capabilities__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .hospital-feature, .hospital-feature__media { border-radius: 10px; }
  .hospital-feature__media { aspect-ratio: 1.25; }
  .hospital-feature__title { top: 12px; left: 12px; right: 10px; font-size: 16px; }
  .hospital-feature__detail p { padding: 10px 12px 13px; font-size: 13px; }
  .hospital-scenes__layout { display: block; min-height: 0; border-radius: 16px; }
  .hospital-scenes__tabs { flex-direction: row; overflow-x: auto; padding: 6px; border-radius: 16px; box-shadow: none; }
  .hospital-scenes__tab { flex: 0 0 auto; width: auto; min-height: 52px; padding: 12px 18px; white-space: nowrap; font-size: 16px !important; }
  .hospital-scenes__tab[aria-selected="true"] { border-radius: 11px; }
  .hospital-scenes__tab::after { display: none; }
  .hospital-scenes__arrow { display: none; }
  .hospital-scenes__panels { padding: 8px 12px 12px; }
  .hospital-scenes__panel :is(img,video) { min-height: 0; height: auto; aspect-ratio: 1.45; }
  .hospital-scenes__description { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .hospital-page *, .hospital-page *::before, .hospital-page *::after { transition: none !important; }
}
