/* 移动端使用系统字体，避免 Google Fonts 阻塞页面完成加载 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
}

/* 未启用 fullPage 时解除 section 一屏高度限制，避免内容被裁切 */
html:not(.fp-enabled) #main,
html:not(.fp-enabled) .main-content {
    padding-top: 60px;
}

html:not(.fp-enabled) #main .section,
html:not(.fp-enabled) .section {
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
    float: none !important;
}

/* fullPage 下取消 float，避免首屏 Banner 高度塌陷 */
html.fp-enabled #main .section,
html.fp-enabled #main section {
    float: none !important;
}

/* fullPage 首屏 Banner 顶到顶部，其余屏留出顶栏高度 */
body.page-fullpage .section-banner {
    padding: 0 !important;
    background: #000 !important;
    height: 100vh !important;
    min-height: 100vh !important;
    overflow: hidden !important;
}
body.page-fullpage .section-banner .fp-table,
body.page-fullpage .section-banner .fp-tableCell {
    display: block !important;
    height: 100vh !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
}
body.page-fullpage .section-banner .fp-tableCell {
    vertical-align: top !important;
}
body.page-fullpage .section-banner .banner {
    display: block !important;
    float: none !important;
    width: 100% !important;
    height: 100vh !important;
    overflow: hidden;
}
body.page-fullpage .section-banner .banner img {
    display: block !important;
    float: none !important;
    width: 100% !important;
    height: 100vh !important;
    object-fit: cover;
}
body.page-fullpage .section:not(.section-banner):not(.fp-auto-height) .fp-tableCell {
    padding-top: 60px !important;
}

body.page-fullpage .section.intro-panel.fp-auto-height,
body.page-fullpage .section.tech-panel.fp-auto-height,
body.page-fullpage .section.product-panel.fp-auto-height,
body.page-fullpage .section.value-panel.fp-auto-height {
    height: auto !important;
    min-height: 100vh !important;
    overflow: visible !important;
}

body.page-fullpage .section.intro-panel.fp-auto-height .fp-tableCell,
body.page-fullpage .section.tech-panel.fp-auto-height .fp-tableCell,
body.page-fullpage .section.product-panel.fp-auto-height .fp-tableCell,
body.page-fullpage .section.value-panel.fp-auto-height .fp-tableCell {
    height: auto !important;
    vertical-align: top !important;
}
