/* 桌面优先修正：恢复原站桌面导航，避免被误判成移动端 */
.animsition { opacity: 1 !important; visibility: visible !important; }
header .header-logo img,
footer .header-logo img { display: none !important; }

/* ===== Desktop (>=901px) ===== */
@media (min-width: 901px) {
  html, body {
    width: 100% !important;
    max-width: none !important;
  }
  header, main, footer, .animsition, .index-banner-pc, .index-sec {
    width: 100% !important;
  }

  /* 强制桌面导航 */
  header #float-menu { display: none !important; }
  header #mm-menu { display: none !important; }
  header ul.header-left:not(#mm-menu) {
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: flex !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    background: transparent !important;
  }
  header .header-right .nav-link,
  header .header-right #deco {
    display: inline-flex !important;
  }

  /* 无 slick：同一时间只显示一张全宽 banner */
  .index-banner-pc { width: 100%; display: block; }
  .index-banner-pc .banner-wrap {
    display: none !important;
    width: 100% !important;
    position: relative;
  }
  .index-banner-pc .banner-wrap.is-active,
  .index-banner-pc .banner-wrap:first-child:only-child,
  .index-banner-pc .banner-wrap.is-active:first-child {
    display: block !important;
  }
  /* 若尚未加上 is-active，至少显示第一张，避免空白 */
  .index-banner-pc:not(:has(.is-active)) .banner-wrap:first-child {
    display: block !important;
  }
  .index-banner-pc .banner-wrap img {
    display: block !important;
    width: 100% !important;
    height: 78vh !important;
    min-height: 520px !important;
    object-fit: cover !important;
    object-position: center !important;
  }
}

/* ===== Mobile / tablet (<=900px) ===== */
@media (max-width: 900px) {
  .index-banner-pc .banner-wrap { display: none !important; }
  .index-banner-pc .banner-wrap.is-active { display: block !important; }
  .index-banner-pc .banner-wrap img {
    width: 100% !important;
    height: 56vh !important;
    min-height: 320px !important;
    object-fit: cover !important;
  }
}
/* === sticky-footer-pc (auto) === */
html{height:100%;}
body{
  min-height:100vh !important;
  min-height:100dvh !important;
  display:flex !important;
  flex-direction:column !important;
}
body > header,
body > .site-header,
body > .promo,
body > .topbar,
body > .top-bar{
  flex:0 0 auto;
}
/* 主内容按实际高度，剩余留给页脚外层铺色 */
body > main,
body > main.animsition,
body > .animsition{
  flex:0 0 auto;
  width:100%;
  min-height:0 !important;
}
body > .page-hero{
  flex:0 0 auto;
  width:100%;
}
body > .page-content{
  flex:0 0 auto;
  width:100%;
}
.site-footer-outer{
  flex:1 0 auto !important;
  width:100%;
  min-height:0;
  box-sizing:border-box;
  display:flex !important;
  flex-direction:column !important;
  justify-content:flex-end !important;
  background:#1a1a1a !important;
}
.site-footer-outer > .site-footer,
.site-footer-outer > footer{
  width:100%;
  box-sizing:border-box;
  flex:0 0 auto;
  background:#1a1a1a;
}
body > footer,
body > .site-footer{
  margin-top:auto !important;
  width:100%;
  background:#1a1a1a;
}
@media (max-width:900px){
  body{min-height:auto !important;display:block !important;}
  .site-footer-outer{flex:none !important;}
  body > main, body > main.animsition{min-height:auto !important;}
}
