/*
 * V2 static-site fixes.
 * Desktop keeps the original extracted RHCEV visual system. Narrow screens
 * receive a static, readable layout without the old Discuz login/search chrome.
 */
:root {
  color-scheme: light;
}

html,
body {
  overflow-x: hidden;
}

img {
  image-rendering: auto;
}

#qmenu_menu,
#sideMenuContainer,
#nex_sideMenu,
.nex_sideMenu,
.nex_tour_search {
  display: none !important;
}

.nex_tour_right {
  width: auto !important;
}

.nex_sidetool_bar {
  z-index: 20;
}

.nexactions {
  visibility: visible !important;
  animation-name: none !important;
  -webkit-animation-name: none !important;
  opacity: 1 !important;
}

@media (max-width: 768px) {
  html {
    overflow-x: hidden;
    background: #fff;
  }

  body {
    min-width: 0 !important;
    width: 100% !important;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  }

  .wp,
  #wp,
  .w1240,
  #mu,
  #mu ul,
  .nex_tour_header,
  .nex_slider_inner,
  .nex_adv_grids,
  .nex_adv_grids .scrollWrap,
  .nex_adv_grids .tempWrap,
  .nex_services_box ul,
  .nex_adv_date ul,
  .nex_adv_right ul,
  .nex_project_grids ul,
  .nex_news_box ul,
  .nex_brands_grids ul,
  .nexfttop,
  .nexftbottom {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }

  .nex_hd_common,
  .nex_tour_header {
    min-width: 0 !important;
  }

  .nex_hd_common {
    background: #111 !important;
  }

  .nex_tour_header {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    padding: 14px 18px 10px !important;
    margin: 0 !important;
    background: #111 !important;
  }

  .nex_tour_logo {
    order: 1;
    position: static !important;
    float: none !important;
    width: auto !important;
    height: 42px !important;
    margin: 0 0 10px !important;
  }

  .nex_tour_logo img {
    width: auto !important;
    height: 42px !important;
    max-width: 160px !important;
  }

  .nex_tour_nav {
    order: 2;
    position: static !important;
    inset: auto !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }

  .nex_tour_nav ul {
    display: flex !important;
    width: max-content !important;
    min-width: 100%;
    gap: 20px;
  }

  .nex_tour_nav ul li {
    float: none !important;
    display: block !important;
    margin: 0 !important;
    height: 30px !important;
    line-height: 30px !important;
  }

  .nex_tour_nav ul li a {
    display: block !important;
    height: 30px !important;
    line-height: 30px !important;
    padding: 0 !important;
    font-size: 14px !important;
    color: #fff !important;
  }

  .nex_tour_right,
  .nex_sidetool_bar_btm {
    display: none !important;
  }

  .nex_sliderbox {
    top: 0 !important;
    height: 660px !important;
    min-height: 660px !important;
  }

  .flexslider,
  .flexslider .bd,
  .flexslider .bd ul,
  .flexslider .bd li {
    min-width: 0 !important;
    height: 660px !important;
  }

  .nex_slider_inner {
    position: relative !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 18px !important;
  }

  .nexxqbox_l,
  .nexxqbox_l[style] {
    position: absolute !important;
    left: 18px !important;
    right: 18px !important;
    bottom: 34px !important;
    top: auto !important;
    width: auto !important;
    padding: 24px !important;
    box-sizing: border-box;
    border-radius: 28px 0 !important;
    background: rgba(255, 255, 255, 0.92) !important;
  }

  .nexxqbox_l h1 {
    margin-bottom: 14px !important;
    font-size: 24px !important;
    line-height: 32px !important;
    letter-spacing: 0 !important;
  }

  .nexxqbox_l .nexflashtxt {
    margin-bottom: 18px !important;
    font-size: 13px !important;
    line-height: 23px !important;
  }

  .nexxqbox_l .nexfgbox a {
    width: 138px !important;
    height: 42px !important;
    line-height: 42px !important;
    text-indent: 26px !important;
  }

  .nex_sliderbox a.prev,
  .nex_sliderbox a.next,
  .nex_adv_grids .prev,
  .nex_adv_grids .next {
    display: none !important;
  }

  .nex_index_advancebox,
  .nex_index_services,
  .nex_index_advs,
  .nex_index_project,
  .nex_index_story,
  .nex_index_testimonials,
  .nex_index_news,
  .nex_index_brands,
  .nex_index_contactbox,
  .nexfooter {
    min-width: 0 !important;
    width: 100% !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    box-sizing: border-box;
  }

  .nex_index_advancebox,
  .nex_index_advancebox[style] {
    margin-top: 0 !important;
    padding-top: 44px !important;
  }

  .nex_ict_mid,
  .nex_index_common_title_d .nex_ict_mid {
    height: auto !important;
    line-height: 1.25 !important;
    font-size: 28px !important;
  }

  .nex_ict_btm {
    height: auto !important;
    line-height: 24px !important;
    padding: 0 4px;
  }

  .nex_adv_grids .scrollWrap,
  .nex_adv_grids .tempWrap {
    overflow: visible !important;
    padding-top: 0 !important;
  }

  .nex_adv_grids .dlList {
    width: 100% !important;
    left: auto !important;
    transform: none !important;
  }

  .nex_adv_grids .clone {
    display: none !important;
  }

  .nex_adv_grids dl {
    float: none !important;
    width: 100% !important;
    margin: 0 0 26px !important;
  }

  .nex_adv_top,
  .nex_adv_top a {
    width: 100% !important;
    height: 210px !important;
  }

  .nex_adv_btm {
    padding: 0 !important;
  }

  .nex_adv_btm_inner {
    width: auto !important;
    margin: -34px 14px 0 !important;
    padding: 28px 24px !important;
    box-sizing: border-box;
  }

  .nex_adv_btm_intro {
    height: auto !important;
    max-height: none !important;
  }

  .nex_services_box ul li,
  .nex_adv_date ul li,
  .nex_adv_right ul li,
  .nex_project_grids ul li,
  .nex_news_box ul li,
  .nex_brands_grids ul li {
    float: none !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 0 22px !important;
    box-sizing: border-box;
  }

  .nex_services_box ul li a {
    width: auto !important;
    padding: 24px !important;
    border-radius: 24px 0 !important;
    background: #fff;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06);
  }

  .nex_services_box ul li a p {
    height: auto !important;
    max-height: none !important;
  }

  .nex_adv_left,
  .nex_adv_right,
  .nex_ft_left,
  .nex_ft_right {
    float: none !important;
    width: 100% !important;
  }

  .nex_ict_sub,
  .nex_ict_sub[style] {
    height: auto !important;
    line-height: 1.35 !important;
    font-size: 28px !important;
  }

  .nex_adv_date ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .nex_adv_date ul li {
    text-align: center;
  }

  .nex_adv_date ul li em {
    margin: 0 auto !important;
  }

  .nex_adv_right ul li a,
  .nex_wgl_infobox a,
  .nex_news_img a,
  .nex_news_box ul li,
  .nex_brands_grids ul li,
  .nex_free_call,
  .nexfooter,
  .nexfttop,
  .nexftbottom {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .nexfooter:before,
  .nexfooter:after {
    opacity: 0.25;
  }
}
