/* Shared editorial stage for subpages. Home is intentionally excluded. */
body.subpage-refreshed > header > nav .mobile-menu:not(.open):not(.active) { display: none; }
/* Specification columns must shrink to their grid track, not their text's min-content width. */
html[lang="en"] body.subpage-refreshed .powerbank-specifications > div { min-width: 0; }
@media (max-width: 767px) {
    html[lang="en"] .powerbank-specifications .flex.justify-between { flex-wrap: wrap; gap: 8px 16px; }
    html[lang="en"] .powerbank-specifications .flex.justify-between > span { min-width: 0; overflow-wrap: anywhere; }
}
nav[aria-label*="面包屑"], nav[aria-label*="Breadcrumb"], .subpage-breadcrumb { display: none !important; }
:is(body.subpage-refreshed > header, body.subpage-refreshed) > nav[aria-label] { position: relative !important; inset: auto !important; background: #fff; }
:is(body.subpage-refreshed > header, body.subpage-refreshed) > nav[aria-label] > div:first-child { border-radius: 0 !important; box-shadow: none !important; border: 0 !important; background: #fff !important; }
.subpage-stage { --stage-ink: #17334e; --stage-muted: #516a80; position: relative; isolation: isolate; display: grid !important; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: clamp(32px,5vw,80px); min-height: 580px !important; padding: 54px max(40px,calc((100vw - 1200px)/2)) 60px !important; background: #edf3f8 !important; color: var(--stage-ink); overflow: hidden; }
.subpage-stage[data-stage="apps"] { --stage-ink: #f3f6f3; --stage-muted: #b9cbc5; background: radial-gradient(ellipse at 80% 40%,#34544b,transparent 60%),#102d29 !important; }
.subpage-stage[data-stage="solutions"] { --stage-ink: #f0f4fa; --stage-muted: #b3c2d5; background: radial-gradient(ellipse at 80% 45%,#233e5e,transparent 62%),#101e32 !important; }
.subpage-stage > .blob, .subpage-stage > .absolute { display: none; }
.subpage-stage > .container { width: 100%; padding: 0; margin: 0; min-width: 0; }
.subpage-stage .text-center { text-align: left; }
.subpage-stage .scroll-reveal { opacity: 1; transform: none; }
.subpage-stage h1 { color: var(--stage-ink) !important; font-size: clamp(32px,3.2vw,48px); font-weight: 600; line-height: 1.27; letter-spacing: -.035em; text-wrap: balance; margin: 0 0 24px; }
.subpage-stage p { color: var(--stage-muted) !important; font-size: 17px; line-height: 1.85; margin: 0; max-width: 520px; }
.subpage-stage .justify-center { justify-content: flex-start; }
.subpage-stage-visual { margin: 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.subpage-stage-visual img { display: block; width: auto; max-width: 100%; height: 420px; object-fit: contain; filter: drop-shadow(0 24px 24px #0003); }
.subpage-stage[data-stage="solutions"] .subpage-stage-visual img { width: 100%; height: auto; max-height: 400px; }
.subpage-stage-visual figcaption { font-size: 11px; line-height: 1.7; color: var(--stage-muted); max-width: 440px; text-align: center; }
/* Native product layouts retain their visuals; editorial pages stay image-free
   unless a relevant illustration already exists in that very page. */
.subpage-banner { position: relative; isolation: isolate; box-sizing: border-box; min-height: 520px; padding: 64px max(28px,calc((100vw - 1200px)/2)) !important; margin-top: 0 !important; background: radial-gradient(ellipse at 88% 30%,#dae9ee,transparent 60%),#edf3f8 !important; color: #17334e; overflow: hidden; border-radius: 0 !important; }
.subpage-banner[data-topic="audiovoice"], .subpage-banner[data-topic="audiovoice-story"] { background: #edf2eb !important; }
.subpage-banner[data-topic="powerbank"] { background: #fff2e9 !important; }
.subpage-banner[data-topic="contact"], .subpage-banner[data-topic="cooperation"] { background: #e8f0ed !important; }
.subpage-banner > .blob, .subpage-banner > .absolute { display: none; }
.subpage-banner .scroll-reveal { opacity: 1 !important; transform: none !important; }
.subpage-banner h1 { color: #17334e !important; font-size: clamp(32px,3.3vw,50px) !important; line-height: 1.25 !important; letter-spacing: -.035em; text-wrap: balance; margin-bottom: 24px; }
.subpage-banner h1.gradient-text, .subpage-banner h1 .gradient-text { background: none; -webkit-text-fill-color: #17334e; }
.subpage-banner p { color: #516a80 !important; line-height: 1.85; }
.subpage-banner .text-center { text-align: left; }
.subpage-banner .justify-center { justify-content: flex-start; }
.subpage-banner > .container { width: 100%; padding-inline: 0; }
.subpage-banner[data-subpage-hero="editorial"] { display: flex; flex-direction: column; justify-content: center; align-items: stretch; }
.subpage-banner[data-subpage-hero="editorial"] > div { margin-inline: 0; max-width: 100%; }
.subpage-banner[data-subpage-hero="editorial"] p { max-width: 850px; }
.subpage-banner[data-subpage-hero="illustrated"] { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 48px; }
.subpage-banner-copy, .subpage-banner-copy > .container { min-width: 0; width: 100%; padding: 0; }
.subpage-banner-art { margin: 0; min-width: 0; }
.subpage-banner-art img { display: block; width: 100%; max-height: 440px; object-fit: contain; }
.subpage-banner[data-subpage-hero="native"] img { max-width: 100%; }
@media (max-width: 767px) {
    .subpage-banner { min-height: auto; padding: 42px 24px !important; }
    .subpage-banner[data-subpage-hero="illustrated"] { grid-template-columns: minmax(0,1fr); gap: 32px; }
    .subpage-banner-art img { max-height: 330px; }

    .subpage-stage { grid-template-columns: minmax(0,1fr); min-height: auto !important; gap: 36px; padding: 42px 24px 34px !important; }
    .subpage-stage h1 { font-size: 34px; }
    .subpage-stage p { font-size: 15px; }
    .subpage-stage-visual img { height: 330px; max-width: 94%; }
    .subpage-stage[data-stage="solutions"] .subpage-stage-visual img { max-height: 270px; }
}
