/* 手机与窄屏。桌面样式保持不变。 */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  flex: 0 0 44px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #222222;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

#header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

#header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

#header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.logo a {
  display: block;
  width: 100%;
  height: 100%;
}

.tech-video {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

.tech-video video {
  display: block;
  width: 100%;
  height: auto;
  background: #111111;
}

.news-card-list {
  display: flex;
  flex-wrap: wrap;
}

.news-card-list li {
  width: 50%;
  box-sizing: border-box;
  padding: 12px;
  text-align: center;
}

.news-card-list img {
  display: block;
  width: 100%;
  height: auto;
}

.news-card-list span {
  display: block;
  margin-top: 12px;
}

@media (max-width: 1200px) {
  .common-width,
  .index-news,
  .contact-list {
    width: 100%;
    max-width: 1400px;
    box-sizing: border-box;
  }

  .template-container {
    width: 100%;
    padding: 0 24px;
    box-sizing: border-box;
  }

  #header .top-nav ul li,
  #header.index-head .white-menu .top-nav ul li,
  #header.index-head .black-menu .top-nav ul li,
  #header.page-head .black-menu .top-nav ul li {
    padding: 0 16px;
  }

  #header.index-head .logo,
  #header.page-head .logo {
    width: 220px;
  }

  .caselist {
    padding-left: 48px;
    padding-right: 24px;
  }

  .case-btnlist .case-btn {
    height: 240px;
  }
}

