.banner {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.banner-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -2;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* 半透明的黑色背景 */
    z-index: -1;
}

.banner-content {
    position: absolute;
    top: 40%;
    color: white;
    text-align: center;
	left: 20%;
}
.banner-content h1 {
    font-size: 3.55rem;
    color: #fff;
    line-height: 80px;
    margin-top: 20px;
}
.banner-content .newtop{color: #4f8fbd;}
.banner-content p {
    font-size: 3.55em;
    margin: 0.5em 0 0;
	color: #005090;
	font-weight: 600;
}
@media (max-width: 1400px) {
.banner-content{padding: 0 150px;}
.banner-content p{font-size: 3.6em;}
	
}
@media (max-width: 1200px) {
.banner-content p{font-size: 3.6em;}
	
}
@media (max-width: 996px) {
.banner-content{left: 20%;transform: translate(-20%, -50%);}
.banner-content h1{font-size: 2.8rem;line-height: 50px;line-height: 80px;}
.banner-content {padding: 0 80px;}
.banner-content p{font-size: 3.6em;}
.banner{position: relative;width: 100%;height: 0;padding-bottom: 56.25%;}
}
@media (max-width: 768px) {
.banner-content{left: 20%;transform: translate(-10%, -50%);}
.banner{position: relative;
        width: 100%;
        height: 0;
        padding-bottom: 56.25%;
}
.banner-content h1{font-size: 2.2rem;line-height: 30px;line-height: 50px;}
.banner-content p{font-size: 2.6em;}
.banner-content{padding: 0;}
}
@media (max-width: 480px) {
.banner-content{left: 20%;transform: translate(-10%, -50%);}
.banner{position: relative;
        width: 100%;
        height: 0;
        padding-bottom: 56.25%;
}
.banner-content h1{font-size: 1.2rem;line-height: 30px;}
.banner-content p{font-size: 1.6em;}
	
}
/**首页三个主营类目**/
  .card-container-wec {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  .card-wec {
    display: flex;
    flex-direction: column;
    flex: 1 1 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    background-color: #f8f8f8;
    border-radius: 10px;
    overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  }

  .card-header-wec {
    height: 140px;
    background-size: cover;
    background-position: center;
    align-items: center;
    padding: 0 20px;
  }

  .card-header-wec h3 {
    color: white;
    font-size: 1.5rem;
    margin: 0;
    line-height: 1.4;
  }

  .card-body-wec {
    flex: 1;
    padding: 20px;
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .card-body-wec p {
    margin-bottom: 15px;
    font-size: 1rem;
  }

  .card-anniu {
    margin-top: auto;
    display: inline-block;
    background-color: #0d2235;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    align-self: flex-start;
  }

  .card-wec a {
    color: white;
  }

  .product-img-wec {
    width: 100%;
    margin-top: 20px;
  }

  @media (max-width: 1200px) {
    .card-wec {
      flex: 1 1 calc(50% - 20px);
      max-width: calc(50% - 20px);
    }
  }

  @media (max-width: 992px) {
    .card-wec {
      flex: 1 1 100%;
      max-width: 100%;
    }

    .card-header-wec h3 {
      font-size: 1.5rem;
    }

    .card-body-wec p {
      font-size: 1rem;
    }

    .card-body-wec a {
      font-size: 1.25rem;
      padding: 14px 26px;
    }

    .card-body-wec {
      margin-top: 10px;
    }

    .card-header-wec {
      height: 350px;
    }
  }
