/* Scene containers keep the public full-screen navigation and animation hooks. */
.v4-home-component-scene>.v4-home-part,.v4-home-component-scene>.v4-module{grid-column:span var(--module-span,12);min-width:0}
html.v4-scene-mode .v4-home-component-scene:is(.v4-home-mission,.v4-home-impact){display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;row-gap:24px;align-content:center}
.v4-home-component-scene.v4-home-custom{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));align-content:center;gap:24px;padding:calc(var(--v4-header-height,104px) + 30px) 6% 30px}
.v4-home-component-scene.v4-home-contact{grid-template-columns:repeat(12,minmax(0,1fr))}
.v4-home-component-scene[data-v4-scene-scroll]{overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin;align-content:safe center}
.v4-home-component-scene.v4-home-stories>.v4-module{width:88%;margin:16px auto;flex:none}
.v4-home-component-scene [data-module-kind="scene-slide"]{background:#b52c4b}
.v4-home-component-scene [data-module-kind="scene-slide"] .v4-home-hero-copy h1{font-size:var(--module-title-size,clamp(32px,3vw,58px))}
.v4-home-component-scene [data-module-kind="scene-slide"] .v4-home-hero-copy>p{font-size:var(--module-body-size,clamp(20px,1.9vw,35px))}
.v4-body .v4-home .v4-home-hero-copy .v4-hero-image-title{display:inline-block;width:var(--hero-title-image-width,100%);max-width:100%;line-height:0}
.v4-body .v4-home .v4-hero-image-title img{display:inline-block;width:100%;height:auto;max-height:min(32svh,300px);object-fit:contain;vertical-align:middle}
.v4-home-component-scene [data-module-kind="scene-metrics"] h3{font-size:var(--module-title-size,clamp(18px,1.7vw,28px))}
.v4-home-component-scene [data-module-kind="scene-story-feed"] h3{font-size:var(--module-title-size,18px)}
.v4-home-component-scene [data-module-kind="scene-story-feed"] .v4-story-summary{font-size:var(--module-body-size,14px)}
.v4-component-canvas .v4-home-component-scene [data-module-kind="scene-slide"]{position:absolute}
.v4-home-scene-canvas .v4-canvas-scenes>[data-module-id]{margin:0 auto}
.v4-home-scene-canvas .v4-scene{min-height:100vh!important;height:100vh!important}
.v4-home-scene-canvas .v4-slide-dots{pointer-events:none}
@media(max-width:900px){html.v4-scene-mode .v4-home-component-scene:is(.v4-home-mission,.v4-home-impact){column-gap:16px}.v4-home-component-scene>.v4-home-part,.v4-home-component-scene>.v4-module{grid-column:1/-1}}

/* Center the complete copy/button group within the slide below the header. */
.v4-body .v4-home .v4-home-hero-copy--right { display:flex; flex-direction:column; align-items:center; text-align:center; top:50%; bottom:auto; transform:translateY(-50%); }
.v4-body .v4-home .v4-home-hero-copy--right .v4-pill { text-align:center; }
@media (min-width:1200px) and (pointer:fine) {
  .v4-body .v4-home [data-hero-align]:not([data-hero-align=""]) .v4-home-hero-copy { display:flex; flex-direction:column; }
  .v4-body .v4-home [data-hero-align="left"] .v4-home-hero-copy { align-items:flex-start; text-align:left; }
  .v4-body .v4-home [data-hero-align="center"] .v4-home-hero-copy { align-items:center; text-align:center; }
  .v4-body .v4-home [data-hero-align="right"] .v4-home-hero-copy { align-items:flex-end; text-align:right; }
}
.v4-component-canvas .is-editor-hidden { outline:3px dashed #bb8326!important; outline-offset:-3px; }
.v4-component-canvas .is-editor-hidden>picture { opacity:.5; }
.v4-component-canvas .v4-home-canvas-visibility { position:absolute; left:10px; top:10px; z-index:10; padding:8px 12px; border-radius:6px; border:2px solid #fff; background:#27614d; color:#fff; font:600 15px/1.4 system-ui,sans-serif; }
.v4-component-canvas .is-editor-hidden>.v4-home-canvas-visibility { background:#895a16; }
.v4-component-canvas .v4-home-canvas-visibility:disabled { cursor:default; }
/* The story artwork has no fixed desktop width cap or automatic outer margins. */
.v4-body .v4-home .v4-story-banner { max-width:none; margin:0; }
@media (min-width:1200px) and (min-height:680px) and (pointer:fine) {
  html.v4-scene-mode .v4-body .v4-home-stories { padding-top:var(--v4-header-height,80px); }
  html.v4-scene-mode .v4-body .v4-story-banner { flex:1 1 0; height:auto; min-height:0; }
}

/* Independent content inside each homepage slide. */
.v4-body .v4-home .v4-home-hero-copy:has(:where(.v4-hero-content)){display:flex;flex-direction:column}
.v4-body .v4-home .v4-home-hero-copy--right:has(:where(.v4-hero-content)),.v4-body .v4-home .v4-home-hero-copy--center:has(:where(.v4-hero-content)){align-items:center}
.v4-body .v4-home .v4-home-hero-copy--left:has(:where(.v4-hero-content)){align-items:flex-start}
.v4-hero-content{position:relative;max-width:100%;flex:none}
.v4-body .v4-home .v4-hero-content--hero-title h1{font-size:var(--module-title-size,clamp(30px,2.8vw,46px))}
.v4-body .v4-home .v4-hero-content--hero-text>p{font-size:var(--module-body-size,clamp(18px,1.65vw,26px));font-weight:400;line-height:1.85;letter-spacing:1px;margin:20px 0 28px}
.v4-body .v4-home .v4-hero-content--hero-button .v4-pill{font-size:var(--module-body-size,16px)}
.v4-body .v4-home .v4-hero-content--hero-image{width:var(--hero-image-width,100%);margin:0}
.v4-body .v4-home .v4-hero-content--hero-image picture{display:block;position:static;inset:auto}
.v4-body .v4-home .v4-hero-content--hero-image img{width:100%;height:auto;max-height:min(32svh,300px);object-fit:contain!important}
.v4-component-canvas .v4-hero-content{min-width:60px;min-height:36px}
.v4-component-canvas .v4-hero-content--hero-image:not(:has(img))::before{content:'请上传图片';display:block;padding:16px;border:1px dashed currentColor;font-size:16px;text-align:center}
.v4-component-canvas .v4-hero-content>.v4-home-canvas-visibility{left:0;top:-28px;padding:3px 7px;font-size:12px;opacity:0}
.v4-component-canvas .v4-hero-content:is(:hover,.is-editor-selected)>.v4-home-canvas-visibility{opacity:1}
@media(max-width:1199px),(pointer:coarse){
 .v4-body .v4-home .v4-hero-content--hero-title h1{font-size:var(--module-title-size,clamp(30px,6vw,42px))}
 .v4-body .v4-home .v4-hero-content--hero-text>p{font-size:var(--module-body-size,18px)}
}