@media (max-width: 992px) {
  body.nav-lock {
    overflow: hidden;
  }

  #header,
  #header.index-head,
  #header.page-head {
    height: 64px;
  }

  #header.index-head {
    background: #ffffff !important;
  }

  #header.index-head .white-menu {
    display: none !important;
  }

  #header.index-head .black-menu,
  #header.page-head .black-menu {
    display: flex !important;
  }

  .template-container {
    height: 64px;
    padding: 0 12px 0 16px;
  }

  #header.index-head .logo,
  #header.page-head .logo {
    width: 168px;
    height: 44px;
    flex: 0 0 168px;
  }

  .nav-toggle {
    display: flex;
  }

  #header .top-nav {
    display: none !important;
  }

  #header.nav-open .top-nav {
    display: block !important;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    background: #ffffff;
    overflow-y: auto;
  }

  #header .top-nav ul,
  #header.index-head .white-menu .top-nav ul,
  #header.index-head .black-menu .top-nav ul,
  #header.page-head .black-menu .top-nav ul {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  #header .top-nav ul li,
  #header.index-head .white-menu .top-nav ul li,
  #header.index-head .black-menu .top-nav ul li,
  #header.page-head .black-menu .top-nav ul li {
    padding: 0;
    border-bottom: 1px solid #eeeeee;
  }

  #header .top-nav ul li a,
  #header.index-head .white-menu .top-nav ul li a,
  #header.index-head .black-menu .top-nav ul li a,
  #header.page-head .black-menu .top-nav ul li a {
    display: block;
    padding: 16px 24px;
    font-size: 16px;
    color: #000000 !important;
  }

  #index-main-container {
    padding-top: 64px;
  }

  #main-container {
    margin-top: 64px;
  }

  .swiper,
  .swiper-slide {
    height: 62vw;
    min-height: 210px;
  }

  .page-banner {
    height: auto;
  }

  .page-banner img,
  .page-item-content img,
  .item-flex img,
  .flex-item img,
  .flex3 .flex-item img,
  .flex4 .flex-item img,
  .case-list img,
  .case-btnlist .case-btn img {
    display: block;
    max-width: 100%;
    height: auto;
  }

  .common-width,
  .index-news,
  .contact-list,
  .page-main-item[style*="width"],
  .item-li[style*="width"],
  .textright[style*="width"],
  .item-flex-left [style*="width"] {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
  }

  .common-width {
    padding-left: 16px;
    padding-right: 16px;
  }

  .paddingtb200 {
    padding: 40px 0;
  }

  .paddingtb100,
  .padding100 {
    padding: 32px 0;
  }

  .padding50 {
    padding: 24px 0;
  }

  .margint60 {
    margin-top: 24px;
  }

  .font20 {
    font-size: 16px;
  }

  .font30 {
    font-size: 22px;
  }

  .lineheight4 {
    line-height: 1.9;
  }

  .index-info1 {
    padding-left: 16px;
    padding-right: 16px;
  }

  .index-case {
    flex-direction: column;
    align-items: stretch;
  }

  .caselist {
    width: 100%;
    padding: 8px 16px 0;
  }

  .caselist .case-item {
    margin: 16px 0;
  }

  .caselist h2 {
    font-size: 18px;
  }

  .case-btnlist {
    width: 100%;
  }

  .case-btnlist .case-btn {
    width: 50%;
    height: auto;
  }

  .index-news {
    padding: 36px 16px;
  }

  .index-news > .title {
    font-size: 26px;
    padding: 12px 0 20px;
  }

  .index-news .index-news-content {
    flex-direction: column;
    align-items: stretch;
  }

  .index-news .index-news-content .index-news-imagelist,
  .index-news .index-news-content .index-news-list {
    width: 100%;
  }

  .index-news .index-news-content .index-news-list ul li {
    padding: 14px 0 14px 32px;
  }

  .index-news .index-news-content .index-news-list ul li::after {
    left: 8px;
  }

  .index-news .index-news-content .index-news-list ul li h3 {
    font-size: 15px;
  }

  .index-news .index-news-content .index-news-list ul li h3::after {
    left: -24px;
  }

  .index-news .index-news-content .index-news-list ul li h3::before {
    left: -28px;
  }

  .index-news .news-image-item .title {
    opacity: 1;
    height: auto;
    line-height: 1.4;
    padding: 8px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.45);
  }

  .news-card-list li {
    width: 100%;
  }

  .page-menu {
    height: auto;
    overflow: hidden;
  }

  .page-menu .common-width {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .page-menu .common-width .menu-item {
    width: 100%;
    height: auto;
    padding-right: 0;
    border-bottom: 1px solid #eeeeee;
  }

  .page-menu .common-width .menu-item a {
    height: auto;
    display: flex;
    align-items: center;
    padding: 12px 0;
    font-size: 15px;
    line-height: 1.4;
    white-space: normal;
  }

  h2,
  h3,
  h4,
  p,
  li,
  a {
    word-break: break-word;
  }

  .page-item-title,
  h2.page-item-title {
    font-size: 22px;
    line-height: 1.4;
  }

  .page-item-title2 {
    position: static;
    display: inline-block;
    padding: 16px 20px;
  }

  .page-item-title2 h4 {
    font-size: 24px;
  }

  #lirenlingdao {
    height: auto !important;
    aspect-ratio: 1920 / 652;
    background-size: cover !important;
    background-position: center !important;
  }

  #zuzhijiegou .page-item-content {
    height: auto !important;
    aspect-ratio: 1920 / 1226;
    background-size: 100% auto !important;
    background-repeat: no-repeat !important;
    background-position: center top !important;
  }

  .page-item-content ul.about-list,
  .page-item-content ul.common-ul {
    padding: 16px 0;
  }

  .page-item-content ul.about-list li,
  .page-item-content ul.common-ul li {
    width: 100%;
    margin-bottom: 24px;
    padding: 0 0 0 28px;
  }

  .page-item-content ul.about-list li h4::after {
    left: -22px;
  }

  .case-list ul li {
    width: 50%;
    box-sizing: border-box;
    padding: 8px;
  }

  .case-list ul li img,
  .case-list ul li a {
    display: block;
    width: 100%;
  }

  .contact-list ul {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-list ul li {
    width: 100%;
    margin: 0 0 12px;
  }

  .contact-info {
    height: 140px;
    background-size: cover;
  }

  .contact-last {
    min-height: 0;
    margin-top: 0;
    margin-bottom: 40px;
  }

  .item-flex,
  .flex-between {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 0;
  }

  .item-flex .item-flex-left,
  .item-flex .item-flex-right,
  .item-flex-left[style] {
    display: block !important;
    width: 100% !important;
    min-width: 0;
  }

  .item-flex .item-flex-right {
    flex-direction: column;
    margin-top: 12px;
  }

  .item-flex .item-flex-right .item-li {
    width: 100%;
    margin-bottom: 16px;
  }

  .item-flex .item-flex-right .item-li span {
    margin-top: 12px;
  }

  .page-item-content,
  .flex-between,
  .flex3,
  .flex4,
  .item-flex {
    max-width: 100%;
    min-width: 0;
  }

  .flex-between img,
  .flex-item img {
    width: 100%;
    height: auto;
  }

  .table-item {
    display: block;
    width: 100% !important;
    min-width: 0;
    border: 0;
  }

  .table-item thead {
    display: none;
  }

  .table-item tbody,
  .table-item tr,
  .table-item td {
    display: block;
    width: auto !important;
  }

  .table-item tr {
    margin: 0 0 12px;
    border: 1px solid #eeeeee;
    background: #ffffff !important;
  }

  .table-item tr td {
    text-align: left;
    padding: 8px 12px;
    line-height: 1.6;
    border-bottom: 1px solid #f3f3f3;
  }

  .table-item tr td:first-child {
    color: #4473c5;
  }

  .table-item td:nth-child(2)::before { content: "专利号 "; color: #999999; }
  .table-item td:nth-child(3)::before { content: "类型 "; color: #999999; }
  .table-item td:nth-child(4)::before { content: "申请 "; color: #999999; }
  .table-item td:nth-child(5)::before { content: "授权 "; color: #999999; }

  .patent-ul {
    line-height: 1.7;
  }

  .patent-ul li {
    padding: 16px 8px 16px 22px;
  }

  .patent-ul li a {
    word-break: break-word;
  }

  .flex3 .flex-item,
  .flex4 .flex-item {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 16px;
  }

  .pagination,
  .case-pagination .pagination {
    width: 100%;
    height: auto;
    flex-wrap: wrap;
    padding: 24px 0;
  }

  .pagination a,
  .pagination span,
  .case-pagination .pagination li {
    margin: 6px;
    padding: 8px 12px;
  }

  #footer {
    height: auto;
    padding: 28px 0 20px;
  }

  #footer .footer-nav {
    flex-wrap: wrap;
  }

  #footer .footer-nav span {
    padding-right: 20px;
    padding-bottom: 8px;
  }

  #footer .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  #footer .code {
    width: 100%;
    justify-content: flex-start;
    gap: 16px;
  }

  #footer .code img {
    width: 108px;
    height: auto;
  }

  #footer .logo2 img {
    max-width: 220px;
    height: auto;
  }

  .copyright {
    margin-top: 24px;
    line-height: 1.7;
    padding: 0 4px 8px;
  }
}
