.titleView {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}
/* banner */
/* 视口高度减去100px */
.banner .swiper-container {
  background-color: black;
  height: calc(100vh - 130px); 
    

  width: 100%;
} 
 .banner .swiper-container .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 赛事资讯 */
.news .content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.news .content .item {
  width: 383px;
  margin-right: 15px;
  margin-top: 15px;
  background-color: #f4f4f4;
}
.news .content .img {
  width: 100%;
  height: 287px;
  object-fit: cover;
  border-radius: 10px;
}
.news .content .item .textView {
  padding: 20px;
  height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.news .content .item .textView .subTitle {
  height: 42px;
  margin: 20px 0;
}
.news .content .item .bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* 最近赛事 */
.games {
  background-color: #f4f4f4;
}
.games .content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.games .content .item {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* width: 587px; */
  background-color: #fff;
  border-radius: 10px;
  /* padding: 20px; */
  /* margin-bottom: 30px; */
}
.games .content .item .leftImg {
  width: 220px;
  height: 243px;
  object-fit: cover;
  border-radius: 10px;
}
.games .content .item .rightView {
  padding: 20px;
}
.games .content .item .rightView .bottom {
  color: #7a7a7a;
}
.games .time {
  margin-top: 10px;
}
.games .address {
  margin-top: 10px;
}
.games .time .tImg {
  margin-right: 10px;
}
.games .address .aImg {
  margin-right: 10px;
}
.games .checkDetailImg {
  margin-top: 10px;
}

.games .content .item .rightView h3 {
  width: 324px;
  height: 70px;
  color: #000;
}
/* 骑行学院 */
.riding .content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.riding .content .leftImgView {
  width: 408px;
  height: 575rpx;
  margin-right: 20px;
}
.riding .leftImgView img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}
.riding .listView {
  width: 767px;
}
.riding .listView .item {
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e2e2e2;
}
.riding .listView .item h3 {
  width: 400px;
  color: #000;
}
.riding .listView .rightView {
  display: flex;
  color: #7a7a7a;
}
.riding .listView .rightView .num {
  margin-left: 10px;
}
/* 赛场风采 */
.photo {
  background-color: #f4f4f4;
}
.photo .content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.photo .content .leftView {
  padding: 30px;
  width: 348px;
  height: 515px;
  background-image: url("../images/common/photobg.png");
  background-size: 100% 100%;
  margin-right: 20px;
}
.photo .content .leftView .title {
  margin-top: 60px;
  color: #000;
  font-size: 24px;
  font-weight: 600;
}
.photo .content .leftView .bottom {
  font-size: 20px;
  margin-top: 200px;
}
.photo .content .leftView .bottom .time {
  margin-bottom: 20px;
}
.photo .content .leftView .bottom .time .tImg {
  margin-right: 10px;
}
.photo .content .leftView .bottom .address .aImg {
  margin-right: 10px;
}
.photo .content .rightView {
  width: 767px;
  height: 575px;
}
.photo .content .rightView img {
    height: 100%;
  }
/* 合作伙伴 */
.partner .titleView {
  display: flex;
  flex-direction: column;
  align-items: start;
  margin-bottom: 30px;
}
.partner {
  background-color: #fff;
}
.partner .content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.partner .content .item {
  margin-right: 20px;
  margin-bottom: 20px;
}

/* 联系我们 */
.contact .container {
  padding: 50px 0;
}
.contact {
  background-color: #585858;
  color: #fff;
}
.contact .titleView {
  margin-bottom: 50px;
}
.contact-container {
  font-size: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.contact-container .item {
  margin-bottom: 30px;
}
.contact-btn {
  margin-left: 200px;
  background-color: transparent;
  border-color: transparent;
}

.contact-form input,
.contact-form textarea {
  width: 500px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.2);
  border: 0px;
  margin-right: 25px;
  margin-bottom: 25px;
  padding: 0 10px;
  color: #fff;
}
.contact-form textarea {
  height: 105px;
  padding: 10px;
}

.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.video-overlay.active {
  opacity: 1;
  visibility: visible;
}
.video-container {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}
  /* 首页轮播视频播放缩放 */
.video-overlay.active .video-container {
  transform: scale(4);
}
.close-video {
    border: none;
    background-color: transparent;
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1002;
}
.close-video img {
    width: 60px;
    height: 60px;
}
.playView {
    position: absolute;
}
.playView .play-video-btn {
    border: none;
    background-color: transparent;
  transition: transform 0.3s ease;
}
.playView .play-video-btn:hover {
  transform: scale(1.1);
}

/* 响应式设计 768*/
@media (max-width: 1280px) {
  /* banner */
  .banner .swiper-container {
     /* height: calc(100vh - 100px); 视口高度减去100px */
    height: 225px;
  }
  .titleView {
    padding: 0 10px;
  }
  .riding .listView .item {
    /* justify-content: center; */
    padding: 20px;
  }
  .photo .content .leftView {
    margin-right: 0px;
  }
  .photo .content .rightView {
    width: 100%;
    height: 257px;
}
  .photo .content .rightView .swiper-container {
    width: 390px;
    height: 290px;
    margin-top: 20px;
  }

  .contact .titleView {
    padding: 0 20px;
    display: flex;
    justify-content: center;
  }
  .partner .titleView {
    align-items: center;
  }
  .partner .content .item {
    margin-right: 0px;
  }
  .news .content .item {
    margin-right: 0px;
  }
  .about-content {
    flex-direction: column;
  }

  .contact-container {
    font-size: 18px;
    flex-direction: column;
    align-items: center;
  }
  .leftTitle {
    width: 100%
  }
  .contact-btn {
    margin-left: 0px;
  }
  .contact-form .firstView,
  .secondView,
  .thirdView {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .contact-form input,
  .contact-form textarea {
    width: 350px;
    margin-right: 0px;
  }
  .contact-form form {
    display: flex;
    flex-direction: column;
  }
  .hero {
    padding-top: 60px;
  }
  .riding .content .leftImgView {
    margin-right: 0px;
  }
  .games .content .item .rightView {
    padding: 10px;
  }
  .games .content .item .rightView h3 {
    width: 360px;
  }
  .games .content .item {
    padding-top: 30px;
  }
  .games .content .item .leftImg {
    /* width: 100%;
    height: 100%; */
  }
  .games .checkDetailImg {
         margin-left: 100px;
    }
  .riding .listView .item h3 {
    width: 360px;
  }
  /* 首页轮播视频播放缩放 */
  .video-overlay.active .video-container {
    transform: scale(1.4);
    }
    /* 关闭图片 */
   .close-video img {
        width: 50px;
        height: 50px;
    }
    .playView img {
        width: 50px;
        height: 50px;
    } 
}
