/* 271315.com responsive enhancements
   Goal: keep desktop visuals unchanged; only activate layout overrides on smaller screens. */

.mobile-nav-toggle {
  display: none;
}

@media screen and (max-width: 1240px) {
  .container,
  .interlink__inner {
    width: auto;
    margin-left: 16px;
    margin-right: 16px;
  }

  .two_c ul {
    width: auto;
    left: 16px;
    right: 16px;
  }

  .page_fl {
    width: 280px;
  }

  .page_fr {
    width: calc(100% - 320px);
  }

  .article_text h3 {
    width: calc(100% - 180px);
  }
}

@media screen and (max-width: 1024px) {
  body {
    font-size: 14px;
    line-height: 1.7;
  }

  .top {
    line-height: 24px;
    padding: 6px 0;
  }

  .top .fl,
  .top .fr {
    float: none;
    text-align: center;
  }

  .header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .logo {
    float: none;
    height: auto;
    min-height: 64px;
    max-width: calc(100% - 64px);
  }

  .logo img {
    max-height: 64px;
  }

  .mobile-nav-toggle {
    width: 44px;
    height: 44px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid #dddddd;
    background: #ffffff;
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
  }

  .mobile-nav-toggle span {
    width: 20px;
    height: 2px;
    background: #00a13a;
    display: block;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .mobile-nav-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .navbox {
    float: none;
    width: 100%;
    display: none;
    margin-top: 10px;
    border-top: 1px solid #eeeeee;
  }

  .navbox.open {
    display: block;
  }

  .navbox ul {
    display: block;
  }

  .navbox li,
  .navbox li li {
    float: none;
    width: 100%;
  }

  .navbox li a {
    line-height: 48px;
    padding: 0 12px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
  }

  .navbox li ul {
    position: static;
    display: block;
    width: 100%;
    border-top: 0;
    background: #f8f8f8;
  }

  .navbox li li a {
    line-height: 42px;
    text-align: left;
    padding-left: 24px;
  }

  .banner .hd {
    bottom: 6px;
  }

  .title h3 {
    font-size: 28px;
    line-height: 38px;
  }

  .title h3 i {
    margin: 0 10px 4px;
  }

  .title p {
    font-size: 14px;
    line-height: 24px;
  }

  .one,
  .three,
  .five,
  .six {
    padding: 36px 0;
  }

  .one_n li,
  .five_n li {
    width: 30.5%;
    margin: 0 1% 10px;
  }

  .one_c li,
  .five_c li,
  .six_c li,
  .product li {
    width: calc(50% - 16px);
    margin: 16px 8px 0;
    float: left;
    box-sizing: border-box;
    height: auto;
  }

  .three_c li,
  .three_c li:nth-child(2) {
    width: calc(50% - 16px);
    margin: 16px 8px 0;
    float: left;
    position: static;
  }

  .three_c li:nth-child(4) {
    position: static;
    left: auto;
    top: auto;
  }

  .three_c li img,
  .three_c li:nth-child(2) img {
    height: auto;
  }

  .two_c {
    padding: 24px 0;
  }

  .two_c ul {
    position: static;
    width: auto;
    border-radius: 12px;
    padding: 20px 12px;
    margin-top: 20px;
  }

  .two_c li {
    width: 33.333%;
  }

  .two_c li h4 b {
    font-size: 30px;
    line-height: 40px;
  }

  .four {
    padding-bottom: 60px;
  }

  .four_bg {
    width: 100%;
    left: 0;
  }

  .four_c {
    margin-top: 24px;
  }

  .four_c li {
    width: calc(50% - 10px);
    margin: 0 5px 26px !important;
    float: left;
    top: auto !important;
  }

  .four_c li p {
    writing-mode: horizontal-tb;
    text-align: center;
    padding-left: 0;
    white-space: normal;
    font-size: 16px;
    line-height: 24px;
  }

  .four_c li p em {
    position: static;
    display: block;
    margin-bottom: 4px;
  }

  .five_c li p {
    height: auto;
  }

  .six_c li {
    text-align: center;
  }

  .footer_top {
    padding: 32px 0;
  }

  .footer_l,
  .footer_nav,
  .footer_ewm {
    float: none;
    width: 100%;
    text-align: center;
  }

  .footer_l img,
  .footer_ewm img {
    margin-left: auto;
    margin-right: auto;
  }

  .footer_nav {
    margin: 24px 0;
  }

  .footer_nav ul {
    width: 33.333%;
  }

  .interlink__title,
  .interlink__list {
    float: none;
    width: 100%;
    text-align: left;
  }

  .interlink__title {
    margin-bottom: 8px;
    background: none;
  }

  .main_top {
    display: block;
    line-height: 26px;
    padding: 12px 0;
  }

  .page_fl,
  .page_fr,
  .Product_Item_fl,
  .Product_Item_fr {
    float: none;
    width: 100%;
  }

  .page_fr {
    margin-top: 24px;
  }

  .page_tjcp li {
    width: calc(50% - 12px);
    margin: 12px 6px 0;
  }

  .Product_Item_top {
    padding: 16px;
  }

  .Product_Item_fr {
    margin-top: 20px;
  }

  .Product_Item_fr h2 {
    white-space: normal;
    height: auto;
    line-height: 36px;
    font-size: 24px;
  }

  .Product_Item_top .more {
    position: static;
    margin-top: 20px;
    display: inline-block;
  }

  .article li {
    padding: 14px 18px 18px;
    margin-bottom: 20px;
  }

  .article_text h3 {
    display: block;
    width: auto;
    line-height: 34px;
    white-space: normal;
  }

  .article_text span {
    float: none;
    display: block;
    line-height: 24px;
    padding-bottom: 10px;
  }

  .Article_Content_title h1 {
    line-height: 32px;
  }

  .pages_text img,
  .Article_Content img,
  .Product_Item_fr img {
    max-width: 100%;
    height: auto !important;
  }
}

@media screen and (max-width: 767px) {
  .container,
  .interlink__inner {
    margin-left: 12px;
    margin-right: 12px;
  }

  .top {
    display: none;
  }

  .header .container {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .logo {
    min-height: 56px;
    max-width: calc(100% - 58px);
  }

  .logo img {
    max-height: 56px;
  }

  .mobile-nav-toggle {
    width: 40px;
    height: 40px;
  }

  .one_n li,
  .five_n li {
    width: 48%;
    margin: 0 1% 10px;
  }

  .five_c li,
  .six_c li,
  .product li,
  .page_tjcp li,
  .two_c li {
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .one_c ul,
  .three_c ul,
  .four_c ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .one_c li,
  .three_c li,
  .three_c li:nth-child(2) {
    width: calc(50% - 6px);
    margin: 0 !important;
  }

  .one_c li img,
  .three_c li img,
  .three_c li:nth-child(2) img {
    height: auto !important;
  }

  .two_c ul {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 16px 10px;
  }

  .two_c li {
    width: calc(33.333% - 6px);
    flex: 1 1 0;
    margin: 0 !important;
  }

  .two_c li h4 {
    font-size: 14px;
    line-height: 20px;
  }

  .two_c li h4 b {
    display: block;
    margin-right: 0;
    font-size: 22px;
    line-height: 28px;
  }

  .two_c li p {
    font-size: 12px;
    line-height: 18px;
  }

  .four {
    padding-bottom: 36px;
  }

  .four_c li {
    width: calc(50% - 6px);
    margin: 0 !important;
  }

  .four_c li h4 {
    width: 72px;
    height: 72px;
    font-size: 15px;
    line-height: 18px;
  }

  .four_c li h4:before {
    width: 60px;
    height: 60px;
  }

  .four_c li:before {
    margin-bottom: 14px;
  }

  .four_c li p {
    font-size: 13px;
    line-height: 20px;
  }

  .four_c li p em {
    font-size: 12px;
    line-height: 18px;
  }

  .six_c li + li {
    margin-top: 18px !important;
  }

  .two_c li + li,
  .four_c li + li {
    margin-top: 0 !important;
  }

  .page_title {
    font-size: 18px;
    padding: 0 15px;
  }

  .page_title span {
    display: inline-block;
    font-size: 13px;
    margin-left: 6px;
  }

  .page_nav li a,
  .page_lxwm li {
    line-height: 44px;
    font-size: 14px;
  }

  .footer_nav ul {
    width: 100%;
    margin-bottom: 18px;
  }

  .footer_top {
    padding: 22px 0;
  }

  .footer_top .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .footer_top .container.block:after {
    display: none;
  }

  .footer_l,
  .footer_ewm {
    width: calc(50% - 8px);
    margin: 0;
    text-align: center;
  }

  .footer_l img {
    max-width: 160px;
    margin: 0 auto;
  }

  .footer_ewm img {
    width: 110px;
    margin: 0 auto;
  }

  .footer_nav,
  .footer_l p,
  .footer_ewm p {
    display: none;
  }

  .footer {
    display: block;
    font-size: 12px;
    line-height: 20px;
    padding: 10px 12px;
  }

  .article li b,
  .five a.more,
  .two_c a.more,
  .Product_Item_top .more {
    width: 100%;
    box-sizing: border-box;
  }

  .pading a,
  .pading span,
  .pading .next,
  .pading .prev {
    margin: 4px 2px;
  }
}

@media screen and (max-width: 420px) {
  .one_c li,
  .three_c li,
  .three_c li:nth-child(2),
  .four_c li {
    width: 100%;
  }

  .two_c ul {
    gap: 6px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .two_c li h4 b {
    font-size: 20px;
    line-height: 24px;
  }

  .two_c li p {
    font-size: 11px;
    line-height: 16px;
  }

  .footer_top .container {
    display: block;
  }

  .footer_l,
  .footer_ewm {
    width: 100%;
  }

  .footer_ewm {
    margin-top: 14px;
  }
}

/* Stronger mobile overrides for webviews/cached layouts */
@media screen and (max-width: 900px) {
  .top {
    display: none !important;
  }

  .two_c ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    padding: 16px 10px !important;
    position: static !important;
    width: auto !important;
  }

  .two_c li {
    width: calc(33.333% - 6px) !important;
    flex: 1 1 0 !important;
    margin: 0 !important;
  }

  .two_c li h4 {
    font-size: 14px !important;
    line-height: 20px !important;
  }

  .two_c li h4 b {
    display: block !important;
    margin-right: 0 !important;
    font-size: 22px !important;
    line-height: 28px !important;
  }

  .two_c li p {
    font-size: 12px !important;
    line-height: 18px !important;
  }

  .one_c ul,
  .three_c ul,
  .four_c ul {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .one_c li,
  .three_c li,
  .three_c li:nth-child(2),
  .four_c li {
    width: auto !important;
    margin: 0 !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
  }

  .one_c li img,
  .three_c li img,
  .three_c li:nth-child(2) img {
    height: auto !important;
  }

  .four {
    padding-bottom: 36px !important;
  }

  .four_c li h4 {
    width: 72px !important;
    height: 72px !important;
    font-size: 15px !important;
    line-height: 18px !important;
  }

  .four_c li h4:before {
    width: 60px !important;
    height: 60px !important;
  }

  .four_c li:before {
    margin-bottom: 14px !important;
  }

  .four_c li p {
    font-size: 13px !important;
    line-height: 20px !important;
  }

  .four_c li p em {
    font-size: 12px !important;
    line-height: 18px !important;
  }

  .footer_top {
    padding: 22px 0 !important;
  }

  .footer_top .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
  }

  .footer_top .container.block:after {
    display: none !important;
  }

  .footer_l,
  .footer_ewm {
    width: calc(50% - 8px) !important;
    float: none !important;
    margin: 0 !important;
    text-align: center !important;
  }

  .footer_l img {
    max-width: 160px !important;
    margin: 0 auto !important;
  }

  .footer_ewm img {
    width: 110px !important;
    margin: 0 auto !important;
  }

  .footer_nav,
  .footer_l p,
  .footer_ewm p {
    display: none !important;
  }

  .footer {
    display: block !important;
    font-size: 12px !important;
    line-height: 20px !important;
    padding: 10px 12px !important;
  }
}

@media screen and (max-width: 480px) {
  .one_c ul,
  .three_c ul,
  .four_c ul {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .two_c ul {
    gap: 6px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .two_c li h4 b {
    font-size: 20px !important;
    line-height: 24px !important;
  }

  .two_c li p {
    font-size: 11px !important;
    line-height: 16px !important;
  }
}

/* Header overlay + contact row final mobile fixes */
@media screen and (max-width: 900px) {
  .header {
    position: relative;
    z-index: 30;
  }

  .header .container {
    position: relative !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
  }

  .navbox {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    margin-top: 0 !important;
    background: #ffffff !important;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12) !important;
    border-top: 0 !important;
    z-index: 99 !important;
  }

  .navbox.open {
    display: block !important;
  }

  .banner,
  .banner .bd,
  .banner .hd {
    position: relative;
    z-index: 1;
  }

  .six_c ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    align-items: stretch !important;
  }

  .six_c li,
  .six_c li + li {
    width: calc(33.333% - 6px) !important;
    margin: 0 !important;
    float: none !important;
  }

  .six_icon {
    width: 72px !important;
    height: 72px !important;
  }

  .six_icon img {
    max-width: 34px !important;
    max-height: 34px !important;
  }

  .six_c li p {
    font-size: 12px !important;
    line-height: 18px !important;
    margin-top: 8px !important;
    word-break: break-word;
  }
}

@media screen and (max-width: 480px) {
  .navbox {
    top: calc(100% + 6px) !important;
  }

  .six_c ul {
    gap: 6px !important;
  }

  .six_c li,
  .six_c li + li {
    width: calc(33.333% - 4px) !important;
  }

  .six_icon {
    width: 64px !important;
    height: 64px !important;
  }

  .six_icon img {
    max-width: 30px !important;
    max-height: 30px !important;
  }

  .six_c li p {
    font-size: 11px !important;
    line-height: 16px !important;
  }
}
