/* 响应式设计 */

/* 竖屏隐藏侧边栏 */
@media (orientation: portrait) {
  .sidebar {
    display: none;
  }
}

@media (max-width: 1600px) {
  .container {
    max-width: 1200px;
  }

  .max-width-2000 {
    max-width: 1500px;
  }
  .ep-header .nav-ul {
    gap: 0;
  }
  .ep-header .nav-ul a,
  .ep-header .nav-ul .nav-pro {
    padding: 25px 10px;
  }
}
@media (max-width: 1400px) {
  .ep-header .nav-ul {
    gap: 0;
  }
  .ep-header .nav-ul a,
  .ep-header .nav-ul .nav-pro {
    padding: 25px 5px;
  }
  .ep-header .product-box {
    display: none !important;
  }
  .section-where .section-two {
    display: flex;
    flex-wrap: wrap;
  }
  .section-where .section-two .section-left,
  .section-where .section-two .section-right {
    width: 100% !important;
  }
  .section-manufacturing-container{
    margin-top: 0px;
  }
}

@media (max-width: 1310px) {
  .container {
    padding: 20px !important;
  }

  .sidebar {
    display: none;
  }

  /* 首页-新闻 */
  .section-news .ul-news {
    gap: 6%;
  }
  .section-news .ul-news li {
    width: 47%;
  }

  .ep-main-faq .faq-category {
    display: none;
  }
  .ep-main-faq .faq-main {
    width: 100%;
    padding: 0;
  }
  .ep-main-faq .faq-main .faq-list {
    font-size: 1em;
  }
  .ep-main-faq .faq-main .faq-list li {
    margin: 20px 0;
    padding: 20px;
  }
}

