/* Mobile consolidation for the 2026 AiXuan theme. Loaded last from header.htm. */
@media (max-width: 767px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  /* Header is sticky and already occupies its own height; extra body padding caused the blank strip. */
  body { padding-top: 0 !important; }
  .containe {
    width: auto !important;
    max-width: none !important;
    margin-left: 16px !important;
    margin-right: 16px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
  }

  #header,
  #header.scroll {
    height: 64px !important;
  }
  #navbar,
  #header.scroll #navbar {
    height: 64px !important;
    display: flex !important;
    align-items: center !important;
  }
  #navbar .logo,
  #header.scroll #navbar .logo {
    float: none !important;
    padding: 0 !important;
    max-width: calc(100% - 56px);
  }
  #navbar .logo img,
  #header.scroll #navbar .logo img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 156px !important;
    max-height: 42px !important;
  }
  #navbar .mBtn,
  #header.scroll #navbar .mBtn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    float: none !important;
    width: 42px !important;
    height: 42px;
    margin: 0 0 0 auto !important;
  }
  #navbar .mBtn img { max-width: 30px; max-height: 30px; }
  #Nav,
  #header.scroll #Nav {
    display: none !important;
  }
  .tellNum,
  #header.scroll .tellNum,
  .small_a { display: none !important; }

  /* Home hero: retain the premium composition without a full extra screen of whitespace. */
  .ax-hero-inner {
    padding-top: 46px !important;
    padding-bottom: 24px !important;
  }
  .ax-hero h1 { font-size: clamp(34px, 10.6vw, 42px) !important; }
  .ax-hero-copy > p { font-size: 15px !important; line-height: 1.75 !important; }
  .ax-hero-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-top: 24px !important;
  }
  .ax-btn { min-height: 56px; }
  .ax-hero-proof {
    height: auto !important;
    min-height: 168px;
    margin-top: 24px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 14px;
    align-items: stretch !important;
  }
  .ax-orbit { display: none !important; }
  .ax-proof-card {
    position: static !important;
    width: auto !important;
    padding: 16px !important;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .ax-proof-card strong { font-size: 38px !important; }
  .ax-proof-card p { font-size: 12px !important; margin-top: 8px !important; }
  .ax-proof-tags {
    position: static !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 7px !important;
  }
  .ax-proof-tags span {
    min-height: 42px;
    padding: 0 12px !important;
    display: flex;
    align-items: center;
    font-size: 9px !important;
  }
  .ax-hero-foot { height: 58px !important; }

  /* Home news: titles wrap naturally and no legacy four-item clipping. */
  #web_news3s { overflow: visible !important; }
  .web_news3s_02 { padding: 0 !important; width: 100% !important; }
  .web_news3s_02 .tabUl { display: grid !important; grid-template-columns: repeat(3, 1fr); }
  .web_news3s_02 .tabUl li {
    width: auto !important;
    min-width: 0;
    line-height: 56px !important;
    font-size: 16px;
  }
  .web_news3s_02 .tabCon ul li {
    float: none !important;
    display: grid !important;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    width: 100% !important;
    min-height: 116px;
    padding: 14px 4px !important;
  }
  .web_news3s_02 .tabCon ul li .date { display: none !important; }
  .web_news3s_02 .tabCon ul li .big {
    display: block !important;
    float: none !important;
    width: 92px !important;
    height: 76px !important;
    margin: 0 !important;
  }
  .web_news3s_02 .tabCon ul li .big .imWrap { height: 100%; padding-top: 0 !important; }
  .web_news3s_02 .tabCon ul li .big img {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: cover !important;
  }
  .web_news3s_02 .tabCon ul li .wrap { min-width: 0; overflow: visible !important; }
  .web_news3s_02 .tabCon ul li h4 {
    display: -webkit-box;
    overflow: hidden;
    white-space: normal !important;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 16px !important;
    line-height: 1.55 !important;
  }
  .inner_newsul > li:nth-child(n) { display: block !important; }
  .inner_newsul > li { padding: 0 !important; margin-bottom: 16px !important; }
  .inner_newsul > li .con { padding: 18px !important; }

  /* Contact: remove the old 50% floats that left a blank right half. */
  .web_img { width: 100% !important; height: 180px !important; }
  .web_img img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
  .contactpage {
    display: block !important;
    width: auto !important;
    margin-top: 18px !important;
    margin-bottom: 24px !important;
    overflow: hidden !important;
    border-radius: 10px;
  }
  .contactpage dl { padding: 18px !important; box-sizing: border-box; }
  .contactpage .dl01 dd,
  .contactpage .dl02 dd {
    float: none !important;
    width: 100% !important;
    box-sizing: border-box;
  }
  .contactpage .dl01 dd + dd { margin-top: 18px; }
  .contactpage .dl01 strong {
    display: block;
    overflow-wrap: anywhere;
    font-size: 26px !important;
  }
  .contactpage .dl02 dd { display: flex; align-items: flex-start; padding: 16px 0 !important; }
  .contactpage .ditudiv {
    float: none !important;
    width: auto !important;
    margin: 18px !important;
  }
  .contactpage .ditudiv img {
    display: block;
    width: 100% !important;
    height: auto !important;
    border-radius: 8px;
  }
  .contactpage .daoda {
    float: none !important;
    width: auto !important;
    padding: 22px 18px 32px !important;
    box-sizing: border-box;
    overflow-wrap: anywhere;
  }
  .contactpage .daoda img { max-width: 100% !important; height: auto !important; }
  #footer,
  .copyright { width: 100% !important; max-width: 100% !important; }
  #footer > .containe,
  .copyright > .containe { width: auto !important; }
  .copyright .con { line-height: 1.8; overflow-wrap: anywhere; }
}

@media (max-width: 420px) {
  .web_news3s_02 .tabUl li { font-size: 15px; }
  .web_news3s_02 .tabCon ul li { grid-template-columns: 82px minmax(0, 1fr); gap: 12px; }
  .web_news3s_02 .tabCon ul li .big { width: 82px !important; height: 68px !important; }
}