@media (max-width: 1025px) {
  .logo {
    margin: 10px 0;
  }

  .ep-header .nav-ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 0;
    right: 0;
    width: 75%;
    height: 100vh;
    background-color: white;
    opacity: 0.95;
  }
  .ep-header .nav-ul .nav-li {
    border-bottom: 2px solid var(--light);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }
  .ep-header .nav-ul .nav-li .icon-ep-down {
    display: none;
  }
  .ep-header .nav-ul .nav-li .m-icon-down {
    transform: rotate(-90deg);
    display: inline-block;
    margin-right: 20px;
  }
  .ep-header .nav-ul .nav-li:hover > a,
  .ep-header .nav-ul .nav-li:hover i,
  .ep-header .nav-ul .nav-li:hover .nav-pro {
    color: var(--primary);
    transition: all 0.3s;
  }
  .ep-header .nav-ul .nav-li:hover .m-icon-down {
    transform: rotate(0deg);
  }
  .ep-header .nav-ul .nav-son {
    width: 100%;
    position: relative;
    padding-left: 20px;
  }
  .ep-header .nav-ul .nav-son-product {
    padding: 0 0 0 20px !important;
  }
  .ep-header .nav-ul .nav-son-product .product-category {
    width: 100%;
  }
  .ep-header .nav-ul .nav-son-product .product-category li {
    width: 100%;
    display: none;
  }
  .ep-header .nav-ul .nav-son-product .product-category li .pro-desc,
  .ep-header .nav-ul .nav-son-product .product-category li .iconfont {
    display: none;
  }
  .ep-header .nav-ul .nav-son-product .product-category li .icon-ep-fire {
    display: inline-block;
  }
  .ep-header .nav-ul .nav-son-product .product-category > :nth-child(1),
  .ep-header .nav-ul .nav-son-product .product-category > :nth-child(2),
  .ep-header .nav-ul .nav-son-product .product-category > :nth-child(3),
  .ep-header .nav-ul .nav-son-product .product-category > :nth-child(4),
  .ep-header .nav-ul .nav-son-product .product-category > :nth-child(5) {
    display: block;
  }
  .ep-header .nav-ul .nav-son-product .product {
    display: none;
  }
  .ep-header .nav-ul .btn-search {
    display: none;
  }
  .ep-header .nav-ul.active {
    display: flex;
    z-index: 21;
  }
  .ep-header .nav-ul.active .nav-li-email {
    display: block;
    padding: 25px 20px;
    font-weight: bold;
  }
  .ep-header .nav-ul.active .nav-li-email a {
    display: block;
    color: var(--primary);
    font-size: 18px;
  }
  .ep-header .mobile-nav-btn {
    display: block;
    position: absolute;
    right: 20px;
  }

  .section-video video {
    height: auto;
  }

  .ep-main-home .section-cases .swiper-wrapper .swiper-slide .cases-img::after {
    width: 50% !important;
    background: rgba(0, 0, 0, 0.3) !important;
  }
  .ep-main-home .section-cases .swiper-wrapper .swiper-slide .content-desc {
    width: 48% !important;
  }
  .ep-main-home .section-cases .swiper-wrapper .swiper-slide .content-desc h3 {
    font-size: 2em !important;
    margin-bottom: 0 !important;
  }
  .ep-main-home .section-cases .swiper-wrapper .swiper-slide .content-desc .content-feature {
    margin-top: 0 !important;
  }
  .ep-main-home .section-about-epdas .about-epdas-tabs {
    display: none !important;
  }
  .ep-main-home .section-product-category .product-category-tabs {
    display: none !important;
  }
  .ep-main-home .section-about-epdas .swiper-wrapper .swiper-slide .content-desc h3 {
    font-size: 2em;
  }
  .ep-main-home .section-about-epdas .swiper-wrapper .swiper-slide .content-desc .content-feature {
    margin-top: 0 !important;
  }
  .ep-main-home .section-about-epdas .about,
  .ep-main-home .section-about-epdas .product-detail {
    grid-template-columns: 1fr;
  }
  .ep-main-home .section-about-epdas .about-img,
  .ep-main-home .section-about-epdas .about-content {
    flex: none;
    width: 100%;
  }

  .contact-form-common > div {
    width: 48%;
  }

  .contact-form-customize > div {
    width: 100% !important;
  }

  .ep-main-news .ul-news .news-img {
    width: 100%;
    padding-right: 0;
  }
  .ep-main-news .ul-news .news-desc {
    width: 100%;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }

  .ep-main-product-category .section-product-desc .product-content {
    width: 100%;
  }
  .ep-main-product-category .section-product-desc .product-img {
    width: 100%;
  }
  .ep-main-product-category .section-product-list ul li {
    width: 50%;
  }
  .ep-main-product-category .section-cases .container .content-desc {
    width: 50%;
  }
  .ep-main-product-category .section-how-work .content-video iframe {
    height: 500px;
  }

  .section-two {
    display: flex;
    flex-wrap: wrap;
  }
  .section-two .section-left,
  .section-two .section-right {
    width: 100% !important;
  }
  .section-card .ul-card li {
    width: 50%;
    border: 5px solid var(--bg);
  }
  .section-card .ul-card li:nth-child(even) {
    background-color: white;
    color: var(--dark);
  }
  .section-card .ul-card li:nth-child(even) .iconfont {
    color: var(--primary);
  }
  .section-card2 .ul-card li {
    width: 49%;
  }
}

@media (max-width: 768px) {
  .contact-form > div {
    width: 100% !important;
  }

  /* 首页-新闻 */
  .section-news .ul-news {
    gap: 0;
  }
  .section-news .ul-news li {
    width: 100%;
  }

  .ep-main-product-category .section-product-list ul li {
    width: 100%;
  }
  .ep-main-product-category .section-cases .content-feature {
    display: none;
  }
  .ep-main-product-category .customize-content {
    flex-direction: column;
  }
  .ep-main-product-category .customize-content .customize-tips,
  .ep-main-product-category .customize-content .customize-form {
    width: 100% !important;
  }

  .section-tci .ul-tci li {
    display: flex;
    flex-direction: column;
    height: auto;
  }
  .section-tci .ul-tci li > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
  }
  .section-tci .ul-tci li .title {
    font-size: 1.5em;
    font-weight: bold;
  }

  .ul-text-list > li {
    width: 100%;
  }
  .ul-text-list > li:nth-child(odd) {
    border-right: 0;
  }
  .ul-text-list > li:nth-last-child(2) {
    border-bottom: 1px dashed var(--gray);
  }
}

@media (max-width: 576px) {
  .section-how-work .content-video iframe {
    height: 300px;
  }
  .ep-main .section-banner .content-desc h1 {
    font-size: 2em;
    margin-bottom: 5px;
  }
  .ep-main .section-banner .content-desc p {
    font-size: 1em;
  }
  .section-card .ul-card li,
  .section-card2 .ul-card li {
    width: 100%;
  }
  .section-banner-bg .content .section-header {
    font-size: 3em;
  }
}